Top
PRIMECLUSTER  Cluster Foundation Configuration and Administration Guide 4.3
FUJITSU Software

7.4.2 Shutdown Agents

This section contains information on how to configure the following SAs with CLI.

Blade

To configure the Blade shutdown agent, you can create or modify the following file:

/etc/opt/SMAW/SMAWsf/SA_blade.cfg

A sample configuration file can be found at the following location:

/etc/opt/SMAW/SMAWsf/SA_blade.cfg.template

The format of the SA_blade.cfg file is as follows:

community-string           SNMP community string
management-blade-ip        IP address
cfname        slot-no         Action

Additionally, you can add the IP address of the management Blade for a second Blade chassis. In this case, you would need to add one or more lines to specify the Blades in that chassis.

Note

management-blade-ip, community-string, cycle, and leave-off are reserved words. They must be described in lowercase letters.

The editable fields are defined as follows:

The following is an example of the SA_blade configuration file:

community-string public
management-blade-ip 123.45.56.78
shasta1 1 cycle
shasta2 3 leave-off
management-blade-ip 123.45.56.79
shasta3 1 cycle
shasta4 2 cycle

The log file is stored in the following:

/var/opt/SMAWsf/log/SA_blade.log

IPMI

To configure the IPMI SA, you need to create or modify the following file:

/etc/opt/SMAW/SMAWsf/SA_ipmi.cfg

A sample configuration file can be found at the following location:

/etc/opt/SMAW/SMAWsf/SA_ipmi.cfg.template

The SA_ipmi.cfg configuration file contains lines with four fields (and some subfields) on each line. Each line defines a node in the cluster than can be powered off (leaving it off) or powered off and then on again (power cycle). The fields are as follows:

Note

The permissions of the SA_ipmi.cfg file are read/write by root only. This is to protect the password to the BMC/iRMC unit.

The following is an example of the SA_ipmi configuration file:

fuji2 192.168.200.1::root:ipmipwd cycle
fuji3 192.168.200.2::root:ipmipwd cycle
fuji4 192.168.200.3::root:ipmipwd leave-off
fuji5 192.168.200.4::root:ipmipwd leave-off

The log file is stored in the following:

/var/opt/SMAWsf/log/SA_ipmi.log

ICMP

To configure the ICMP SA (SA_icmp), you need to create or modify the following file:

/etc/opt/SMAW/SMAWsf/SA_icmp.cfg

The format of the SA_icmp.cfg file is as follows:

TIME_OUT=value
cfname:ip-address-of-node:NIC-name1,NIC-name2

The editable fields are defined as follows:

Note

Note the following when you describe network interfaces:

  • When duplicating the network by GLS, you need to describe all redundant network interfaces. (For example, eth0,eth1)

  • When bonding NICs, you need to describe a bonding device after the IP address. (For example, bond0)

  • When describing cluster interconnects, you need to describe all network interfaces used in all paths of the cluster interconnects. (For example, eth2,eth3)

The following is an example of the SA_icmp configuration file:

TIME_OUT=5
node1:10.20.30.100:eth0,eth1
node1:10.20.40.200:eth2
node2:10.20.30.101:eth0,eth1
node2:10.20.40.201:eth2

The log file is stored in the following:

/opt/SMAW/SMAsf/log/SA_icmp.log

VMCHKHOST

To configure the Shutdown Agent (SA_vmchkhost) to switch the HOST OS in the event of an error in the virtual machine environment, you must create or modify the following file:

/etc/opt/SMAW/SMAWsf/SA_vmchkhost.cfg

Templates of the configuration file are stored in the following:

/etc/opt/SMAW/SMAWsf/SA_vmchkhost.cfg.template

Each line of the configuration file SA_vmchkhost includes the following 5 fields:

The following is an example of the SA_vmchkhost configuration file:

fuji2 hostos2 192.168.200.1 FJSVvmSP 3CA1wxVXKD8a93077BaEkA==
fuji3 hostos3 192.168.200.2 FJSVvmSP 3CA1wxVXKD8a93077BaEkA==

The log file is stored in the following:

/var/opt/SMAWsf/log/SA_vmchkhost.log

libvirt

To configure the Shutdown Agent (SA_libvirtgp) for PANIC or Shutdown Agent (SA_libvirtgr) for RESET of libvirt, you must create or modify the following files respectively.

/etc/opt/SMAW/SMAWsf/SA_libvirtgp.cfg
/etc/opt/SMAW/SMAWsf/SA_libvirtgr.cfg

Templates of the configuration file are stored in the following:

/etc/opt/SMAW/SMAWsf/SA_libvirtgp.cfg.template
/etc/opt/SMAW/SMAWsf/SA_libvirtgr.cfg.template

Each line of the configuration files, SA_libvirtgp.cfg and SA_libvirtgr.cfg, includes the following 5 fields:

The following is an example of the SA_libvirtgp configuration file:

fuji2 domain2 192.168.200.1 user 3CA1wxVXKD8a93077BaEkA==
fuji3 domain3 192.168.200.2 user 3CA1wxVXKD8a93077BaEkA==

The following is an example of the SA_libvirtgr configuration file:

fuji2 domain2 192.168.200.1 user 3CA1wxVXKD8a93077BaEkA==
fuji3 domain3 192.168.200.2 user 3CA1wxVXKD8a93077BaEkA==

The log file is stored in the following:

/var/opt/SMAWsf/log/SA_libvirtgp.log
/var/opt/SMAWsf/log/SA_libvirtgr.log