ON THIS PAGE
How to Use the Broadband Edge Event Collection and Visualization Utility Commands
SUMMARY After you have installed Broadband Edge Event Collection and Visualization, you can perform numerous administrative functions.
Access Broadband Edge Event Collection and Visualization Utility Commands
You can use the Broadband Edge Event Collection and Visualization utility script
(ecav
) to administer the application and to access the CLI that you use
for configuring operations. The Broadband Edge Event Collection and Visualization
installation places the utility script in /usr/local/bin.
The ecav
utility script performs the tasks you need to do to manage
Broadband Edge Event Collection and Visualization but masks the complexity of the
kubectl
command. This masking of the kubectl
commands
simplifies your administrative duties.
The ecav
utility script uses the Kubernetes kubectl
utility commands to do the following:
- Create and delete objects.
- Provide log access.
- Conduct interactive sessions with pod containers.
- Display the status of the Broadband Edge Event Collection and Visualization objects.
Table 1
lists the commands that you can invoke with the ecav
utility script and
describes the action that each command initiates.
Command Name |
Action |
---|---|
|
Removes unused software releases and you can use it to uninstall the application. This command offers the following options:
|
|
Renames a cluster to which Broadband Edge Event Collection and Visualization is connected. Renaming the cluster does not impact the Broadband Edge Event Collection and Visualization service. To run this command, you need sudo root privileges. This command offers the following options:
|
|
Displays the IP addresses of every service with an external IP address. This command offers the following options:
|
|
Links a cluster to a specific software version. To run this command, you need sudo root privileges. This command offers the following options:
|
|
Upgrade a Broadband Edge Event Collection and Visualization service. To run this command, you need sudo root privileges. This command offers the following options:
|
|
Sets up the Broadband Edge Event Collection and Visualization application as part of the installation process. To run this command, you need sudo root privileges. This command offers the following options:
|
|
Starts a specific Broadband Edge Event Collection and Visualization service. To run this command, you need sudo root privileges. This command offers the following option:
|
|
Displays the current status of the Broadband Edge Event Collection and Visualization services. This command offers the following options:
|
|
Stop all Broadband Edge Event Collection and Visualization services. To run this command, you need sudo root privileges. This command offers the following option:
|
|
Unlink components associated with the cluster. To run this command, you need sudo root privileges. This command offers the following options:
|
|
Displays the version of the following:
This command offers the following options:
|
Use the following general syntax to issue a command:
-
For a short option:
$ ecav command-name -option
-
For a long option:
$ ecav command-name ––option
To display a list of available commands with a brief description, use either the
h
or help
option:
$ ecav -h
$ ecav -help
To display the options for a specific command:
$ ecav command-name -h
Start Broadband Edge Event Collection and Visualization Services
Use the ecav
utility script to start all BBE Event Collection and
Visualization services.
-
Execute this command to start all BBE Event Collection and Visualization services:
$ sudo -E ecav start
Note:We do not recommend that you stop the BBE Event Collection and Visualization services.
Check the Status of the Broadband Edge Event Collection and Visualization Service
Use the ecav status
utility script to check the status of the BBE Event
Collection and Visualization service. The status can show whether or not the service is
running.
To check detailed information about the service, run the following command:
$ ecav status --detail
For example:
user@host $ ecav status --detail MICROSERVICE POD STATE RESTARTS UPTIME NODE bbe-ecav jnpr-bbe-ecav-kubernetes-event-exporter-66577976dc-xwjm8 Running 0 0:05:30.099226 xxxx-xx-xx-x.xxx.juniper.net bbe-ecav jnpr-bbe-ecav-logstash-0 Running 0 0:04:49.099264 xxxx-xx-xx-x.xxx.juniper.net bbe-ecav jnpr-bbe-ecav-opensearch-dashboards-69b7c689b4-67mgw Running 0 0:05:30.099286 xxxx-xx-xx-x.xxx.juniper.net bbe-ecav opensearch-cluster-master-0 Running 0 0:05:21.099305 xxxx-xx-xx-x.xxx.juniper.net
Uninstall and Remove Broadband Edge Event Collection and Visualization
Use the ecav
utility script to uninstall the BBE Event Collection and
Visualization configuration. The clean
command uninstalls and removes all
BBE Event Collection and Visualization versions from your system.
To uninstall BBE Event Collection and Visualization: