15
3.3.5
Script file to be executed after Core Offline
capmonitor executes all script files stored in the directory /opt/nec/capmonitor/script/cpu/offline.d upon
completion of Core Offline.
If several logical processors are made offline by a single Core Offline, the script file is executed only
once after the last processor is offlined.
Place the script /opt/nec/capmonitor/script/03kdump.sh under the directory
/opt/nec/capmonitor/script/cpu/offline.d to restart kdump as an alternative of kdump that was disabled in
3.3.4.
If you use the software that requires reboot after Core Offline (number of logical processors is reduced),
create a script file containing the necessary processes and store it under the directory
/opt/nec/capmonitor/script/cpu/offline.d.
Table 3-3 Script under /opt/nec/capmonitor/script/cpu/offline.d
Script file name
Description
How to install script file
03kdump.sh
Script that restarts kdump daemon
as needed so that crash dump can
be collected after Core Offline.
Copy from /opt/nec/capmonitor/script/ to
/opt/nec/capmonitor/script/cpu/offline.d.
XX~.sh
User script
XX: Specify execution order
by 2-digit decimal lnumber.
(Starts from younger
number.)
~: Arbitrary character string
If you use the software that
requires reboot after Core Offline,
create a script file containing the
necessary processes
Create a script and store it under
/opt/nec/capmonitor/script/cpu/offline.d.
3.3.6
Disabling EDAC
If the EDAC is running in the system, Machine Check Monitoring Service will not run correctly. Disable
the EDAC by creating a file /etc/modprobe.d/disable_edac.conf with the following contents:
install *_edac /bin/true
install edac_* /bin/true
After saving the file, reboot the system. After the system is rebooted, confirm the EDAC was disabled
as shown below.
# lsmod | grep edac