Top
PRIMECLUSTER  Cluster Foundation Configuration and Administration Guide 4.3
FUJITSU Software

1.1.5 Example of creating a cluster

The following example shows what the Web-Based Admin View and Cluster Admin screens would look like when creating a two-node cluster. The nodes involved are named fuji2 and fuji3, and the cluster name is FUJI.

This example assumes that Web-Based Admin View configuration has already been done. fuji2 is assumed to be configured as the primary management server for Web-Based Admin View, and fuji3 is the secondary management server.

The first step is to start Web-Based Admin View by entering the following URL in a java-enabled browser:

http://Management_Server:8081/Plugin.cgi

fuji2 is a management server. Enter the following:

http://fuji2:8081/Plugin.cgi

After a few moments, a login pop-up appears asking for a user name and password.

Figure 1.3 Login pop-up

Since you will be running the Cluster Admin CF Wizard, which does configuration work, you will need a privileged user ID such as root. There are three possible categories of users with sufficient privilege:

For further details on Web-Based Admin View and Cluster Admin privilege levels, refer to "4.3.1 Assigning Users to Manage the Cluster" in "PRIMECLUSTER Installation and Administration Guide."

After clicking on the OK button, the top menu appears. Click on the button labeled Global Cluster Services.

Figure 1.4 Main Web-Based Admin View window after login

The Cluster Admin selection window appears.

Figure 1.5 Global Cluster Services window in Web-Based Admin View

Click on the button labeled Cluster Admin to launch the Cluster Admin GUI.

The Choose a node for initial connection window appears.

Figure 1.6 Initial connection pop-up

The Choose a node for initial connection window lists the nodes that are known to the Web-Based Admin View management station. If you select a node where CF has not yet been configured, then Cluster Admin will let you run the CF Wizard on that node.

In this example, neither fuji2 nor fuji3 have had CF configured, so either would be acceptable as a choice. In Figure 1.6, fuji2 is selected. Clicking on the OK button causes the main Cluster Admin GUI to appear. Since CF is not configured on fuji2, a window similar to the following figure appears.

When cancelling the startup of the Cluster Admin GUI, click the <Cancel> button in the initial connection pop-up screen.

Figure 1.7 CF is unconfigured and unloaded

Click on the Load driver button to load the CF driver.

A window indicating that CF is loaded but not configured appears.

Figure 1.8 CF loaded but not configured

Click on the Configure button to bring up the CF Wizard. The CF Wizard scans for existing clusters.

After the CF Wizard finishes looking for clusters, a window similar to Figure 1.9 appears.

Figure 1.9 Creating or joining a cluster

This window lets you decide if you want to join an existing cluster or create a new one.

A pure CF over IP cluster will not show up in the Cluster Name column. To join a CF over IP cluster, select the Add local node to a CF cluster not shown radio button and click Next.

Figure 1.10 Adding a local node to a CF cluster not shown

Enter the node name of the CF cluster that you want to join. Click OK to proceed. After scanning the node and retrieving the existing cluster's details, the CF wizard takes you to the window for joining an existing cluster.

To create a new cluster, select that the Create new CF Cluster radio button as shown in Figure 1.9. Then, click Next.

The window for creating a new cluster or for joining an existing cluster appears, depending on your previous selection. Figure 1.11 shows the window for creating a new cluster. The window for joining an existing cluster is very similar, except you cannot change the cluster name.

Figure 1.11 Selecting cluster nodes and the cluster name

This window lets you chose the cluster name and also determine what nodes will be in the cluster. In the example above, we have chosen FUJI for the cluster name.

Below the cluster name are two boxes. The one on the right, under the label Clustered Nodes, contains all the nodes that you want to become part of this CF cluster. The box on the left, under the label Available Nodes, contains all the other nodes known to the Web-Based Admin View management server. You should select nodes in the left box and move them to the right box using the Add or Add All button. If you want all of the nodes in the left box to be part of the CF cluster, then just click on the Add All button.

If you get to this window and you do not see all of the nodes that you want to be part of this cluster, then there is a very good chance that you have not configured Web-Based Admin View properly. When Web-Based Admin View is initially installed on the nodes in a potential cluster, it configures each node as if it were a primary management server independent of every other node. If no additional Web-Based Admin View configuration were done, and you started up Cluster Admin on such a node, then Figure 1.11 would show only a single node in the right-hand box and no additional nodes on the left-hand side. If you see this, then it is a clear indication that proper Web-Based Admin View configuration has not been done.

Refer to "4.3 Preparations for Starting the Web-Based Admin View Screen" in "PRIMECLUSTER Installation and Administration Guide."

After you have chosen a cluster name and selected the nodes to be in the CF cluster, click on the Next button.

The CF Wizard then loads CF on all the selected nodes and does CF pings to determine the network topology. While this activity is going on, a window similar to Figure 1.12 appears.

Figure 1.12 CF loads and pings

Usually, loading the CF driver is a relatively quick process. However, on some systems which use large disk arrays, the first CF load can take several minutes.

The window that allows you to edit the CF node names for each node appears. By default, the CF node names, which are shown in the right-hand column, are the same as the Web-Based Admin View names which are shown in the left-hand column.

Figure 1.13 Edit CF node names

Make any changes to the CF node name and click Next.

After the CF Wizard has finished the loads and the pings, the CF topology and connection table appears.

Figure 1.14 CF topology and connection table

Before using the CF topology and connection table in Figure 1.14, you should understand the following terms:

The CF Wizard determines all the full interconnects, partial interconnects, and unconnected devices in the cluster using CF pings. If there are one or more full interconnects, then it will display the connection table shown in the figure above.

Connections table

The connection table lists all full interconnects. Each column with an Int header represents a single interconnect. Each row represents the devices for the node whose name is given in the left-most column. The name of the CF cluster is given in the upper-left corner of the table.

In Figure 1.14, for example, Int 1 has eth0 on shasta1 and shasta2 attached to it. The cluster name is SHASTA.

Note

The connections and topology tables typically show devices that are on the public network. Using devices on a public network is a security risk; therefore, in general, do not use any devices on the public network as a CF interconnect. Instead, use devices on a private network.

Although the CF Wizard may list Int 1, Int 2, and so on, it should be pointed out that this is simply a convention in the GUI. CF itself does not number interconnects. Instead, it keeps track of point-to-point routes to other nodes.

Occasionally, there may be problems setting up the networking for the cluster. Cabling errors may mean that there are no full interconnects. If you click on the button next to Topology, the CF Wizard will display all the full interconnects, partial interconnects, and unconnected devices it has found. If a particular category is not found, it is omitted. For example, in Figure 1.14, only full interconnects are shown because no partial interconnects or unconnected devices were found on fuji2 or fuji3.

To configure CF using the connection table, click on the interconnects that have the devices that you want to use.

When you are satisfied with your choices, click on Next to go to the CF over IP configuration window.

Topology table

The topology table gives more flexibility in configuration than the connection table. In the connection table, you could only select an interconnect, and all devices on that interconnect would be configured. In the topology table, you can individually select devices.

While you can configure CF using the topology table, you may wish to take a simpler approach. If no full interconnects are found, then display the topology table to see what your networking configuration looks like to CF. Using this information, correct any cabling or networking problems that prevented the full interconnects from being found. Then go back to the CF Wizard window where the cluster name was entered and click on Next to cause the Wizard to reprove the interfaces. If you are successful, then the connection table will show the full interconnects, and you can select them. Otherwise, you can repeat the process.

The text area at the bottom of the window lists problems or warnings concerning the configuration.

When you are done, click on Next to go to the CF over IP configuration window.

Figure 1.15 CF over IP window

The screen shown in Figure 1.15 lets you configure CF to run over IP. If you have already configured CF over Ethernet in the topology table or the connection table, you do not have to change any settings on this screen. Leave the number of IP interconnects set to its default of 0, and click Next.

Note

CF over IP is not supported in Linux.

Remain the default value of the number of IP interconnects to 0 and click Next to skip this screen

CF can use either Ethernet packets or IP for its communication. The topology table and connection table discussed previously allow you to configure CF to use Ethernet packets. This is the preferred CF configuration since CF over Ethernet is significantly faster than CF over IP.

However, CF over Ethernet requires Ethernet link-level connectivity between the nodes in a cluster. In certain disaster recovery scenarios, there may only be IP connectivity between hosts. This is typically the case when the hosts are separated by large geographical distances.

CF over IP uses IP subnetworks in the same way that CF over Ethernet uses physical interconnects. Each IP interconnect must correspond to exactly one subnetwork. For example, suppose that your nodes had the following IP interfaces:

node     subnet1         subnet 2         subnet 3
----------------------------------------------------------------
shasta1  172.25.222.105  192.168.223.105  185.33.48.105
shasta2  172.25.222.112  192.168.223.112  185.33.48.112

Using CF over IP, you might configure one IP interconnect to use the IP addresses 192.168.223.105 and 192.168.223.112. You could configure a second IP interface using the addresses 185.33.48.105 and 185.33.48.112.

But if you need CF over IP, then set the number of IP interconnects to 2 (or more if desired). The Wizard will propose IP interconnects. The IP interconnects are conveniently sorted by subnetwork. If you think that a particular subnetwork is missing a node, then double check that the netmask and broadcast addresses are properly configured for all the nodes on subnetwork.

Select the subnetworks that you want to use as your IP interconnects. You should avoid using addresses on your public network. CF allows promiscuous joins without any limits, so it is best to use private subnetworks for your IP interconnects.

With this setting, CF can be configured to run over the IP interface. After entering the number of required IP interconnects and pressing [Enter], the CF Wizard will display interconnects sorted by available subnetworks, netmasks, and broadcast addresses.

All the IP addresses for all the nodes on a given IP interconnect must be on the same IP subnetwork and should have the same netmask and broadcast address.

Auto Subnet Grouping should always be checked in this window. If it is checked and you select one IP address for one node, then all of the other nodes in that column have their IP addresses changed to interfaces on the same subnetwork.

Choose the IP interconnects from the combo boxes on this window, and click on Next. The CIP Wizard windows like Figure 1.16 and Figure 1.17 appear.

Figure 1.16 CIP wizard (IPv4) window

Figure 1.17 CIP wizard (IPv6) window

This window allows you to configure CIP. You can enter a number in the box after Number of CIP subnets to configure to set the number of CIP subnets to configure. The maximum number of CIP subnets is 8.

For each defined subnet, the CIP Wizard configures a CIP interface on each node defined in the CF cluster.

Set either IPv4 or IPv6 as the IP address to set to the CIP interface.

By selecting either of the [IPv4 address] or [IPv6 address] radio button, you can switch "Figure 1.16 CIP wizard (IPv4) window" and "Figure 1.17 CIP wizard (IPv6) window".

When using IPv4 for CIP interface

The following values are assigned for CIP interface:

In "Figure 1.16 CIP wizard (IPv4) window", the system administrator has selected 1 CIP network. The For RMS checkbox is selected, so the RMS suffix will be used. Default values for the Subnet Number and Subnet Mask are also selected. The nodes defined in the CF cluster are fuji2 and fuji3. This will result in the following configuration:

When using IPv6 for CIP interface

The following values are assigned for CIP interface:

The CIP Wizard will automatically fill in a default value for the Prefix field for each CIP subnetwork requested. The default values are taken from the Unique Local Unicast Address range specified by RFC 4193. Note that the values entered in the Prefix field have 0 for their interface ID portion even though the CIP Wizard starts the numbering at 1 when it assigns the actual node IP addresses.

If the checkbox For RMS is selected, then the Node Suffix will be set to RMS and will not be editable. If you are using RMS, one CIP network must be configured for RMS.

In "Figure 1.17 CIP wizard (IPv6) window", the system administrator has selected 1 CIP network. The For RMS checkbox is selected, so the RMS suffix will be used. Default values for the Prefix and Prefix Length are also selected. The nodes defined in the CF cluster are fuji2 and fuji3. This will result in the following configuration:

The CIP Wizard stores the configuration information in the file /etc/cip.cf on each node in the cluster. This is the default CIP configuration file. The Wizard will also update /etc/hosts on each node in the cluster to add the new IP node names.

When you click on the Next button, CIM configuration window appears.

Figure 1.18 CIM configuration window

The CIM configuration window in Figure 1.18 has the following parts:

Note

Do not change the default selection of the nodes

A checkbox next to a node means that node will be monitored by CIM. By default, all the nodes are checked. For almost all configurations, you will want to have all the nodes monitored by CIM.

This window will also allow you to configure CF Remote Services. You can enable either remote command execution, remote file copying, or both.

Note

  • Enabling either of these means that you must trust all the nodes on the CF interconnects and the CF interconnects must be secure. Otherwise any system able to connect to the CF interconnects will have access to these services.

  • To use RMS, make sure to configure cfcp and cfsh.

Click on the Next button to go to the summary window.

Figure 1.19 Summary window

This window summarizes the major changes that the CF, CIP, and CIM Wizards will perform. When you click on the Finish button, the CF Wizard performs the actual configuration on all the nodes.

A window similar to the following figure is displayed while the configuration is being done.

Figure 1.20 Configuration processing window

This window is updated after each configuration step. When the configuration successfully completes, a small completion pop-up window appears.

Figure 1.21 Configuration completion pop-up

Click on the OK button to close the pop-up window. The configuration processing window now has a Finish button.

Figure 1.22 Configuration window after completion

When the CF wizard is executed on the unconfigured node, it requests the CF driver to push CF modules to each Ethernet devices on the system. By this process, CF executes ping of each interface. This will enable the CF wizard to detect the network topology.

However, this unloading process may fail. To solve this problem, unload the driver on the error node, and then load the driver again. The unloading process is simplified by using GUI. See "4.6 Starting and stopping CF" for details.

When the window is closed by clicking the Finish button, following pop-up window is displayed.

Figure 1.23 SF wizard start notification pop-up

Click on the No button to close the pop-up window.

When the CF Wizard is completed, the main window of Cluster Admin will be displayed as below. After a few seconds, the latest information of the CF's configuration and status will be updated and displayed on it.

Figure 1.24 Main CF window