Re: DLPAR в шеле консоли HMC


#17354

Sever
Участник

Спасибо, но… это больше подходит для партиции с дедикейтед процессорами. При DLPARе в GUIишном интерфейсе для партиции с shared процессорами изменяется два значения — число виртуальных и число ентитлемент.

ЗЫ. кажется нашел ответ в мануале:

[code]—procs
When adding or removing processing resources to or from a parti-
tion using dedicated processors, or when moving processing
resources from a partition using dedicated processors to another
partition using dedicated processors, use this option to specify
the quantity of dedicated processors to add, remove, or move.
When adding or removing processing resources to or from a parti-
tion using shared processors, or when moving processing
resources from a partition using shared processors to another
partition using shared processors, use this option to specify
the quantity of virtual processors to add, remove, or move.
When moving processing resources from a partition using dedi-
cated processors to a partition using shared processors, use
this option to specify the quantity of dedicated processors to
be moved from the source partition and added as shared proces-
sors to the target partition.
This option is not valid when moving processing resources from a
partition using shared processors to a partition using dedicated
processors. The —procunits option must be used instead.
The quantity of processing resources specified with this option
must be a whole number greater than 0.
—procunits
When adding or removing processing resources to or from a parti-
tion using shared processors, or when moving processing
resources from a partition using shared processors to another
partition using shared processors, use this option to specify
the quantity of processing units to add, remove, or move.
When moving processing resources from a partition using shared
processors to a partition using dedicated processors, use this
option to specify the quantity of shared processors to be moved
from the source partition and added as dedicated processors to
the target partition.
This option is not valid when moving processing resources from a
partition using dedicated processors to a partition using shared
processors. The —procs option must be used instead.
When moving processing resources from a partition using shared
processors to a partition using dedicated processors, the quan-
tity of processing units specified with this option must be a
whole number. Otherwise, the quantity of processing units spec-
ified with this option can have up to 2 decimal places. In
either case, the quantity specified must be greater than 0.
[/code]

Проверил.
В итоге, для shared партиции…
—procs есть дельта изменения числа виртуальных процессоров
—procunits есть дельта изменения ентитлемент партиции

При DLPAR эти параметры можно использовать порознь, а можно одновременно.
В моем случае (второй вариант) синхронное уменьшение обоих параметров на один процессор это:

chhwres -r proc -m 9117-MMD*6599999 -o r -p partname —procs 1 —procunits 1