 |
» |
|
|
 |
Virtual Partitions Layout Plan |  |
Before you install vPars, you should have a plan
of how you want to configure the virtual partitions within your server. Example of a virtual partition plan for vPars A.04.xx based
on the example cellular server: Partition Name | keira1 | keira2 | keira3 | Assigned CPUs (A.04.xx) | | num = 1 and
1 from cell 1 |
| | Unassigned CPUs (A.04.xx) | | Memory | | | | I/O LBAs | | | | Boot Path | | 1/0/4/1/0/4/0.1.0.0.0.0.1 |
| | LAN | | | | console port (PA-RISC Only) | | Autoboot | | | |
Example of a virtual partition plan for vPars A.03.xx based
on the example non-cellular server: Partition Name | winona1 | winona2 | winona3 | Bound CPUs (A.03.xx) | | total = 2
min = 2
paths = 41,45 |
| | Unbound CPUs (A.03.xx) | | Memory | | | | I/O LBAs | | | | Boot Path | | | | LAN | | | | console port | | Autoboot | | | |
 |  |  |  |  | NOTE: When you create a partition, the vPars Monitor
assumes you will boot and use the partition. Therefore, even if a
partition is down, the resources assigned to the partition cannot
be used by any other partition. |  |  |  |  |
The next few sections will describe how we arrived
at each portion of the partition plan. Number of Virtual Partitions |  |
For the latest information on the recommended
and maximum number of virtual partitions per system or nPartition,
see the document HP-UX Virtual Partitions Ordering and
Configuration Guide available at: http://docs.hp.com/en/vse.html#Virtual%20Partitions Virtual Partition Names |  |
All virtual partitions must be given text names
that are used by the vPars commands. The names can consists of only
alphanumeric characters and periods (’.’). The maximum
length of a name is 239 characters. HP recommends using the corresponding hostnames
for virtual partition names, but they are not internally related. For our cellular server, we have chosen the names
of our virtual partitions to be keira1, keira2, and keira3: Partition Name | keira1 | keira2 | keira3 |
For our non-cellular server, we have chosen the
names of our virtual partitions to be winona1, winona2, and winona3: Partition Name | winona1 | winona2 | winona3 |
Although the underscore (_) is a legal character within the name of a virtual partition, it
is not a legal character within the Domain Name System (DNS). Minimal Hardware Configuration |  |
Every bootable virtual partition must have at
least: system memory (sufficient
for HP-UX and the applications in that partition) a boot disk (when using
a mass storage unit, check your hardware manual to verify that it
can support a boot disk)
Although not required for booting a virtual partition,
you can add LAN card(s) as required for networking. For your virtual partitions, use the number of
CPUs, amount of memory, boot disk configuration, and lan cards as
is appropriate for your OS and applications. CPUs |  |
For detailed information on CPU allocation, read “CPU”. The ioscan output for the example
non-cellular (winona) and cellular (keira) systems show the following
CPUs: keira# ioscan -kC processor
H/W Path Class Description
======================================================
0/10 processor Processor
0/11 processor Processor
0/12 processor Processor
0/13 processor Processor
0/14 processor Processor
0/15 processor Processor
1/10 processor Processor
1/11 processor Processor
1/12 processor Processor
1/13 processor Processor
1/14 processor Processor
1/15 processor Processor |
winona# ioscan -kC processor
H/W Path Class Description
======================================================
33 processor Processor
37 processor Processor
41 processor Processor
45 processor Processor
97 processor Processor
101 processor Processor
105 processor Processor
109 processor Processor |
For this example, keira1 will have two CPUs, keira2 will have two
CPUs, and keira3 will have one CPU. Partition Name | keira1 | keira2 | keira3 | Assigned CPUs | | num = 1 and
1 from cell 1 |
| |
We have three CPUs that were not assigned to any
of the virtual partitions, so we will have three CPUs available. vPars A.03.xx and earlierFor this example, winona1 will have two bound CPUs, winona2 will
have two bound CPUs where the hardware paths will be 41 and 45, and winona3 will have one bound CPU. Partition Name | winona1 | winona2 | winona3 | Bound CPUs | | total = 2
min = 2
paths = 41,45 |
| |
Unbound CPUs are assigned in quantity. We have
three CPUs that were not assigned to any of the virtual partitions,
so we will have three unbound CPUs available. I/O |  |
For detailed information on I/O Assignments, see “I/O: Allocation Notes”. For simplified I/O block diagrams of the LBA to
physical slot relationship of PA-RISC systems, see Appendix A. Assigning I/O at the LBA LevelLooking at the full ioscan output
to verify that we have the desired I/O for each virtual partition,
we will assign the I/O at the LBA level. (When assigning hardware
at the LBA level to a partition, all hardware at and below the specified
LBA is assigned to the partition.) For our example non-cellular (winona) and cellular
(keira) systems , the ioscan output shows the LBAs
as: keira# ioscan -k | grep "Bus Adapter"
0/0/0 ba Local PCI Bus Adapter (782)
0/0/1 ba Local PCI-X Bus Adapter (783)
0/0/2 ba Local PCI-X Bus Adapter (783)
0/0/4 ba Local PCI-X Bus Adapter (783)
0/0/6 ba Local PCI-X Bus Adapter (783)
0/0/8 ba Local PCI-X Bus Adapter (783)
0/0/10 ba Local PCI-X Bus Adapter (783)
0/0/12 ba Local PCI-X Bus Adapter (783)
0/0/14 ba Local PCI-X Bus Adapter (783)
1/0/0 ba Local PCI Bus Adapter (782)
1/0/1 ba Local PCI-X Bus Adapter (783)
1/0/2 ba Local PCI-X Bus Adapter (783)
1/0/4 ba Local PCI-X Bus Adapter (783)
1/0/6 ba Local PCI-X Bus Adapter (783)
1/0/8 ba Local PCI-X Bus Adapter (783)
1/0/10 ba Local PCI-X Bus Adapter (783)
1/0/12 ba Local PCI-X Bus Adapter (783)
1/0/14 ba Local PCI-X Bus Adapter (783) |
 |
 |
winona# ioscan -k | grep "Bus Adapter"
0/0 ba Local PCI Bus Adapter (782)
0/1 ba Local PCI Bus Adapter (782)
0/2 ba Local PCI Bus Adapter (782)
0/4 ba Local PCI Bus Adapter (782)
0/5 ba Local PCI Bus Adapter (782)
0/8 ba Local PCI Bus Adapter (782)
0/10 ba Local PCI Bus Adapter (782)
0/12 ba Local PCI Bus Adapter (782)
1/0 ba Local PCI Bus Adapter (782)
1/2 ba Local PCI Bus Adapter (782)
1/4 ba Local PCI Bus Adapter (782)
1/8 ba Local PCI Bus Adapter (782)
1/10 ba Local PCI Bus Adapter (782)
1/12 ba Local PCI Bus Adapter (782) |
Partition Name | keira1 | keira2 | keira3 | I/O LBAs | | | |
Partition Name | winona1 | winona2 | winona3 | I/O LBAs | | | |
Assigning the Hardware Console LBA |  |
One of the virtual partitions must
own the LBA that contains the physical hardware console port. In our
example server, the hardware console port is at 0/0/4/0, which uses the LBA at 0/0. The LBA 0/0 is owned by the partition winona1: console port | | | LBA | | | partition | | | console port | | |
 |  |  |  |  | CAUTION: The A.03.xx releases of vPars require the first virtual partition to own the LBA for the physical hardware console
port. For the example above, when we create the virtual partitions,
we would create winona1 and keira1 first. |  |  |  |  |
Choosing the Boot and Lan Paths |  |
Using the full ioscan output,
we chose the following boot disk path and note the LAN card path:
Partition Name | keira1 | keira2 | keira3 | Boot Path | | 1/0/4/1/0/4/0.1.0.0.0.0.1 |
| | LAN | | | |
Partition Name | winona1 | winona2 | winona3 | Boot Path | | | | LAN | | | |
Autoboot |  |
Autoboot allows a virtual
partition to be booted automatically on a cold boot of the system.
By default, autoboot is set to AUTO for all
virtual partitions. Partition Name | keira1 | keira2 | keira3 | Autoboot | | | |
Partition Name | winona1 | winona2 | winona3 | Autoboot | | | |
For more information, see the vparmodify(1M) manpage. Virtual Partition Plan |  |
Combining all parts above, the resultant partition
plans are the following: Partition Name | keira1 | keira2 | keira3 | Assigned CPUs (A.04.xx) | | num = 1 and
1 from cell 1 |
| | Unassigned CPUs (A.04.xx) | | Memory | | | | I/O LBAs | | | | Boot Path | | 1/0/4/1/0/4/0.1.0.0.0.0.1 |
| | LAN | | | | console port (PA-RISC Only) | | Autoboot | | | |
Partition Name | winona1 | winona2 | winona3 | Bound CPUs (A.03.xx) | | total = 2
min = 2
paths = 41,45 |
| | Unbound CPUs (A.03.xx) | | Memory | | | | I/O LBAs | | | | Boot Path | | | | LAN | | | | console port (PA-RISC Only) | | Autoboot | | | |
|