Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
nPartition Administrator's Guide > Chapter 6 Creating and Configuring nPartitions

Removing (Deleting) an nPartition

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

You can remove an nPartition by using any one of the following procedures:

Deleting an nPartition causes all cells (and any I/O resources connected to the cells) that were assigned to the nPartition to be unassigned. As a result, all of these cells become available resources which can be assigned to any nPartition in the server complex.

When removing an active nPartition, you must complete the procedure by performing a shutdown for reconfig (the HP-UX shutdown -R -H command or Windows shutdown /s command) as soon as possible after initiating the nPartition removal.

When using the Original nPartition Commands or Partition Manager Version 1.0, you can delete only the local nPartition and inactive remote nPartitions.

Procedure 6-4 Deleting an nPartition (nPartition Commands)

From the command line, use the parremove command to delete (remove) an nPartition.

NOTE: You can remotely perform this task using remote administration options supported by the Enhanced nPartition Commands or Partition Manager Version 2.0. Remote administration is supported by the Partition Manager Tools->Switch Complexes action and by the nPartition command -u... -h... options or -g... -h... options.

For details see “Tools for Configuring nPartitions”.

  1. Use the parstatus -P command to list all nPartitions, and check the status (active or inactive) for the nPartition you plan to remove.

    To check the local partition number, use the parstatus -w command. The local nPartition always is active when it is running HP-UX.

    If you are planning to remove a remote nPartition, check to see whether the remote nPartition is inactive.

    • If using Original nPartition Commands to remove a remote nPartition, the remote nPartition must be inactive.

      To make a remote nPartition inactive, put the nPartition into a shutdown for reconfig state by performing any of the following tasks:

      • Login to HP-UX running on the remote nPartition and issue the shutdown -R -H command

      • Login to Windows running on the remote nPartition and issue the shutdown /s command.

      • Login to Linux running on the remote nPartition and issue the shutdown -h time command.

      • Login to OpenVMS running on the remote nPartition, first issue @SYS$SYSTEM:SHUTDOWN from OpenVMS and enter No at the "Should an automatic system reboot be performed" prompt, then access the MP and, from the MP Command Menu, issue the RR command and specify the nPartition that is to be shutdown for reconfig.

      • Access the console for the remote nPartition and use the RECONFIGRESET command at the BCH Menu (on HP 9000 systems) or the reconfigreset command at the EFI Shell (on HP Integrity systems).

      • Use the RR command at the service processor Command Menu to reset the nPartition to a shutdown for reconfig state.

    • To remove an active remote nPartition, you must use the Enhanced nPartition Commands remote administration options and the remote nPartition must be in a complex based on the HP sx1000 chipset or HP sx2000 chipset.

  2. Save all current configuration details about the nPartition you plan to remove.

    Use the parstatus -V -p# command to display all current configuration information related to the nPartition you plan to remove.

    Save this information, as you can use it to manually recreate the nPartition if necessary at a later time.

  3. Remove the nPartition.

    Use one of the following procedures to remove the nPartition: “Removing an Inactive Remote nPartition”, “Removing a Local nPartition”, or “Removing an Active Remote nPartition”.

    • Removing an Inactive Remote nPartition. 

      1. Issue the parremove -p# command to remove the inactive remote nPartition (-p# where # is the nPartition number). For example:

        #parremove -p1

      2. Issue the parstatus -P command to confirm that the nPartition was removed.

        If the nPartition was removed, it no longer is listed in the parstatus command output.

    • Removing a Local nPartition. To remove the local nPartition (the nPartition on which you currently are issuing commands), perform the following steps.

      1. Shut down all applications and warn users. Follow the same procedures you would use if you were to reboot the nPartition.

      2. Issue the parremove -F -p# command to force-remove (-F) the local nPartition (-p# where # is the number of the local nPartition).

        Note that the local nPartition remains active following the parremove -F -p# command, until you perform a shutdown for reconfig to complete the removal.

        As soon as possible proceed with the shutdown for reconfig because the server Complex Profile will remain locked—and no other changes can occur—until the pending nPartition removal is completed.

      3. Perform a shutdown for reconfig of the local nPartition (HP-UX: shutdown -R -H; Windows: shutdown /s; Linux: shutdown -h time; OpenVMS: @SYS$SYSTEM:SHUTDOWN with no automatic system reboot then MP Command menu RR command).

        The shutdown for reconfig command shuts down the nPartition and all cells so that the configuration changes occur and the nPartition is deleted.

    • Removing an Active Remote nPartition. To remove an active remote nPartition, you must use the Enhanced nPartition Commands or Partition Manager Version 2.0 and the remote nPartition must be in a complex based on the HP sx1000 chipset or HP sx2000 chipset.

      1. Shut down all applications and warn users. Follow the same procedures you would use if you were to reboot the nPartition.

      2. Issue the parremove -F -p# command and specify either the -u... -h... options or -g... -h... options. For details see “Tools for Configuring nPartitions”.

        You must specify both the force-remove option (-F) and the nPartition number (-p# where # is the number for the nPartition being removed).

      3. Perform a shutdown for reconfig of the nPartition that is being removed.

        Use any of the following methods, as appropriate, to perform the shutdown for reconfig.

        • From the operating system, put the nPartition into a shutdown for reconfig state (HP-UX: shutdown -R -H; Windows: shutdown /s; Linux: shutdown -h time; OpenVMS: @SYS$SYSTEM:SHUTDOWN with no automatic system reboot then MP Command menu RR command).

        • From the EFI Shell for the nPartition, use reconfigreset to put the nPartition into a shutdown for reconfig state.

        • From the BCH menu for the nPartition, use RECONFIGRESET to put the nPartition into a shutdown for reconfig state.

        • From the service processor Command Menu for the server complex where the nPartition resides, use the Command menu RR command to put the nPartition into a shutdown for reconfig state.

    After you complete the nPartition removal, the nPartition no longer exists. All cells (and associated I/O chassis) that used to be assigned to the deleted nPartition now are unassigned and can be assigned for other uses.

Procedure 6-5 Deleting an nPartition (Partition Manager)

You can delete an nPartition by using Partition Manager.

When using Partition Manager Version 1.0, select an nPartition, then select the Partition->Delete Partition action.

When using Partition Manager Version 2.0, select an nPartition, then select the nPartition->Delete nPartition action.

  1. Access Partition Manager.

    For details on accessing Partition Manager or other tools, see “Tools for Configuring nPartitions”.

  2. In Partition Manager, select the nPartition you want to remove.

    If using Partition Manager Version 1.0, you must select either the local nPartition or a inactive remote nPartition (where all hardware assigned to the nPartition must be listed as having an Actual Usage of "inactive").

    If using Partition Manager Version 2.0, you also can remove an active remote nPartition either when managing the complex where nPartition resides, or when managing the remote nPartition. Both remote management features involve using the Tools->Switch Complexes action.

  3. Select the Partition Manager action to request that the nPartition be removed (deleted).

    From Partition Manager Version 1.0, select the Partition->Delete Partition action.

    From Partition Manager Version 2.0, select the nPartition->Delete nPartition action.

  4. Proceed with the nPartition deletion by clicking the OK button when Partition Manager requests confirmation for deleting the nPartition.

  5. If removing an active nPartition, perform a shutdown for reconfig of the nPartition. (You do not need to perform a shutdown for reconfig if removing an inactive nPartition.)

    Login to the nPartition being removed, and issue the HP-UX shutdown -R -H command or Windows shutdown /s command to perform the shutdown for reconfig. Following the shutdown, the nPartition no longer exists—its configuration information is deleted.

  6. Exit Partition Manager.

    From Partition Manager Version 1.0, select the File->Exit action.

    From Partition Manager Version 2.0, select Log off parmgr or exit the Web browser when finished.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2007 Hewlett-Packard Development Company, L.P.