unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (HP-UX-11.11)
Page:
Section:
Apropos / Subsearch:
optional field



 cplxmodify(1M)						      cplxmodify(1M)




 NAME
      cplxmodify - modify an attribute of a system complex

 SYNOPSIS
      cplxmodify [-N ComplexName]
	   [ -u username -h IPaddress|hostname
	   | -g -h IPaddress|hostname ]

 DESCRIPTION
      The cplxmodify command modifies attributes of the complex of a
      partitionable system.  The command is the equivalent, at the complex
      level, of the parmodify command, which modifies attributes of an
      nPartition.

      The complex to be modified defaults to the local complex, the one on
      which the command is run. A remote complex can be identified by
      specifying either the -u or -g option in combination with the -h
      option.

      Root permission is required to run this command on the local
      partition.  If the -u or -g option is used to access a remote
      partition or complex, root permission is not required on the local
      system, and the local system need not exist on an nPartition.  If the
      -u option is specified, username on the remote host must have root
      permission or the command will fail.

      By the nature of its operation, this command can modify the
      configuration of its target complex.  Operation can be affected by the
      state of the target complex's nPartition Configuration Privilege.	 If
      this privilege is unrestricted (the default), or the complex is
      accessed using the -g option, all operations are allowed.	 Otherwise
      the command fails.  The -g option is unaffected by the state of the
      nPartition Configuration Privilege.  Note:  This privilege state can
      only be changed at the service processor's Command menu.

      Please refer to the HP System Partitions Guide for a description of
      the partition management terms used in this man page.

    Options and Arguments
      cplxmodify recognizes the following command line options and
      arguments:

      -N ComplexName Changes the name of the target complex to ComplexName.
		     This option may also be used to name a complex for the
		     first time.

		     The characters which can appear in a valid complex name
		     are a-z, A-Z, 0-9, - (dash), _ (underscore), " "
		     (space) and . (period).  If the complex name includes
		     space, then the name should be enclosed within double
		     quotes.  The complex name can have a maximum of 20



 Hewlett-Packard Company	    - 1 -      HP-UX 11i Version 1: Sep 2004






 cplxmodify(1M)						      cplxmodify(1M)




		     characters.

      -u username    Specifies the required authorization to access a
		     partition other than the local system (but can also be
		     used as a loopback access to the local partition).	 The
		     complex to be modified is the one in which this target
		     partition resides.

		     The -h option is required if this option is used.

		     username specifies a configured user name on the target
		     partition. If -u username is specified, the command
		     will prompt for the password associated with the
		     username.

		     Note:  This command is a Web-Based Enterprise
		     Management (WBEM) Client Application.  The -u option
		     accesses the target partition using a Secure Sockets
		     Layer (SSL) connection.  If errors are reported, check
		     that the conditions described in the DEPENDENCIES
		     section are satisfied.

		     Note:   If the commands are used in a script, the user
		     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 -u username -h hostname/IP

		     2. Save the user password in a file and pass the file
		     as input to the command like,

		     parstatus -X -u username -h hostname/IP <&lt&lt&lt; passwd_file

		     Note, for security reason, 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 considered the
		     target complex.  Access is via the service processor's
		     LAN port.





 Hewlett-Packard Company	    - 2 -      HP-UX 11i Version 1: Sep 2004






 cplxmodify(1M)						      cplxmodify(1M)




		     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 processor 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 <&lt&lt&lt; passwd_file

		     Note, for security reason, 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



 Hewlett-Packard Company	    - 3 -      HP-UX 11i Version 1: Sep 2004






 cplxmodify(1M)						      cplxmodify(1M)




      connection errors when using the -u option, check that the following
      two conditions are satisfied:

      +	 Use the cimconfig(1M) command to verify (and correct if necessary)
	 the setting of the following two variables:

	 +  enableRemotePrivilegedUserAccess=true

	 +  enableHttpsConnection=true

      +	 You must have appended the target partition's digital certificate
	 to the local partition's Trust Store file.  For the nPartition
	 commands, the Trust Store file is /var/opt/wbem/client.pem.

	 Note: You must have appended the target partition's digital
	 certificate to the local partition's Trust Store file.	 For the
	 npartition commands, the Trust Store file is
	 /var/opt/wbem/client.pem.  This file is used by the commands that
	 come with WBEM installation.  Hence, if the commands that come with
	 the WBEM installation trust a target partition, then npartition
	 commands will also trust the target partition.

      Refer to the WBEM documents specified in the SEE ALSO section below
      for further information.

 AUTHOR
      cplxmodify was developed by the Hewlett-Packard Company.

 SEE ALSO
      fruled(1), frupower(1M), parcreate(1M), parmgr(1M), parmodify(1M),
      parremove(1M), parstatus(1), parunlock(1M), partition(5),

      HP System Partitions Guide on docs.hp.com,

      HP WBEM Services for HP-UX System Administrator's Guide on
      docs.hp.com,

      HP WBEM Services for HP-UX 11i v2.0 on Integrity Servers Version
      A.01.05 Release Notes on docs.hp.com.















 Hewlett-Packard Company	    - 4 -      HP-UX 11i Version 1: Sep 2004