Connect to the API server IP with port 93 using a telnet client of your choice.
Setup:
Within Appliance Administration/System/Configuration, you can configure the password for the API and enable/disable the API. Before use make sure API is enabled, and a secure password is set. Restart VRA after setting these. |
Commands:
SYS
System information
APP
Retrieve a list of applications hosted on a given VirtualRack Appliance.
BEGIN
APP NAME:”Studio1_Altus” RUNNING:”1″ PRIMARY:”1″ ACTIVE_HOST:”VRA16″ TYPE:”Altus” RESILIENCE_ENABLED:”1″
END
APP START NAME:”[APP NAME]”
Start the application.
APP STOP NAME:”[APP NAME]”
Stop the application.
APP PROM NAME:”[APP NAME]” – Command alias: PROMOTE
Promote a backup application to primary status when primary is online.
APP FAIL[:1] NAME:”[APP NAME]” – Command alias: FAILOVER
Initializes application failover for the primary or backup.
:1 includes data in backup to primary failover.
APP RESI:[1/0] NAME:”[APP NAME]” – Command alias: RESILIENCE
Sets resilience enabled/disabled for a given application:
:1 sets resilience to enabled.
:0 sets resilience to disabled.
Example Command:
APP START NAME:”Zephyr_Connect_1”