PRIMECLUSTER Installation and Administration Guide 4.1 (for Linux) |
Contents
Index
![]() ![]() |
Part 2 Installation | > Chapter 5 Building a Cluster | > 5.1 Initial Cluster Setup | > 5.1.3 Initial Setup of the Cluster Resource Management Facility |
Register the hardware devices that are connected to system (shared disks and network interface cards) to the resource database managed by CRM.
#/etc/opt/FJSVcluster/bin/clautoconfig -r -n [RETURN]
For details on this command, see the manual pages of "clautoconfig".
To set a network interface card to operating status, execute the following command:
# ifconfig network_interface_card up
Example: To set network interface card eth1 to operating status
# ifconfig eth1 up
Register the shared disk to the resource database. Shared disk registration is necessary only when GDS is used.
Execute the following procedure in any node that is part of the cluster system.
<Resource key name> <device name> <node identifier> <Resource key name> <device name> <node identifier> :
Set up resource key name, device name and node identifier as follows;
Resource key name
Specify a resource key name that indicates the sharing relationship for each shared disk. You must specify the same name for the same disk.
The resource key name should be specified in the "shd number" format. "shd" is a fixed string. For "number", you can specify any four-digit numbers. If multiple shared disks are used, specify unique numbers for each shared disk.(Example) When /dev/sdb and /dev/sdc are shared between nodesResource key name of /dev/sdb: shd0001Resource key name of /dev/sdc: shd0002
Device name
Specify a device name of the shared disk in the "/dev/device" format.(Example) In the case of /dev/sdb/dev/sdb
Node identifier
Specify a node identifier for which a shared disk device is available. Confirm the node identifier by executing the "clgettree" command. For details on this command, see the manual pages of "clgettree".(Example) node1 and node2 are node identifiers in the following case:# /etc/opt/FJSVcluster/bin/clgettree Cluster 1 cluster Domain 2 PRIME Shared 7 SHD_PRIME Node 3 node1 ON Node 5 node2 ON
The following example shows the configuration file of the shared disk when shared disks /dev/sdb and /dev/sdc are shared between node1 and node2.
shd0001 /dev/sdb node1 shd0001 /dev/sdb node2 shd0002 /dev/sdc node1 shd0002 /dev/sdc node2
Specify the "clautoconfig" command in the following format:
(Format)
/etc/opt/FJSVcluster/bin/clautoconfig -f [full path of the shared disk definition file]
(Example)
# /etc/opt/FJSVcluster/bin/clautoconfig -f /var/tmp/diskfile
If you found an error in the shared disk configuration file after executing the "clautoconfig" command, reset the resource database by executing the "clinitreset" command and reboot the node.
When the initial setup and automatic configure are completed, the following screen appears.
When automatic configuration is completed, go to the CRM main window and confirm that the resource registration is completed by checking the following.
If the actual device configuration and the resources do not match each other as described above, automatic detection may have been disabled because of one of the following causes:
If the resources are not registered correctly, first review the above causes.
Contents
Index
![]() ![]() |