HP Superdome 2 Partitioning Administrator Guide HP-UX 11i v3 HP Part Number: T1335-91002 Published: August 2010 Edition: 1.
© Copyright 2010 Hewlett-Packard Development Company, L.P. Confidential computer software. Valid license from HP required for possession, use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer Software, Computer Software Documentation, and Technical Data for Commercial Items are licensed to the U.S. Government under vendor's standard commercial license. The information contained herein is subject to change without notice.
Table of Contents 1 Introduction...................................................................................................................11 Conceptual Overview...........................................................................................................................11 HP Superdome 2 terminology..............................................................................................................12 2 Partitioning in HP Superdome 2.............................................
Planning nPartitions......................................................................................................29 Recommended HP Superdome 2 nPartition Configurations...............................................................29 HP Superdome 2 Partitioning Choices.................................................................................................29 Superdome 2 CPU / CPU module Support.....................................................................................
REBOOT PARTITION.....................................................................................................................59 SET PARTITION DVD.....................................................................................................................59 SHOW PARTITION DVD................................................................................................................62 SHOW PARTITION INFO.......................................................................................
Virtual Partition States.....................................................................................................................87 vparstatus: Summary Information..................................................................................................89 Shutting Down or Rebooting a Virtual Partition..................................................................................90 Shutting Down All Virtual Partitions.....................................................................
List of Figures 3-1 3-2 4-1 4-2 5-1 5-2 5-3 5-4 5-5 5-6 5-7 5-8 6-1 6-2 6-3 6-4 6-5 6-6 6-7 6-8 6-9 6-10 6-11 6-12 6-13 6-14 6-15 6-16 6-17 6-18 6-19 6-20 6-21 6-22 6-23 8-1 8-2 nPartition Status Information........................................................................................................26 Viewing Partitition Specification Information..............................................................................28 Partition Rules — 16s..................................................
List of Tables 1-1 3-1 3-2 4-1 5-1 5-2 6-1 7-1 7-2 7-3 8-1 8-2 10-1 A-1 8 HP Superdome 2 terminology.......................................................................................................12 nPartition Commands Descriptions............................................................................................101 RunStates for nPartition................................................................................................................26 Superdome 2 supported CPU Matrix.....
List of Examples 2-1 2-2 8-1 8-2 Unique IDs for an nPartition and Complex..................................................................................18 Unique IDs for Virtual Partitions (vPars)......................................................................................18 Booting a vPar...............................................................................................................................84 Example........................................................................
1 Introduction The HP Integrity Superdome 2 servers (HP Superdome 2) are scalable systems based on blade system architecture. HP Superdome 2 systems support HP nPartitions and HP-UX Virtual Partitions (vPars). This administrator guide describes the steps to plan, create, and manage partitions – nPartitions and virtual partitions – on an HP Superdome 2 system. This guide is primarily for users who have prior experience in managing nPartitions and virtual partitions on HP servers.
• From the OA. OA Graphical User Interface (GUI) and Command Line Interface (CLI) support partition management user interfaces. NOTE: • • The initial release of HP Superdome 2 does not support iCAP CLIs on the OA. From the partitions. Operating system based (Legacy) partition management command interfaces are still supported from the partition side. From a Central Management System (CMS). HP Systems Insight Manager (HP SIM) and other plug-ins from the CMS can be used to manage partitions.
2 Partitioning in HP Superdome 2 Onboard Administrator and Partition Management This chapter provides information on managing partitions – hard partitions (nPartitions) and virtual partitions (vPars) – using the Onboard Administrator. The OA supports both a graphical user interface (GUI) as well as a command-line user interface (CLI). You can log in to the OA GUI by entering the appropriate URL in the web browser. The URL must include the hostname or IP address of the OA.
• • • • • Boot an existing nPartition. Remove an nPartition. Rename an nPartition. Reset an nPartition. Assign and unassign resources such as blades and I/O bays. You can define many possible configurations for an nPartition complex, and then control which configurations or which partitions will exist at any given point in time. This is possible by using partition specifications. A partition specification is a mechanism you can use to store the definition of a partition.
Note the following on Partition help pages: — — You can run the help command to see the current list of Partition help pages. As of this printing, the Partition help pages are: ◦ nPartition Commands parcreate, ,parmodify, pardefault, parremove, parstatus, and parperm ◦ vPartition Commands vparcreate, , vparmodify, vparreset, vparremove, vparstatus, and vecheck Commands: Partition Commands Logging On the OA, the Partition commands executed are logged into the OA syslog file.
Cases Where Logging Occurs Below are the cases where logging does occur: • Commands which change and/or affect the state of partitions. These commands include parcreate, parmodify, parremove, vparboot, vparcreate, vparenv, vparremove, vparmodify, and vparreset. Constraints and Restrictions to Logging Note the following: • The command line text will be logged on only the partition from which the command was executed.
NOTE: HP Integrity servers running the new HP sx3000 chipset are quad core (4 cores per processor/ per socket), but HP-UX licensing is per-socket or per processor. Therefore, one per-socket software license is required per each quad-core processor. The processor and socket, both represent a processing unit, and presents 4 cores on it. Though vPars can be created from the OA without purchasing a vPar license, HP does not support such configurations.
The interfaces include the _CS_PARTITION_IDENT and _CS_MACHINE_IDENT parameters: • For a nPartition-specific or a virtual partition-specific unique ID use this command: /usr/bin/getconf _CS_PARTITION_IDENT The unique partition identifier value for a virtual partition environment has virtual partition-specific data added that does not appear for an equivalent non-vPars environment. See the examples that follow.
3 Getting Started with nPartitions HP Superdome 2 with sx3000 processors uses c-Class technology for the architecture of the system. The management of Superdome 2 is done by an Onboard Administrator (OA) with enhanced firmware. This Onboard Administrator has partitioning capabilities, both for hard partitions (nPartition) and for virtual partitions (vPar) . You can manage the nPartitions and virtual partitions through the OA without the need to install software on any disk.
Table 3-1 nPartition Commands Descriptions (continued) Command Description parperm Configure partition configuration privilege for nPartitions and vPars. NOTE: This command is available only from the OA. parremove Remove an existing nPartition. parstatus Display nPartition information and hardware details for a server complex.
1/4 1/5 1/6 1/7 1/8 Inactive Inactive Inactive Inactive Inactive * D-Deconfigured Base Base Base Base Base /OK /OK /OK /OK /OK 8/0/0/8 8/0/0/8 8/0/0/8 8/0/0/8 8/0/0/8 128.0/0.0/0.0 128.0/0.0/0.0 128.0/0.0/0.0 128.0/0.0/0.0 128.0/0.0/0.
an nPartition that has been powered on, or if the user has set the use_on_next_boot attribute of the blade to be false. I/O Enclosures and I/O Bays HP Superdome 2 I/O Expansion Enclosures (IOX enclosures) contain two bays, each of which may be independently assigned to nPartitions. I/O bays are not directly attached to blades on HP Superdome 2 servers - the I/O bays in an IOX have to be assigned to specific partitions, thus allowing more flexibile I/O assignments.
not specified either through the -p or -P options, a default name of the format nParnnnn is given to the nPartition (where nnnn is a 4 digit nPartition number). Partition Numbers Specifies the number of the nPartition. The parcreate —p number command is used to create an nPartition with a number associated to it. If -p number is not specified, an nPartition number is automatically assigned to the created nPartition. Valid partition numbers range from 1-255.
Blade Resource Attributes With HP Superdome 2 nPartitions, blade attributes are specified with the parcreate and parmodify commands. The blade resource attributes are: • blade_path Specifies the blade resource path. It can be specified in short, medium, or long format. For example, the blade located in enclosure 1, slot 3 is identified in the short format as 1/3, in the medium format as blade-1/3, or in the long format as enclosure1/blade3. • blade_type Specifies the type of the blade.
nPartition, adds another 8 GB memory to that blade. When the nPartition is booted again, the blade now has 16 GB of memory, but the SLM is still 4 GB. Operating System Specific Default Values for nPartition Attributes When an nPartition is created for a specific operating system type, the default values specific to that operating system type are applied to the nPartition attributes. Hyperthreading is enabled by default when nPartitions are created to run HP-UX.
parstatus -P [Partition] Par State/ Num RunState Status* # of # of ILM/ Blades IOBays SLM (GB)** === ======================= ======= ====== ====== ============= 1 Active /EFI OK 1 1 14.0/112.0 2 Inactive /DOWN OK 1 1 16.0/112.0 3 Active /RUN_VPARS OK 1 1 126.0/0.
Table 3-2 RunStates for nPartition (continued) Runstate Description ALT_DEFINED This is a partition definition in an alternate parspec. RUN_VPARS The nPartition is either running or is ready to run virtual partitions. UNKNOWN The status is not known. This may reflect an error condition or a transitionary state while partition states are being discovered.
NOTE: The -Z option creates an nPartition from the PartitionSpec partition specification. • The following command modifies the alternate parspec named PartitionSpec to add a new blade in enclosure 1 slot 3 to the nPartition definition.
4 Planning nPartitions This chapter describes how you can plan nPartition configurations. Details include the nPartition configuration requirements and recommendations.
Figure 4-1 Partition Rules — 16s Alternative options are provided in the event that a smaller partition is combined with a larger partition. For example, if a 3 blade partition is the only thing loaded, the blades will be loaded in slots 1, 3 and 5. A second 3-blade partition would be loaded in slots 2, 4 and 6. This is shown in the line 3P (preferred loading rules for 3 blade partitions).
Figure 4-2 Partition Rules — 8s NOTE: The loading rules for the SD2-8S are very similar to those for the SD2-16s except that no partitions larger than 4 blades are supported. This is a firmware limitation imposed on the SD2-8s. However, as seen from the loading options, all 8 blade slots can be populated in a SD2-8s. So you can have eight 1-blade partitions, four 2-blade partitions, two 4-blade partitions, or other combinations as long as no single partition is larger than 4 blades.
CPU Mixing Support HP Superdome 2's governing rules for mixing processors is as follows: • • • Does not support mixing of processor families within an nPartition Does not support processors running at different frequencies or different cache sizes within the same nPartition Processor modules on the same blade must be the same revision, frequency, and cache size. HP Superdome 2 Memory Support HP Superdome 2 memory is not backwards compatible with the DDR DIMMs used on sx2000 Superdome based platforms.
9 10 11 12 IO IO IO IO 0 0 0 0 2 2 2 2 2 2 2 2 - [Blade] Enclosure/ Usage/ Blade Status* CPU OK/ Indicted/ Deconf/ Max ========== ======================= ========= 1/1 Inactive Base /OK 8/0/0/8 1/2 Inactive Base /OK 8/0/0/8 1/3 Inactive Base /OK 8/0/0/8 1/4 Inactive Base /OK 8/0/0/8 1/5 Inactive Base /OK 8/0/0/8 1/6 Inactive Base /OK 8/0/0/8 1/7 Inactive Base /OK 8/0/0/8 1/8 Inactive Base /OK 8/0/0/8 * D-Deconfigured Memory (GB) OK/ Indicted/ Deconf =============== 128.0/0.0/0.0 128.0/0.0/0.0 128.
Par State/ Num RunState Status* # of # of ILM/ Blades IOBays SLM (GB)** === ======================= ======= ====== ====== ============= 2 Inactive /DOWN OK 1 1 16.0/112.0 Partition Name (first 15 characters) =============== nPar0002 * D-Degraded ** Actual allocated for Active and User requested for Inactive partitions NOTE: The nPartition has been created with the default settings for most of the nPartition attributes.
5 Creating and Configuring nPartitions This chapter has procedures for creating, configuring, and managing nPartitions on HP Superdome 2 server.
Figure 5-1 OA GUI Login Screen 2. Enter the OA Administrator password. NOTE: The original Administrator password is available on a sticker on the OA module. nPartition Commands Commands for Configuring nPartitions You can use the nPartition commands to create, modify, monitor, and remove nPartitions. Table 3-1 describes the nPartition configuration commands. NOTE: To execute partition commands from the operating system, root or IPMI LAN access is required.
Task Summaries for Creating and Configuring nPartitions Table 5-2 nPartition Boot and Reset Task Summaries Task Summary Partition Default Attributes See “Partition Default Attributes” Create new nPartition See “Creating a New nPartition” Verifying the nPartitions See “Verifying Newly Created nPartitions” Deleting an nPartition See “Removing (Deleting) an nPartition” Renaming an nPartition See “Renaming an nPartition” Assigning blades and I/O bays to an nPartition See “Assigning (Adding) Blades
Creating a New nPartition This section describes the procedure to create an nPartition using the OA CLI and the GUI. Creating a New nPartition Using the OA CLI You can use the parcreate command to create a new nPartition on HP Superdome 2. The command takes the specified blades and I/O bays and assigns them to the new nPartition. If an nPartition number is not specified, the command finds an available nPartition number and assigns it to the new nPartition.
Num RunState Blades IOBays SLM (GB)** === ======================= ======= ====== ====== ============= 1 Inactive /DOWN OK 2 0 32.0/224.0 2 Inactive /DOWN OK 1 1 16.0/112.0 3 Inactive /DOWN OK 1 1 16.0/112.0 (first 15 characters) =============== nPar0001 nPar0002 nPar0003 * D-Degraded ** Actual allocated for Active and User requested for Inactive partitions • The parstatus –V –p {partition_id} command gives the details on any specific partition.
* D-Deconfigured I-Indicted Removing (Deleting) an nPartition This section describes the procedure to remove an nPartition using both the OA interfaces. Removing (Deleting) an nPartition Using the OA CLI The parremove command removes an existing nPartition. This unassigns all blades and I/O bays from the nPartition and destroys the partition. The target nPartition must be inactive unless the -F option is used.
Assigning (Adding) Blades and I/O Bays to an nPartition This section describes the procedure to assign blades and I/O bays. Assigning (Adding) Blades and I/O Bays to an nPartition Using the OA CLI The syntax for adding a blade is: parmodify -p -a For more information, see help parcreate and help parmodify. The following command adds the blade in enclosure 1, slot 3 to the existing nPartition 2.
Figure 5-4 IOX Resources Option 5. 6. Select the I/O bay. Click Apply to commit your configuration changes. To cancel an operation, navigate away from the Modify nPartition screen. The blades and I/O bay are assigned to the nPartition. Unassigning (Removing) Blades and I/O Bays from an nPartition This section describes the procedure to unassign blades and I/O bays from an nPartition.
Figure 5-5 Blade Resources Option 3. 4. Uncheck the blade resources that you want to unassign from the nPartition. Expand the IOX Resources option. Figure 5-4 “IOX Resources Option” shows the IOX Resources screen. Figure 5-6 IOX Resources Option 5. 6. Uncheck the I/O bay(s) that you want to unassign. Click Apply. The blades and I/O resources are unassigned from the nPartition.
Renaming a Server Complex To rename a Server complex using the command line interface, run the following command from the OA: set complex To rename a server complex using the GUI: 1. Select the Complex Information link in the left navigation pane. 2. On the Complex Information screen, click the Information tab. 3. Under Settings, modify the complex name. 4. Click Apply. The server complex is renamed.
Figure 5-8 Memory Settings 5. 6. Select the appropriate attributes. Click Apply. The blade attributes are set.
6 Booting and Resetting Partitions (nPartitions and vPars) This chapter introduces Partition system boot and reset concepts, configuration options, and procedures for booting and resetting Partitions. This chapter covers boot details for HP-UX 11i v3 operating system and the OA CLI and GUI.
1. Open a browser and type the url: http://>. “OA GUI” shows the Onboard Administrator login screen. Figure 6-1 OA GUI Login Screen 2. Enter the OA Administrator password. NOTE: The original Administrator password is available on a sticker on the OA module. For more information on activating a partition from GUI see “Booting from the GUI” Booting to EFI and Preparing for Operating System Installation You can access a partition console and its EFI system boot environment through the OA.
After you power on the partition, the nPartition is booted and comes up to the Active/EFI state if the nPartition is in nPars mode or to Active/RUN_VPARS state if the nPartition is in vPars mode. parstatus -P [Partition] Par State/ Num RunState Status* # of # of ILM/ Blades IOBays SLM (GB)** === ======================= ======= ====== ====== ============= 1 Inactive /DOWN OK 1 0 0.0/0.0 2 Active /RUN_VPARS OK 2 2 2.0/28.0 3 Active /EFI OK 1 2 2.0/28.0 4 Inactive /DOWN OK 0 0 0.0/0.
Q) Quit Select partition number: 2:1 The power state is OFF for partition 2:1. In what state do you want the power? (ON/OFF) on Booting from the GUI The individual partition screens may be reached either from the left navigation pane regardless of whether the partition is an nPartition or a vPar. 1. Select a partition that you want to activate. Figure 6-2 nPartition Status Information Figure 6-3 vPar Status information 2. Select the Virtual Devices tab and click on theMomentary Press button.
Figure 6-5 vPar Virtual Devices tab 3. Navigate to the status tab to see the run state of the partition. Figure 6-6 Active/vPars Mode State of an nPartition Figure 6-7 Active/EFI prompt State of vPar Getting a Console Using the CLI To access a partition’s system console using the command line, run the CO command.
Partition Partition Number Name ----------------1 nPar0001 2 nPar0002 2:1 nPar0002:vPar0001 Q) Quit Select partition number: 2:1 ----Log Snippet------------Log Snippet--------Welcome to the Superdome 2 console
Enc --1 6 Enc Type ------Compute IOX I/O SLOT CAPABILITIES Enc/ Bay/ Slot -----1/2/1 1/2/2 1/2/3 1/2/4 1/2/5 1/2/6 1/2/7 RC/RP ----1/0 1/2 2/0 0/0 0/2 2/2 2/3 6/2/1 6/2/2 6/2/3 6/2/4 6/2/5 6/2/6 2/0 2/2 0/2 0/0 1/0 1/2 Maximum PCIe Link Width ------x8 x8 x8 x8 x8 x4 x4 x8 x8 x8 x8 x8 x8 Maximum Peak Bandwidth --------4.00 GB/s 4.00 GB/s 4.00 GB/s 4.00 GB/s 4.00 GB/s 2.00 GB/s 2.00 GB/s 4.00 4.00 4.00 4.00 4.00 4.
1/2/7 1/2/7 1/2/7 1/2/7 00/08 00/0D 00/0D 00/0D 03/00 00/00 00/02 00/04 103C/402F 103C/3306 103C/3307 103C/3300 ----/----/11 103C/3309/04 103C/3309/04 103C/3309/01 Bridge Device - PCI/PCI bridge Base System Peripherals - Other syste Base System Peripherals - Other syste Serial Bus Controllers - USB 6/2/2 6/2/3 6/2/4 6/2/5 6/2/6 6C/00 6A/00 6A/00 6B/00 6B/00 02/00 02/00 00/00 00/00 02/00 103C/402F 103C/402F 103C/402F 103C/402F 103C/402F ----/----/11 ----/----/11 ----/----/11 ----/----/11 ----/----/
Table 6-1 nPartition Boot and Reset Task Summaries (continued) Task Summary UPDATE NPARTITION The UPDATE NPARTITION command downloads a new flash image from the network or a USB drive attached to the DVD module, or a DVD in the enclosure DVD drive in the monarch enclosure and uses it to update the firmware for HP Superdome 2 cell blades within the specified partition(s). See“UPDATE NPARTITION”.
NOTE: An OVERRIDE option is required to affect a change in mode or when a destructive operation needs to be applied to all vPars in an nPartition. HP Superdome 2 partition management supports two modes of operation for an nPartition: the “nPars” mode and the “vPars” mode. The mode is an attribute of an nPartition. When in nPars mode, an nPartition normally boots up as a single OS instance (or HPVM host).
Figure 6-11 Status Information of a vPar 2. Select the Virtual Devices tab. • For force poweroff, click the Reset button. • For graceful poweroff, click the Warm Boot button.
Figure 6-13 Graceful and Force Poweroff (vPar) • Navigate to the status tab to see the run state of the partition. NOTE: When an nPartition is active in vPars mode, the power operations require the OVERRIDE option to change the mode. POWERON PARTITION From the CLI • Command: POWERON PARTITION {{} [:vPar ID>] | ALL} [FORCE] [OVERRIDE] } • Description: If an nPartition is specified, this command powers on the blades and IO interconnects in the nPartition and boots the nPartition to EFI.
NOTE: If the EFI settings have been changed in the boot manager, the partition may automatically boot all the way to the OS login prompt. • Access level/Bay level: OA Administrator, OA Operator • Restriction: You must be connected to the monarch OA.
IMPORTANT: Before connecting a DVD to a virtual partition, the iLO rootport (or ioslot) from any of the blades in the nPartition must be assigned to the target virtual partition. NOTE: The DVD module is disconnected from a partition when the partition is shutdown or rebooted. The DVD module may only be connected to a partition if there is a disk in the drive. • Access level/Bay level: OA Administrator, OA Operator • Restriction: You must be connected to the monarch OA.
Figure 6-15 SET Partition DVD for vPar NOTE: After you insert the DVD, the Connect to Enclosure DVD button is enabled. Or Select Launch Virtual Media. Figure 6-16 “Virtual Media Screen” shows the Launch Virtual Media button and the Virtual Media screen.
SHOW PARTITION DVD From the CLI • Command: SHOW PARTITION DVD {{} [:vPar ID>]} • Description: Displays information about the DVD drive attached to the specified partition. • Access level/Bay level: OA Administrator, OA Operator • Restriction: You must be connected to the monarch OA. From the GUI To get information about any DVDs or vMedia that is attached to a partition, go to that partition's page, and select the Virtual Devices tab.
Figure 6-18 SHOW Partition DVD for vPar SHOW PARTITION INFO • Command: SHOW PARTITION INFO {{} [:vPar ID>]|ALL} • Description: Displays information about the specified partition(s). • Access level/Bay level: OA Administrator, OA Operator • Restriction: You must be connected to the monarch OA.
Figure 6-19 TOC nPartition Figure 6-20 TOC vPar 64 Booting and Resetting Partitions (nPartitions and vPars)
UPDATE NPARTITION IMPORTANT: This command is not available if you have complex firmware earlier than the Online Firmware Update release. To update firmware for all partitions if you have complex firmware earlier than the Online Firmware Update, see “UPDATE FIRMWARE”.
GUI To view Firmware Summary information, click the Firmware Summary link. Figure 6-21 Firmware Summary Information UPDATE FIRMWARE CLI • Command: UPDATE FIRMWARE { } [ FORCE ] [ REINSTALL ] [ ALL ] • Description: Updates the Superdome system's firmware (except I/O firmware) • Access level/Bay level: OA Administrator, OA Operator • Restriction: You must be connected to the monarch OA.
Figure 6-22 Firmware Summary HP Superdome 2 Boot Support This section provides details of the accessories supported by HP Superdome 2 for booting purposes. The only supported local disk is fibre channel – P2000 FC G3 array.
Considerations for Local Boot • Minimum configuration — One P2000 FC G3 can handle up to 4 partitions — Boot paths are not redundant ◦ You must shutdown HP Superdome 2 to update P2000 FC G3 firmware.
The health status of partition resources can be one of the following: Resource health Meaning Comment OK Okay/healthy Resource is present and usable. D Deconfigured Resource has been deconfigured. I Indicted Resource has been indicted. PD Parent Deconfigured A parent resource has been deconfigured. An example would be the status of a memory DIMM which is healthy when the blade it is in has been deconfigured. The DIMM status would then be PD.
1/3 1/4 1/5 1/6 1/7 1/8 Inactive Inactive Inactive Inactive Inactive Inactive * D-Deconfigured Base Base Base Base Base Base /OK /OK /OK /OK /OK /OK 8/0/0/8 8/0/0/8 8/0/0/8 8/0/0/8 8/0/0/8 8/0/0/8 128.0/0.0/0.0 128.0/0.0/0.0 128.0/0.0/0.0 128.0/0.0/0.0 128.0/0.0/0.0 128.0/0.0/0.
Figure 6-23 nPartition Health Status Resource health policy Resource health or status will be checked by Partition management subsystem before activating a resource in a partition, be it an nPartition or vPar. Unhealthy resources are not activated as part of activation of a partition. For an nPartition, blades and I/O bays are activated only if they are reported as healthy by the Health management subsystem on the OA.
7 Planning Your System for Virtual Partitions Planning Your Virtual Partitions Virtual Partition or vPars are created by specifying the resources are needed for the vPar. Resources that can be assigned to a vPar are: 1. CPU-cores - either by specifying the number of CPU-cores that are part of the vPar or by specifying the resource paths of individual CPU-cores or by specifying the socket resource paths and quantity from where the CPUs to be assigned. 2.
CPU-core NOTE: Processor Terminology Processing resources under vPars, both as input arguments and command outputs, are described as “CPU-cores.” The term “processor” refers to the hardware component that plugs into a processor socket. Therefore a single processor can have more than one core, and vPars commands will refer to the CPU-core with its resource path.
specifies the number of CPUs num NOTE: • -d cpu::num syntax (deletion by total), or • —d cpu:hw_path syntax (deletion by resource path) A virtual partition has to be down to add or delete CPUs. Deletion by total (cpu::num) is required when cores that were assigned by total are to be deleted. Deletion by path is required when cores added by path are to be deleted. Total increases or decreases by num when using the -a or -d options and is set to num when using the -m option.
CPU-core: Adding or Deleting by SLP (Socket Local Processor) Similar to SLM (socket local memory), SLP (Socket local processor) refers to CPUs in a specific socket on a specific blade. This is generally used in conjunction with SLM to ensure that the cores and the memory are close to each other.
Table 7-1 CPU-core Allocation Allocating By Forms Resource Path Example CPU resource path cpu:cpu_path enclosure#/blade#/ cpusocket#/cpucore# vparcreate -p Oslo -N Norway -a cpu:1/1/0/0 CPU count cpu::num All positive integers vparcreate -p Oslo -N Norway -a cpu::2 socket path socket:socket_id: enclosure#/blade#/cpusocket# vparcreate -p Oslo -N Norway -a cpu::num socket:3/6/0:cpu::2 Defining the minimum and maximum CPUs cpu:::[min][:[max]] All positive integers vparcreate -p Oslo -N Norway -
Memory Granularity The nPartition memory is divided into multiple memory granules by firmware for ease of memory assignment to vPars. The size of these memory granules can be optionally specified by the user. Memory granularity refers to the size of these memory granules. Note that memory granules are not the actual memory DIMMs. The granularity for SLM and ILM are specified separately by the user.
48/0/0/2/0/0 0x90001000203ff85 ioslot-9/1/3 This result is used in a second call to ioscan to get the IO details: # ioscan -kf -H 48/0/0/2/0 Class I H/W Path Driver S/W State H/W Type Description ============================================================================ ba 30 48/0/0/2/0 PCItoPCI CLAIMED BUS_NEXUS PCItoPCI Bridge slot 18 48/0/0/2/0/0 pci_slot CLAIMED SLOT PCI Slot ba 31 48/0/0/2/0/0/0 PCItoPCI CLAIMED BUS_NEXUS PCItoPCI Bridge ba 32 48/0/0/2/0/0/0/2/0 PCItoPCI CLAIMED BUS_NEXUS lan 8 48
Table 7-3 Resource syntax summary Resource Forms Options # times/command CPU cpu:cpu_path -a, -d Multiple cpu::num -a, -m, -d Once cpu:::{min}:{max} -m Once socket:socket_id:cpu::num -a, -d, -m Once per socket_id core:core_path -a, -d Multiple core::num -a, -d, -m Once core:::{min}:{max} -m Once -- or -- I/O Memory socket:socket_id:core::num -a, -d, -m Once per socket_id io:io_path -a, -d, -m Multiple ioslot:ioslot_path -a, -d, -m Multiple mem::ilm_size -a, -d, -m Once
decommission the CPU from use and replace it with another good CPU if possible. If this is not possible, the partition controller will not allow the partition to boot until the user modifies the vPar configuration to use the available healthy CPU-cores.
8 Managing and Booting Virtual Partitions This chapter covers: • Switching Modes • Managing the Virtual Partitions — Creating a Virtual Partition — Booting a Virtual Partition — Modifying a Virtual Partition — Virtual Partition States — Shutting Down or Rebooting a Virtual Partition — When to Shutdown All Virtual Partitions — Removing a Virtual Partition Modes: Switching between nPars and vPars Modes Modes The mode can be set for an nPartition during creation time using the parcreate or the parmodify comma
Setting the Mode • parmodify [-N] next_boot_mode where: next_boot_mode has the value of either vPars or nPars Specifies whether the nPartition has to be booted as a single partition (nPars mode) capable of running only a single operating system (OS) instance or as one or more virtual partitions (vPars mode) as defined in the virtual partition database in the partition specification, each capable of running its own OS instance.
Figure 8-1 Virtual Device Getting the vPar Console A virtual partition’s system console may be accessed by either the command line or the GUI. From the CLI Use the co command with or without the partition id. Example 8-2 Example co Partition Partition Number Name ----------------1 nPar0001 2 nPar0002 2:1 nPar0002:vPar0001 Q) Quit Select partition number: 2:1 ----Log Snippet------------Log Snippet--------Welcome to the Superdome 2 console to exit.
NOTE: On HP Integrity Superdome 2, vpmon is not supported. Attempting to boot vpmon from the ISL prompt results in the following error message: ERROR:Unsupported boot enironment for vpar monitor! Booting vpmon not supported on this platform Resetting the system! Managing: Creating a Virtual Partition You can create a virtual partition using the vparcreate command.
command. See the vparmodify man page on the OS (or the vparmodify2 help on the OA) for more information on the attributes.
Table 8-1 Run-states of an inactive Virtual Partition (continued) State Description DEFINED The virtual partition definition exists in the current partition specification and the nPartition is booted in nPars mode. ALT_DEFINED The virtual partition definition defined in an alternate partition specification. 1 An inactive vPar can be in the DEACTIVATING, RESETTING or MCA RunStates, if it encounters an error or is interrupted during the activation process.
vparstatus: Summary Information The vparstatus command provies information regarding vPars and vPar assignable resources. As with the vparcreate and vparmodify commands, when invoked from the OA, it is necessary to use the –N option to indicate which nPartition is to be looked at. (The virtual partition commands only work on one nPartition at a time.
1/2/0/1 1/2/0/1 1/2/0/2 1/2/0/2 1/2/0/2 1/2/0/3 1/2/0/3 1/2/0/3 1/2/1/0 1/2/1/0 1/2/1/0 1/2/1/1 1/2/1/1 1/2/1/1 1/2/1/2 1/2/1/2 1/2/1/2 1/2/1/3 1/2/1/3 1/2/1/3 • OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK - - 1/2/0/2 1/2/0/3 1/2/0/0 1/2/0/1 1/2/0/3 1/2/0/0 1/2/0/1 1/2/0/2 1/2/1/1 1/2/1/2 1/2/1/3 1/2/1/0 1/2/1/2 1/2/1/3 1/2/1/0 1/2/1/1 1/2/1/3 1/2/1/0 1/2/1/1 1/2/1/2 - - To display available resources in the nPartition: vparstatus -A -N 1[CPUs (path)]: 1/2/0/0 1/2/0/1 1/2/0/2 1/2/0/3
Examples • To poweroff a virtual partition: Shutdown the virtual partition from the OS prompt shutdown -h or reboot -h NOTE: This is a graceful shutdown and allows the OS to transition through the shutdown process From OA prompt: — Graceful shutdown poweroff partition 1:1 — Ungraceful shutdown poweroff partition 1:1 force • To reset a virtual partition: — Invoked from the OA vparreset -f -N 1 -p 1 or reboot partition force 1:1 • To simulate a hard-reset, use the -h option: vparreset -f -p 1:1 -h or
Shutting Down All Virtual Partitions The only times you need to shutdown all of the virtual partitions within a hard partition is when a hardware problem or nPartition modification requires the nPartition to be down.
-a : To set the alternate boot path -b : sets the autoboot attribute for the vPar -h : sets the HA-alternate path for the vPar Alternatively, the boot options can also be managed from the EFI shell. For details on managing boot options at the EFI shell, see the HP-UX Installation guide at: http://www.hp.
9 Installing or Removing the vPars This chapter addresses the following topics: • Notes Before You Install vPars Software • “Installing vPars” • “Bundle Names” • “Ignite-UX Cookbook” • “Removing the vPars Product” Notes Before You Install vPars Software Notes Be sure you understand vPars before attempting the installations. See the Chapter 7 “Planning Your System for Virtual Partitions”.
c. d. 5. 6. Select desired LAN, for example, 01. Choose an operating system to install. Finally, the HPUX installation interface appears. Using the Ignite-UX server, install the necessary bundles. This includes an HP-UX OE, any desired patches, the Quality Pack bundle, the vPars bundle, and any desired vPars-related bundles. Installing a vPar is similar to installing an nPar. For the next steps on vPars product installation on HP-UX, see the HP-UX Installation and Update Guide at: http://www.hp.
10 Support and other resources Contacting HP Before you contact HP Be sure to have the following information available before you call contact HP: • • • • • • • • Technical support registration number (if applicable) Product serial number Product model name and number Product identification number Applicable error message Add-on boards or hardware Third-party hardware or software Operating system type and revision level HP contact information For the name of the nearest HP authorized reseller: • See the
Table 10-1 Documentation and its location Documents Website HP Superdome 2 Onboard Administrator User Guide http://h20000.www2.hp.com/bizsupport/TechSupport/ HP Superdome 2 Onboard Administrator Command Product.jsp?lang=en&cc=us&prodTypeId=15351&prodCatId=321933 Line Interface User Guide Virtual Partition documentation www.hp.com/go/hpux-vpars-docs HP-UX System documentation http://www.hp.com/go/hpux-core-docs Partition commands http://www.hp.
IMPORTANT This alert provides essential information to explain a concept or to complete a task NOTE A note contains additional information to emphasize or supplement important points of the main text.
A Partition commands This appendix contains a summary of the Partition commands and descriptions of their use. Table A-1 Partition Commands Descriptions Command Description parcreate Creates a new nPartition. pardefault Displays or changes default values of certain nPartition attributes. parmodify Modifies an existing nPartition. parperm Configure partition configuration privilege for nPartitions and vPars. NOTE: This command is available only from the OA.
Glossary Assignable Resource Refers to the resources that a customer can designate to be assigned to a partition. Blade A board that contains CPUs and memory and slots for C-class mezzanine cards, and onboard NICs. A blade is the equivalent of a cell in terms of being the unit of assignment for defining nPartitions. Complex A collection of blade enclosures and IOXs cabled together and under the control of a single active, monarch OA (ignoring OA failures).
Index A adding cpu to a partition, 74 attributes, 86 B boot processor, 74 booting one partition, 86 rebooting a partition, 90 C commands HP-UX shell commands setboot, 92 shutdown, 91 vparenv, 83 vparmodify, 86 vparstatus, 87, 91 CPU, 74 adding and removing, 74 boot processor, 74 resource path, 76 socket local processor, 76 creating a partition, 86 D creating, 86 example plan, 73 I/O, 78 minimal hardware configuration, 73 modifying attributes of, 86 names of, 73 obtaining information about, 87 removing,
vparenv, 83 vparmodify cpu, 74, 76 vparstatus, 87 106 Index