Top
Systemwalker Runbook Automation Reference Guide
Systemwalker

1.3.7 cmdbstatus (CMDB Startup Status Display Command)

Description

This command displays the CMDB Manager/Agent startup status.


Synopsis

[Windows]

cmdbstatus.exe -q [server=host name]

[Linux]

cmdbstatus.sh -q [server=host name]


Options

-q server=host name

Specifies the host name of the display target Linked Server. Specify the value that was entered for the host name used by the CMDB Agent at the time of the Agent installation. If this option is omitted, all Linked Servers will be display targets. The display items are shown below:

  • Server Name

    The host name is displayed. For a Linked Server, the host name that was specified at the time of the installation is displayed. For CMDB Manager, this will be localhost.

  • Service Name

    The CMDB Manager/Agent name is displayed. For CMDB Manager, this will be displayed as Fserv/MgrMDR.

  • Status

    The CMDB Manager/Agent status is displayed. If it is running, then this will be RUNNING. If it cannot be connected to from CMDB Manager, for example because it has been stopped, then this will be UNKNOWN.

  • DBStatus

    The linked products status is displayed. If it is running, then this will be RUNNING. If it cannot connect, or the status cannot be obtained, then this will be UNKNOWN.

  • Update

    The last modified date and time is displayed.


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


Privilege Required/Execution Environment

[Windows]

[Linux]

Execution Result/Output Format

# /opt/FJSVcmdbm/bin/cmdbstatus.sh -q
Server Name Service Name Status DBStatus Update
---------------------------------------------------------------------------------------
localhost Fserv RUNNING RUNNING 2010/12/07 16:15:35
localhost MgrMDR RUNNING RUNNING 2010/12/07 16:15:35
localhost SQC RUNNING RUNNING 2010/12/07 04:02:54
yyy.yyy.yyy.yyy ADSC RUNNING RUNNING 2010/11/25 11:29:16
zzz.zzz.zzz.zzz ADSC UNKNOWN UNKNOWN
zzz.zzz.zzz.zzz INV RUNNING RUNNING 2010/12/07 16:06:50

yyy.yyy.yyy.yyy and zzz.zzz.zzz.zzz are IP address that belong to a Linked Server that doesn't exist on localhost.