Novell OPEN ENTERPRISE SERVER CLUSTER SERVICES 1.8.2 - ADMINISTRATION Скачать руководство пользователя страница 11

Overview

11

no

vd

ocx (

E

NU)

  

29

 Ja
nua
ry 
200
7

Web Site A moves to Web Server 2 and Web Site B moves to Web Server 3. IP addresses and 
certificates also move to Web Server 2 and Web Server 3.

When you configured the cluster, you decided where the Web sites hosted on each Web server would 
go should a failure occur. In the previous example, you configured Web Site A to move to Web 
Server 2 and Web Site B to move to Web Server 3. This way, the workload once handled by Web 
Server 1 is evenly distributed.

When Web Server 1 failed, Novell Cluster Services software

Š

Detected a failure.

Š

Remounted the shared data directories (that were formerly mounted on Web server 1) on Web 
Server 2 and Web Server 3 as specified.

Š

Restarted applications (that were running on Web Server 1) on Web Server 2 and Web Server 3 
as specified.

Š

Transferred IP addresses to Web Server 2 and Web Server 3 as specified.

In this example, the failover process happened quickly and users regained access to Web site 
information within seconds, and in most cases, without having to log in again.

Now suppose the problems with Web Server 1 are resolved, and Web Server 1 is returned to a 
normal operating state. Web Site A and Web Site B will automatically fail back, or be moved back to 
Web Server 1, and Web Server operation will return back 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 
either of the other servers in the cluster. You might want to do this to upgrade or perform scheduled 
maintenance on Web Server 1, or just to increase performance or accessibility of the Web sites.

1.3  Cluster Configuration

Typical cluster configurations normally include a shared disk subsystem connected to all servers in 
the cluster. The shared disk subsystem can be connected via high-speed fibre channel cards, cables, 
and switches, or it can be configured to use shared SCSI or iSCSI. If a server fails, another 
designated server in the cluster automatically mounts the shared disk directories previously mounted 
on the failed server. This gives network users continuous access to the directories on the shared disk 
subsystem.

Содержание OPEN ENTERPRISE SERVER CLUSTER SERVICES 1.8.2 - ADMINISTRATION

Страница 1: ...ocx ENU 29 January 2007 OES Novell Cluster Services 1 8 2 Administration Guide for Linux Open Enterprise Server A p r i l 2 0 0 7 N O V E L L C L U S T E R S E R V I C E S TM 1 8 2 A D M I N I S T R A...

Страница 2: ...e 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 law...

Страница 3: ...d NCP are trademarks of Novell Inc Novell is a registered trademark of Novell Inc in the United States and other countries Novell Authorized Reseller is a Service mark of Novell Inc Novell Cluster Ser...

Страница 4: ...novdocx ENU 29 January 2007...

Страница 5: ...x Nodes to Your NetWare Cluster 23 3 6 3 Mixed NetWare and Linux Clusters 24 3 6 4 Finalizing the Cluster Conversion 26 3 7 Setting Up Novell Cluster Services 27 3 7 1 Creating NSS Shared Disk Partiti...

Страница 6: ...g to an iSCSI Target 57 4 6 2 Adding a Node That Was Prevously in the Cluster 58 4 6 3 Cluster Maintenance Mode 58 4 6 4 Shutting Down Linux Servers When Servicing Shared Storage 58 4 6 5 Preventing C...

Страница 7: ...uster Services Feedback We want to hear your comments and suggestions about this manual and the other documentation included with this product Please use the User Comments feature at the bottom of eac...

Страница 8: ...8 OES Novell Cluster Services 1 8 2 Administration Guide for Linux novdocx ENU 29 January 2007...

Страница 9: ...ssignment and reassignment of server storage on an as needed basis The ability to automatically notify administrators through e mail of cluster events and cluster state changes 1 2 Product Benefits No...

Страница 10: ...servers in the cluster The following figure depicts how this setup might look Figure 1 1 Three Server Cluster During normal cluster operation each server is in constant communication with the other se...

Страница 11: ...lems with Web Server 1 are resolved and Web Server 1 is returned to a normal operating state Web Site A and Web Site B will automatically fail back or be moved back to Web Server 1 and Web Server oper...

Страница 12: ...e channel provides the best performance you can also configure your cluster to use shared SCSI or iSCSI The following figure shows how a typical shared SCSI cluster configuration might look Figure 1 4...

Страница 13: ...one local disk device Novell Cluster Services software running on each Linux server in the cluster A shared disk subsystem connected to all servers in the cluster optional but recommended for most co...

Страница 14: ...14 OES Novell Cluster Services 1 8 2 Administration Guide for Linux novdocx ENU 29 January 2007...

Страница 15: ...ce for the SBD partition from a list rather than entering it manually See Section 3 5 Installing Novell Cluster Services on page 18 Some iManager cluster option names and locations have changed to mak...

Страница 16: ...16 OES Novell Cluster Services 1 8 2 Administration Guide for Linux novdocx ENU 29 January 2007...

Страница 17: ...e host bus adapters HBAs for each cluster node should be identical 3 2 Software Requirements Novell Cluster Services is installed as part of the OES installation OES must be installed and running on e...

Страница 18: ...ators http www novell com documentation iscsi1_nak iscsi data bswmaoa html bt8cyhf for more information 3 4 Rules for Operating a Novell Cluster Services SAN When you create a Novell Cluster Services...

Страница 19: ...ger is required to configure and manage Novell Cluster Services and must be installed on at least one server 4 Continue through the installation process until you reach the Installation Settings scree...

Страница 20: ...the SBD partition for greater fault tolerance select the device where you want to mirror to then click Next You can also mirror SBD partitions after installing Novell Cluster Services See Section 4 6...

Страница 21: ...1 Changing Existing NetWare Cluster Nodes to Linux Rolling Cluster Conversion on page 21 Section 3 6 2 Adding New Linux Nodes to Your NetWare Cluster on page 23 Section 3 6 3 Mixed NetWare and Linux...

Страница 22: ...onvert to Linux Any cluster resources that were running on the server should fail over to another server in the cluster 3 In eDirectory remove delete the Cluster Node object the Server object and all...

Страница 23: ...adding the new Linux cluster nodes you can remove the NetWare cluster node related objects as described in Step 3 on page 22 Failure to follow these recommendations might result in NetWare server aben...

Страница 24: ...a NetWare server If you migrate an NSS pool from a NetWare cluster server to a Linux cluster server it could take several minutes for volume trustee assignments to synchrozine after the migration Use...

Страница 25: ...ter 10 1 1 175 IGNORE_ERROR NUDP ADD BCCP_Cluster 10 1 1 175 IGNORE_ERROR add secondary ipaddress 10 1 1 175 IGNORE_ERROR HTTPBIND 10 1 1 175 KEYFILE SSL CertificateIP IGNORE_ERROR set allow ip addres...

Страница 26: ...MES_SERVER ipaddress 10 1 1 180 exit 0 NSS Pool Resource Unload Script NetWare del secondary ipaddress 10 1 1 180 CLUSTER CVSBIND DEL BCC_CLUSTER_HOMES_SERVER 10 1 1 180 NUDP DEL BCC_CLUSTER_HOMES_SER...

Страница 27: ...ll_templates In addition to generating Linux cluster resource templates this command deletes all NetWare cluster resource templates Because of this use this command only after all nodes in the former...

Страница 28: ...e time it is created accept the default entry Yes and continue with Step 6 If you want to cluster enable the pool at a later date change the default entry from Yes to No select Create and then go to C...

Страница 29: ...ith Cluster Enabling NSS Pools and Volumes on page 31 8 Specify the virtual server name pool IP address and advertising protocols then click Finish NOTE The CIFS and AFP check boxes can be checked but...

Страница 30: ...be mounted manually on individual servers after they are up Using iManager 1 Start your Internet browser and enter the URL for iManager The URL is http server_ip_address nps imanager html Replace ser...

Страница 31: ...to be mounted manually For this reason volumes that aren t cluster enabled should be in separate pools that are not cluster enabled If you want each cluster enabled volume to be its own cluster resour...

Страница 32: ...ed to activate the pool at the server console If you delete a cluster enabled volume Novell Cluster Services automatically removes the volume mount command from the resource load script If you delete...

Страница 33: ...tibility volumes If any of the volumes on your shared disk that you plan to use in your cluster are compatibility volumes you must delete them 1 At the Linux server console enter evmsgui 2 Click the V...

Страница 34: ...ave to save your changes Adding an Additional Segment Manager After creating a CSM container you can optionally add an additional non CSM segment manager container on top of the CSM container you just...

Страница 35: ...the volume to a larger disk Expanding a Volume to a Separate Disk 1 Unmount the file system for the volume you want to expand 2 In evmsgui click the Volumes tab right click the volume you want to exp...

Страница 36: ...Save exit evmsgui then restart evmsgui 8 Click the Volumes tab right click the volume then select Check Repair filesystem This will run the repair process and ensure no problems exist on the moved vol...

Страница 37: ...he Generic_FS_Template 8 Select the Define Additional Properties check box then continue with Configuring Traditonal Linux Volume Load Scripts below Configuring Traditonal Linux Volume Load Scripts Th...

Страница 38: ...configuration 5 Specify the Load Script Timeout value then click Apply to save the script or if you are creating a new cluster resource click Next The timeout value determines how much time the script...

Страница 39: ...nds to the script to unload or stop the resource on the server The generic file system template you specified in Step 7 above contains an unload script that you must edit to supply information specifi...

Страница 40: ...me exit_on_error ncs_dismount MOUNT_POINT del the IP address ignore_error del_secondary_ipaddress RESOURCE_IP deport the container exit_on_error deport_evms_container container_name return status exit...

Страница 41: ...ces Cluster resources must be created for every resource or application you run on servers in your cluster Cluster resources can include Web sites e mail servers databases and any other server based a...

Страница 42: ...resource you can add an unload script to specify how the application or resource should terminate An unload script is not required by all resources but is required for cluster enabled Linux partitions...

Страница 43: ...the cluster name or browse and select it check the box next to the resource whose start failover or failback modes you want to view or edit then click the Properties link 3 Click the General tab 4 Co...

Страница 44: ...k 2 Enter the cluster name or browse and select it then click the Properties button under the cluster name 3 Click the General tab In iManager the same page used to edit quorum membership and timeout...

Страница 45: ...r nodes in the cluster send a signal that they are alive to the master node every second Tolerance Tolerance specifies the amount of time the master node gives all other nodes in the cluster to signal...

Страница 46: ...d first and are available to users before less critical resources 1 In the left column of the main iManager page locate Clusters then click the Cluster Options link 2 Enter the cluster name or browse...

Страница 47: ...which it does by default In this case Postfix must be configured to use a different port You can do this by editing the etc postfix main cf file and changing the values for the inet_interfaces mydest...

Страница 48: ...Services 1 8 2 Administration Guide for Linux novdocx ENU 29 January 2007 3 9 Additional Information For additional information on managing Novell Cluster Services see Chapter 4 Managing Novell Cluste...

Страница 49: ...resource to the selected server If you select a resource and click Offline the resource will be unloaded from the server It will not load on any other servers in the cluster and will remain unloaded...

Страница 50: ...rvention Click the Comatose status indicator 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...

Страница 51: ...the Preview switch to view the resource load and unload script changes prior to finalizing the conversion Use the Commit switch without specifying a resource to finalize the conversion for all cluster...

Страница 52: ...in the command The node you migrate the resource to must be running in the cluster and also be in the resource s assigned nodes list OFFLINE resource Unloads the specified resource from the node wher...

Страница 53: ...MASTERWATCHDOC This is the amount of time in seconds between transmits for the master node in the cluster SLAVEWATCHDOC This is the amount of time in seconds that the slave nodes give the master node...

Страница 54: ...the specified resource This includes the number of times the resource has been migrated or failed over to another server the resource state and the node where the resource is currently running VIEW D...

Страница 55: ...nd file used in conjunction with a PERL script to issue resource specific commands to the cluster and retrieve resulting resource status and configuration information NCS File Name and Path Purpose et...

Страница 56: ...ovell ncs bin adminfs Cluster management iManager and CLI opt novell ncs bin ldncs Loads NCS used byCluster Start command opt novell ncs bin ncs configd py Cluster configuration daemon opt novell ncs...

Страница 57: ...es kernel_dir ncs crm 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 css ko Kernel module Replace kern...

Страница 58: ...ge 50 for more information If the master server in the cluster goes down while the cluster is in cluster maintenance mode you must enter cluster maintenance off on all remaining cluster servers to bri...

Страница 59: ...g Novell Cluster Services after the OES Installation on page 20 4 6 8 Device Name Required to Create a Cluster Partition If you are planning to work with shared disk NSS Pools and Volumes you must ins...

Страница 60: ...y exists enter sbdutil f at the server console of a Linux cluster server See Step 9 on page 20 for more information on SBD partitions If an SBD partition was created during the Novell Cluster Services...

Страница 61: ...alling Novell Cluster Services on page 18 It is now possible to choose a device for the SBD partition from a list rather than entering it in manually Sections covering IManager cluster configuration a...

Отзывы: