Installation guide

133
Security Management Center Commands
sgHA
[host=<Management Server Address
[\Domain]>]
[login=<login name>]
[pass=<password>]
[master=<Management Server used as
master server for the operation>]
[-set-active]
[-set-standby]
[-check]
[-retry]
[-force]
[-restart]
[-h|-help|-?]
Controls active and standby Management Servers. If you want to
perform a full database synchronization, use the
sgOnlineReplication command.
host specifies the address of the Management Server. If the
parameter is not defined, the loopback address (localhost) is
used.
Domain specifies the administrative Domain for this operation if
the system is divided into administrative Domains. If the Domain
is not specified, the Shared Domain is used.
login defines the username for the account that is used for
this operation. If this parameter is not defined, the username
root is used.
pass defines the password for the user account.
master defines the Management Server used as a master
Management Server for the operation.
-set-active activates and locks all administrative Domains.
-set-standby deactivates and unlocks all administrative
Domains.
-check checks that the Management Server’s database is in
sync with the master Management Server.
-retry retries replication if this has been stopped due to a
recoverable error.
-force enforces the operation even if all Management Servers
are not in sync. Note that using this option may cause instability
if used carelessly.
-restart restarts the specified Management Server.
-h, -help, or -? displays information on using the script.
sgImport
[host=<
Management Server Address
[\
Domain]>
]
[login=<login name>]
[pass=<password>]
file=<file path and name>
[-replace_all]
[-h|-help|-?]
Imports Management Server database elements from an XML
file. When importing, existing (non-default) elements are
overwritten if both the name and type match.
host specifies the address of the Management Server. If the
parameter is not defined, the loopback address (localhost) is
used.
Domain specifies the administrative Domain for this operation if
the system is divided into administrative Domains. If the Domain
is not specified, the Shared Domain is used.
login defines the username for the account that is used for
this operation. If this parameter is not defined, the username
root is used.
pass defines the password for the user account.
file defines the ZIP file whose contents you want to import.
-replace_all ignores all conflicts by replacing all existing
elements with new ones.
-h, -help, or -? displays information on using the script.
Table A.1 Security Management Center Command Line Tools (Continued)
Command Description