5.7.2 Command that controls the database for Common Component
(sc_hbase64_hirdb)
This subsection provides information required to register (in the cluster software) the
sc_hbase64_hirdb command, which is used to control the database for
Common Component.
- Command to be used:
sc_hbase64_hirdb
- Location of the command:
/opt/jp1ao/tools
Table 5‒7: Information required to register the sc_hbase64_hirdb commandRegisterable mode
|
Description
|
Start
|
Use this mode to start the database for Common Component.
- Format:
sc_hbase64_hirdb start
- Result judgment:
Judge the result from the result of the command executed in Monitor
mode. Because the command in Start mode returns 0 as normal termination or 1
as an argument error, you cannot judge the result from the return
code.
|
Stop
|
Use this mode to stop the database for Common Component.
- Format:
sc_hbase64_hirdb stop
- Result judgment:
Judge the result from the result of the command executed in Monitor
mode. Because the command in Stop mode returns 0 as normal termination or 1
as an argument error, you cannot judge the result from the return
code.
|
Monitor
|
Use this mode to check whether the database for Common Component is operating
normally. You need to register this mode only if you want a failover to occur when
the database fails.
- Format:
sc_hbase64_hirdb status
- Result judgment:
- Return code 0 (normal)
The database for Common Component is operating normally.
- Return code 3 (not running)
The process of the database for Common Component is stopped due to
a problem. If this return code is returned, assume that an error has
occurred.
|
To Page Top