HP-UX Reference (11i v1 05/09) - 1M System Administration Commands A-M (vol 3)

c
cplxmodify(1M) cplxmodify(1M)
parstatus -X -u username -h hostname/IP < passwd_file
Note: For security reasons, protect the file that has the user password by removing read
permissions for non-privileged users.
-h IPaddress|hostname
This option should only be used in combination with either the
-u or -g option.
IPaddress|hostname specifies the IP address or hostname of the target partition (
-u
)or
complex (
-g).
-g Allows access to the complex specified by the
-h option. The accessed complex is then con-
sidered the target complex. Access is via the service processor’s LAN port.
The
-h option is required if this option is used.
If -g is specified, the IPMI password of the service processor should be passed when
prompted.
If an error is reported when you attempt to connect using this option, check to see that
IPMI LAN access has not been disabled on the remote service processor. Access to the
complex via IPMI over LAN can be enabled or disabled by logging on to the service proces-
sor and using the SA command from the Command Menu.
The -u and -g options are mutually exclusive.
Note: If the commands are used in a script, the IPMI password must be passed in a
secured way. For example,
1. Save the user password in a variable and pass it to the command as,
echo $passwd | parstatus -X -g -h hostname/IP
2. Save the user password in a file and pass the file as input to the command like,
parstatus -X -g -h hostname/IP < passwd_file
Note For security reasons, protect the file that has the IPMI password by removing read
permissions for non-privileged users.
RETURN VALUE
The cplxmodify command exits with one of the following values:
0 Successful completion.
1 Error condition occurred.
EXAMPLES
Change the name of the local complex to "Basingstoke".
cplxmodify -N Basingstoke
Change the name of a remote complex to "Ploverleigh". The command prompts for the password.
cplxmodify -N Ploverleigh -g -h RemoteComplex
DEPENDENCIES
This command uses the Web-Based Enterprise Management (WBEM) product and certain of its
configuration settings. If you encounter connection errors when using the -u option, check that the follow-
ing two conditions are satisfied:
Use the cimconfig command (see cimconfig(1M)) to verify (and correct if necessary) the setting of the
following two variables:
enableRemotePrivilegedUserAccess=true
enableHttpsConnection=true
You must have appended the target partitions digital certificate to the local partition’s Trust Store file.
For the nPartition commands, the Trust Store file is /opt/nparcmds/nparcmds.pem.
Refer to the WBEM documents specified in the SEE ALSO section below for further information.
Section 1M148 Hewlett-Packard Company 2 HP-UX 11i Version 1: September 2005