Verifying the connection to BMC BladeLogic Server Automation
If the adapter has successfully connected to BMC BladeLogic, your first command will run successfully. For your first command, it is best to send a simple request to the adapter, just to verify that the connection is valid. An example is the default BLCLI command shown below (with the namespace and IP address modified for your system):
<bladelogic-request>
<request-data>
<command executable-type="cli" timeout-secs="30">
<namespace>Server</namespace>
<command-name>printAllProperties</command-name>
<arguments>
<argument>192.168.0.10</argument>
</arguments>
</command>
</request-data>
</bladelogic-request>
If the command completes successfully, the adapter configuration is valid.
If a simple command fails, there is a problem with the adapter configuration or the request that is preventing the adapter from running the command properly. The adapter response will list an error message, and further information may be available in the $PEER_HOME/tomcat/logs/grid.log file. For more information on logging in BMC Atrium Orchestrator, see “Troubleshooting” in the BMC Atrium Orchestrator System Administration Guide.