HP Systems Insight Manager 5.3 Command Line Interface reference guide

Description
mxglobalsettings manages the settings in globalsettings.props. Changes are effective immediately,
and do not require a restart of HP SIM. When you make a change with this command, the
globalsettings.props file is updated automatically.
Options
-s {setting=value}...
Set one or more global settings on the command line. The setting is a key name in the
globalsettings.props file, and the value is the value to assign to that setting.
-f
Use -f with -s, to force the creation of new settings in globalsettings.props without
prompting for confirmation. Without this option, mxglobalsettings prompts you to
confirm the assignment of values to previously undefined settings.
-ld
List global settings in name = value format. If individual setting names are specified, only
those settings are listed; otherwise all settings are listed.
Return values
MeaningValue
Successful completion.0
Command line syntax error.2
An error occurred during operation.-1
Files
/etc/opt/mx/config/globalsettings.props
Examples
Example 1
To list all the settings from the globalsettings.props file, enter mxglobalsettings -ld.
The output might look like:
AllowAltIpForTrap = enabled
CMSDeviceKey = 2
CMSLocale = en_US
CertificateExpirationCriticalStart = 0
CertificateExpirationMajorStart = 10
CertificateExpirationMinorStart = 30
... many lines deleted
snmp_timeout = 4
snmp_timeout_default = 4
suspend_storage_dataCollection = false
switch_code_wakeup = true
wbemEnableState = enabled
Example 2
To set the CMSLocale value in globalsettings.props to Japanese, enter mxglobalsettings -s
CMSLocale=ja_JP.
mxinitconfig
Performs the initial configuration of the server.
40 Command descriptions