unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

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



 parunlock(1M)						       parunlock(1M)




 NAME
      parunlock - unlock the Stable Complex Configuration Data, Partition
      Configuration Data, Dynamic Complex Configuration Data, Cell Data or
      cancel pending changes to the Stable Complex Configuration Data

 SYNOPSIS
      parunlock -p PartitionNumber [-s] [-d] [-P] [-c cell]
	   [ -u username -h IPaddress|hostname
	   | -g -h IPaddress|hostname ]

      parunlock -s [-d] [-P] [-c cell] [-p PartitionNumber]
	   [ -u username -h IPaddress|hostname
	   | -g -h IPaddress|hostname ]

      parunlock -d [-s] [-P] [-c cell] [-p PartitionNumber]
	   [ -u username -h IPaddress|hostname
	   | -g -h IPaddress|hostname ]

      parunlock -c cell [-d] [-s] [-P] [-p PartitionNumber]
	   [ -u username -h IPaddress|hostname
	   | -g -h IPaddress|hostname ]

      parunlock -P [-A] [-s] [-d] [-c cell] [-p PartitionNumber]
	   [ -u username -h IPaddress|hostname
	   | -g -h IPaddress|hostname ]

      parunlock -A [-P]
	   [ -u username -h IPaddress|hostname
	   | -g -h IPaddress|hostname ]

 DESCRIPTION
      The parunlock command unlocks the specified Partition Configuration
      Data, the Dynamic Complex Configuration Data, the Stable Complex
      Configuration Data, specified cell data or cancels pending changes to
      the Stable Complex Configuration Data or any combination of these.

      This command should be used with caution.	 It should be used only when
      the system resources are locked due to the abnormal termination of any
      partition command or other similar applications.

      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.

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





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






 parunlock(1M)						       parunlock(1M)




    Remote Management Options
      The -d, -c, -P, -u and -g options will be available only if
      NParProvider and NPartition products are installed. The cplxmodify
      command exist only if NPartition product is installed.

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

      -p PartitionNumber
		     Unlocks the Partition Configuration Data of the
		     specified target partition on the target complex.
		     PartitionNumber specifies the unique number (integer)
		     assigned to the partition when it was created.

      -d	     Unlocks the Dynamic Complex Configuration Data of the
		     target complex.

      -s	     Unlocks the Stable Complex Configuration Data of the
		     target complex.

      -c cell	     Unlocks the cell data of the specified cell.  A cell
		     can be specified either in the local (cabinet#/slot#)
		     or global (cell#) format. For example, the cell located
		     in cabinet 0, slot 1 is identified in the local format
		     as 0/1 or in the global format as 1.

      -u username    Specifies the required authorization to access a
		     partition other than the local partition (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,



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






 parunlock(1M)						       parunlock(1M)




			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.

		     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




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






 parunlock(1M)						       parunlock(1M)




			Note, for security reason, protect the file that has
			the IPMI password by removing read permissions for
			non-privileged users.

      -A	     Unlocks the Stable Complex Configuration Data, the
		     Dynamic Complex Configuration Data, the Partition
		     Configuration Data of all the partitions on the target
		     complex and the cell data of all the cells in the
		     target complex.

      -P	     Cancels any pending changes to the Stable Complex
		     Configuration Data of the target complex.

    Mapping of Global Cell Numbers to Local Cell Numbers
      The cabinets in a complex are numbered starting from 0.  The cell
      slots in each cabinet are also numbered starting from 0.	Each cabinet
      can have a maximum of 8 cells.  For example, the cells located in
      cabinet 0 will have the following cell numbers in global format: 0, 1,
      2, 3, 4, 5, 6, 7.	 The cell numbers in corresponding local format will
      be 0/0, 0/1, 0/2, 0/3, 0/4, 0/5, 0/6, 0/7.

      Similarly the cells located in cabinet 1 will have the following cell
      numbers in global format: 8, 9, 10, 11, 12, 13, 14, 15.  The cell
      numbers in corresponding local format will be 1/0, 1/1, 1/2, 1/3, 1/4,
      1/5, 1/6, 1/7.

      From the above convention the cell located in cabinet 1, slot 0 is
      identified in the local format as 1/0 or in the global format as 8.
      The parstatus(1) command will display the above cell as "cab1,cell0".
      The cell located in cabinet 1, slot 4 is identified in the local
      format as 1/4 or in the global format as 12.  The parstatus(1) command
      will display the above cell as "cab1,cell4".

 RETURN VALUE
      The parunlock command exits with one of the following values:

      0	   Successful completion.

      1	   Error condition occurred.

 EXAMPLES
      Unlock the Partition Configuration Data of the partition whose
      partition number is 2.

	   parunlock -p 2

      Unlock the cell data of the cell 2.

	   parunlock -c 2





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






 parunlock(1M)						       parunlock(1M)




      Unlock the Stable Complex Configuration Data on the local complex.

	   parunlock -s

      Unlock the Dynamic Complex Configuration Data on the local complex.

	   parunlock -d

      Unlock the Stable Complex Configuration Data, the Dynamic Complex
      Configuration Data, the Partition Configuration Data of all the
      partitions on the local complex and the cell data of all the cells in
      the local complex.

	   parunlock -A

 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 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 /opt/nparcmds/nparcmds.pem.

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

 AUTHOR
      parunlock was developed by the Hewlett-Packard Company.

 FILES
      /usr/sbin/	     The partition commands under this directory do
			     not provide remote management feature.

      /usr/lib/npar/	     The partition commands under this directory
			     provide remote management feature. These
			     commands use the nPartition Provider product.

      /opt/nparprovider/lib/installed
			     The presence of this file indicates that
			     nPartition Provider is installed.





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






 parunlock(1M)						       parunlock(1M)




 SEE ALSO
      cplxmodify(1M), fruled(1), frupower(1M), parcreate(1M), parmgr(1M),
      parmodify(1M), parremove(1M), parstatus(1), 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	    - 6 -      HP-UX 11i Version 1: Sep 2004