HP Integrity Superdome 2 8/16 HP Superdome 2 Partitioning Administrator Guide - Page 87

Commands: Displaying vPars Resource Information (vparstatus), Virtual Partition States

Page 87 highlights

command. See the vparmodify man page on the OS (or the vparmodify2 help on the OA) for more information on the attributes. Examples • To rename the virtual partition vPar0001 to Bergen: vparmodify -N nPar0001 -p 1 -P Bergen • To add two processors to the virtual partition Oslo (cpu and core syntax): vparmodify -N nPar0001 -p vPar0001 -a cpu::2 or vparmodify -N nPar0001 -p vPar0001 -a core::2 • To add two socket-local processors from enclosure 1, blade 2, socket 0 to the virtual partition vPar0001 ((cpu and core syntax): vparmodify -N nPar0001 -p vPar0001 -a socket:1/2/0:cpu::2 or vparmodify -N nPar0001 -p vPar0001 -a socket:3/6/0:core::2 • To delete 1 GB of Socket Local Memory on enclosure 1, blade 2, socket 0 from the same virtual partition: vparmodify -N nPar0001 -p vPar0001 -d socket:1/2/0:mem::1024 • To add the I/O card in IOX 6, I/O bay 2, slot 3 to the virtual partition (io and ioslot syntax): vparmodify -N nPar0001 -p vPar0001 -a io:6/2/0/0/2 or vparmodify -N nPar0001 -p vPar0001 -a ioslot:6/2/3 Commands: Displaying vPars Resource Information (vparstatus) On HP Integrity Superdome 2, the Partition Controller running on the OA maintains all the information about the virtual partitions, including the current state of the virtual partitions and their resources. Using the OA command vparstatus, you can display this information. This section describes the possible virtual partition states and the common usages of the vparstatus command. Virtual Partition States Virtual partitions can either be in active or inactive states. An inactive virtual partition will be able to boot up as a single operating system. The initiation of the boot operation changes the state from inactive to active. Table 8-1 Run-states of an inactive Virtual Partition State DOWN ACTIVATING DEACTIVATING1 RESETTING1 MCA1 Description The virtual partition is fully halted. This could be the result of a normal /etc/shutdown -h command, or after it has been created. This run-state is shown when a boot is initiated on a virtual partition. This normally results in the virtual partition becoming active with a FWBOOT run-state. This run-state is displayed while a shutdown/reboot of a virtual partition is being processed. This run-state is displayed while a reset of a virtual partition is being processed. This run-state is displayed while an MCA of a virtual partition is being processed. Commands: Displaying vPars Resource Information (vparstatus) 87

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106

command. See the
vparmodify
man page on the OS (or the
vparmodify2
help on the OA) for more
information on the attributes.
Examples
To rename the virtual partition
vPar0001
to
Bergen
:
vparmodify -N nPar0001 -p 1 -P Bergen
To add two processors to the virtual partition
Oslo
(
cpu and core syntax
):
vparmodify -N nPar0001 -p vPar0001 -a cpu::2
or
vparmodify -N nPar0001 -p vPar0001 -a core::2
To add two socket-local processors from enclosure 1, blade 2, socket 0 to the virtual partition
vPar0001
(
(cpu and core syntax
):
vparmodify -N nPar0001 -p vPar0001 -a socket:1/2/0:cpu::2
or
vparmodify -N nPar0001 -p vPar0001 -a socket:3/6/0:core::2
To delete 1 GB of Socket Local Memory on enclosure 1, blade 2, socket 0 from the same
virtual partition:
vparmodify -N nPar0001 -p vPar0001 -d socket:1/2/0:mem::1024
To add the I/O card in IOX 6, I/O bay 2, slot 3 to the virtual partition (
io
and
ioslot
syntax
):
vparmodify -N nPar0001 -p vPar0001 -a io:6/2/0/0/2
or
vparmodify -N nPar0001 -p vPar0001 -a ioslot:6/2/3
Commands: Displaying vPars Resource Information (vparstatus)
On HP Integrity Superdome 2, the Partition Controller running on the OA maintains all the
information about the virtual partitions, including the current state of the virtual partitions and
their resources. Using the OA command
vparstatus
, you can display this information. This
section describes the possible virtual partition states and the common usages of the
vparstatus
command.
Virtual Partition States
Virtual partitions can either be in active or inactive states. An inactive virtual partition will be
able to boot up as a single operating system. The initiation of the boot operation changes the
state from inactive to active.
Table 8-1 Run-states of an inactive Virtual Partition
Description
State
The virtual partition is fully halted. This could be the result of a normal
/etc/shutdown -h
command, or after it has been created.
DOWN
This run-state is shown when a boot is initiated on a virtual partition. This normally results in
the virtual partition becoming active with a FWBOOT run-state.
ACTIVATING
This run-state is displayed while a shutdown/reboot of a virtual partition is being processed.
DEACTIVATING
1
This run-state is displayed while a reset of a virtual partition is being processed.
RESETTING
1
This run-state is displayed while an MCA of a virtual partition is being processed.
MCA
1
Commands: Displaying vPars Resource Information (vparstatus)
87