Description
This command provides functions that display/delete agents managed by the CMDB Manager, and activate/inactivate automatic collection processing.
Synopsis
[Windows]
mdradmin.exe -l mdradmin.exe -R Agent ID mdradmin.exe -c {activate|inactivate} Agent type |
[Linux]
mdradmin.sh -l mdradmin.sh -R Agent ID mdradmin.sh -c {activate|inactivate} Agent type |
Options
This option displays the information for the Agents recognized by the Manager (Agent ID and name, and endpoint references).
This option deletes the Agent from the Manager. The Agent ID is the MDR-ID part in the output result of the '-l' option in this command.
Specify either activate or inactivate.
AGT_CENTINV
An agent that collects the Systemwalker Centric Manager inventory information.
AGT_CENTREP
An agent that collects the Systemwalker Centric Manager node information.
AGT_INV
An agent that automatically collects inventory information about the servers connected to the network.
AGT_ADSC
An agent that detects node automatically and collects node information
Combining Options
The options that can be combined are different for the Manager and the Linked Server, as shown below:
Management Server
mdradmin.[exe|sh] -l
mdradmin.[exe|sh] -R Agent ID
Linked Server
mdradmin.[exe|sh] -c {activate|inactivate} Agent type
Additionally, when this command is executed on the Manager, the Agents that can be displayed in -l are those that have a record of having notified the Manager at least once about the information that was collected. The reason for this is that the Manager can recognize the existence of the Agents in the first notification of information.
Return Values
Normal termination
Abnormal termination
Command Location
Management Server
[Windows]
<Systemwalker Runbook Automation installation directory>\CMDB\FJSVcmdbm\bin |
[Linux]
/opt/FJSVcmdbm/bin |
Linked Server
[Windows]
%SWCMDB_INSTALL_PATH%\FJSVcmdba\bin Note: The installation destination of the CMDB agent included in the agent of Systemwalker Runbook Automation is set to environment variable %SWCMDB_INSTALL_PATH%. |
[Linux]
/opt/FJSVcmdba/bin |
Privilege Required/Execution Environment
[Windows]
This command requires administrator privileges. When using Windows Server 2008 or later operating system, run as an administrator.
This command can be executed on a Management Server and Linked Server.
[Linux]
This can only be executed by a system administrator (superuser).
This command can be executed on a Management Server and Linked Server.