Installation guide
135
Security Management Center Commands
sgOnlineReplication
[login=<login name>]
[pass=<password>]
[active-server=<name of active 
Management Server>]
[standby-server=<name of 
additional Management Server>]
[standby-server-address=<IP 
address of additional Management 
Server>]
[-nodisplay]
[-h|-help|-?]
Replicates the Management Server’s database from the active 
Management Server to an additional Management Server. The 
Management Server to which the database is replicated must be 
shut down before running this command. Restart the 
Management Server after running this command.
Note! Use this script to replicate the database only if the 
additional Management Server’s configuration has been 
corrupted, the additional Management Server’s certificate has 
expired, or in new SMC installations if the automatic database 
replication between the Management Servers has not 
succeeded. Otherwise, synchronize the database through the 
Management Client. See the McAfee SMC Administrator’s Guide 
for more information.
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.
active-server option specifies the IP address of the active 
Management Server from which the Management database is 
replicated. 
standby-server option specifies the name of the additional 
Management Server to which the Management database is 
replicated.
standby-server-address option specifies the IP address 
of the additional Management Server to which the Management 
database is replicated.
-nodisplay sets a text only console.
-h, -help, or -? displays information on using the script.
sgReinitializeLogServer
Note! This script is located in <installation directory>/
bin/install.
Creates a new Log Server configuration if the configuration file 
has been lost.
sgRestoreArchive <ARCHIVE_DIR>
Restores logs from archive files to the Log Server. This command 
is available only on the Log Server. 
ARCHIVE_DIR is the number of the archive directory (0 – 31) 
from where the logs will be restored. By default, only archive 
directory 0 is defined. The archive directories can be defined in 
the <installation directory>/data/
LogServerConfiguration.txt
 file: 
ARCHIVE
_DIR_xx=
PATH.
Table A.1 Security Management Center Command Line Tools (Continued)
Command Description










