Hot Replacement Of Iou - Fujitsu PRIMEQUEST 2000 Series Administration Manual

Primequest 2000 series
Hide thumbs Also See for PRIMEQUEST 2000 Series:
Table of Contents

Advertisement

CHAPTER 4 PCI Card Hot Maintenance in Red Hat Enterprise Linux 6

4.3 Hot replacement of IOU

# /usr/sbin/srvmagt restart
If CPUs and memories of SB that is added by hot add of SB is used for KVM, below steps are required.
1. Change parameters of libvirt and qemu control group.
a. Check parameters of root control group
# cgget -r cpuset.cpus -r cpuset.mems/
/:
cpuset.cpus: xxx-yyy
cpuset.mems: X-Y
(xxx-yyy: logical CPU number, X-Y: node number)
b. Change parameters of libvirt and qemu control group.
# cgset -r cpuset.cpus=xxx-yyy libvirt
# cgset -r cpuset.mems=X-Y libvirt
# cgset -r cpuset.cpus=xxx-yyy libvirt/qemu
# cgset -r cpuset.mems=X-Y libvirt/qemu
Note
After changing parameters of libvirt qemu control group, newly started guest VM can use all CPUs
and memories in the partition including a new SB that is added by hot add of SB.
2. If all CPUs and memories in the partition including a new SB that is added by hot add of SB is used in a
guest VM which has been already started, change of parameters of control groups of the guest VM is
required.
a. Change parameters of control groups of the particular guest VM.
# cgset -r cpuset.cpus=xxx-yyy libvirt/qemu/<guest VM name>
# cgset -r cpuset.mems=X-Y libvirt/qemu/<guest VM name>
b. Display the number of vcpu defined in the particular guest.
# env LANG=C virsh vcpucount <guest VM name> | egrep
'current.*live'
current
(N: vcpu number)
c. Pin vcpu of the particular guest VM to all CPUs including CPUs that are added by hot add of SB.
# virsh vcpupin <guest VM name> <0> xxx-yyy
# virsh vcpupin <guest VM name> <1> xxx-yyy
...
# virsh vcpupin <guest VM name> <N-1> xxx-yyy
Note
If resources such as CPU which the guest VM can use are fixed in the guest VM, the balance of
entire KVM system may be lost because of adding resources.
It is recommended to redesign how to use CPUs and memories in the KVM system.
4.3
Hot replacement of IOU
This section describes the hot replacement of the IOU. There are two cases in hot replacement of the IOU:
-
Replacing IOU itself due to trouble of IOU itself or trouble of onboard NIC
-
Replacing, expanding or removing PCI Express card installed in IOU
For replacing, expanding or removing PCI Express card, IOU itself does not need to be replaced. However, it
is needed that the IOU has to be removed from the cabinet for a moment. Then there is the same impact as
that of replacing IOU. It is needed to take the same steps as those of replacing IOU.
Note
-
If IOU itself is hot replaced, onboard NIC of the IOU is replaced.
Note that MAC address of onboard NIC is changed after replacing IOU.
live
N
65
C122-E175-02EN

Advertisement

Table of Contents
loading

This manual is also suitable for:

Primequest 2400ePrimequest 2800ePrimequest 2800b

Table of Contents