Practical Tips for Novell Cluster Services
- 1. Practical Tips for Novell ® Cluster Services Mark Robinson CTO Linux, NDS8 [email_address] Tim Heywood CTO, NDS8 [email_address]
- 29. What's new in SP1/2? Major rewrite of cluster code for SP2 Removed NetWare ® translation layer
- 43. XEN Cluster Architecture OCFS2 LUN DomU Files Cluster Node Xen Dom0 Cluster Node Xen Dom0 Cluster Node Xen Dom0 Resource DomU Linux iPrint Resource DomU Linux iPrint Resource DomU Linux iFolder Resource DomU Linux GroupWise Resource DomU NetWare pCounter Live Migrate Live Migrate
- 50. Node 3 (to be built) SUSE ® Linux Enterprise Server 10 SP3/OES2 SP2 combined iso
- 52. Add config to node vmx files disk.locking = "false" diskLib.dataCacheMaxSize = "0" scsi1.present = "TRUE" scsi1.sharedBus = "none" scsi1.virtualDev = "lsilogic" scsi1.pciSlotNumber = "35" scsi1:0.present = "TRUE" scsi1:0.fileName = "cluster-lun0.vmdk" scsi1:0.mode = "independent-persistent" scsi1:0.redo = "" scsi1:1.present = "TRUE" scsi1:1.fileName = "cluster-lun1.vmdk" scsi1:1.mode = "independent-persistent" scsi1:1.redo = "" vmware-vdiskmanager -c -s 100mb -a lsilogic -t 2 cluster-lun0.vmdk vmware-vdiskmanager -c -s 1gb -a lsilogic -t 2 cluster-lun1.vmdk
- 53. Our Environment Resource Server (Tree master, iManager, Installation services, AutoYaST, SMT) Storage VMware Shared Disks OES2 SP2 Nodes
- 54. Our Environment AutoYaST Third Node Resource Server (Tree master, iManager, Installation services, AutoYaST, SMT) Storage VMware Shared Disks OES2 SP2 Nodes
- 57. Drink coffee (or suitable non-caffeinated beverage) while server builds itself!
- 67. At the end of the install we will migrate an NSS resource to the new node with no additional configuration!
- 68. AutoYaST – New Cluster <ncs> <admin_context> cn=admin.o=novell </admin_context> <admin_password> novell </admin_password> <cluster_dn> cn=cluster,ou=resources,o=novell </cluster_dn> <cluster_ip> 10.0.0.100 </cluster_ip> <config_type> New Cluster </config_type> <ldap_ip_address> node IP,LDAP server IP </ldap_ip_address> <ldap_secure_port config:type="integer"> 636 </ldap_secure_port> <server_name> nodename </server_name> <start> Later </start> <sbd_dev> sdx </sbd_dev> <sbd_dev2> sdy </sbd_dev2> </ncs>
- 69. AutoYaST – Existing Cluster <ncs> <admin_context> cn=admin.o=novell </admin_context> <admin_password> novell </admin_password> <cluster_dn> cn=cluster,ou=resources,o=novell </cluster_dn> <cluster_ip></cluster_ip> <config_type> Existing Cluster </config_type> <ldap_ip_address> node IP,LDAP server IP </ldap_ip_address> <ldap_secure_port config:type="integer"> 636 </ldap_secure_port> <server_name> nodename </server_name> <start> Later </start> <sbd_dev></sbd_dev> <sbd_dev2></sbd_dev2> </ncs>
- 78. Use it to Create AutoYaST template using “Clone this system...”
- 84. IP address(es) Use diffuse to compare XML files Build the other nodes Use the XML created above
- 85. If not 100% right, whack it, modify XML and start build again
- 89. Link state vs arp monitoring – blades often cannot lose local link!
- 96. Will end up as Primary for DST pair Another NSS pool Use NSSMU (just because we can)
- 97. Will end up as Shadow for DST pair Combine them into one resource Delete resource for shadow
- 109. NFS access SHARED1 Virtual Server SHARED1 Volume NFSaccess Iface UID: 1012 Mis-dweeb UID: 1004 LUM NSS Rights Dweeb Gromit Wallace NFS FPC1 FPC2 FPC3 FPC4 FPC5 fpc.server.novell Mis UID: 1010 Oracle UID: 60003 Mis UID: 1010 Oracle UID: 60003 Iface UID: 1012 Mis UID: 1010 Oracle UID: 60003 Iface UID: 1012 Mis UID: 1010 Oracle UID: 60003 Iface UID: 1012
- 114. iFolder Create iFolder on POSIX /mnt/cluster/ifolder Run /opt/novell/ifolder3/bin/ifolder_cluster_setup on each node Copy /etc/sysconfig/novell/ifldr3_2_sp2 to nodes first NB: Only one iFolder resource may run on a node
- 115. DNS DNS must be on NSS as NCP server required for eDirectory ™ integration
- 124. Set namespace in load script /opt=ns=long Disable atime/diratime on volume Open nsscon
- 132. No cvb rebuild or device scan. These are not required on Linux as EVMS does it for you Console One
- 143. netstat – network communication status Check which ports services are listening on
- 149. Need to find ID on SAN. (Netapp uses ASCII!) Multipathing will show the ID as the multipath name Use friendly naming
- 151. sbdutil -v to view the current state of the SBD /opt/novell/ncs/bin/ncs-configd.py -init option to pull down load scripts, fix node names etc cifsPool.py to fix CIFS attributes (TID #7005192)
- 154. File Locations Cluster configuration file /etc/opt/novell/ncs/clstrlib.conf Load/Unload scripts /var/run/ncs (run from here)
- 156. File Locations Admin filesystem – virtual filesystem for NCS management /admin/Novell/Cluster Proc filesystem – virtual filesystem for Linux/NCS management /proc/ncs Cluster event log iManager
- 164. Can be made permanent by editing /opt/novell/ncs/bin/ldncs Find the SBD cat /proc/ncs/sbdlib
- 165. AdminFS Magic Two type of file in /admin/Novell/Cluster *.xml – contain cluster/state information
- 167. Known issues EVMS issue with no NSS Unpatched SP2 nodes without NSS cannot load SBD kernel moduled iFolder shutdown script Doesn't shut down components if names have been changed during configuration IP address problem Unpatched nodes can allow duplicate IP addresses on network Resources in NDS sync state Check replica rings/referrals
- 171. Unpublished Work of Novell, Inc. All Rights Reserved. This work is an unpublished work and contains confidential, proprietary, and trade secret information of Novell, Inc. Access to this work is restricted to Novell employees who have a need to know to perform tasks within the scope of their assignments. No part of this work may be practiced, performed, copied, distributed, revised, modified, translated, abridged, condensed, expanded, collected, or adapted without the prior written consent of Novell, Inc. Any use or exploitation of this work without authorization could subject the perpetrator to criminal and civil liability. General Disclaimer This document is not to be construed as a promise by any participating company to develop, deliver, or market a product. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. Novell, Inc. makes no representations or warranties with respect to the contents of this document, and specifically disclaims any express or implied warranties of merchantability or fitness for any particular purpose. The development, release, and timing of features or functionality described for Novell products remains at the sole discretion of Novell. Further, Novell, Inc. reserves the right to revise this document and to make changes to its content, at any time, without obligation to notify any person or entity of such revisions or changes. All Novell marks referenced in this presentation are trademarks or registered trademarks of Novell, Inc. in the United States and other countries. All third-party trademarks are the property of their respective owners.
Editor's Notes
- Explain about building combined iso
- Discuss flags for vmware-vdiskmanager – especially -t Disk types: 0 : single growable virtual disk 1 : growable virtual disk split in 2GB files 2 : preallocated virtual disk 3 : preallocated virtual disk split in 2GB files 4 : preallocated ESX-type virtual disk 5 : compressed disk optimized for streaming Discuss path to SAN virtual disks Mention different VMware versions
- Tell audience that the autoyast build may take a while – we'll concentrate on existing two nodes for most of the demo.
- Offer copy of autoyast profiles used in demos.
- Talk about creating the two pools and why. DEMO: Create pool1/vol1 Create pool1_shd/vol1_shd
- Talk about creating the two pools and why. DEMO: Create pool1/vol1 Create pool1_shd/vol1_shd
- Talk about creating the two pools and why. DEMO: Create pool1/vol1 Create pool1_shd/vol1_shd
- Talk about creating the two pools and why. DEMO: Create pool1/vol1 Create pool1_shd/vol1_shd
- Talk about creating the two pools and why. DEMO: Create pool1/vol1 Create pool1_shd/vol1_shd
- Talk about creating the two pools and why. DEMO: Create pool1/vol1 Create pool1_shd/vol1_shd
- Talk about creating the two pools and why. DEMO: Create pool1/vol1 Create pool1_shd/vol1_shd
- Talk about creating the two pools and why. DEMO: Create pool1/vol1 Create pool1_shd/vol1_shd
- Talk about creating the two pools and why. DEMO: Create pool1/vol1 Create pool1_shd/vol1_shd
- Talk about creating the two pools and why. DEMO: Create pool1/vol1 Create pool1_shd/vol1_shd
- Talk about creating the two pools and why. DEMO: Create pool1/vol1 Create pool1_shd/vol1_shd
- Talk about creating the two pools and why. DEMO: Create pool1/vol1 Create pool1_shd/vol1_shd
- Script logs are rolling logs now – show all operations on this node for a particular resource
- Script logs are rolling logs now – show all operations on this node for a particular resource
- Script logs are rolling logs now – show all operations on this node for a particular resource
- Script logs are rolling logs now – show all operations on this node for a particular resource
- Script logs are rolling logs now – show all operations on this node for a particular resource
- Script logs are rolling logs now – show all operations on this node for a particular resource
- Script logs are rolling logs now – show all operations on this node for a particular resource
- Script logs are rolling logs now – show all operations on this node for a particular resource