Top
Systemwalker Runbook Automation Reference Guide
Systemwalker

1.4.8 mdradmin (Agent Management Command)

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

-l

This option displays the information for the Agents recognized by the Manager (Agent ID and name, and endpoint references).

-R Agent ID

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.

-c {activate|inactivate} Agent type

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:

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

0:

Normal termination

Value other than 0:

Abnormal termination


Command Location

[Windows]

<Systemwalker Runbook Automation installation directory>\CMDB\FJSVcmdbm\bin
Note: The default location is C:\Fujitsu\Systemwalker\SWRBAM

[Linux]

/opt/FJSVcmdbm/bin


[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]

[Linux]