CHAPTER 4 PCI Card Hot Maintenance in Red Hat Enterprise Linux 6
4.2 Hot add of SB
61
C122-E175-01EN
Above ceil (x) expresses the ceiling function. The ceil (x) is the smallest integer not less than real number
x. e.g. ceil (2.15) = 3, ceil (4) = 4.
For how to get
and
, see below ‘Reference’.
The estimation of the time
and
when collaboration program is working is equal to the sum of the
time when each program registered as collaboration program in /opt/FJSVdp-util/user_command will take
to finish process. For how to estimate how long time each collaboration program takes to finish process,
see below ‘Reference’.
Reference
Getting the number of running process
The number of running process
can be got by below command.
# grep procs_running /proc/stat
procs_running 1
Getting the number of CPU before SB hot add
# grep -c processor /proc/cpuinfo
120
Estimating the time when each collaboration program will take to finish process
Check the developer of the collaboration program in /opt/FJSVdp-util/user_command by below rpm
command. Ask the developer about the time for the process of the collaboration program.
$ rpm -qif /opt/FJSVdp-util/user_command/10-FJSVdp-util-
kdump-restart
...
Below scripts will finish both their pre-process and post-process for around one minute.
10-FJSVdp-util-kdump-restart
89-FJSVdp-util-irqbalance-restart
90-FJSVdp-util-detect-passthrough-dev
2. Confirming the size of resources before SB hot add
Confirm the status of the SB before SB hot add to compare the state after SB hot add with the state
before SB hot add. The number or sizes of resources before SB hot add can be confirmed by checking
below files.
- CPU: /proc/cpuinfo
/proc/cpuinfo outputs information of each CPU recognized by OS at the time when this file is opened.
The number of CPU can be obtained by below command.
# grep -c processor /proc/cpuinfo
120
- Memory: /proc/meminfo
/proc/meminfo outputs size of memory recognized by OS at the time when this file is opened.
# cat /proc/meminfo
MemTotal: 65169992 kB
MemFree: 63382120 kB
Buffers: 30034 kB
:
:
The size of memory can be seen by the line of MemTotal.
4.2.3 DR operation in SB hot add
This section describes the operation of the DR, for performing SB hot add.
1. Log into the MMB Web-UI using Administrator privileges.
2. Execute hotadd command.
Example:When adding SB2 in partition 1.
# hotadd partition 1 SB 2 quiet
#