Novell Home

Installing Open Enterprise Server Cluster Services

Novell Cool Solutions: Feature
By Mike Spong

Digg This - Slashdot This

Posted: 31 May 2005
 

Requirements

  • OES for Linux on each of the servers (Use the installation instructions below.)
  • Network Time Protocol (NTP) Server
  • TestConsole (may be on NTP Server)
  • All servers in the same eDirectory Tree
  • Cluster Services on each system in the cluster
  • All servers must have connection to shared subsystem
  • System with either Internet Explorer 6.x or Firefox 1.0 web browser

Note: OES for Linux looks for a Network Time Protocol (NTP) NTP server during installation. An NTP Server is not required, but its existence on the rack makes the OES for Linux installation proceed without error messages. If you do not have access to an NTP server, do the following on a SUSE Linux Enterprise Server 9 server (i.e. TestConsole):

  1. Open a shell.
  2. Type cd /etc/init.d <Enter>.
  3. Type ./xntpd start <Enter>.
  4. Type ./xntpd status <Enter> and look for it to say running.
  5. All computers that use this NTP server must be in the same time zone.

Installation Instructions

  1. Boot the system to SUSE Linux Enterprise Server 9 CD1.
  2. Select Installation <Enter> before the 20-second timeout expires.
    (Until the media is built correctly, use the installation server. A connection from the Lab-net will work. Enter the following boot parameter before the timeout expires, then press Enter:
    install=nfs://apt.provo.novell.com/share/oes/current
    There are builds of the day; just replace "current" with the build number. But "current" will give you the latest validated build.
  3. Click I Agree at the License agreement.
  4. Click Accept to install in English (US).
  5. If prompted, accept the new installation.
  6. Remove all partitions so that you start with a clean server and storage system.
    1. Select Partitioning.
    2. Select Base partition setup on this proposal.
    3. Click Next.
    4. Highlight the first hard disk drive, and click Delete.
    5. On the first node, repeat the previous step to delete all partitions on all drives. On the rest of the nodes, delete all the partitions on all drives except the shared storage system. The first node in the cluster will create an SBD partition on the shared storage that the rest of the nodes in the cluster will use for clustering.
    6. Note the designation of the shared storage system (i.e. /dev/sdb). You need to know how each node in the cluster designates the device for the shared storage system.
  7. Create swap partition on the first hard disk drive.
    1. Click Create in the Expert Partitioner screen.
    2. Specify the first local disk and click OK.
    3. Click the Primary partition radio button.
    4. Click OK to accept the primary partition.
    5. In the File System drop down list, pick Swap.
    6. In the End field, type 1GB.
    7. Click OK to create the swap partition.
  8. Create root partition on the first hard disk drive.
    1. Click Create in the Expert Partitioner screen.
    2. Specify the first local disk and click OK.
    3. Click the Primary partition radio button.
    4. Click OK to accept the primary partition.
    5. Click OK to create the root partition with the remainder of space on the first hard disk drive.
  9. Click Next to return to the Installation Settings screen.
  10. Select the software you want to install on the system.
    1. Click Software under Installation Settings.
    2. Click Detailed Selections in the Software Selections window.
    3. Place check marks next to the following:
      • Novell Cluster Services
    4. Click Accept.
    5. Click Continue at the Automatic Changes window.
  11. Adjust the time zone to match your zone.
    1. Click Time Zone in the Installation Settings window.
    2. Click your region in the Region menu box on the left side.
    3. Click your time zone in the Time Zone menu box on the right side. Set the system clock to match the time of the other systems on your rack. Having logs with clocks set to the same time will greatly help you troubleshoot your tests because the names of the logs include a time and date stamp.
    4. Click Accept.
  12. Perform the file copy.
    1. Click Accept at the Installation Settings window.
    2. Click Yes, install at the Warning screen.
    3. Change SUSE Linux Enterprise Server CDs as prompted.
      NOTE: SUSE Linux Enterprise Server 9 will reboot automatically after the installation is complete (After 4 CDs install).
    4. If an error message appears indicating a package failed to install, click Continue.
    5. If the Installation of Some Packages Failed window appears, click Ok.
    6. Before the system reboots, remove the last CD.
  13. Set the password for user root.
    1. Type novell in both fields for the root user password.
    2. Click Next.
    3. Click Yes to really use the password at the Password too simple prompt.
    4. Click Yes at The Password is Lower Case prompt.
  14. Configure the network interfaces.
    NOTE: You will configure one NIC in this section.
    1. Click Network Interfaces in the Network Configuration window.
    2. Click Change in the Network cards configuration window.
    3. Select the adapter and click Edit.
    4. Click the Static address setup radio button.
    5. Enter an IP address.
    6. Edit the Subnet mask, if necessary.
    7. Click Host Name and Name Server in the Detailed Settings box.
    8. Edit the host name (e.g., Node1, Node2, Node3).
    9. Edit the Domain name (e.g., novell.com).
    10. Click OK in the Host Name And Name Server Configuration interface.
    11. Click the Enable IP Forwarding box to place an "x" in the box.
    12. Click OK in the Routing Configuration interface.
    13. Click Next in the Network address setup interface.
    14. Click Finish in the Network cards configuration overview.
    15. Click Next in the Network Configuration interface.
    16. Click Next in the error message.
    17. Click No, Skip This Test in the Test Internet Connection interface.
    18. Click Next on the Test Internet Connection interface.
    19. Click Next to use the existing configuration in the Service Configuration interface.
  15. Configure eDirectory. (Do this step only on the first node in the cluster.)
    1. Select the New Tree radio button (this is default).
    2. Enter a tree name (i.e. ClusterTree).
    3. Click Next.
    4. Type cn=admin.o=novell in the FDN admin name with context field.
    5. Enter a password in both password fields (i.e. Novell).
    6. Click Next.
    7. Click Next to accept the default port assignments.
  16. Configure eDirectory. (Do this step on the remaining nodes in the cluster)
    1. Select the Existing Tree radio button.
    2. Enter the tree name (i.e. ClusterTree).
    3. Enter an IP address of a server in the tree.
    4. Click Next.
    5. Type cn=admin.o=novell in the FDN admin name with context field.
    6. Enter the password (i.e. novell).
    7. Click Next.
    8. Click Next to accept the default port assignments.
  17. Configure NTP and SLP
    1. Enter the IP address of the NTP server (i.e. TestConsole) in the NTP Server field.
    2. Click on the radio button for Use multicast to access SLP.
    3. Click Next.
    4. Click Yes at the SLP Configuration prompt.
    5. Click OK at the Multicast has been enabled prompt.
    6. If you do not have a valid NTP server, click Next at the NTP error message.
    7. Click Yes at the SLP error message.
    8. If you do not have a valid NTP server, click OK at the NTP warning message.
  18. Configure Cluster Services.
    1. Click Novell Cluster Services (NCS) in the Installation Settings interface.
    2. Click Next to accept the default LDAP information.
    3. Create a new cluster (Do this step only on the first node in the cluster).
      1. Click on the New Cluster radio button.
      2. Enter a fully qualified domain name in the Cluster FDN field (i.e., cn=cluster.o=novell).
      3. Enter the Cluster IP Address (i.e. 10.1.1.5).
      4. Enter the device path for the SBD partition. This is the device you recorded when deleting partitions in an earlier step (i.e. In a system with on hard disk drive and a shared subsystem this will be /dev/sdb).
      5. Click Next.
      6. Click Next to accept the IP address of this node and to start clustering services now.
    4. Install into an existing tree (Do this step on all but the first node in the cluster). Enter the fully qualified domain name in the Cluster FDN field (i.e., cn=cluster.o=novell).
      1. Click Next.
      2. Click Next to accept the IP address of this node and to start clustering services now.
  19. Click Next to use the Installation Settings interface.
  20. Click OK if any error messages appear.
  21. Configure the authentication.
    1. Ensure the Local (/etc/passwd)radio button in the User Authentication Method interface is selected.
    2. Click Next in the User Authentication method interface.
    3. Click Next in the Add a New Local User interface.
    4. Click Yes at the warning about the Empty/user login.
  22. Click Next at the Release Notes interface.
  23. Click Next at the Hardware Configuration interface.
    NOTE: Ensure the monitor type and resolution are correct.
  24. Click Finish at the Installation Completed interface.
  25. Verify NCS is running.
    1. After the system reboots, log in as root.
    2. Open a shell.
    3. Type "cluster status" <Enter>. You should see the status is "running."
    4. Troubleshooting: If the cluster is not running, type "/etc/init.d/novell-ncs start" <Enter> to start cluster services.
    5. Type "cluster view" <Enter>. You should see a list of nodes in the cluster.
    6. Type "/opt/novell/ncs/bin/sbdutil -f" <Enter>. You should see "/dev/evms/.nodes/cluster.sbd" which indicates the Split Brain Detection (SBD) part of Cluster Services is running.
  26. Create a pool and volume for clustering. (Do this only on the first node in the cluster.)
    1. Type "nssmu" <Enter> at a shell.
    2. Mark the device as sharable for clustering.
      1. Select Devices and verify that the shared storage is in the list.
      2. Press <F6> to mark the device as sharable for clustering.
      3. Press <Esc> to return to the Main Menu.
    3. Create a pool on the shared storage.
      1. Select Pools from the Main Menu.
      2. Press <Insert> to create a pool.
      3. Type "SharedPool" and press <Enter>.
      4. Select the device that is the shared storage, and press <Enter>.
      5. Press <Enter> to create the partition with the default size.
      6. Move the cursor to the IP Address field and press <Enter> to start entering the IP address.
      7. Enter the IP Address (i.e. 10.1.1.6).
      8. Move the cursor to Apply and press <Enter>.
      9. Check that the State is Active.
      10. If the state is Inactive, press <F7> to activate the pool.
      11. Check that the Share State is Sharable for Clustering.
      12. Press <Esc> to return to the Main Menu.
    4. Create a volume on the shared storage.
      1. Select Volumes.
      2. Press <Insert>.
      3. Type "SharedVol" and press <Enter>.
      4. Press <Enter> to accept SharedPool as the host pool.
      5. Press F7 and press <Y> to dismount the volume.
  27. Authenticate to eDirectory via browser (Internet Explorer 6.x or higher; Firefox 1.x or higher).
    1. Open a browser to http://<ip address of node>/nps/iManager.html. It is case sensitive.
    2. Enter the fully qualified user name (i.e admin.novell) in the Username field.
    3. Enter the password (i.e. novell).
    4. Enter the IP address of the first node (not the tree name).
    5. Click Login.
  28. Browse to the cluster object.
    1. Click Clusters in the gray navigation bar on the left.
    2. Click Cluster Manager in the gray navigation bar on the left.
    3. Click the browse icon that looks like a magnifying glass which is next to the Cluster field.
    4. Click on the blue down arrow next to the container object (i.e. Novell).
    5. Click on the cluster object (i.e cluster). Look at the interface for:
      • The epoch number
      • A list of all nodes in the cluster.
  29. Repeat the previous steps until all nodes have been added to the cluster.
  30. Perform the cluster test.
    1. Place a check mark next to the Clusterpool_Server under the Cluster State View in the main interface.
    2. Click on Migrate before the screen refreshes.
    3. Select one of the nodes in the list as the Migration Node Target.
    4. Click OK.
    5. Verify in the Cluster State View that the Cluster Pool Server is running on the node you specified as the Migration Node Target. It may take a minute for the interface to update.
    6. Type "cluster status" on each of the nodes to monitor the progress of the cluster pool migrating from node to node. This provides a more real-time report of the status than web interface does.
    7. Verify that the Cluster Pool Server migrates to another node in the cluster.
    8. Turn off the power to the node that is hosting the Cluster Pool Server.
    9. Monitor the Cluster State View to verify that the Cluster Pool Server migrates to another node in the cluster.
    10. Turn on the power to the node and let it rejoin the cluster.
    11. Type "cluster view" on the node that just rebooted to verify it has rejoined the cluster.
    12. Repeat this step to migrate the cluster pool to each node in the cluster.
    13. The system under test passes the Cluster Services test if it can leave and rejoin the cluster as described in this step.


Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© 2014 Novell