The authorized user may engage in three conversations through two command-line interfaces. Conversations with the first two entities are common. Conversations of the third kind are infrequent and typically undertaken by Avi Load Balancer Customer Support personnel for troubleshooting purposes.
In conversation |
Your commands address |
With this frequency |
---|---|---|
1 |
Avi Load Balancer Controller's Linux OS using Bash |
Frequently Used |
2 |
Avi Load Balancer processes running on Controller using the Avi Load Balancer shell |
Frequently Used |
3 |
The SE’s Linux operating system |
Rarely |
Accessing Avi Load Balancer Controller using Linux Shell
Access the Avi Load Balancer Controller’s OS through the
bash
Linux CLI.Either SSH (Secure Shell) to the Controller or access it through the console from an orchestrator such as vCenter.
Example: If the Controller’s address is
10.144.130.195
, type thessh
command:ssh [email protected]
, and when prompted, supply the password for the admin user.
Avi Load Balancer Controller CLI is used to analyze various logs in the /opt/avi/log and /var/log/upstart
directories.
Accessing Avi Load Balancer Controller using Avi Load Balancer Shell
Start with conversation 1.
To enter Avi Load Balancer-specific commands, type the shell command and furnish credentials.
For example:
show virtualservice <name-of-virtual-service>
Accessing Avi Load Balancer Controller using Avi Load Balancer Service Engines
SSH to an Avi Load Balancer SE or execute the attached
service engine <name-of-service-engine>
command from the Avi Load Balancer shell to enter the SE’s Linux CLI.Use it to look into SE-specific logs in various directories, such as
/opt/avi/log
.
Shell prompt access is not available for Avi Load Balancer Service Engines. Avi Load Balancer SE’s Linux CLI does not provide the option to run show
commands.
For more information, see CLI Guide.