PRIMECLUSTER Installation and Administration Guide 4.1 (for Solaris(TM) Operating System) |
Contents
Index
![]() ![]() |
Part 2 Installation | > Chapter 6 Building Cluster Applications | > 6.6 Setting Up Cluster Applications | > 6.6.1 Setting Up Resources | > 6.6.1.8 Creating Line Switching Unit Resources |
You must always perform the setup described below before using a line switching unit resource.
To use a line switching unit, you must first register a switching line resource (SH_SWLine class) to the resource database.
This section describes the procedure for registering a switching line resource to the resource database.
Check the resource names of the line switching units that are registered to the resource database by using the "clgettree(1)" command.
# clgettree Cluster 1 cluster Domain 2 CLUSTER Shared 7 SHD_CLUSTER SHD_DISK 21 SHD_Disk21 UNKNOWN DISK 22 c5t0d0 ON node1 DISK 27 c4t0d0 ON node2 SH_SWU 18 SWU2002 UNKNOWN Node 3 node1 ON Ethernet 29 hme0 ON DISK 19 c0t0d0 UNKNOWN DISK 22 c5t0d0 ON Node 5 node2 ON Ethernet 30 hme0 ON DISK 25 c0t0d0 UNKNOWN DISK 27 c4t0d0 ON
In this example, the line indicating "SH_SWU" shows the resource name is "SWU2002". If you cannot confirm the resource name, see "Automatic Configuration" and register the line switching units to the resource database.
Execute the "claddswursc(1M)" command to add the switching line resources to the resource database.
# claddswursc -k sh_swl_1 -s SWU2002 -0 node1 -1 node2 -m 0x3
In this example, the line switching unit called "SWU2002," which was checked in step 2, is used to register the switching line resource called "sh_swl_1."
Port 0 of the switching unit is connected to "node1," and port 1 to "node2."
Since the two switching units LSU01 and LSU00 are to be used, the mask value is set to 0x3.
For details on the "claddswursc(1M)" command, see the manual page.
Execute the "clgettree(1)" command to check that the switching unit resources of the line switching unit have been registered to the resource database.
Example) Resources of the "SWLine" class are the switching unit resources of the line switching unit.
The resources of the "SH_SWLine" class show a sharing relationship of the switching units for the line switching unit.
# /etc/opt/FJSVcluster/bin/clgettree Cluster 1 cluster Domain 2 CLUSTER Shared 7 SHD_CLUSTER SHD_DISK 21 SHD_Disk21 UNKNOWN DISK 22 c5t0d0 ON node1 DISK 27 c4t0d0 ON node2 SH_SWU 18 SWU2002 UNKNOWN SH_SWLine 19 sh_swl_1 UNKNOWN SWLine 35 sh_swl_1P0 UNKNOWN node1 SWLine 36 sh_swl_1P1 UNKNOWN node2 Node 3 node1 ON Ethernet 29 hme0 ON DISK 19 c0t0d0 UNKNOWN DISK 22 c5t0d0 ON SWLine 35 sh_swl_1P0 UNKNOWN Node 5 node2 ON Ethernet 30 hme0 ON DISK 25 c0t0d0 UNKNOWN DISK 27 c4t0d0 ON SWLine 36 sh_swl_1P1 UNKNOWN
This section explains the information that is output by the "clgettree" command.
[Output example]
Cluster 1 cluster Domain 2 CLUSTER Shared 7 SHD_CLUSTER SHD_DISK 21 SHD_Disk21 UNKNOWN DISK 22 c5t0d0 ON node1 DISK 27 c4t0d0 ON node2 SH_SWU 18 SWU2002 UNKNOWN .....(a) SH_SWLine 19 sh_swl_1 UNKNOWN .....(b) SWLine 35 sh_swl_1P0 UNKNOWN node1 .....(c) SWLine 36 sh_swl_1P1 UNKNOWN node2 .....(d) Node 3 node1 ON Ethernet 29 hme0 ON DISK 19 c0t0d0 UNKNOWN DISK 22 c5t0d0 ON SWLine 35 sh_swl_1P0 UNKNOWN Node 5 node2 ON Ethernet 30 hme0 ON DISK 25 c0t0d0 UNKNOWN DISK 27 c4t0d0 ON SWLine 36 sh_swl_1P1 UNKNOWN
[Explanation]
Contents
Index
![]() ![]() |