background image

Configuring Cluster Resources for Shared Linux POSIX Volumes

169

no

vd

ocx 

(e

n)

  

7 Ja
nua
ry 201

0

11.4  Creating a Virtual Server Name for the 

Cluster Resource

After you cluster-enable the Linux POSIX volume, you can create a virtual NCP Server object 
(

NCS:NCP Server

) for the volume in Novell eDirectory. You bind this virtual server name with the 

cluster resource IP address in order to make it possible for clients to access the cluster-enabled 
volume via the assigned name instead of the resource’s IP address. The 

NCS:NCP Server

 object is 

not created automatically as it is with clustered NSS pools. After you create the virtual server object, 
you need to modify the load script to identify the name of this virtual server and bind it to the IP 
address of the cluster resource. You must modify the unload script to identify the name of this virtual 
server and unbind it from the IP address of the cluster resource.

NOTE: 

The procedures described in this section are the same as those found in “

Creating a Virtual 

NCP Server Object for NCP Volumes

” in the 

OES 2 SP2: NCP Server for Linux Administration 

Guide

. If you create a virtual server object now, you can use the virtual server name if you set up 

NCP volumes later. You don’t need to re-create the virtual server name.

You can use any name as the virtual server name. You might apply a similar naming convention for 
Linux volumes as is used for NSS pools (clustername_poolname_server) by using the EVMS 
volume name or the NCP volume name. For example, 

CLUS1_SHVOL44_SERVER

 or 

CLUS1_USERS_SERVER

.

IMPORTANT: 

Do not use periods in cluster resource names. Novell clients interpret periods as 

delimiters. If you use a space in a cluster resource name, that space is converted to an underscore.

For example, when you cluster-enable an NSS pool, a virtual NCP Server object (

NCS:NCP Server

is automatically created in Novell eDirectory

TM

 and given the name of the Cluster object plus the 

name of the cluster-enabled pool. For example, if the cluster name is 

cluster1

 and the cluster-

enabled pool name is 

pool1

, then the default virtual server name will be 

cluster1_pool1_server

IMPORTANT: 

The following procedure uses a similar naming convention as that used for NSS; 

however, you can use a different naming convention.

Use one of the two methods in this section to create the

 NCS:NCP Server

 object for the volume to 

give it a virtual server name and modify the load and unload scripts.

Š

Section 11.4.1, “Using ncs_ncpserv.py to Create an NCS:NCP Server Object,” on page 169

Š

Section 11.4.2, “Using iManager to Create an NCS:NCP Server Object,” on page 171

11.4.1  Using ncs_ncpserv.py to Create an NCS:NCP Server 
Object

The script 

/opt/novell/ncs/bin/ncs_ncpserv.py

 is available to help you create the 

NCS:NCP 

Server

 object for your Linux POSIX volume. The ncs_ncpserv.py script creates a virtual NCP 

Server object (

NCS:NCP Server

) in eDirectory, and associates it with none, one, or multiple 

volumes that you specify. This allows clients to access files on the Linux POSIX volume via the 

Summary of Contents for OPEN ENTERPRISE SERVER 2 SP 2 - CLUSTER SERVICES 1.8.7 FOR LINUX

Page 1: ...vdocx en 7 January 2010 AUTHORIZED DOCUMENTATION OES 2 SP2 Novell Cluster Services 1 8 7 for Linux Administration Guide Open Enterprise Server 2 SP2 March 15 2010 Novell Cluster ServicesTM 1 8 7 For Linux Administration Guide ...

Page 2: ...and the trade laws of other countries You agree to comply with all export control regulations and to obtain any required licenses or classification to export re export or import deliverables You agree not to export or re export to entities on the current U S export exclusion lists or to any embargoed or terrorist countries as specified in the U S export laws You agree to not use deliverables for p...

Page 3: ...ll Trademarks For Novell trademarks see the Novell Trademark and Service Mark list http www novell com company legal trademarks tmlist html Third Party Materials All third party trademarks are the property of their respective owners ...

Page 4: ...4 OES 2 SP2 Novell Cluster Services 1 8 7 for Linux Administration Guide novdocx en 7 January 2010 ...

Page 5: ...Cluster Upgrade 24 2 3 What s New OES 2 SP1 25 2 3 1 Schema Extension 25 2 3 2 Installation by Container Administrator 25 2 3 3 Behavior Change for Adding a Node 25 2 3 4 Attribute NCS GIPC Config Is No Longer Maintained 26 2 3 5 Support for Novell AFP for Linux 26 2 3 6 Support for Novell CIFS for Linux 26 2 3 7 Support for Domain Services for Windows 26 2 4 What s New OES 2 26 3 Installing and C...

Page 6: ...6 Converting NetWare 6 5 Clusters to OES 2 Linux 59 6 1 Guidelines for Converting Clusters from NetWare to OES 2 Linux 59 6 1 1 Supported Mixed Node Clusters 60 6 1 2 SBD Devices Must Be Marked as Shareable for Clustering 60 6 1 3 Syntax Translation Issues for Load and Unload Scripts 60 6 1 4 Case Sensitivity Issues 61 6 1 5 Adding New NetWare Nodes to a Mixed Node Cluster 61 6 1 6 Converting Mult...

Page 7: ...ation 95 7 5 Viewing the Cluster Node Properties 95 7 6 Modifying the Cluster IP Address and Port Properties 96 7 7 What s Next 96 8 Managing Clusters 97 8 1 Starting and Stopping Novell Cluster Services 97 8 1 1 Starting Novell Cluster Services 98 8 1 2 Stopping Novell Cluster Services 98 8 1 3 Enabling and Disabling the Automatic Start of Novell Cluster Services 98 8 2 Monitoring Cluster and Res...

Page 8: ...tting Start Failover and Failback Modes for Cluster Resources 125 9 7 1 Understanding Cluster Resource Modes 125 9 7 2 Viewing or Modifying the Start Failover and Failback Modes for a Resource 126 9 8 Assigning Nodes to a Resource 127 9 9 Configuring Resource Priorities for Load Order 127 9 10 Changing the IP Address of a Cluster Resource 128 9 11 Deleting Cluster Resources 128 9 11 1 Deleting a C...

Page 9: ...3 4 Configuring an Unload Script for a Linux POSIX Volume Cluster Resource 165 11 3 5 Enabling Monitoring and Configuring a Monitor Script for a Linux POSIX Volume Cluster Resource 166 11 3 6 Configuring Policies for a Linux POSIX Volume Cluster Resource 167 11 4 Creating a Virtual Server Name for the Cluster Resource 169 11 4 1 Using ncs_ncpserv py to Create an NCS NCP Server Object 169 11 4 2 Us...

Page 10: ...er Configuration 199 13 11 Problem Connecting to an iSCSI Target 199 13 12 Problem Deleting a Cluster Resource or Clustered Pool 199 13 13 Version Issues 199 13 14 Can t Find the Prevent Cascading Failover Option 199 13 15 Is there a way to uninstall Novell Cluster Services from a server 200 13 16 Cluster Resource Is Stuck in NDS Sync or eDirectory Sync State 200 14 Security Considerations 201 14 ...

Page 11: ...re 6 5 Clusters to OES 2 Linux 233 E 9 3 Console Commands for Novell Cluster Services 233 E 9 4 Installing Novell Cluster Services on OES 2 Linux 234 E 9 5 Managing Clusters 234 E 9 6 Troubleshooting Novell Cluster Services 234 E 9 7 Upgrading OES 2 Linux Clusters 234 E 9 8 What s New 235 E 10 July 30 2009 235 E 10 1 Configuring Cluster Resources for Shared NSS Pools and Volumes 235 E 10 2 Console...

Page 12: ... OES 2 Services for Linux and NetWare 246 E 18 2 Comparison of Novell Cluster Services for Linux and NetWare 246 E 18 3 Configuring and Managing Cluster Resources 246 E 18 4 Configuring Cluster Resources for Shared Linux POSIX Volumes 246 E 18 5 Configuring Cluster Resources for Shared NSS Pools and Volumes 246 E 18 6 Configuring Novell Cluster Services in a Virtualization Environment 247 E 18 7 C...

Page 13: ...IX Volumes on page 157 Chapter 12 Configuring Novell Cluster Services in a Xen Virtualization Environment on page 181 Chapter 13 Troubleshooting Novell Cluster Services on page 195 Appendix A Console Commands for Novell Cluster Services on page 203 Appendix B Files for Novell Cluster Services on page 209 Appendix C Comparing Novell Cluster Services for Linux and NetWare on page 213 Appendix D Comp...

Page 14: ... www novell com documentation oes2 cluster services html clust config resources For information about Novell Cluster Services 1 8 5 for NetWare see the Clustering NetWare Services list on the NetWare 6 5 SP8 Clustering High Availability Documentation Web site http www novell com documentation nw65 cluster services html clust config resources Documentation Conventions In Novell documentation a grea...

Page 15: ...sessions without interruption Each server in the cluster runs the same operating system and applications that are needed to provide the application service or data resources to clients Shared devices are connected to and mounted on only one server at a time Clustering software monitors the health of each of the member servers by listening for its heartbeat a simple message that lets the others kno...

Page 16: ... restart resources applications services IP addresses and file systems from a failed server in the cluster A single point of administration through the browser based Novell iManager cluster configuration and monitoring GUI iManager also lets you remotely manage your cluster The ability to tailor a cluster to the specific applications and hardware infrastructure that fit your organization Dynamic a...

Page 17: ...ion with the other servers in the cluster and performs periodic polling of all registered resources to detect failure Suppose Web Server 1 experiences hardware or software problems and the users who depend on Web Server 1 for Internet access e mail and information lose their connections Figure 1 2 shows how resources are moved when Web Server 1 fails Figure 1 2 Three Server Cluster after One Serve...

Page 18: ...ically fail back or be moved back to Web Server 1 and Web Server operation will return to the way it was before Web Server 1 failed Novell Cluster Services also provides resource migration capabilities You can move applications Web sites etc to other servers in your cluster without waiting for a server to fail For example you could have manually moved Web Site A or Web Site B from Web Server 1 to ...

Page 19: ...best performance for your storage area network SAN Figure 1 3 shows how a typical Fibre Channel cluster configuration might look Figure 1 3 Typical Fibre Channel Cluster Configuration Network Interface Card s Fibre Channel Switch Network Hub Fibre Channel Card s Server 1 Server 2 Server 3 Server 4 Server 5 Server 6 Shared Disk System ...

Page 20: ...SAN with Ethernet equipment Figure 1 4 shows how a typical iSCSI cluster configuration might look Figure 1 4 Typical iSCSI Cluster Configuration Ethernet Card s Ethernet Switch Ethernet Switch Ethernet Card s Server 1 Server 2 Server 3 Server 4 Server 5 Server 6 Storage System Network Backbone iSCSI Initiator iSCSI Initiator iSCSI Initiator iSCSI Initiator iSCSI Initiator iSCSI Initiator Network B...

Page 21: ...storage systems This configuration is also a lower cost alternative to using Fibre Channel storage systems Figure 1 5 shows how a typical shared SCSI cluster configuration might look Figure 1 5 Typical Shared SCSI Cluster Configuration Network Interface Card Network Interface Card Network Hub SCSI Adapter SCSI Adapter Server 1 Server 2 Shared Disk System ...

Page 22: ...22 OES 2 SP2 Novell Cluster Services 1 8 7 for Linux Administration Guide novdocx en 7 January 2010 ...

Page 23: ...ts were made for Novell Cluster Services for Linux in OES 2 SP2 Section 2 2 1 Improved Error Reporting on page 23 Section 2 2 2 Improved Time Calculations on page 23 Section 2 2 3 Specifying the Size of the SBD Partition on page 24 Section 2 2 4 Customizing Translation Syntax on page 24 Section 2 2 5 Migration Tool Support for Cluster Configurations on page 24 Section 2 2 6 New iFolder Resource Te...

Page 24: ...oad and Unload Scripts on page 87 2 2 5 Migration Tool Support for Cluster Configurations Support was added for migrating services and data in cluster configurations by using the OES 2 SP2 Migration Tool For instructions on using the Migration Tool to migrate services and data see the OES 2 SP2 Migration Tool Administration Guide 2 2 6 New iFolder Resource Template The Novell iFolder 3 x resource ...

Page 25: ...tor Container administrators can install Novell Cluster Services without needing tree level administrator rights Make sure you have the rights needed for the install See Section 3 4 Assigning Install Rights for Container Administrators on page 41 2 3 3 Behavior Change for Adding a Node In this release a behavior change was made to address a deadlock defect After adding a new node to the cluster th...

Page 26: ...GIPC Config in the Cluster object is no longer maintained This applies to Linux clusters and mixed NetWare and Linux clusters 2 3 5 Support for Novell AFP for Linux This release supports Novell AFP Apple Filing Protocol for Linux in combination with Novell Storage ServicesTM NSS volumes on OES 2 SP1 Linux See Novell AFP for Linux on page 32 2 3 6 Support for Novell CIFS for Linux This release supp...

Page 27: ...n page 41 Section 3 5 Installing Novell Cluster Services on page 42 Section 3 6 Configuring Novell Cluster Services on page 46 Section 3 7 Configuring Additional Administrators on page 52 Section 3 8 What s Next on page 52 3 1 System Requirements for Novell Cluster Services Section 3 1 1 Hardware Requirements on page 27 Section 3 1 2 Software Requirements on page 28 Section 3 1 3 Configuration Req...

Page 28: ...nux on page 28 Novell eDirectory 8 8 on page 29 Novell iManager 2 7 3 on page 29 EVMS on page 30 Linux POSIX File Systems on page 30 NSS File System on Linux on page 31 Dynamic Storage Technology Shadow Volume Pairs on page 31 NCP Server for Linux on page 31 Novell AFP for Linux on page 32 Novell CIFS for Linux on page 32 Novell Domain Services for Windows on page 32 OpenWBEM on page 32 SLP on pag...

Page 29: ...OES 2 SP1 Linux You can download the update from the Novell Downloads Web site http download novell com For information about BCC 1 2 see BCC 1 2 Administration Guide for OES 2 SP1 Linux http www novell com documentation bcc bcc12_admin_lx data bookinfo html The OES 2 SP2 Linux release contains a Clusters plug in that is required when using Novell Business Continuity Clustering 1 2 1 for OES 2 SP2...

Page 30: ...s or install the plug ins you need plus the common code For information about working with storage related plug ins for iManager see Understanding Storage Related Plug Ins in the OES 2 SP2 NSS File System Administration Guide For browser configuration requirements see Web Browser on page 36 EVMS EVMS Enterprise Volume Management System 2 5 5 24 54 5 or later is automatically installed on the serve...

Page 31: ...ed when you select Novell Cluster Services option during the install For information about creating and cluster enabling Dynamic Storage Technology volumes on Linux see Configuring DST Shadow Volumes with Novell Cluster Services for Linux in the OES 2 SP2 Dynamic Storage Technology Administration Guide NCP Server for Linux NCP Server for Linux is required to be installed and running before you can...

Page 32: ...g protocol for the cluster resource For information about installing and configuring the Novell CIFS service see the OES 2 SP2 Novell CIFS for Linux Administration Guide Novell Domain Services for Windows Novell Cluster Services supports using clusters in Domain Services for Windows DSfW contexts for OES 2 SP1 Linux and later If Domain Services for Windows is installed in the eDirectory tree the n...

Page 33: ...mation see Specifying SLP Configuration Options in the OES 2 SP2 Installation Guide When the SLP daemon slpd is not installed and running on a cluster node any cluster resource that contains the ncpcon bind command goes comatose when it is migrated or failed over to the node because the bind cannot be executed without SLP For more information see Implementing the Service Location Protocol http www...

Page 34: ...rectory Rights http www novell com documentation edir88 edir88 data fbachifb html in the eDirectory 8 8 Administration Guide for more information If you are creating a new cluster the eDirectory context where the new Cluster object will reside must be an existing context Specifying a new context during the Novell Cluster Services install configuration does not create a new context Multiple cluster...

Page 35: ... 2 Select the Container object then click Add Trustee 3 For Entry Rights set the Browse Create and Rename rights 4 For All Attributes Rights set the Compare Read and Write rights 5 Click Apply to save and apply your changes NOTE If the eDirectory administrator username or password contains special characters such as and so on some interfaces in iManager and YaST might not handle the special charac...

Page 36: ...tion Guide 3 1 4 Shared Disk System Requirements A shared disk subsystem is required for each cluster in order to make data highly available Make sure your shared storage devices meet the following requirements Shared Devices on page 36 SBD Partitions on page 37 Shared iSCSI Devices on page 37 Shared RAID Devices on page 37 Shared Devices Novell Cluster Services supports the following shared disks...

Page 37: ...want to use as the mirrored SBD and mark its device as shareable for clustering This allows the installation software to recognize available partitions and present them for use during the install You can initialize the device by using NSSMU or the Storage plug in to iManager Beginning in OES 2 SP2 the NSS utility called ncsinit is also available for initializing a device and setting it to a shared...

Page 38: ... Cluster Services make sure to set the path failover settings so that the paths fail when path I O errors occur The default setting in DM MP is to queue I O if one or more HBA paths is lost Novell Cluster Services does not migrate resources from a node set to the Queue mode because of data corruption issues that can be caused by double mounts if the HBA path is recovered before a reboot IMPORTANT ...

Page 39: ...h_retry fail Set MP for failed I O mode any other non zero values sets the HBAs for Blocked I O mode Settings for a QLogic HBA BIOS For the QLogic HBA BIOS the defaults for the Port Down Retry and Link Down Retry values are 45 seconds so it will take about 50 seconds after a fault occurs before I O resumes on the remaining HBAs Change these settings from 45 seconds to 5 seconds in the HBA BIOS For...

Page 40: ...ntials to extend the eDirectory schema The schema is automatically extended during the install Subsequent cluster servers can be installed by container administrators or non administrator users with sufficient rights to install Novell Cluster Services For install rights information see Cluster Services Installation Administrator on page 34 and Section 3 4 Assigning Install Rights for Container Adm...

Page 41: ...change the values inside the quotation marks to the actual settings for your cluster CONFIG_NCS_LDAP_IP 10 1 1 102 CONFIG_NCS_LDAP_PORT 636 CONFIG_NCS_ADMIN_DN cn admin o context CONFIG_NCS_ADMIN_PASSWORD password 3 As the root user enter the following command at a terminal console prompt mkdir p var opt novell install 4 As the root user enter the following command at a terminal console prompt opt...

Page 42: ...or cluster objects the schema is extended Installs Novell Cluster Services software on the server You can create a new cluster or add a server to an existing cluster during the OES 2 Linux installation or afterwards by using the Open Enterprise Server OES Install and Configuration tool in YaST For information see Section 3 6 Configuring Novell Cluster Services on page 46 You can install Novell Clu...

Page 43: ... created before you add another node IMPORTANT The cluster SBD partition is not required unless you have shared storage For information see Section 8 16 3 Creating a Non Mirrored Cluster SBD Partition on page 111 Section 8 16 4 Creating a Mirrored Cluster SBD Partition on page 112 2 Start the YaST install for SUSE Linux Enterprise Server 10 and continue to the Installation Mode page 3 Select New I...

Page 44: ... patterns that you want to install ensures that the patterns and their dependent patterns and packages are installed If you click Accept then return to software pattern selection page the selections that you made become your base selections and must be deselected if you want to remove them from the installation proposal 6 Continue through the installation process until you reach the Novell Open En...

Page 45: ...BD partition is not required unless you have shared storage For information see Section 8 16 3 Creating a Non Mirrored Cluster SBD Partition on page 111 Section 8 16 4 Creating a Mirrored Cluster SBD Partition on page 112 2 Log in to the server as the root user 3 In YaST select Open Enterprise Server OES Install and Configuration 4 On the Software Selection page under OES Services click Novell Clu...

Page 46: ...stallation or afterwards by using the Open Enterprise Server OES Install and Configuration tool in YaST IMPORTANT If Novell Cluster Services is already configured on the server see Section 8 13 Moving a Cluster or Changing IP Addresses LDAP Server or Administrator Credentials for a Cluster on page 105 for information about modifying an existing cluster configuration If you are creating a new clust...

Page 47: ... the following Same Administrator To use the same administrator credentials that were used to install Novell Cluster Services continue with Section 3 6 3 Enabling the Novell Cluster Services Configuration Page in YaST on page 48 Different Administrator To use different administrator credentials than those used to install Novell Cluster Services continue with Section 3 6 2 Using Different LDAP Cred...

Page 48: ...ervices Configuration Page in YaST 1 On the Novell Open Enterprise Server Configuration page under Novell Cluster Services click the disabled link to enable configuration The sentence changes to Configure is enabled 2 Click the Novell Cluster Services link to open the Novell Cluster Services Configuration page 3 If you are prompted for credentials specify the password of the specified Administrato...

Page 49: ...e in the cluster by using one of the following procedures Section 8 16 3 Creating a Non Mirrored Cluster SBD Partition on page 111 Section 8 16 4 Creating a Mirrored Cluster SBD Partition on page 112 IMPORTANT For each SBD partition you must have at least 20 MB of free space on a device that has been initialized and marked as shareable for clustering If your cluster Do this Has no shared devices A...

Page 50: ...ng Additional Administrators on page 52 3 6 5 Adding a Node to an Existing Cluster Perform the following configuration for each node that you add to an existing cluster 1 If you have a shared disk system attached to your cluster servers an SBD partition is required and must be created before you configure the second node in the cluster If you have not previously configured the SBD partition for th...

Page 51: ...llation 6 If you are configuring during the install continue through the rest of the OES installation and setup process 7 After the configuration is completed start Novell Cluster Services using one of these methods 8 Use the Software Updater or other update methods to install any patches from the OES 2 Linux patch channel and any EVMS patches from the SUSE Linux Enterprise Server 10 SP3 patch cha...

Page 52: ...rs in the cluster IMPORTANT To allow other administrators such as the tree administrator to manage the cluster the users usernames must be similarly configured You can modify the default administrator username or password after the install by following the procedure in Section 8 13 Moving a Cluster or Changing IP Addresses LDAP Server or Administrator Credentials for a Cluster on page 105 3 8 What...

Page 53: ... to OES 2 SP2 Linux while the other servers in the cluster continue running older versions of OES 2 Linux Then if desired another server can be upgraded and then another until all servers in the cluster have been upgraded You can also add OES 2 SP2 Linux servers to the existing OES 2 Linux or later cluster and remove the old ervers from the cluster You should complete the upgrade as soon as possib...

Page 54: ...tically fail back if both of the following apply The failback mode for the resources was set to Auto This Linux server is the preferred node for the resources 4 Repeat Step 2 through Step 5 for each OES 2 Linux cluster server until your entire cluster has been upgraded 4 3 Upgrade Issues for OES 2 SP2 This section contains known issues for upgrading clusters from OES 2 Linux or OES 2 SP1 Linux to ...

Page 55: ...ster Upgrade on page 57 5 1 Requirements and Guidelines for Upgrading Clusters from OES 1 Linux and OES 2 Linux In addition to the Section 3 1 System Requirements for Novell Cluster Services on page 27 consider the following rules and recommendations for mixed OES 1 Linux and OES 2 Linux clusters Mixed OES 1 Linux and OES 2 Linux clusters should be considered a temporary configuration that exists ...

Page 56: ...you upgrade your OES 1 Linux cluster servers 2 Bring down the OES 1 Linux cluster server you want to upgrade to OES 2 Any cluster resources that were running on the server should fail over to another server in the cluster You can also manually migrate the resources to another server in the cluster prior to bringing down the server This prevents the resources from failing back to the node after you...

Page 57: ...grade to OES 2 you must finalize the cluster upgrade See Finalizing the Cluster Upgrade below for more information Any new cluster resources that are created using resource templates included with OES 2 Linux use upgraded templates after finalizing the cluster upgrade New resources created after finalizing the upgrade cannot run on OES 1 Linux cluster nodes so you should finalize the cluster upgra...

Page 58: ...58 OES 2 SP2 Novell Cluster Services 1 8 7 for Linux Administration Guide novdocx en 7 January 2010 ...

Page 59: ...ts on page 87 Section 6 8 Finalizing the Cluster Conversion on page 88 For information about managing a NetWare cluster see the Clustering NetWare Services list on the NetWare 6 5 SP8 Clustering High Availability Documentation Web site http www novell com documentation nw65 cluster services html clust config resources 6 1 Guidelines for Converting Clusters from NetWare to OES 2 Linux In addition t...

Page 60: ... in the NW6 5 SP8 Novell Cluster Services 1 8 5 Administration Guide If you have a NetWare 5 1 cluster you must upgrade all nodes to a NetWare 6 5 cluster with the latest service packs and patches before adding new Linux cluster nodes to the cluster For information see Upgrading NetWare Clusters in the NW6 5 SP8 Novell Cluster Services 1 8 5 Administration Guide 6 1 2 SBD Devices Must Be Marked as...

Page 61: ...unning the sbdutil f command displays the SBD name If the case used when you enter the Cluster object name and SBD name during the Linux cluster install do not match the case used in eDirectory the cluster install fails to detect the SBD partition 6 1 5 Adding New NetWare Nodes to a Mixed Node Cluster You cannot add additional NetWare nodes to your cluster after adding a new Linux node or changing...

Page 62: ...es cannot be migrated or failed over to NetWare cluster nodes Only NSS pool cluster resources that are created on a NetWare cluster node can be failed over between Linux and NetWare nodes of a mixed node cluster NetWare to Linux and vice versa failover of NSS pool cluster resources requires that the Linux node be configured for NSS and that the version of NSS supports the NSS media format and feat...

Page 63: ... Mixed Node Clusters Is Not Supported In mixed node clusters the Monitor function in Novell Cluster Services for Linux is not available You cannot enable the Monitor function or modify the Monitor script for cluster resources on the Linux nodes until the conversion is finalized and all nodes in the cluster are running OES 2 Linux 6 2 Guidelines for Converting NSS Pool Resources from NetWare to Lin...

Page 64: ... the EMC DMX Symmetrix Storage with 4 gigabits per second Gbps bandwidth 6 3 Guidelines for Converting Service Cluster Resources from NetWare to Linux Converting cluster resources for OES 2 services from NetWare to Linux might require more than a simple cluster migration from a NetWare node to a Linux node For example the service might require that you use migration tools to convert the service to...

Page 65: ...quires special handling See Section 6 3 5 CIFS on page 68 DFS VLDB Distributed File Services volume location database Requires special handling See Section 6 3 6 DFS VLDB on page 68 DHCP Server Requires special handling See Section 6 3 7 DHCP Server on page 69 DNS Server Requires special handling See Section 6 3 8 DNS Server on page 71 eDirectory Not clustered See Section 6 1 7 Converting Nodes th...

Page 66: ...on NetWare to set up a new cluster resource Use the Linux commands for MySQL in the load and unload scripts Use a Linux path on a shared Linux POSIX file system for the MySQL database As a general reference see Configuring MySQL on Novell Clustering Services in the NW 6 5 SP8 Novell MySQL Administration Guide NetStorage Yes Clustering the NetStorage service is supported for OES 2 SP1 Linux and lat...

Page 67: ... For information see Section 6 6 4 Comparing File Access Protocol Resource Script Commands on page 85 AFP on Linux supports NCP cross protocol file locking which allows NCP AFP and CIFS users to access files on an NSS volume concurrently without data corruption by locking the files across protocols On Linux the cross protocol file locking parameter for NCP Server is disabled by default It must be ...

Page 68: ...L database starting 6 3 5 CIFS Novell CIFS for Linux is available beginning in OES 2 SP1 Linux After you set up Novell CIFS on the Linux node and before you finalize the NetWare to Linux conversion use the CIFS migration tool to convert the configuration For information see Migrating CIFS from NetWare to OES 2 SP2 Linux in the OES 2 SP2 Migration Tool Administration Guide The commands in the scrip...

Page 69: ...dir vldbpath to vldb dir vldbpath 6 Online the cluster resource 7 Run a VLDB repair to ensure that the database is correct Adding a Linux Server as a Replica Site Use this method if you want to use a different shared disk for the VLDB on Linux You can do this by adding a DFS replica site on Linux 1 Install OES 2 Linux on the server that you want to add to the cluster Make sure Novell Storage Servi...

Page 70: ...must be running OES 2 SP1 Linux on either 32 bit or 64 bit hardware Run the DHCP migration tool from one of the Linux nodes Perform the Tree Level Migration with the same Source server tree to which NetWare clustered nodes are attached and Target server tree to which the Linux clustered nodes are attached This ensures that the entire NetWare DHCP configuration data is available for Linux DHCP For ...

Page 71: ...services on an OES 2 SP1 Linux node in the cluster You cannot directly reuse the data Use one of the following scenarios to migrate your DNS server data then perform the post migration tasks For information about prerequisites see Migrating DNS from NetWare to OES 2 SP2 Linux in the OES 2 SP2 Migration Tool Administration Guide NetWare and Linux Clusters Are in the Same Tree on page 71 NetWare and...

Page 72: ...ne server can host the CA and normally that same server hosts the CRLs if they are enabled although if you move the CA to a different server the CRLs usually stay on the old server The CA and CRL services are not cluster enabled in either NetWare or OES 2 Linux and therefore there are no cluster specific tasks for them Novell Certificate Server provides a Server Certificates service for NetWare an...

Page 73: ... cluster applications can use the default certificates without needing any administration IMPORTANT If the DNS service is not set up correctly then you must use the process described for external certificates in Using External Certificates in a Cluster on page 73 For OES 2 Linux clusters using the internal certificate method make sure the DNS service is configured to use the cluster IP DNS address...

Page 74: ...path such as media nss NSSVOL1 to the shared NSS volume where you want to relocate the iPrint configuration data 3 Review the messages displayed on the screen to confirm the data migration from the local Linux path to the shared NSS path is completed For example enter iprint_nss_relocate a cn admin o mycompany p pass n media nss NSSVOL1 l cluster For information see Executing the Script in the OES...

Page 75: ...llation you must set up one or more virtual search servers to enable QuickFinder Server to work in a cluster When the Linux setup is completed you are ready to manually migrate settings from the NetWare cluster to the Linux cluster Set up QuickFinder on the OES 2 Linux cluster nodes then manually migrate QuickFinder data from a NetWare node to an OES 2 Linux node For information about using the Qu...

Page 76: ...nually re create the NetWare settings by using the QuickFinder Server Manager 1 Open a Web browser the access the QuickFinder Server Manager on the NetWare server http servername qfsearch admin 2 Click Global Settings in the top toolbar 3 Write down the paths for each virtual search server displayed in the Location column 4 On the OES 2 Linux server where the shared volume is active mount the NetW...

Page 77: ...ht also need to update paths in templates If you have problems such as a template not being found or some properties not being set properly check the case of the filename If you modified any file index paths to index directories on the Linux server that index must be regenerated 12 After all the files have been modified run the following commands to set the access rights and the owner and groups s...

Page 78: ...st operating systems running on Xen virtual machines you can use the same methods and processes as those used on a physical server No additional changes or special configuration is required For information see Section 12 5 Mixed Physical and Virtual Node Clusters on page 191 To perform a rolling cluster conversion from NetWare 6 5 to OES 2 Linux 1 Before you add the first Linux node to the NetWare...

Page 79: ...nnectivity for the Linux node Consult your SAN vendor documentation for SAN setup and connectivity instructions 9 Install Novell Cluster Services and add the node to your existing NetWare 6 5 cluster 9a Log in to the OES 2 Linux server as the root user 9b In YaST select Open Enterprise Server OES Install and Configuration 9c On the Software Selection page under OES Services click Novell Cluster Se...

Page 80: ...vers have multiple IP addresses This step lets you choose which IP address Novell Cluster Services uses 9k Deselect Start Services Now 9l Click Next then continue through the rest of the OES installation 9m After the install is complete use the Software Updater or other update methods to install any patches from the OES 2 Linux patch channel and any EVMS patches from the SUSE Linux Enterprise Serv...

Page 81: ...ored repeat Step 1d and Step 1e to also mark the mirror device as Shareable for Clustering 1g Press Esc to exit NSSMU 2 Install OES 2 Linux on the new node but do not install the Novell Cluster Services option from OES Services at this time See the OES 2 SP2 Installation Guide for more information 3 Set up and verify SAN connectivity for the new OES 2 Linux node Consult your SAN vendor documentati...

Page 82: ...t part of the translation library the cluster resource can end up in a comatose state IMPORTANT Beginning in OES 2 SP2 Novell Cluster Services allows you to customize the translation syntax that us used for load and unload scripts in mixed platform situations by defining new syntax translations to be used in addition to the normal translations For information see Section 6 7 Customizing the Transl...

Page 83: ...Ware Cluster Command Linux Cluster Command Replace IGNORE_ERROR add secondary ipaddress ignore_error add_secondary_ipaddress Replace IGNORE_ERROR del secondary ipaddress ignore_error del_secondary_ipaddress Replace del secondary ipaddress ignore_error del_secondary_ipaddress Replace add secondary ipaddress exit_on_error add_secondary_ipaddress Delete IGNORE_ERROR NUDP deletes the entire line Delet...

Page 84: ...10 1 1 175 IGNORE_ERROR CLUSTER CVSBIND DEL BCCP_Cluster 10 1 1 175 Linux bin bash opt novell ncs lib ncsfuncs ignore_error del_secondary_ipaddress 10 1 1 175 exit 0 6 6 3 Comparing NSS Pool Resource Scripts NSS Pool Resource Load Script on page 84 NSS Pool Resource Unload Script on page 85 NSS Pool Resource Load Script This section provides examples of the NSS pool resource load scripts on NetWar...

Page 85: ...nss pooldeactivate HOMES_POOL overridetype question CIFS DEL CN BCC_CLUSTER_HOMES_SERVER OU servers O lab T TEST_TREE Linux bin bash opt novell ncs lib ncsfuncs ignore_error ncpcon unbind ncpservername BCC_CLUSTER_HOMES_SERVER ipaddress 10 1 1 180 ignore_error del_secondary_ipaddress 10 1 1 180 ignore_error nss pooldeact HOMES_POOL exit 0 6 6 4 Comparing File Access Protocol Resource Script Comman...

Page 86: ..._P1_SERVER 10 10 10 204 Novell CIFS exit_on_error novcifs add vserver CN NCS1_P1_SERVER O novell T TREE 188 ip addr CIFS_IP Protocol Script Command for Unload Scripts NCP NUDP DEL NCS1_P1_SERVER 10 10 10 194 Novell AFP AFPBIND DEL NCS1_P1_SERVER 10 10 10 204 Novell CIFS CIFS DEL CN NCS1_P1_SERVER O novell T CLUSTER Protocol Script Command for Unload Scripts NCP ignore_error ncpcon unbind ncpserver...

Page 87: ... mixed platform situations by defining new syntax translations in the var opt novell ncs customized_translation_syntax file that you create The clstrlib py script reads the additional translation syntax from the syntax file and processes them in addition to the normal translations in the Cluster Translation Library The customized translation supports using Python regular expressions to search for ...

Page 88: ... former NetWare cluster WARNING After you finalize the cluster conversion rollback to NetWare is not supported To finalize the cluster conversion 1 Run cluster convert preview resource_name at the terminal console of one Linux cluster node Replace resource_name with the name of a resource that you want to preview The preview switch lets you view the resource load and unload script changes that wil...

Page 89: ...ter configuration on all nodes by running the cluster configuration daemon Enter the following command as the root user on every node in the cluster opt novell ncs bin ncs configd py init This removes the NetWare nodes from the list of nodes in the cluster so they are not displayed in iManager ...

Page 90: ...90 OES 2 SP2 Novell Cluster Services 1 8 7 for Linux Administration Guide novdocx en 7 January 2010 ...

Page 91: ...ge 96 7 1 Understanding Cluster Settings IMPORTANT You must perform all Cluster Services configuration operations on the master node in the cluster In iManager select the Cluster object not the Cluster Node objects Section 7 1 1 Cluster Policies on page 91 Section 7 1 2 Cluster Protocols Properties on page 92 7 1 1 Cluster Policies Table 7 1 describes the configurable cluster policies You can mana...

Page 92: ...unt of time in seconds to wait for the specified quorum to be met before cluster resources begin loading on whatever number of nodes are actually up and running E mail notification Enables or disables e mail notification for the cluster If it is enabled you can specify up to eight administrator e mail addresses for cluster events notification Property Description Heartbeat Specifies the interval o...

Page 93: ...e number of servers defined in the Number of Nodes field to be up and running If the timeout period elapses before the quorum membership reaches its specified number resources automatically start loading on the servers that are currently up and running in the cluster For example if you specify a Number of Nodes value of 4 and a timeout value equal to 30 seconds and after 30 seconds only two server...

Page 94: ...ter transmits an I m alive signal to all the other nodes in the cluster every second If you are using multipath I O to manage multiple paths between the server and the shared drive make sure that you allow sufficient time in the watchdog setting for a path failover to avoid unnecessary cluster resource failovers between nodes Test the failover time of the MPIO solution you are using then adjust th...

Page 95: ... Click the Properties button under the cluster name 4 Click the Policies tab 5 Select or deselect the Enable Cluster Notification Events check box to enable or disable e mail notification 6 If you enable e mail notification add up to eight e mail addresses in the field provided You can click the buttons next to the field to add delete or edit e mail addresses Repeat this process for each e mail ad...

Page 96: ...rce using the same port number If there is a port number conflict change the Port number to any other value that doesn t cause a conflict 1 In the left column of the main iManager page locate Clusters then click the Cluster Options link 2 Specify the cluster name or browse and select the Cluster object 3 Click the Properties button under the cluster name 4 Click the Policies tab 5 Specify the new ...

Page 97: ...iguring the EVMS Remote Request Timeout on page 103 Section 8 9 Shutting Down Linux Cluster Servers When Servicing Shared Storage on page 104 Section 8 10 Enabling or Disabling Cluster Maintenance Mode on page 104 Section 8 11 Preventing a Cluster Node Reboot after a Node Shutdown on page 104 Section 8 12 Renaming a Pool for a Pool Cluster Resource on page 105 Section 8 13 Moving a Cluster or Chan...

Page 98: ...ster Services Go to the etc init d directory and enter novell ncs stop At the terminal prompt enter rcnovell ncs stop 8 1 3 Enabling and Disabling the Automatic Start of Novell Cluster Services Novell Cluster Services automatically starts by default after it is installed and on server reboot To cause Novell Cluster Services to not start automatically after a server reboot 1 Open a terminal console...

Page 99: ...ntervention When a resource is gray with no break in the icon either that server is not currently a member of the cluster or its state is unknown When a resource is blank or has no colored icon it is unassigned offline changing state or in the process of loading or unloading The Epoch number indicates the number of times the cluster state has changed The cluster state changes every time a server j...

Page 100: ...icator and bring the resource offline After resource problems have been resolved the resource can be brought back online returned to the running state Loading The resource is in the process of loading on a server None NDS_Sync The properties of the resource have changed and the changes are still being synchronized in Novell eDirectoryTM None Offline Offline status indicates the resource is shut do...

Page 101: ...sen the load on a specific server to free up a server so it can be brought down for scheduled maintenance or to increase the performance of the resource or application by putting it on a faster machine Field Description Cluster name The dot delimited distinguished name of the selected cluster clustername context Date The date and time the report was generated Cluster status Current Nodes Quorum Tr...

Page 102: ... again If you edit a resource that is online the changes you made do not take effect until the resource is taken offline and brought online again After a cluster resource is enabled the load and unload scripts take care of starting and stopping the services or mounting and dismounting the volumes that are configured in the resource You start services and mount devices by onlining the resource You ...

Page 103: ...g message is displayed No longer a member of cluster clustername 8 7 Joining a Node to the Cluster You can add the node back to the cluster so that the node is again visible to other servers in the cluster by joining the cluster 1 Log in as the root user to the server that you want to join the cluster then enter the following at a terminal console prompt cluster join 8 8 Configuring the EVMS Remot...

Page 104: ...maintenance mode from one cluster node puts the entire cluster in maintenance mode 1 Log in as the root user to a node in the cluster then enter the following at a terminal console prompt cluster maintenance on If the master server in the cluster is up disabling the cluster maintenance mode from one cluster node brings the entire cluster out of maintenance mode If the master server in the cluster ...

Page 105: ...he rename the pool is in a deactive state 5 Online the pool cluster resource Novell Cluster Services automatically updates the pool resource load and unload scripts to reflect the name change Also NSS automatically changes the Pool Resource object name in eDirectory 8 13 Moving a Cluster or Changing IP Addresses LDAP Server or Administrator Credentials for a Cluster Use the instructions in this se...

Page 106: ...er when you have a single LDAP server CONFIG_NCS_CLUSTER_DN cn svr1_oes2_cluster o context CONFIG_NCS_LDAP_IP 10 1 1 102 CONFIG_NCS_LDAP_PORT 636 CONFIG_NCS_ADMIN_DN cn admin o context CONFIG_NCS_ADMIN_PASSWORD password If you have multiple LDAP servers the syntax is slightly different The following lines are the content of a sample configuration file for a Novell Cluster Services cluster when you...

Page 107: ...Section 3 1 3 Configuration Requirements on page 34 Changing the IP Addresses of Cluster Resources Before you modify the server IP address for a server in a cluster you must change the IP addresses of all of the cluster resources that run on it 1 Offline the cluster resources whose IP addresses are changing 1a In iManager click Clusters then click Cluster Manager 1b Browse to locate and select the...

Page 108: ...mation in Novell Cluster Services and eDirectory with the new IP addresses You might also need to update the IP address information for the LDAP server and administrator credentials that the cluster uses in the new subnet 1 If the cluster is using a different LDAP server or administrator in the new IP subnet change the LDAP server IP address and administrator credentials for the cluster in the Nov...

Page 109: ...ge array and devices are not configured configure them before you install Novell Cluster Services 2 If necessary install OES 2 Linux and Novell Cluster Services including the latest Service Pack on the server using the same node name and IP address of the node that was previously in the cluster 3 If the Cluster object for the server is still present delete the object For information see Section 8 ...

Page 110: ...py init If you are converting a cluster from NetWare to Linux you must restart the cluster instead so that clstrlib ko is reloaded rcnovell ncs restart 7 Optional Continue with configuring the server for a different cluster by following the procedure outlined in Section 3 5 2 Installing Novell Cluster Services on an Existing OES 2 Linux Server on page 44 8 16 Creating or Deleting Cluster SBD Parti...

Page 111: ...5 Deleting a Non Mirrored Cluster SBD Partition on page 113 Section 8 16 7 Removing a Segment from a Mirrored Cluster SBD Partition on page 114 8 16 3 Creating a Non Mirrored Cluster SBD Partition If you did not create a cluster partition during the Novell Cluster Services installation on the first node of the cluster you can create one on it later by using the SBDUTIL utility opt novell ncs bin s...

Page 112: ...ion on page 113 Using SBDUTIL to Create a Mirrored Cluster SBD Partition 1 As the root user enter the following at the terminal console of a Linux cluster server sbdutil c n clustername d device_name d device_name Replace device_name with the name of the devices where you want to create the cluster partition and its mirror Use the EVMSGUI or EVMSN or EVMS tool to check the names of the devices if ...

Page 113: ...ck Save to save your changes 4 Exit evmsgui 5 Reboot all cluster nodes 8 16 5 Deleting a Non Mirrored Cluster SBD Partition You must delete an existing SBD partition for the cluster before you attempt to create or re create an SBD partition The existing SBD partition might have been created during the Novell Cluster Services installation or later by using the sbdutil 1 At a Linux terminal console ...

Page 114: ... Creating a Mirrored Cluster SBD Partition on page 112 7 Join the nodes to the cluster 8 16 7 Removing a Segment from a Mirrored Cluster SBD Partition You can remove a segment from a mirrored cluster SBD partition and keep the remaing SBD partition The software RAID definition remains so if you delete the remaing partition later you must delete the software RAID instead of simply deleting the pari...

Page 115: ... read command files that are used to issue commands to the cluster and retrieve resulting status Table 8 3 lists the cluster related virtual XML files and gives a brief description of each Table 8 3 Cluster Related Virtual XML Files Virtual XML Filename Description Config xml Provides the combined information from ClusterConfig xml NodeConfig xml ResourceConfig xml and PoolConfig xml ClusterConfig...

Page 116: ...script to issue node specific commands to the cluster and retrieve resulting node status and configuration information Cluster cmd Write then read command file used in conjunction with a Perl script to issue cluster specific commands to the cluster and retrieve resulting cluster status and configuration information Resource cmd Write then read command file used in conjunction with a Perl script to...

Page 117: ...on page 125 Section 9 8 Assigning Nodes to a Resource on page 127 Section 9 9 Configuring Resource Priorities for Load Order on page 127 Section 9 10 Changing the IP Address of a Cluster Resource on page 128 Section 9 11 Deleting Cluster Resources on page 128 Section 9 12 Additional Information for Creating Cluster Resources on page 130 9 1 Planning Cluster Maintenance When performing cluster main...

Page 118: ...sed Virtualization Host Environments To view the default templates in iManager 1 Start your Internet browser and enter the URL for iManager Cluster Resource Template OES 2 Linux Product AV Novell Archive and Version Services DHCP Novell Dynamic Host Configuration Protocol using an NSS pool Novell Dynamic Host Configuration Protocol using a Linux POSIX File System DNS Novell Domain Name System Gene...

Page 119: ...ter object of the cluster you want to manage 5 Click the New link 6 Specify Template as the resource type you want to create by clicking the Template radio button then click Next 7 In Cluster Resource Name specify the name of the template you want to create 8 If desired in Inherit from Template browse to the Cluster object and select the existing resource template in the Cluster container that you...

Page 120: ... IP address container name file system type and device 12b Edit or add the necessary commands to the script to monitor the resource on the server You can use the same commands that are used at the Linux terminal console The resource templates included with Novell Cluster Services for Linux include resource monitoring scripts that you can customize 12c Specify the default Monitor Script Timeout val...

Page 121: ...mation about cluster resource templates see Section 9 2 Creating Cluster Resource Templates on page 117 8 Select the Define Additional Properties check box then click Next 9 If you are creating a new cluster resource continue with Configuring a Load Script for a Cluster Resource on page 121 9 4 Configuring a Load Script for a Cluster Resource A load script is required for each resource service dis...

Page 122: ...an start other resource operations 7 If you are creating a new cluster resource continue with Section 9 5 Configuring an Unload Script for a Cluster Resource on page 122 9 5 Configuring an Unload Script for a Cluster Resource Depending on your cluster application or resource you can add an unload script to specify how the application or resource should terminate An unload script is not required by...

Page 123: ... Section 9 6 1 Configuring Resource Monitoring on page 123 Section 9 6 2 Example Monitoring Scripts on page 124 Section 9 6 3 Monitoring Services Critical to Clustering on page 125 9 6 1 Configuring Resource Monitoring Although Novell Cluster Services can detect a node failure it also has the ability to detect when an individual resource on a node has failed If you want Novell Cluster Services to ...

Page 124: ... in which case it again migrates to the next server in its Assigned Nodes list With resource monitoring the Start Failover and Failback Modes have no effect on where the resource migrates This means that a resource that has been migrated by the resource monitoring failure action does not migrate back fail back to the node it migrated from unless you manually migrate it back 9 Click the Scripts tab...

Page 125: ...sions are resumed after failover However non NCP users might experience service interruption and need to reconnect to the server after the failover Applications using server based storage must be restarted on the client even with NCP unless they are NCP reconnect aware Section 9 7 1 Understanding Cluster Resource Modes on page 125 Section 9 7 2 Viewing or Modifying the Start Failover and Failback ...

Page 126: ... resource the Resource Policies page should already be displayed You can start with Step 5 1 In iManager click Clusters and then click Cluster Options 2 Browse to locate and select the Cluster object of the cluster you want to manage 3 Select the box next to the resource whose Start Failover or Failback modes you want to view or edit then click the Details link 4 Click the Policies tab 5 Condition...

Page 127: ...elected servers to the Unassigned Nodes list 7 Click the up arrow and down arrow buttons to change the preferred failover order of the servers assigned to the resource or volume 8 Click Apply to save node assignment changes 9 9 Configuring Resource Priorities for Load Order Cluster resource priorities control the load order of a resource relative to other cluster resources on the same cluster node...

Page 128: ...ction 9 11 2 Deleting a Cluster Resource on a Non Master Node on page 129 9 11 1 Deleting a Cluster Resource on a Master Node We strongly recommend that when you need to delete a cluster resource that you do so only from the master node in the cluster If the resource cannot be migrated to the master node follow the procedure in Section 9 11 2 Deleting a Cluster Resource on a Non Master Node on pag...

Page 129: ...e resource 3 At the terminal console prompt on the non master node enter opt novell ncs bin ncs configd py init 4 Look at the file var opt novell ncs resource priority conf to verify that it has the same information REVISION and NUMRESOURCES as the file on the master node 5 Delete the resource on the non master node by using the appropriate storage management tool For shared NSS pools and volumes ...

Page 130: ...r Resources For information about creating cluster resources for shared storage on Linux see the following Table 9 3 Cluster Enabling Shared Storage 9 12 2 Creating Service Cluster Resources For information about creating cluster resources for various Linux services on your OES 2 Linux server refer to the clustering sections in the individual guides A list of the services is provided in Clustering...

Page 131: ... 12 3 Creating Virtual Machine Cluster Resources If you install Novell Cluster Services at the host level of an OES 2 Linux Xen server you can create cluster resources for the virtual machines For information see Section 12 2 Virtual Machines as Cluster Resources on page 182 ...

Page 132: ...132 OES 2 SP2 Novell Cluster Services 1 8 7 for Linux Administration Guide novdocx en 7 January 2010 ...

Page 133: ...ting NSS Pool and Its Volumes on page 144 Section 10 6 Adding Advertising Protocols on page 147 Section 10 7 Configuring a Load Script for the Shared NSS Pool on page 149 Section 10 8 Configuring an Unload Script for the Shared NSS Pool on page 150 Section 10 9 Configuring a Monitor Script for the Shared NSS Pool on page 150 Section 10 10 Mirroring and Cluster Enabling Shared NSS Pools and Volumes...

Page 134: ...e shared storage in a mixed cluster can cause data loss 10 1 3 Novell Storage Services In order to use NSS pools and volumes in cluster resources NSS must be installed and running on each server in the cluster You can use the Storage plug in for Novell iManager or the server based NSSMU NSS Management Utility tool to create and cluster enable a shared NSS pool and to create NSS volumes on those po...

Page 135: ...rver must be running even if users access volumes on the shared NSS pool only via other protocols WARNING Cross protocol file locking is required when using Novell CIFS or Novell AFP for data access to prevent possible data corruption that might occur from cross protocol access to files Beginning in OES 2 SP2 the NCP Cross Protocol File Lock parameter is enabled by default when you install NCP Ser...

Page 136: ...ation about Novell AFP for Linux see the OES 2 SP2 Novell AFP For Linux Administration Guide 10 2 Considerations for Working with Shared NSS Pools and Volumes in the Cluster Consider the following when working with shared NSS pools and volumes in the cluster When the pool cluster resource is brought online the pool is automatically activated by the resource load script You don t need to activate t...

Page 137: ...oves all the partitions on the device and all of the data stored on the device is lost Do not initialize devices that already contain data unless you intend to remove all of the data on the device To initialize a device 1 Start NSSMU by entering nssmu at the terminal console of the master node of the cluster 2 From the NSSMU main menu click Devices A list of devices appears in the Devices list 3 I...

Page 138: ... and password specify the tree information then click Login 3 In the left column locate Storage then click the Pools link 4 Enter a cluster server name or browse and select the Cluster object 5 Click the New link to open the New Pool wizard 6 Specify the new pool name then click Next 7 Select the check box next to the shared device where you want to create the pool then specify the size of the poo...

Page 139: ...rver name follows the format of clustername_poolname_W If the name does not comply with the 15 character maximum length the default name is shortened by removing characters from the left IP Address The IP address that you want to assign the virtual server To specify an IP address tab between the different entries no dot is required in the fields For example if the IP address is 192 168 1 1 type th...

Page 140: ...e On Creation option determines if the pool you are creating is to be activated as soon as it is created The Activate On Creation option is Yes enabled by default If you set the value to No you must manually activate the pool later before it can be used If the pool is cluster enabled activation is done automatically by when you bring the pool cluster resource online 7 The Cluster Enable on Creatio...

Page 141: ...to enable for data requests to this shared pool If Novell CIFS or Novell AFP are not installed and running selecting the CIFS or AFP check box has no effect NOTE On Linux Novell CIFS and Novell AFP are available beginning in OES 2 SP1 For OES 2 Linux and earlier Novell CIFS and Novell AFP are not available CIFS and AFP check boxes can be selected but CIFS and AFP functionality does not apply to Li...

Page 142: ...luster If all of the servers in the cluster fail you must repeat this manual mounting procedure when you recover the cluster and restart services You can create NSS volumes by using the Storage plug in to Novell iManager or the server based NSSMU tool For planning and management information see the OES 2 SP2 NSS File System Administration Guide Section 10 4 1 Using iManager to Create NSS Volumes o...

Page 143: ...rver in the cluster where the pool was created 2 Start NSSMU by entering nssmu at the terminal console of the cluster server where the pool was originally created and is currently mounted 3 From the NSSMU main menu select Volumes 4 On the Volumes page press Insert type a name for the new volume you want to create then press Enter Each shared volume in the cluster must have a unique name 5 Specify ...

Page 144: ...ure describes how to enable clustering for an existing pool and its volumes It assumes the following The device and pool are enabled as Shareable for Clustering The pool contains at least one volume The pool resides on the server where it and its volumes were created The pool and its volumes have Storage objects in the eDirectory tree where you are setting up the cluster If the objects are missing...

Page 145: ...d and its volumes should be dismounted Comment out or remove the volume s entry in the etc fstab file The load and unload scripts that are created when you cluster enable the pool will be responsible for mounting and dismounting the volume after the pool is cluster enabled 1 Start your Internet browser and enter the URL for iManager The URL is http server_ip_address nps imanager html Replace serve...

Page 146: ... available to AFP clients CIFS CIFS is the Windows networking protocol Selecting CIFS causes commands to be added to the pool resource load and unload scripts to activate the CIFS protocol on the cluster This lets you ensure that the cluster enabled pool you are creating is highly available to CIFS Samba clients IMPORTANT In OES 2 SP1 Linux the script is not modified properly See the OES 2 SP2 Rea...

Page 147: ...Internet browser and enter the URL for iManager The URL is http server_ip_address nps imanager html Replace server_ip_address with the IP address or DNS name of a server in the cluster that has iManager installed or with the IP address for Apache based services 2 Specify your username and password specify the tree information then click Login 3 Offline the cluster resource that you want to modify ...

Page 148: ...cripts IMPORTANT In OES 2 SP1 Linux the Novell CIFS commands are not automatically added to the load and unload scripts for the NSS pool resource when you add Novell CIFS as an advertising protocol on an existing cluster enabled pool You must run the cifsPool py script to add commands for Novell CIFS You can download the cifsPool py script file as a patch Novell Downloads Web site http download no...

Page 149: ... script below bin bash opt novell ncs lib ncsfuncs exit_on_error nss poolact SHPOOL43 exit_on_error ncpcon mount SHVOL43 252 exit_on_error add_secondary_ipaddress 10 10 10 43 exit_on_error ncpcon bind ncpservername NCS1_SHPOOL43_SERVER ipaddress 10 10 10 43 exit 0 If you change the name space for an existing shared volume by using NSSMU or the NSS plug in for iManager you must modify the load scri...

Page 150: ... exit 0 10 9 Configuring a Monitor Script for the Shared NSS Pool A cluster resource monitor script is automatically generated for the pool when you cluster enable it It is disabled by default To enable or disable monitoring see Section 9 6 Enabling Monitoring and Configuring the Monitor Script on page 123 After you enable monitoring you can modify the script as needed to suit your needs For infor...

Page 151: ...ration in which one side of the mirrored NSS volume is located in a separate building from the rest of the cluster hardware If a disaster occurs in one building data is still safe on the mirrored NSS volume in the other building Figure 10 1 Single Cluster with Mirrored NSS Volumes in Separate Buildings Figure 10 2 depicts a more complex hardware configuration in which two clusters are placed in se...

Page 152: ...er device to mirror the first partition to or let the mirroring software automatically create another partition of equal size on another device Novell Cluster Services should be installed and running prior to creating and mirroring partitions on shared storage When you create a Novell Cluster Services system that utilizes shared storage space a Storage Area Network or SAN it is important to rememb...

Page 153: ...Enter 3c Use the arrow keys to select the two shared devices that you want to contribute space to the RAID specify the amount of space to use then press Enter The software RAID device automatically inherits the Sharable for Clustering setting 4 Create a clustered NSS pool on the shared RAID device 4a Select Pools from the NSSMU main menu 4b Press Insert to create a new pool then create the cluster...

Page 154: ...he cluster enabled pool are mounted on an assigned server by entering volumes at the terminal console 2 Check the mirror status of the mirrored partition by entering mirror status at the terminal console of the server where the NSS pool on the mirrored partition is active After entering mirror status you should see a message indicating that mirror status is 100 percent or a message indicating that...

Page 155: ... order to specify a value that works for the application Changing the volume ID does not affect the ability to log in to back up or access the data However there is a brief disruption of service as the cluster resource is offlined and onlined to apply the script changes If you modify the volume ID for a volume in the cluster resource scripts make sure to do the following Volume IDs that you manual...

Page 156: ...156 OES 2 SP2 Novell Cluster Services 1 8 7 for Linux Administration Guide novdocx en 7 January 2010 ...

Page 157: ...you create shared disk partitions on shared storage storage area network or SAN Cluster Segment Manager CSM containers require Novell Cluster Services to be running on all nodes that access the CSM container Do not create or make to modifications to EVMS objects unless Novell Cluster Services is running You should carefully plan how you want to configure your shared storage prior to installing Nov...

Page 158: ...ities lock the EVMS engine which prevents other EVMS related actions from being performed This affects both NSS and Linux POSIX volume actions NSS and Linux POSIX volume cluster resources should not be migrated while any of the EVMS administration utilities are running Complete the tasks in this section to create a Linux POSIX volume and file system on a shared disk Section 11 2 1 Removing Existin...

Page 159: ...me 2h Click Save then click Save again to save your changes 3 Locate and delete any existing non CSM segment managers on the area you want to use for the shared volume such as NetWare Segment Manager or DOS Segment Manager 3a Click the Disks tab then locate and select the device that you want to use for the shared volume such as device sdb 3b Right click then select Remove segment manager from Obj...

Page 160: ...gain to save your changes 7 Continue with Section 11 2 3 Adding a Non CSM Segment Manager Container on page 160 11 2 3 Adding a Non CSM Segment Manager Container After creating a CSM container you can optionally add a non CSM segment manager container on top of the CSM container you just created The benefit of this is that other non CSM segment manager containers allow you to create multiple small...

Page 161: ...Creating an EVMS Volume 1 In evmsgui click Actions Create EVMS Volume 2 On the Create EVMS Volume page select the container you just created either the CSM container or the additional segment manager container then specify a name for the volume such as shvol44 3 Click Create then click OK 4 Click Save then click Save again to save your changes 5 Click the Volumes tab to verify that the EVMS volume...

Page 162: ...its contents to be moved or mounted on different servers in the cluster The cluster resource provides a way for clients to automatically reconnect to the volume regardless of which server is hosting it IMPORTANT You can create an NCP NetWare Core ProtocolTM volume on the shared Linux POSIX volume and cluster enable the shared NCP volume For information see Configuring NCP Volumes with Novell Clust...

Page 163: ...hen the page refreshes a list of existing cluster resources is displayed 3 Click New 4 Specify Resource as the resource type you want to create by clicking the Resource radio button then click Next 5 Specify the name of the resource you want to create This is the name of the resource for the cluster enabled Linux POSIX volume You can use any name You might apply a similar naming convention for Lin...

Page 164: ...r container that you created in Section 11 2 2 Creating a Cluster Segment Manager Container on page 159 the EVMS volume name that you created in Section 11 2 4 Creating an EVMS Volume on page 161 the file system type you made on the EVMS volume in Section 11 2 5 Making a File System on the EVMS Volume on page 161 the Linux path of the mount point where you want to mount the EVMS volume To continue...

Page 165: ...If the script does not complete within the specified time the resource becomes comatose Cluster Services marks the process as failed right after the defined timeout expires but it must wait for the process to conclude before it can start other resource operations 4 Continue with Section 11 3 4 Configuring an Unload Script for a Linux POSIX Volume Cluster Resource on page 165 11 3 4 Configuring an ...

Page 166: ...eturn status exit 0 2 Below the script editing area specify the Unload Script Timeout value then click Next The timeout value determines how much time the script is given to complete If the script does not complete within the specified time the resource becomes comatose when migrating to another node Cluster Services marks the process as failed right after the defined timeout expires but it must w...

Page 167: ...xit_on_error status_fs MOUNT_DEV MOUNT_POINT MOUNT_FS status the IP address exit_on_error status_secondary_ipaddress RESOURCE_IP exit 0 3 Below the script editing area specify the Monitor Script Timeout value then click Next The timeout value determines how much time the script is given to complete If the script does not complete within the specified time the resource becomes comatose Cluster Serv...

Page 168: ... not automatically move from node to node just because a node higher in the Assigned Nodes list rejoins the cluster unless the Failback mode is set to AUTO and the first node in the Assigned Nodes list rejoins the cluster To continue configuring a new cluster resource 1 Conditional Select the Resource Follows Master check box if you want to ensure that the resource runs only on the master node in ...

Page 169: ... clustername_poolname_server by using the EVMS volume name or the NCP volume name For example CLUS1_SHVOL44_SERVER or CLUS1_USERS_SERVER IMPORTANT Do not use periods in cluster resource names Novell clients interpret periods as delimiters If you use a space in a cluster resource name that space is converted to an underscore For example when you cluster enable an NSS pool a virtual NCP Server objec...

Page 170: ...s that currently exist on the EVMS volume are bound to the IP address If you enter multiple volume names use colons to delimit the names and put quotation marks around the list of names Examples For example to include all of the volumes on the SHVOL44 cluster resource where the IP address is 10 10 10 44 enter ncs_ncpserv py c CLUS1_SHVOL44_SERVER i 10 10 10 44 For example to specify a single volum...

Page 171: ...if you named the virtual server s Server object as CLUS1_SHVOL44_SERVER and the IP address of the cluster resource is 10 10 10 44 you should see the following new lines in the script define NCP server name NCP_SERVER CLUS1_SHVOL44_SERVER define resource IP address RESOURCE_IP 10 10 10 44 unbind the NCP volume ignore_error ncpcon unbind ncpservername NCP_SERVER ipaddress RESOURCE_IP 11 4 2 Using iM...

Page 172: ...add the following lines define NCP server name NCP_SERVER CLUS1_SHVOL44_SERVER define resource IP address RESOURCE_IP 10 10 10 44 unbind the NCP volume ignore_error ncpcon unbind ncpservername NCP_SERVER ipaddress RESOURCE_IP 11 5 Sample Scripts for a Linux POSIX Volume Cluster Resource The scripts in this section are based on the sample values in the following table Make sure to replace the sampl...

Page 173: ... Volume Cluster Resource on page 176 MOUNT_DEV dev evms container_name volume_name dev evms container_name shvol44 The Linux path for the EVMS volume you created such as shvol44 MOUNT_FS reiserfs ext3 The file system type you made on the EVMS volume MOUNT_POINT mnt mount_point mnt shvol44 The mount location for the EVMS volume you created This example shows a mount location with a directory named ...

Page 174: ...P address RESOURCE_IP 10 10 10 44 define the file system type MOUNT_FS ext3 define the container name container_name csm44 define the device MOUNT_DEV dev evms container_name shvol44 define the mount point MOUNT_POINT mnt shvol44 activate the container exit_on_error activate_evms_container container_name MOUNT_DEV NCS_TIMEOUT mount the file system ignore_error mkdir p MOUNT_POINT exit_on_error mou...

Page 175: ...10 10 10 44 define the file system type MOUNT_FS ext3 define the container name container_name csm44 define the device MOUNT_DEV dev evms container_name shvol44 define the mount point MOUNT_POINT mnt shvol44 unmount the volume sleep 10 if not using SMS for backup please comment out this line exit_on_error umount_fs MOUNT_DEV MOUNT_POINT MOUNT_FS del the IP address ignore_error del_secondary_ipaddr...

Page 176: ...f the Linux User Management service exit_on_error namcd status exit 0 11 6 Expanding EVMS Volumes on Shared Disks As your storage needs increase it might become necessary to add more disk space or drives to your shared storage system EVMS provides features that allow you to expand or move existing volumes The two supported methods for creating additional space for an existing volume are Section 11...

Page 177: ... selecting Unmount 3 Add a larger disk to the CSM container 3a In evmsgui click Actions select Create then click Container 3b Select the Cluster Segment Manager then click Next 3c Select the larger disk you want to move the volume to The entire disk is used for the expansion so you must select a disk that does not have other volumes on it 3d Provide the same settings information name type Private ...

Page 178: ...SIX volume resource goes comatose you must verify that the volume is not mounted on any node in the cluster before bringing the resource online again Failure to do so might result in corruption WARNING To avoid corruption make sure the Linux POSIX volume in a comatose resource is dismounted from any node before attempting to online it 11 8 2 Cluster Services Must Be Running When Using EVMS Novell ...

Page 179: ...mplete the following tasks to configure the behavior of the cluster resource you just created Assigning Nodes to a Resource on page 127 Configuring Resource Priorities for Load Order on page 127 For information on managing the cluster see Chapter 8 Managing Clusters on page 97 IMPORTANT You can create an NCP volume on the shared Linux POSIX volume and cluster enable the shared NCP volume For infor...

Page 180: ...180 OES 2 SP2 Novell Cluster Services 1 8 7 for Linux Administration Guide novdocx en 7 January 2010 ...

Page 181: ...nt cluster virtualization scenarios are possible only those outlined in the sections below have been tested Section 12 1 Prerequisites for Xen Host Server Environments on page 181 Section 12 2 Virtual Machines as Cluster Resources on page 182 Section 12 3 Virtual Machines as Cluster Nodes on page 190 Section 12 4 Virtual Cluster Nodes in Separate Clusters on page 191 Section 12 5 Mixed Physical an...

Page 182: ...n each cluster node and configure those virtual machines to be cluster resources You can then fail over or migrate virtual machine cluster resources entire virtual machines to different physical nodes in your cluster Figure 12 1 depicts how this setup might look Novell Cluster Services NCS is installed and running on the virtual machine VM host server Figure 12 1 Virtual Machines as Cluster Resour...

Page 183: ...Novell Cluster Services clustering for your virtual machines in the Xen host environment Refer to the Virtualization with Xen http www novell com documentation sles10 book_virtualization_xen data book_virtualization_xen html to find out how to set up XEN and XEN virtual machines To configure a virtual machine as a cluster resource 1 Open your Internet browser and enter the URL for iManager The URL...

Page 184: ...nformation see Section 9 7 Setting Start Failover and Failback Modes for Cluster Resources on page 125 and Section 9 8 Assigning Nodes to a Resource on page 127 If you are modifying the scripts continue with the following sections Configuring the Load Script on page 184 Configuring the Unload Script on page 185 Configuring the Monitor Script on page 187 Configuring the Load Script The virtual mach...

Page 185: ...rs similar to the following example bin bash opt novell ncs lib ncsfuncs filesystem settings export OCF_RESKEY_directory mnt OCF_RESOURCE_INSTANCE service settings export OCF_RESKEY_xmfile OCF_RESKEY_directory OCF_RESOURCE_INSTANCE start the service if n NCS_TOFROM then exit_on_error ocf_migrate_from Xen else exit_on_error ocf_start Xen fi return status exit 0 Configuring the Unload Script The vir...

Page 186: ...27 3 If you want to enable monitoring for the resource continue with Configuring the Monitor Script on page 187 Sample Xen_Template Unload Script The Xen_Template unload script appears similar to the following example bin bash opt novell ncs lib ncsfuncs filesystem settings export OCF_RESKEY_device dev evms OCF_RESOURCE_INSTANCE export OCF_RESKEY_directory mnt OCF_RESOURCE_INSTANCE export OCF_RESK...

Page 187: ...fault If you want to enable resource monitoring for a virtual machine cluster resource you must enable it prior to customizing the resource monitoring script Enabling Resource Monitoring on page 187 Viewing or Modifying the Monitor Script on page 188 Sample Xen_Template Monitor Script on page 188 Sample XenLive_Template Monitor Script on page 189 Enabling Resource Monitoring To enable resource mon...

Page 188: ...ack Viewing or Modifying the Monitor Script To view or customize the monitor script for the virtual machine s cluster resource 1 In iManager click Clusters then click Cluster Options 2 Browse and select the Cluster object 3 Select the check box next to the virtual machine resource that you created then click the Details link 4 Click the Scripts tab then click the Monitor Script link 5 View or edit...

Page 189: ...s lib ncsfuncs service settings export OCF_RESKEY_xmfile OCF_RESKEY_directory OCF_RESOURCE_INSTANCE status of the service exit_on_error ocf_status Xen return status exit 0 12 2 3 Setting Up Live Migration Live migrations use the XenLive template You can manually copy the virtual machine configuration files to the same path on each node of the cluster or you can set up an OCFS2 file system for the ...

Page 190: ...ine You then create either a NetWare or a Linux virtual machine on each physical machine and install and configure Novell Cluster Services on each virtual machine The combined virtual machines cluster nodes comprise one cluster IMPORTANT All virtual cluster nodes in the same cluster should be either Linux or NetWare Do not mix Linux and NetWare cluster nodes in the same cluster You can then create...

Page 191: ...t mix Linux and NetWare cluster nodes in the same cluster You can then create and configure cluster resources on each virtual cluster node and cluster The process for creating and configuring cluster resources on a virtual cluster node is the same as on a physical cluster node Figure 12 3 depicts using virtual cluster nodes in separate clusters Figure 12 3 Virtual Cluster Nodes in Separate Cluster...

Page 192: ...NetWare cluster nodes Figure 12 4 depicts how this setup might look Figure 12 4 Mixed Physical and Virtual Node Cluster Another method is to install Novell Cluster Services on physical NetWare nodes and create a separate cluster for each node You then install an OES 2 Linux Xen server physical machine and create NetWare virtual machines and install Novell Cluster Services on each virtual machine Y...

Page 193: ...virtualization_xen data book_virtualization_xen html guide For information on setting up virtualized NetWare see Installing Upgrading or Updating OES on a Xen based VM in the OES 2 SP2 Installation Guide guide For information on setting up virtualized OES 2 Linux see Installing Upgrading or Updating OES on a Xen based VM in the OES 2 SP2 Installation Guide guide Fibre Channel Switch NetWare Cluste...

Page 194: ...194 OES 2 SP2 Novell Cluster Services 1 8 7 for Linux Administration Guide novdocx en 7 January 2010 ...

Page 195: ...ge 198 Section 13 9 Could Not Delete This Resource Data_Server Error 499 on page 198 Section 13 10 Problem Authenticating to Remote Servers during Cluster Configuration on page 199 Section 13 11 Problem Connecting to an iSCSI Target on page 199 Section 13 12 Problem Deleting a Cluster Resource or Clustered Pool on page 199 Section 13 13 Version Issues on page 199 Section 13 14 Can t Find the Preve...

Page 196: ...ype Storage controller firmware revision SBD configuration Single or mirrored partition LAN configuration Network interface card hub or switch type Device driver name and revision Dedicated heartbeat or shared public LAN Server configuration Type memory and number of CPUs Software revisions and patches List of RPMs opt novell ncs bin ldncs file LAN packet trace Console log files Abend log files Se...

Page 197: ...ontains only users is not expected to return results however the Object Class search is still performed and benefits from having an index present The sub tree search performance issue is resolved in the eDirectory 8 8 x release with the addition of the AncestorID feature 13 4 A Device Name Is Required to Create a Cluster Partition If you are planning to work with shared disk NSS pools and volumes ...

Page 198: ...d When the Server Is Rebooted Linux In some environments a timing problem prevents the NDP user space application ndpapp from loading and in turn NSS cannot be loaded until the problem resolves itself You can increase the UDEV event handling limits to 1024 to circumvent this problem For instructions see NSS Takes Up to 10 Minutes to Load When the Server Is Rebooted Linux in the OES 2 SP2 NSS File ...

Page 199: ...cting to an iSCSI target go to Mass Storage over IP Networks iSCSI http www novell com documentation sles10 sles_admin data cha_inst_system_iscsi html in the SUSE Linux Enterprise Server 10 Administration Guide 13 12 Problem Deleting a Cluster Resource or Clustered Pool If you attempt to delete a cluster resource or clustered pool without first offlining the cluster resource deletion errors occur ...

Page 200: ...he file For example you might enter the wrong case when performing the following cluster management tasks In the YaST Software Installer you type the cluster name and context when adding a node to an existing cluster instead of browsing to choose the information IMPORTANT In OES 2 SP1 and later releases the installer has been modified to make sure that the information that is added to the etc opt ...

Page 201: ...omain Services for Windows on page 32 OpenWBEM on page 32 SLP on page 33 eDirectory Configuration on page 34 Cluster Services Installation Administrator on page 34 Cluster Services Management Administrator on page 35 14 2 Ports For each cluster you can specify the port used for cluster communication The default cluster port number is 7023 and is automatically assigned when the cluster is created Y...

Page 202: ...guration For information see Section 7 4 Configuring Cluster Event E Mail Notification on page 95 14 4 Log Files Look for events in the NCS Event Log in the Clusters plug in to Novell iManager 2 7 2 or later Log files for cluster resources are written to the var run ncs directory Output log files are named with the resource name load or unload to indicate which script and the out extension For exa...

Page 203: ...minal console commands and gives a brief description of each command Table A 1 Cluster Console Commands Cluster Console Command Description ALERT resource YES NO The resource start failover or failback mode is set to manual and the resource is waiting to start on a node or to fail over or fail back to another node Specify the resource name in the command and use the YES or NO switch to specify whe...

Page 204: ...uspend the cluster heartbeat while hardware maintenance is being performed This is useful if you want to reset or power down the LAN switch without bringing the cluster servers down Turning this switch on from one cluster server puts the entire cluster in maintenance mode MIGRATE resource node name Migrates the specified resource from the node where it is currently running to the node you specify ...

Page 205: ...running in the cluster before resources will start to load HEARTBEAT is the amount of time in seconds between transmits for all nodes in the cluster except the master TOLERANCE is the amount of time in seconds that the master node gives all other nodes in the cluster to signal that they are alive MASTERWATCHDOG is the amount of time in seconds between transmits for the master node in the cluster S...

Page 206: ...a before a cluster is installed anywhere in a tree This allows container administrators or non administrator users to install a cluster in a container in that same tree without needing full administrator rights for the tree You need to extend the schema only one time in the tree where you will be installing clusters To extend the schema the tree administrator user modifies the following schema fil...

Page 207: ...for clustering You can initialize the device by using NSSMU or the Storage plug in to iManager In OES 2 SP2 the NSS utility called ncsinit is available for initializing a device and setting it to a shared state Syntax sbdutil c f i v s d device d device p partition n cluster_name Enter the command at a terminal console prompt as the root user or any other user in admin or ncsgroup Options c Create...

Page 208: ...option Use the EVMSGUI or EVMSN or EVMS tool to find the names of the devices you want to use and only use the base leaf names such as sdb or mpathd with the d option p partition Use this partition instead of searching for one n cluster_name Use this cluster name instead of getting it from cluster xml s Assume the device is a shared disk system instead of checking cluster xml An optional partition...

Page 209: ... ClusterCliUtils pm Cluster CLI engine opt novell ncs bin Snapins ClusterCliSnapin_Alert pm Cluster CLI command opt novell ncs bin Snapins ClusterCliSnapin_Down pm Cluster CLI command opt novell ncs bin Snapins ClusterCliSnapin_Info pm Cluster CLI command opt novell ncs bin Snapins ClusterCliSnapin_Join pm Cluster CLI command opt novell ncs bin Snapins ClusterCliSnapin_Leave pm Cluster CLI command...

Page 210: ...ates opt novell ncs bin sbdutil SBD partition utility opt novell ncs bin uldncs not yet implemented Unloads NCS used by the Cluster Stop command opt novell ncs lib ncs 1 0 0 so EVMS snap in opt novell ncs lib ncsfuncs Shared library commands for load unload scripts opt novell ncs schema ncpserver preldif NCS schema file opt novell ncs schema ncpserver ldif NCS schema file opt novell ncs schema ncs...

Page 211: ... Kernel module Replace kernel_dir with the current kernel directory Use uname r to see the current kernel directory lib modules kernel_dir ncs gipc ko Kernel module Replace kernel_dir with the current kernel directory Use uname r to see the current kernel directory lib modules kernel_dir ncs sbd ko Kernel module Replace kernel_dir with the current kernel directory Use uname r to see the current ke...

Page 212: ...212 OES 2 SP2 Novell Cluster Services 1 8 7 for Linux Administration Guide novdocx en 7 January 2010 ...

Page 213: ...5 SP7 or later Two node cluster with OES 2 license Yes Yes Up to 32 nodes in a single cluster Yes Yes Guest servers on Xen VMs as cluster nodes Yes Yes Business Continuity Clustering support BCC 1 2 for OES 2 SP1 Linux and later BCC 1 1 SP2 for NetWare 6 5 SP8 and later Administrator users The administrator user whose credentials you provide during the install is the cluster administrator The tree...

Page 214: ...ontainer Administrators on page 41 Yes the user who installs Novell Cluster Services must have schema extension rights Forward migration for Novell Cluster Services OES 1 SP2 Linux to OES 2 Linux or later Down cluster and rolling cluster upgrade are supported NetWare 6 5 SP6 to NetWare 6 5 SP7 or later Down cluster and rolling cluster upgrade are supported NetWare 6 0 to NetWare 6 5 SP7 or later D...

Page 215: ...all and before adding a second node to the cluster Yes during the install on the first server in the cluster Shared disks Fibre Channel SAN LUNs iSCSI SAN LUNs SCSI disks shared external drive arrays Fibre Channel SAN LUNs iSCSI SAN LUNs SCSI disks shared external drive arrays Cluster aware shared devices Yes requires using the EVMS Cluster Segment Manager to provide cluster awareness similar to N...

Page 216: ...le NCP volumes on Linux POSIX file systems as cluster resources Yes For information see Configuring NCP Volumes with Novell Cluster Services in the OES 2 SP2 NCP Server for Linux Administration Guide Not applicable Dynamic Storage Technology shadow volume pairs as cluster resources Yes by combining the load and unload scripts for shared NSS pools and managing the pair as a single cluster resource ...

Page 217: ... volumes on Linux POSIX file systems Yes Not applicable Novell AFP support for accessing files on shared NSS pools Yes in OES 2 SP1 Linux and later Yes Novell CIFS support for accessing files on shared NSS pools Yes in OES 2 SP1 Linux and later Cross protocol locking is not supported in OES 2 SP1 Yes with cross protocol locking Linux Samba CIFS support for accessing files on shared NSS pools on Li...

Page 218: ...ing For information see usr src linux Documentation bonding txt NIC teaming For information see NIC Teaming in the NW 6 5 SP8 TCP IP Administration Guide Multipath I O Device Mapper Multipath I O or third party MPIO solutions For information see Managing Multipath I O for Devices in the SLES 10 SP3 Storage Administration Guide Media Manager Multipath I O or third party MPIO solutions For informati...

Page 219: ...4 Table D 1 Comparison of Clustering Support for OES 2 Services on Linux and NetWare Service OES 2 NetWare OES 2 Linux Comments AFP Apple Filing Protocol Yes See Setting Up for Macintosh in the NW 6 5 SP8 AFP CIFS and NFS NFAP Administration Guide Yes for OES 2 SP1 Linux and later See Configuring AFP with Novell Cluster Services for an NSS File System in the OES 2 SP2 Novell AFP For Linux Administ...

Page 220: ...n the OES 2 SP2 Novell CIFS for Linux Administration Guide For information about converting a cluster resource from NetWare to Linux see Section 6 3 5 CIFS on page 68 DFS Novell Distributed File Services Volume location database VLDB Yes See Clustering Novell Distributed File Services in the NW 6 5 SP8 Novell Distributed File Services Administration Guide Yes See Clustering Novell Distributed File...

Page 221: ...ach one eDirectoryTM 8 8 No No eDirectory has its own redundancy built in multiple replicas and would not benefit from being clustered eDirectory Certificate Server Yes See Server Certificate Objects and Clustering in the Novell Certificate Server 3 3 1 Administration Guide http www novell com documentation crt33 Yes See Server Certificate Objects and Clustering in the Novell Certificate Server 3 ...

Page 222: ...r MySQL in the load and unload scripts Use a Linux path on a shared Linux POSIX file system for the MySQL database NCP Server Can be used in a cluster but is not clustered Can be used in a cluster but is not clustered See also Storage NCP volumes on Linux POSIX file systems NCP Server runs on each server node in the cluster It should have the same configuration on each node of the cluster NetStora...

Page 223: ...ring QuickFinder Server for Novell Cluster Services in the OES 2 Novell QuickFinder Server 5 0 Administration Guide For information about converting a cluster resource from NetWare to Linux see Section 6 3 11 QuickFinder Server on page 75 Storage DST shadow volume pairs Not applicable Yes See Configuring DST Shadow Volumes with Novell Cluster Services for Linux in the OES 2 SP2 Dynamic Storage Tec...

Page 224: ...n both platforms For information see Cross Platform Issues for NSS in the OES 2 SP2 NSS File System Administration Guide Tomcat Yes See Configuring Tomcat and Novell Cluster Services in the NW6 5 SP8 Novell Cluster Services 1 8 5 Resource Configuration Guide Yes native to Linux Use a similar procedure to the one outlined for Tomcat on NetWare but use the Linux locations and files You cannot conver...

Page 225: ...15 2009 on page 231 Section E 8 December 10 2009 on page 231 Section E 9 November 2009 OES 2 SP2 on page 232 Section E 10 July 30 2009 on page 235 Section E 11 June 22 2009 on page 237 Section E 12 June 5 2009 on page 238 Section E 13 May 6 2009 on page 240 Section E 14 March 3 2009 on page 242 Section E 15 February 13 2009 on page 243 Section E 16 February 3 2009 on page 244 Section E 17 January ...

Page 226: ...nitoring on page 123 Cluster Services marks the load unload or monitor process as failed right after the defined timeout expires but it must wait for the process to conclude before it can start other resource operations Location Change Section 11 3 3 Configuring a Load Script for a Linux POSIX Volume Cluster Resource on page 164 Section 11 3 4 Configuring an Unload Script for a Linux POSIX Volume ...

Page 227: ...pt on page 188 Cluster Services marks the monitor process as failed right after the defined timeout expires but it must wait for the process to conclude before it can start other resource operations Location Change File Location Information on page 195 This section is new Location Change Novell iManager 2 7 3 on page 29 The OES 2 SP2 Linux release contains a Clusters plug in that is required when ...

Page 228: ...n page 229 Section E 4 4 Troubleshooting Novell Cluster Services on page 229 Section E 4 5 What s New on page 229 E 4 1 Converting NetWare 6 5 Clusters to OES 2 Linux Location Change Section 11 4 Creating a Virtual Server Name for the Cluster Resource on page 169 This section is new Location Change SBD Devices Must Be Marked as Shareable for Clustering on page 60 This section is new Converting Net...

Page 229: ...r on page 48 For each SBD partition you must have at least 20 MB of free space on a device that has been initialized and marked as shareable for clustering Adding a Node to an Existing Cluster on page 50 Step 1 on page 50 is new If you have a shared disk system attached to your cluster servers an SBD partition is required and must be created before you configure the second node in the cluster Loca...

Page 230: ...ng Cluster Conversion on page 78 Step 11 was removed A cluster restart is no longer required For information see Section 2 2 8 Cluster Restart Is No Longer Required in a Rolling Cluster Upgrade on page 24 Finalizing the Cluster Conversion on page 88 Step 3 was revised A cluster restart is no longer required For information see Section 2 2 8 Cluster Restart Is No Longer Required in a Rolling Cluste...

Page 231: ...ge 232 Section E 8 2 Installing and Configuring Novell Cluster Services on OES 2 Linux on page 232 Section E 8 3 Managing Clusters on page 232 Section E 8 4 Troubleshooting Novell Cluster Services on page 232 Cluster Enabling an Existing NSS Pool and Its Volumes on page 144 The pool must contain at least one volume before you attempt to cluster enable the existing pool Using NSSMU to Create NSS Vo...

Page 232: ...e 78 Added the following instruction in Step 3 on page 78 You can do this by running NWConfig then selecting Product Options Directory Options install NDS Remove Directory Services from this server Location Change Section 3 3 2 Extending the Schema on page 41 The procedure has been modified to create a configuration file and use it with the opt novell ncs install ncs_install py script to extend th...

Page 233: ...l Cluster Services in a Xen Host Environment E 9 2 Converting NetWare 6 5 Clusters to OES 2 Linux E 9 3 Console Commands for Novell Cluster Services Location Change Section 12 1 Prerequisites for Xen Host Server Environments on page 181 This section is new Location Change Section 6 7 Customizing the Translation Syntax for Converting Load and Unload Scripts on page 87 This section is new Section 6 ...

Page 234: ...Settings for the multipath conf File on page 39 For no_path_retry a value of fail has the same meaning as a value of 0 and it is more easily understood failback immediate no_path_retry fail Location Change Section 8 16 3 Creating a Non Mirrored Cluster SBD Partition on page 111 Use the EVMSGUI or EVMSN or EVMS tool to check the names of the devices if needed and only use the base leaf names with t...

Page 235: ...eshooting Novell Cluster Services on page 237 Section E 10 8 What s New on page 237 E 10 1 Configuring Cluster Resources for Shared NSS Pools and Volumes E 10 2 Console Commands for Novell Cluster Services Location Change Section 2 2 What s New OES 2 SP2 on page 23 This section is new Location Change Section 10 2 Considerations for Working with Shared NSS Pools and Volumes in the Cluster on page 1...

Page 236: ...12 Using ConsoleOne Is Not Supported for Mixed Node Clusters on page 63 This section is new Do not use ConsoleOne when managing mixed node clusters ConsoleOne is not supported for cluster management on OES 2 Linux Section 6 8 Finalizing the Cluster Conversion on page 88 WARNING After you finalize the cluster conversion rollback to NetWare is not supported Location Change Cluster Services Installat...

Page 237: ...11 2 Managing Clusters Location Change Section 13 2 Diagnosing Cluster Problems on page 196 This section is new Section 13 9 Could Not Delete This Resource Data_Server Error 499 on page 198 This section is new Location Change Section 2 3 4 Attribute NCS GIPC Config Is No Longer Maintained on page 26 This section is new Location Change Section 6 1 11 Using Novell Remote Manager Is Not Supported in ...

Page 238: ... 2 Configuring Cluster Resources for Shared NSS Pools and Volumes E 12 3 Console Commands for Novell Cluster Services Location Change Section 7 3 2 Tolerance on page 94 Added examples for the Tolerance setting Location Change Section 10 5 Cluster Enabling an Existing NSS Pool and Its Volumes on page 144 Comment out or remove the volume s entry in the etc fstab file The load and unload scripts that...

Page 239: ...Location Change Section 3 1 4 Shared Disk System Requirements on page 36 The following statement was added for clarification IMPORTANT The cluster SBD partition is not required unless you have shared storage Section 3 5 1 Installing Novell Cluster Services during a OES 2 Linux Installation on page 42 Added clarification that creating an SBD is necessary only if the cluster has a shared disk system...

Page 240: ...ition on page 112 Added clarification that creating an SBD is necessary only if the cluster has a shared disk system Location Change Section 10 6 Adding Advertising Protocols on page 147 Step 9a was modified to clarify that you can specify a different name for the Novell CIFS Server only when you create the share Use the CIFS iManager plug in to manage the name of existing CIFS shares Location Cha...

Page 241: ... the failover Client applications using server based storage must be restarted even with NCP unless the applications are NCP reconnect aware Location Change Section 6 1 9 Managing File Systems in Mixed Node Clusters on page 62 If you need to configure or reconfigure existing shared NSS pools and volumes or trustee assignments in a mixed node cluster you must temporarily remove all Linux cluster no...

Page 242: ...ces for Shared NSS Pools and Volumes Location Change Section 4 2 Upgrading OES 2 Clusters Rolling Cluster Upgrade on page 53 You can also add OES 2 SP1 Linux servers or later versions to the OES 2 Linux cluster and remove the old OES 2 Linux servers from the cluster Make sure that any services that are available only in OES 2 SP1 such as Novell CIFS or Novell AFP are set up with preferred nodes fo...

Page 243: ...configuring a Cluster Node on page 109 If you are converting a cluster from NetWare to Linux you must restart the cluster instead so that clstrlib ko is reloaded rcnovell ncs restart Location Change Section 2 3 3 Behavior Change for Adding a Node on page 25 IMPORTANT A Novell Cluster Services patch is available in the patch channel and on the Novell Downloads Web site http www novell com downloads...

Page 244: ...g Cluster Resources for Shared NSS Pools and Volumes Location Change Section 6 2 2 NSS File System Migration to NCP Volumes or Linux POSIX File Systems on page 64 This section is new Table 6 1 Guidelines for Converting Service Cluster Resources from NetWare to Linux on page 65 Added a link to the eDirectory caveat Section 6 6 Translation of Cluster Resource Scripts for Mixed NetWare and Linux Clus...

Page 245: ...7 Section E 18 7 Console Commands for Novell Cluster Services on page 247 Section E 18 8 Converting NetWare 6 5 Cluster to OES 2 Linux on page 248 Section E 18 9 Installing Novell Cluster Services on OES 2 Linux on page 248 Section E 18 10 Managing Clusters on page 249 Section E 18 11 Overview of Novell Cluster Services on page 249 Section E 18 12 Troubleshooting Novell Cluster Services on page 24...

Page 246: ...28 Added procedures for deleting cluster resources on the master node and the non master node Location Change Section 11 8 Known Issues for Working with Cluster Resources for Linux POSIX Volumes on page 178 This section is new Location Change Section 10 3 Creating NSS Shared Disk Partitions and Pools on page 137 Added information about using Novell CIFS for Linux and Novell AFP for Linux when clus...

Page 247: ...ion Change Chapter 12 Configuring Novell Cluster Services in a Xen Virtualization Environment on page 181 IMPORTANT All templates except Xen and XenLive are valid in guest servers DomU in the virtualization environment Only the Xen and XenLive templates can be used in the OES 2 Linux Xen host environment that is in Dom0 but not in DomU Section 12 2 Virtual Machines as Cluster Resources on page 182...

Page 248: ...Directory 8 8 on page 29 If the eDirectoryTM administrator username or password contains special characters such as and so on make sure to escape each special character by preceding it with a backslash when you enter credentials NCP Server for Linux on page 31 This section is new Novell AFP for Linux on page 32 This section is new Novell CIFS for Linux on page 32 This section is new SLP on page 33...

Page 249: ...e used to modify the administrator user or to modify the password of the existing administrator user The procedure has been updated for clarity Location Change Section 1 1 Why Should I Use Clusters on page 15 This section is new Section 1 4 Clustering for High Availability on page 16 This scenario was relocated from Section 1 2 Benefits of Novell Cluster Services on page 15 Section 1 5 Shared Disk...

Page 250: ... Volumes Location Change Section 2 3 What s New OES 2 SP1 on page 25 This section is new Location Change Section 10 1 Planning for Shared NSS Pools and Volumes on page 133 This section is new Section 10 2 Considerations for Working with Shared NSS Pools and Volumes in the Cluster on page 136 This section is new Section 10 3 1 Initializing Shared Devices on page 137 This section is new Section 10 3...

Page 251: ...following additional changes were made Section 10 11 Deleting NSS Pool Cluster Resources on page 154 This section is new Location Change Section 11 1 Requirements for Shared Linux POSIX Volumes on page 157 This section is new Section 11 2 Creating Linux POSIX Volumes on Shared Disks on page 158 Procedures were corrected Section 11 5 Sample Scripts for a Linux POSIX Volume Cluster Resource on page ...

Page 252: ...d OES 2 Linux on page 55 This section is new Section 6 1 Guidelines for Converting Clusters from NetWare to OES 2 Linux on page 59 This section is new Location Change Chapter 8 Managing Clusters on page 97 This section was edited for clarity Section 8 2 Monitoring Cluster and Resource States on page 99 This section was edited for clarity Section 8 5 Onlining and Offlining Loading and Unloading Clu...

Page 253: ...er You cannot install Novell Cluster Services by going directly to the yast2 ncs option at the command line A one node cluster can be configured without an SBD split brain detector However for adding a second node in the existing cluster without SBD you need additional pre configuration of creating the SBD partition on the shared disk by using sbdutil on the first node Configuring an Unload Script...

Page 254: ...254 OES 2 SP2 Novell Cluster Services 1 8 7 for Linux Administration Guide novdocx en 7 January 2010 ...

Reviews: