You can use monitoring commands on a command-line interface (CLI) to perform monitoring activities, such as viewing the status of devices, manually registering devices, or troubleshooting. N1 Provisioning Server monitoring software provides the following commands:
cereg
cecmd
mls
Use the /opt/terraspring/sbin/cereg command to manually register and unregister resource pool servers for monitoring. In normal operation, registration of resource pool servers for monitoring is done automatically at I-Fabric installation time, so you would use this command only in an error or troubleshooting situation. See Chapter 7, Troubleshooting for details and examples on how to use this command.
Command Usage |
Description |
---|---|
-addAllCPDevices |
Registers all devices on the control plane. |
-deleteCPDevice -ipaddr IP address |
Deregisters the control plane server from monitoring. |
-deletenode -ipaddr IP address -netmask netmask -nodetype node type |
Deregisters the resource pool server from monitoring. |
-addnode -ipaddr IP address -netmask netmask -nodetype node type |
Adds a resource pool server for monitoring. |
Use the /opt/terraspring/sbin/cecmd command to do one of the following:
Configure an interface
Shut down a resource pool server
Back up a resource pool server
This command is typically used in an error or troubleshooting situation. See Chapter 7, Troubleshooting for details and examples on how to use this command.
You can execute the /opt/terraspring/sbin/mls monitoring command to view the state of an I-Fabric component, the status of all N1 Provisioning Server agents, or the status of a particular N1 Provisioning Server agent. The mls command is useful for troubleshooting as well as day-to-day monitoring of the health of the system.
Table 4–2 Using the mls Command
Command Usage |
Description |
---|---|
mls -l |
Lists all nodes on the current control plane server. |
mls -all |
Modifies the query scope to the control plane server. |
mls -c |
Lists customer monitoring values for nodes registered on the current control plane server. |
mls -a |
Lists agent status for all registered nodes on the current control plane server. |
mls -x |
Lists the agent version information for the resources controlled by the control plane server. |
mls -f |
Modifies the query scope to a particular farm. |
mls -i |
Modifies the query scope to a particular resource pool server. |
mls -v |
Verbose output. |
mls -d |
Suppresses header information. |
mls -h |
Displays the command's usage information. |