SlideShare a Scribd company logo
1 of 42
Download to read offline
High Availability with Novell                       ®



Cluster Services
for Novell Open Enterprise Server on Linux




Kent Boogert                 Charles Gonzales
kboogert@novell.com          cgonzales@novell.com
Agenda

    •   Storage Foundation

    •   High Availability Concepts

    •   Novell Cluster Services 1.8 Architecture
                        ®




    •   Installing NCS

    •   Cluster Resources

    •   NCS management tools
2   © Novell, Inc. All rights reserved.
Storage Foundation
Novell Open Enterprise Server
                               ®



    Storage Foundation
                                                                                                   Management
                                                                                                    Network

                    eDir                                                        NFS
                                          Samba
                                           PDC              NCP                                    iManager
                                           DFS                             Freeze
                                                                            thaw


              mon              Backup & restore / Replication / SRM                            L
                                                                                               A
                                                                                               N
                                                       Linux vfs (+efl)

                                                       NCP redirector FS                              CLI
                                                                                      CIMOM         scripting
                                                            Reiser                     SMI-S
                     NCS                   CFS               Ext3               NSS   schema



                                                                           NetWare
                                              EVMS                           MM                      Policy
                            I/O
                           fence                                                                     engine
                SMI-S client       Disk: FireWire, SCSI, FC, iSCSI, SATA, SAS



                                               Storage Network
4   © Novell, Inc. All rights reserved.
High Availability Concepts
Fault Tolerant Environment

                                          Server Cluster
                                                                                    Storage Array




                                                                                    Storage Array
                             Ethernet                      Fibre Channel
                                                                           Ctrl 1


                                                                                        LUN   LUN LUN …
                                                                                         0     1



                            LAN                                 SAN                 Storage Array
                           Fabric                              Fabric




6   © Novell, Inc. All rights reserved.
Eliminating Single Points of Failure

    •   Servers




7   © Novell, Inc. All rights reserved.
Fault Tolerant Environment

                                          Server Cluster
                                                                                    Storage Array




                                                                                    Storage Array
                             Ethernet                      Fibre Channel
                                                                           Ctrl 1


                                                                                       LUN 0   LUN 1 LUN …




                            LAN                                 SAN                 Storage Array
                           Fabric                              Fabric




8   © Novell, Inc. All rights reserved.
Eliminating Single Points of Failure

    •   Servers

    •   Local area network




9   © Novell, Inc. All rights reserved.
Fault Tolerant Environment

                                              Server Cluster
                                           Dual NICs                                    Storage Array




                                                                                        Storage Array
                              Ethernet                         Fibre Channel
                                                                               Ctrl 1


                                                                                            LUN   LUN LUN …
                                                                                             0     1



                             LAN                                    SAN                 Storage Array
                            Fabric                                 Fabric




10   © Novell, Inc. All rights reserved.
Eliminating Single Soints of Failure

     •   Servers

     •   Local area network

     •   Storage area network




11   © Novell, Inc. All rights reserved.
Fault Tolerant Environment

                                              Server Cluster
                                           Dual NICs     Dual                           Storage Array
                                                         HBAs



                                                                                        Storage Array
                              Ethernet                         Fibre Channel
                                                                               Ctrl 1

                                                                               Ctrl 2       LUN   LUN LUN …
                                                                                             0     1



                             LAN                                    SAN                 Storage Array
                            Fabric                                 Fabric




12   © Novell, Inc. All rights reserved.
Eliminating Single Points of Failure

     •   Servers

     •   Local area network

     •   Storage area network

     •   Cluster communication




13   © Novell, Inc. All rights reserved.
LAN Heartbeat Protocol
                                           Broadcast(s)
              LAN
                                                 Unicast(s) back     Unicast(s) back     Unicast(s) back
                                                   to master           to master           to master




                         0                                  1                  2                   3
                    Master                                Slave             Slave               Slave
                                             SYS                   SYS                 SYS                 SYS



              SAN




               Sharable for
                clustering




14   © Novell, Inc. All rights reserved.
SAN Split Brain Detection

              LAN
                                             Unicast(s) back           Unicast(s) back     Unicast(s) back
                                               to master                 to master           to master




                         0                            1                          2                   3
                    Master                          Slave                      Slave              Slave
                                           SYS                      SYS                  SYS                 SYS


                                                               SBD disk I/O
              SAN




                                                                        Cluster
                                                                    Partition (SBD)
               Sharable for                                           (Mirrored)
                clustering




15   © Novell, Inc. All rights reserved.
Novell Cluster Services 1.8 Architecture
      ®
Directory-based Configuration

     •   eDirectory for replicated cluster configuration
                                    ™




          –   NCS:NetWare Cluster          ®




               >   Name is misleading, but we haven't changed it

          –   NCS:Cluster Resource

          –   NCS:Resource Template

          –   NCS:NCP Server        ™




               >   Don't confuse with NCP Server

          –   NCS:Volume Resource


17   © Novell, Inc. All rights reserved.
eDirectory Object Relationships       ™

           Cluster object
        = kcb_cluster.novell                                       VIRTUAL NCP SERVER OBJECT
                                                                   =KCB_CLUSTER P69_SERVER
       NCS:NetWare Cluster object class
                                                                          NCP SERVER, SERVER
           NCS:Network Address :(cluster address)
                                                                          Network address = (resource address i.e. 69)
                                                                          NCS:Network cluster = kcb_cluster.novell
             CLUSTER NODE OBJECT                                          NCS:Volumes          = kcb_cluster_VOL1.novell
             = srv01_kcb_cluster.novell
                      NCS:NCP SERVER           object class
                       NCS:GIPC NODE Number                                 NCP SERVER OBJECT =
                       NCS:Network Address (Server Address)                      Srv01.novell
                       NCS:NCP Server
                                                                            NCP SERVER, SERVER object class
                                                                              network address: Server address
             CLUSTER ROOL RESOURCE OBJECT                                     NCS:NetWare Cluster = not set!!
             = P69_Server.kcb_cluster.novell                                  NCS:Volumes          = not set!!
                    NCS:Volume Resource object class
                        NCS:CRM Preferred Nodes
                        NCS:NCP Server = (KCS_CLUSTER_P69_SERVER.novell
                        NCS:Volumes    = (kcb_cluster_VOL1.novell)



            NCS:CLUSTER RESOURCES                                     NCP VOLUME OBJECT =
                                                                      kcb_cluster_VOL1.novell
               NCS:CRM Preferred Node
                                                                          VOLUME RESOURCE
            NCS:RESOURCE TEMPLATE
                                                                          HOSTSERVER = KCB_CLUSTER_P69_SERVER.novell
               NCS:CRM Preferred Node                                     HOSTSERVER RESOURCE name = VOL1
                                                                          Linux NCP Mount Point = NSS/media/nss/vol1

18   © Novell, Inc. All rights reserved.
Directory-based Configuration

     •   eDirectory for replicated cluster configuration
                                    ™




     •   Configuration is in cluster container
          –   Files to know who I am
               >   /etc/opt/novell/ncs/clstrlib.conf
               >   /etc/opt/novell/ncs/nodename


     •   Cluster configuration daemon (ncs-configd)
          –   Syncs configuration between LDAP and local files

     •   Cluster master declares current configuration

19   © Novell, Inc. All rights reserved.
Group Interprocess Communication
     (GIPC)

     •   Heartbeat, membership, and multi-cast protocols
          –   Common parameters and tuning concepts
                             panning clusterid 56867377
                             heartbeat rate_usecs 1000000
                             censustaker tolerance 8000000
                             sequencer master_watchdog 1000000
                             sequencer slave_watchdog 8000000
                             sequencer retrans_max 30



     •   Linux kernel module creates two raw sockets
          –   /proc/net/raw

     •   Linux Ethereal/Wireshark offers basic packet decoder
          –   Good for tracing master / slave heartbeat packets

20   © Novell, Inc. All rights reserved.
Split Brain Detector
     (SBD)

     •   Nodes coordinate membership via shared disk
          –   Linux kernel module does direct I/O

               >   e.g. /dev/sda1 or /dev/evms/cluster.sbd


     •   Nodes locate matching SBD given cluster name
          –   SBD partition is created at cluster creation

               >   Linux device special filename is unimportant


     •   See man sbdutil for Linux SBD command line utility
          –   e.g. sbdutil -v
21   © Novell, Inc. All rights reserved.
Cluster Resource Manager
     (CRM)

     •   Manages cluster-wide resource states
          –   Linux kernel module executes distributed FSM
     •   Cluster resource daemon (ncs-resourced)
          –   Forks once per resource action
          –   Forks again for load, unload, and monitor script
               >   stdout & stderr redirected to /var/opt/novell/log/ncs/*.out

          –   Returns script status to kernel
     •   Cluster resource scripts run from local files
          –   /bin/bash is default interpreter
          –   Shell functions in /opt/novell/ncs/lib/ncsfuncs
22   © Novell, Inc. All rights reserved.
Load and Unload Script Example

     Cluster Pool Resource Load script
     #!/bin/bash
     . /opt/novell/ncs/lib/ncsfuncs
     exit_on_error nss /poolact=AUTO_POOL_01
     exit_on_error ncpcon mount AUTO_VOL_012=253
     exit_on_error ncpcon mount AUTO_VOL_011=254
     exit_on_error add_secondary_ipaddress 151.155.189.131
     exit_on_error ncpcon bind --ncpservername=CGAO_SP3_PR6_CLUSTER_AUTO_POOL_01_SERVER
                  --ipaddress=151.155.189.131
     exit 0

     Cluster Pool Resource Unload script
     #!/bin/bash
     . /opt/novell/ncs/lib/ncsfuncs
     ignore_error ncpcon unbind --ncpservername=CGAO_SP3_PR6_CLUSTER_AUTO_POOL_01_SERVER
              --ipaddress=151.155.189.131
     ignore_error del_secondary_ipaddress 151.155.189.131
     ignore_error nss /pooldeact=AUTO_POOL_01
     exit 0
     Cluster Pool Resource Monitor script
       #!/bin/bash
       . /opt/novell/ncs/lib/ncsfuncs
       exit_on_error status_fs /dev/evms/AUTO_POOL_01 /opt/novell/nss/mnt/.pools/AUTO_POOL_01 nsspool
       exit_on_error status_secondary_ipaddress 151.155.189.131
       exit_on_error ncpcon volume AUTO_VOL_012
       exit_on_error ncpcon volume AUTO_VOL_011
       exit 0

23   © Novell, Inc. All rights reserved.
Cluster Resources

              Cluster documentation for most OES2 services
          –   AFP                                    –   mySQL
          –   Certificate Server                     –   NetStorage
          –   CIFS                                   –   QuickFinder
          –   DFS                                    –   Samba
          –   DHCP server                            –   DST (shadow volumes)
                >   On Linux Posix                   –   Linux Posix volumes
                >   On Novell Storage Services   ™
                                                     –   NCP volumes
                                                               ™


          –   DNS Server                             –   NSS
          –   iFolder 3.8
          –   iPrint

24   © Novell, Inc. All rights reserved.
Cluster Resource Templates

     •   ArkManager                        •   iPrint

     •   DHCP                              •   MySQL

     •   DNS                               •   Samba

     •   Generic_FS                        •   XenLive*

     •   Generic_IP                        •   Xen*

     •   iFolder



25   © Novell, Inc. All rights reserved.
Cluster Management Agent
     (CMA)

     •   Common cluster management interface
          –   Linux kernel module exports management files
               >   /admin/Novell/Cluster

     •   Enables iManager and cluster command line interface
          –   Built on Novell admin file system (adminfs)
                                           ®




     •   Direct access to XML formatted cluster state
          –   e.g. /admin/Novell/Cluster/ResourceState.xml
     •   See NCS for Linux Administration Guide section 8.17
          –   http://www.novell.com/documentation/oes2/clus_admin_lx/data/
              h4hgu4hs.html
26   © Novell, Inc. All rights reserved.
Handling Fault Conditions

     Split brain
          –   Server isolated from the LAN
     Fatal SAN error
          –   Server isolated from the SAN
     Poison pills
          –   panic
               >   /proc/sys/kernel/panic
          –   run eDirectory NCS:NodeIsolationScript
                                           ™




     hangcheck_timer



27   © Novell, Inc. All rights reserved.
Enterprise Volume Management System
     (EVMS)

     •   EVMS is an extensible host-based disk volume
         manager
          –   Extended by Novell via shared library plugins
                                           ®




               >   NetWare segment and cluster managers
                                   ®




     •   EVMS Cluster Extension (ECE)
          –   Manage any node's local plus shared storage
          –   Novell Cluster Services plugin
               >   http://evms.sourceforge.net/cluster

     •   Cluster awareness similar to NetWare media manager
          –   e.g. Provides safe online file system expansion
     •   Cluster / globally unique persistent device naming

28   © Novell, Inc. All rights reserved.
Installing Novell Cluster Services
                ®
Installing Novell Cluster Services     ®




     YaST based installation
          –   YaST2 select Open Enterprise Server
               >   OES Install and Configuration

     Local or remote
          –   Specify how NCS will access eDirectory via LDAP
                                                    ™




     New Cluster
          –   Enter cluster FDN, IP address and optional device for SBD
     Existing Cluster
          –   Enter cluster FDN




30   © Novell, Inc. All rights reserved.
Demo
Cluster Migrations?

     Rolling cluster conversion
          –   Cluster resources remain available
     Three simple steps
          –   Decommission NetWare on server   ®




          –   Install Novell Open Enterprise Server Linux onto server
                                           ®




          –   Add Linux server to existing cluster
     Rollback to NetWare
          –   Convert Linux server back to NetWare
     Sequential and parallel options
          –   Convert one-by-one or many at once


32   © Novell, Inc. All rights reserved.
Automatic Script Translation

     During cluster conversion...
          –   NetWare resources failover to Linux
                                 ®




          –   ncs-resourced translates scripts on-the-fly
     Translates NetWare commands
          –   e.g. cluster cvsbind add vserver 10.0.0.0
              ncpcon bind –ncpservername=vserver --ipaddress=10.0.0.0
     Committing the conversion
              cluster convert preview [all | (resource_name)]
              cluster convert commit
               >   script translation saved to eDirectory
                                                        ™



               >   update cluster revision number = 282


33   © Novell, Inc. All rights reserved.
Rules for Mixed Clusters

     •   Online storage reconfiguration is not supported

     •   Can't add NetWare nodes using deployment manager
                                           ®




     •   Resources created on Linux won't run on NetWare




34   © Novell, Inc. All rights reserved.
Cluster Management Tools

     cluster
          –   Perl-based command line

     iManager snapins
          –   Common interface for NetWare and Linux
                                             ®




     ncs-emaild
          –   User-space cluster event email daemon

     sbdutil
          –   Split brain detector utility

35   © Novell, Inc. All rights reserved.
Tips, Tricks, and Troubleshooting

     •   Getting output
          –   grep ncs- /var/log/messages

          –   grep CLUSTER /var/log/messages

          –   sbdutil -v

          –   cluster stats display




36   © Novell, Inc. All rights reserved.
Tips, Tricks, and Troubleshooting

     •   Getting MORE output
          –   /admin/Novell/Cluster/EventLog.xml
               >   echo -n “trace crm on” > /proc/ncs/cluster
               >   Can change in ldncs
          –   export NCSCONFIGD=1
          –   export NCSRESOURCED=1




37   © Novell, Inc. All rights reserved.
Tips, Tricks, and Troubleshooting

     •   SBD problems
          –   Use sbdutil -f to search for the clusters SBD


     •   Keep the server from rebooting after panic
          –   echo -n XX > /proc/sys/kernel/panic
                     »   Where XX is number of seconds to delay before rebooting
                     »   0 disables automatic rebooting after a panic

          –   echo -n x >/proc/sys/kernel/panic_on_oops
               >   When X is 0; disable reboot
               >   When X is 1; enable reboot




38   © Novell, Inc. All rights reserved.
More Tips and Tricks

     •   Resources going comatose
               >   Review /var/opt/novell/log/ncs/<resource>.load.out
               >   Review /var/opt/novell/log/ncs/<resource>.unload.out
          –   Script can be run outside of cluster. Be careful
          –   When lanched from resourced it may be a different environment
               >   e.g. path is different; therefore include full path to exe.



     •   Update schema prior to install
          –   Be sure to patch!!!!
          –   Yast2
               >   Open Enterprise Server section - Schema tool

     •   Maintenance mode
          –   cluster maintenance on/off
               >   Will ignore lose of heartbeat. Use when doing lan work, upgrades, etc.

39   © Novell, Inc. All rights reserved.
Particularly Hot

     •   Deleting nodes
          –   Delete all the server objects
          –   On master node execute
               >   cluster exec “/opt/novell/ncs/bin/ncs-configd.py -init”


     •   Console commands
          –   Cluster help
          –   Most non-configuration items can be done from command line




40   © Novell, Inc. All rights reserved.
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.

More Related Content

What's hot

Introduction to the xen cloud platform - xcp
Introduction to the xen cloud platform - xcpIntroduction to the xen cloud platform - xcp
Introduction to the xen cloud platform - xcpLorscheider Santiago
 
Palestra Técnica do CISL - Xen Cloud Platform - Implementando Nuvens Privadas...
Palestra Técnica do CISL - Xen Cloud Platform - Implementando Nuvens Privadas...Palestra Técnica do CISL - Xen Cloud Platform - Implementando Nuvens Privadas...
Palestra Técnica do CISL - Xen Cloud Platform - Implementando Nuvens Privadas...Lorscheider Santiago
 
OSS Presentation by Kevin Halgren
OSS Presentation by Kevin HalgrenOSS Presentation by Kevin Halgren
OSS Presentation by Kevin HalgrenOpenStorageSummit
 
Building a Two Node SLES 11 SP2 Linux Cluster with VMware
Building a Two Node SLES 11 SP2 Linux Cluster with VMwareBuilding a Two Node SLES 11 SP2 Linux Cluster with VMware
Building a Two Node SLES 11 SP2 Linux Cluster with VMwaregeekswing
 
Building High Availability Clusters with SUSE Linux Enterprise High Availabil...
Building High Availability Clusters with SUSE Linux Enterprise High Availabil...Building High Availability Clusters with SUSE Linux Enterprise High Availabil...
Building High Availability Clusters with SUSE Linux Enterprise High Availabil...Novell
 
Xen Cloud Platform at Build a Cloud Day at SCALE 10x
Xen Cloud Platform at Build a Cloud Day at SCALE 10x Xen Cloud Platform at Build a Cloud Day at SCALE 10x
Xen Cloud Platform at Build a Cloud Day at SCALE 10x The Linux Foundation
 
Windsor: Domain 0 Disaggregation for XenServer and XCP
	Windsor: Domain 0 Disaggregation for XenServer and XCP	Windsor: Domain 0 Disaggregation for XenServer and XCP
Windsor: Domain 0 Disaggregation for XenServer and XCPThe Linux Foundation
 
Performance characteristics of traditional v ms vs docker containers (dockerc...
Performance characteristics of traditional v ms vs docker containers (dockerc...Performance characteristics of traditional v ms vs docker containers (dockerc...
Performance characteristics of traditional v ms vs docker containers (dockerc...Boden Russell
 
Why Choose Xen For Your Cloud?
Why Choose Xen For Your Cloud? Why Choose Xen For Your Cloud?
Why Choose Xen For Your Cloud? Todd Deshane
 
LXC – NextGen Virtualization for Cloud benefit realization (cloudexpo)
LXC – NextGen Virtualization for Cloud benefit realization (cloudexpo)LXC – NextGen Virtualization for Cloud benefit realization (cloudexpo)
LXC – NextGen Virtualization for Cloud benefit realization (cloudexpo)Boden Russell
 
Nexenta NV4V v2.0 Features
Nexenta NV4V v2.0 FeaturesNexenta NV4V v2.0 Features
Nexenta NV4V v2.0 FeaturesEvan Powell
 
Ceph, Xen, and CloudStack: Semper Melior-XPUS13 McGarry
Ceph, Xen, and CloudStack: Semper Melior-XPUS13 McGarryCeph, Xen, and CloudStack: Semper Melior-XPUS13 McGarry
Ceph, Xen, and CloudStack: Semper Melior-XPUS13 McGarryThe Linux Foundation
 
GWAVACon 2013: Novell Open Enterprise Server Best Practices
GWAVACon 2013: Novell Open Enterprise Server Best PracticesGWAVACon 2013: Novell Open Enterprise Server Best Practices
GWAVACon 2013: Novell Open Enterprise Server Best PracticesGWAVA
 
FalconStor NSS Presentation
FalconStor NSS PresentationFalconStor NSS Presentation
FalconStor NSS Presentationrpsprowl
 

What's hot (20)

Cl309
Cl309Cl309
Cl309
 
Introduction to the xen cloud platform - xcp
Introduction to the xen cloud platform - xcpIntroduction to the xen cloud platform - xcp
Introduction to the xen cloud platform - xcp
 
Palestra Técnica do CISL - Xen Cloud Platform - Implementando Nuvens Privadas...
Palestra Técnica do CISL - Xen Cloud Platform - Implementando Nuvens Privadas...Palestra Técnica do CISL - Xen Cloud Platform - Implementando Nuvens Privadas...
Palestra Técnica do CISL - Xen Cloud Platform - Implementando Nuvens Privadas...
 
OSS Presentation by Kevin Halgren
OSS Presentation by Kevin HalgrenOSS Presentation by Kevin Halgren
OSS Presentation by Kevin Halgren
 
Building a Two Node SLES 11 SP2 Linux Cluster with VMware
Building a Two Node SLES 11 SP2 Linux Cluster with VMwareBuilding a Two Node SLES 11 SP2 Linux Cluster with VMware
Building a Two Node SLES 11 SP2 Linux Cluster with VMware
 
BSDcon Asia 2015: Xen on FreeBSD
BSDcon Asia 2015: Xen on FreeBSDBSDcon Asia 2015: Xen on FreeBSD
BSDcon Asia 2015: Xen on FreeBSD
 
Building High Availability Clusters with SUSE Linux Enterprise High Availabil...
Building High Availability Clusters with SUSE Linux Enterprise High Availabil...Building High Availability Clusters with SUSE Linux Enterprise High Availabil...
Building High Availability Clusters with SUSE Linux Enterprise High Availabil...
 
Xen Cloud Platform at Build a Cloud Day at SCALE 10x
Xen Cloud Platform at Build a Cloud Day at SCALE 10x Xen Cloud Platform at Build a Cloud Day at SCALE 10x
Xen Cloud Platform at Build a Cloud Day at SCALE 10x
 
Windsor: Domain 0 Disaggregation for XenServer and XCP
	Windsor: Domain 0 Disaggregation for XenServer and XCP	Windsor: Domain 0 Disaggregation for XenServer and XCP
Windsor: Domain 0 Disaggregation for XenServer and XCP
 
Openstorage Openstack
Openstorage OpenstackOpenstorage Openstack
Openstorage Openstack
 
Performance characteristics of traditional v ms vs docker containers (dockerc...
Performance characteristics of traditional v ms vs docker containers (dockerc...Performance characteristics of traditional v ms vs docker containers (dockerc...
Performance characteristics of traditional v ms vs docker containers (dockerc...
 
Why Choose Xen For Your Cloud?
Why Choose Xen For Your Cloud? Why Choose Xen For Your Cloud?
Why Choose Xen For Your Cloud?
 
LXC – NextGen Virtualization for Cloud benefit realization (cloudexpo)
LXC – NextGen Virtualization for Cloud benefit realization (cloudexpo)LXC – NextGen Virtualization for Cloud benefit realization (cloudexpo)
LXC – NextGen Virtualization for Cloud benefit realization (cloudexpo)
 
Nexenta NV4V v2.0 Features
Nexenta NV4V v2.0 FeaturesNexenta NV4V v2.0 Features
Nexenta NV4V v2.0 Features
 
110629 nexenta- andy bennett
110629   nexenta- andy bennett110629   nexenta- andy bennett
110629 nexenta- andy bennett
 
Ceph, Xen, and CloudStack: Semper Melior-XPUS13 McGarry
Ceph, Xen, and CloudStack: Semper Melior-XPUS13 McGarryCeph, Xen, and CloudStack: Semper Melior-XPUS13 McGarry
Ceph, Xen, and CloudStack: Semper Melior-XPUS13 McGarry
 
How swift is your Swift - SD.pptx
How swift is your Swift - SD.pptxHow swift is your Swift - SD.pptx
How swift is your Swift - SD.pptx
 
XS Boston 2008 XenLoop
XS Boston 2008 XenLoopXS Boston 2008 XenLoop
XS Boston 2008 XenLoop
 
GWAVACon 2013: Novell Open Enterprise Server Best Practices
GWAVACon 2013: Novell Open Enterprise Server Best PracticesGWAVACon 2013: Novell Open Enterprise Server Best Practices
GWAVACon 2013: Novell Open Enterprise Server Best Practices
 
FalconStor NSS Presentation
FalconStor NSS PresentationFalconStor NSS Presentation
FalconStor NSS Presentation
 

Viewers also liked

high availability case study fusion middleware cluster1
high availability case study fusion middleware cluster1high availability case study fusion middleware cluster1
high availability case study fusion middleware cluster1Soroush Ghorbani
 
Docker集群管理 工具篇
Docker集群管理 工具篇Docker集群管理 工具篇
Docker集群管理 工具篇Guangya Liu
 
Docker - 30秒生出100台伺服器
Docker - 30秒生出100台伺服器Docker - 30秒生出100台伺服器
Docker - 30秒生出100台伺服器升煌 黃
 
VMware HA deep Dive
VMware HA deep DiveVMware HA deep Dive
VMware HA deep DiveEric Sloof
 
Pacemaker+DRBD
Pacemaker+DRBDPacemaker+DRBD
Pacemaker+DRBDDan Frincu
 
SLE12 SP2 : High Availability et Geo Cluster
SLE12 SP2 : High Availability et Geo ClusterSLE12 SP2 : High Availability et Geo Cluster
SLE12 SP2 : High Availability et Geo ClusterSUSE
 
Metro Cluster High Availability or SRM Disaster Recovery?
Metro Cluster High Availability or SRM Disaster Recovery?Metro Cluster High Availability or SRM Disaster Recovery?
Metro Cluster High Availability or SRM Disaster Recovery?David Pasek
 
Maria DB Galera Cluster for High Availability
Maria DB Galera Cluster for High AvailabilityMaria DB Galera Cluster for High Availability
Maria DB Galera Cluster for High AvailabilityOSSCube
 
KubeCon EU 2016: Secure, Cloud-Native Networking with Project Calico
KubeCon EU 2016: Secure, Cloud-Native Networking with Project CalicoKubeCon EU 2016: Secure, Cloud-Native Networking with Project Calico
KubeCon EU 2016: Secure, Cloud-Native Networking with Project CalicoKubeAcademy
 
Why SaltStack ?
Why SaltStack ?Why SaltStack ?
Why SaltStack ?SUSE
 
SUSE OpenStack Cloud 7
SUSE OpenStack Cloud 7SUSE OpenStack Cloud 7
SUSE OpenStack Cloud 7SUSE
 
Introduction - vSphere 5 High Availability (HA)
Introduction - vSphere 5 High Availability (HA)Introduction - vSphere 5 High Availability (HA)
Introduction - vSphere 5 High Availability (HA)Eric Sloof
 
Docker home ted
Docker home tedDocker home ted
Docker home tedLayne Peng
 
Cluster Computers
Cluster ComputersCluster Computers
Cluster Computersshopnil786
 
認識那條鯨魚 Docker 初探
認識那條鯨魚   Docker 初探認識那條鯨魚   Docker 初探
認識那條鯨魚 Docker 初探仲昀 王
 
Evaluation of High Availability Performance of Kubernetes and Docker Swarm on...
Evaluation of High Availability Performance of Kubernetes and Docker Swarm on...Evaluation of High Availability Performance of Kubernetes and Docker Swarm on...
Evaluation of High Availability Performance of Kubernetes and Docker Swarm on...Ontico
 

Viewers also liked (20)

high availability case study fusion middleware cluster1
high availability case study fusion middleware cluster1high availability case study fusion middleware cluster1
high availability case study fusion middleware cluster1
 
OAuth2介紹
OAuth2介紹OAuth2介紹
OAuth2介紹
 
Docker集群管理 工具篇
Docker集群管理 工具篇Docker集群管理 工具篇
Docker集群管理 工具篇
 
Docker - 30秒生出100台伺服器
Docker - 30秒生出100台伺服器Docker - 30秒生出100台伺服器
Docker - 30秒生出100台伺服器
 
Cluster in linux
Cluster in linuxCluster in linux
Cluster in linux
 
VMware HA deep Dive
VMware HA deep DiveVMware HA deep Dive
VMware HA deep Dive
 
Pacemaker+DRBD
Pacemaker+DRBDPacemaker+DRBD
Pacemaker+DRBD
 
linux-enterprise-cluster
linux-enterprise-clusterlinux-enterprise-cluster
linux-enterprise-cluster
 
SLE12 SP2 : High Availability et Geo Cluster
SLE12 SP2 : High Availability et Geo ClusterSLE12 SP2 : High Availability et Geo Cluster
SLE12 SP2 : High Availability et Geo Cluster
 
Metro Cluster High Availability or SRM Disaster Recovery?
Metro Cluster High Availability or SRM Disaster Recovery?Metro Cluster High Availability or SRM Disaster Recovery?
Metro Cluster High Availability or SRM Disaster Recovery?
 
Maria DB Galera Cluster for High Availability
Maria DB Galera Cluster for High AvailabilityMaria DB Galera Cluster for High Availability
Maria DB Galera Cluster for High Availability
 
KubeCon EU 2016: Secure, Cloud-Native Networking with Project Calico
KubeCon EU 2016: Secure, Cloud-Native Networking with Project CalicoKubeCon EU 2016: Secure, Cloud-Native Networking with Project Calico
KubeCon EU 2016: Secure, Cloud-Native Networking with Project Calico
 
Why SaltStack ?
Why SaltStack ?Why SaltStack ?
Why SaltStack ?
 
SUSE OpenStack Cloud 7
SUSE OpenStack Cloud 7SUSE OpenStack Cloud 7
SUSE OpenStack Cloud 7
 
Introduction - vSphere 5 High Availability (HA)
Introduction - vSphere 5 High Availability (HA)Introduction - vSphere 5 High Availability (HA)
Introduction - vSphere 5 High Availability (HA)
 
Docker home ted
Docker home tedDocker home ted
Docker home ted
 
Cluster Computers
Cluster ComputersCluster Computers
Cluster Computers
 
認識那條鯨魚 Docker 初探
認識那條鯨魚   Docker 初探認識那條鯨魚   Docker 初探
認識那條鯨魚 Docker 初探
 
Docker應用
Docker應用Docker應用
Docker應用
 
Evaluation of High Availability Performance of Kubernetes and Docker Swarm on...
Evaluation of High Availability Performance of Kubernetes and Docker Swarm on...Evaluation of High Availability Performance of Kubernetes and Docker Swarm on...
Evaluation of High Availability Performance of Kubernetes and Docker Swarm on...
 

Similar to High Availability with Novell Cluster Services for Novell Open Enterprise Server on Linux

Dc tco in_a_nutshell
Dc tco in_a_nutshellDc tco in_a_nutshell
Dc tco in_a_nutshellerjosito
 
Intro to CloudStack Build a Cloud Day
Intro to CloudStack Build a Cloud DayIntro to CloudStack Build a Cloud Day
Intro to CloudStack Build a Cloud DaySebastien Goasguen
 
Netapp 1229343173196796-1
Netapp 1229343173196796-1Netapp 1229343173196796-1
Netapp 1229343173196796-1Newlink
 
Storage virtualization citrix blr wide tech talk
Storage virtualization citrix blr wide tech talkStorage virtualization citrix blr wide tech talk
Storage virtualization citrix blr wide tech talkSisimon Soman
 
Emulex OneConnect Universal CNA (Deep Dive)
Emulex OneConnect Universal CNA (Deep Dive)Emulex OneConnect Universal CNA (Deep Dive)
Emulex OneConnect Universal CNA (Deep Dive)Emulex Corporation
 
Emulex OneConnect Universal CNA (Short Overview)
Emulex OneConnect Universal CNA (Short Overview)Emulex OneConnect Universal CNA (Short Overview)
Emulex OneConnect Universal CNA (Short Overview)Emulex Corporation
 
The Value of NetApp with VMware
The Value of NetApp with VMwareThe Value of NetApp with VMware
The Value of NetApp with VMwareCapito Livingstone
 
Data Center: Cloud & Convergencia
Data Center: Cloud & ConvergenciaData Center: Cloud & Convergencia
Data Center: Cloud & ConvergenciaLogicalis Latam
 
1 Introduction at CloudStack Developer Day
1 Introduction at CloudStack Developer Day 1 Introduction at CloudStack Developer Day
1 Introduction at CloudStack Developer Day Kimihiko Kitase
 
Cloumon enterprise
Cloumon enterpriseCloumon enterprise
Cloumon enterpriseGruter
 
CloudStack for Java User Group
CloudStack for Java User GroupCloudStack for Java User Group
CloudStack for Java User GroupSebastien Goasguen
 
What is cloud computing
What is cloud computingWhat is cloud computing
What is cloud computingBrian Bullard
 
Openstack in action2 Rackspace- state of the openstack union 31-05-12
Openstack in action2   Rackspace- state of the openstack union 31-05-12Openstack in action2   Rackspace- state of the openstack union 31-05-12
Openstack in action2 Rackspace- state of the openstack union 31-05-12eNovance
 
Cassandra & the Acunu Data Platform
Cassandra & the Acunu Data PlatformCassandra & the Acunu Data Platform
Cassandra & the Acunu Data PlatformAcunu
 
CloudStack Architecture Future
CloudStack Architecture FutureCloudStack Architecture Future
CloudStack Architecture FutureKimihiko Kitase
 

Similar to High Availability with Novell Cluster Services for Novell Open Enterprise Server on Linux (20)

Dc tco in_a_nutshell
Dc tco in_a_nutshellDc tco in_a_nutshell
Dc tco in_a_nutshell
 
Intro to Cloudstack
Intro to CloudstackIntro to Cloudstack
Intro to Cloudstack
 
Intro to CloudStack Build a Cloud Day
Intro to CloudStack Build a Cloud DayIntro to CloudStack Build a Cloud Day
Intro to CloudStack Build a Cloud Day
 
Netapp 1229343173196796-1
Netapp 1229343173196796-1Netapp 1229343173196796-1
Netapp 1229343173196796-1
 
DevCloud and CloudMonkey
DevCloud and CloudMonkeyDevCloud and CloudMonkey
DevCloud and CloudMonkey
 
Storage virtualization citrix blr wide tech talk
Storage virtualization citrix blr wide tech talkStorage virtualization citrix blr wide tech talk
Storage virtualization citrix blr wide tech talk
 
Emulex OneConnect Universal CNA (Deep Dive)
Emulex OneConnect Universal CNA (Deep Dive)Emulex OneConnect Universal CNA (Deep Dive)
Emulex OneConnect Universal CNA (Deep Dive)
 
Emulex OneConnect Universal CNA (Short Overview)
Emulex OneConnect Universal CNA (Short Overview)Emulex OneConnect Universal CNA (Short Overview)
Emulex OneConnect Universal CNA (Short Overview)
 
A series presentation
A series presentationA series presentation
A series presentation
 
The Value of NetApp with VMware
The Value of NetApp with VMwareThe Value of NetApp with VMware
The Value of NetApp with VMware
 
Data Center: Cloud & Convergencia
Data Center: Cloud & ConvergenciaData Center: Cloud & Convergencia
Data Center: Cloud & Convergencia
 
1 Introduction at CloudStack Developer Day
1 Introduction at CloudStack Developer Day 1 Introduction at CloudStack Developer Day
1 Introduction at CloudStack Developer Day
 
Cloumon enterprise
Cloumon enterpriseCloumon enterprise
Cloumon enterprise
 
CloudStack for Java User Group
CloudStack for Java User GroupCloudStack for Java User Group
CloudStack for Java User Group
 
What is cloud computing
What is cloud computingWhat is cloud computing
What is cloud computing
 
Apache CloudStack AlpesJUG
Apache CloudStack AlpesJUGApache CloudStack AlpesJUG
Apache CloudStack AlpesJUG
 
Lsi Nytro Flash 101 May 2012
Lsi Nytro Flash 101 May 2012Lsi Nytro Flash 101 May 2012
Lsi Nytro Flash 101 May 2012
 
Openstack in action2 Rackspace- state of the openstack union 31-05-12
Openstack in action2   Rackspace- state of the openstack union 31-05-12Openstack in action2   Rackspace- state of the openstack union 31-05-12
Openstack in action2 Rackspace- state of the openstack union 31-05-12
 
Cassandra & the Acunu Data Platform
Cassandra & the Acunu Data PlatformCassandra & the Acunu Data Platform
Cassandra & the Acunu Data Platform
 
CloudStack Architecture Future
CloudStack Architecture FutureCloudStack Architecture Future
CloudStack Architecture Future
 

More from Novell

Filr white paper
Filr white paperFilr white paper
Filr white paperNovell
 
Social media class 4 v2
Social media class 4 v2Social media class 4 v2
Social media class 4 v2Novell
 
Social media class 3
Social media class 3Social media class 3
Social media class 3Novell
 
Social media class 2
Social media class 2Social media class 2
Social media class 2Novell
 
Social media class 1
Social media class 1Social media class 1
Social media class 1Novell
 
Social media class 2 v2
Social media class 2 v2Social media class 2 v2
Social media class 2 v2Novell
 
LinkedIn training presentation
LinkedIn training presentationLinkedIn training presentation
LinkedIn training presentationNovell
 
Twitter training presentation
Twitter training presentationTwitter training presentation
Twitter training presentationNovell
 
Getting started with social media
Getting started with social mediaGetting started with social media
Getting started with social mediaNovell
 
Strategies for sharing and commenting in social media
Strategies for sharing and commenting in social mediaStrategies for sharing and commenting in social media
Strategies for sharing and commenting in social mediaNovell
 
Information Security & Compliance in Healthcare: Beyond HIPAA and HITECH
Information Security & Compliance in Healthcare: Beyond HIPAA and HITECHInformation Security & Compliance in Healthcare: Beyond HIPAA and HITECH
Information Security & Compliance in Healthcare: Beyond HIPAA and HITECHNovell
 
Workload iq final
Workload iq   finalWorkload iq   final
Workload iq finalNovell
 
The Identity-infused Enterprise
The Identity-infused EnterpriseThe Identity-infused Enterprise
The Identity-infused EnterpriseNovell
 
Shining the Enterprise Light on Shades of Social
Shining the Enterprise Light on Shades of SocialShining the Enterprise Light on Shades of Social
Shining the Enterprise Light on Shades of SocialNovell
 
Accelerate to the Cloud
Accelerate to the CloudAccelerate to the Cloud
Accelerate to the CloudNovell
 
The New Business Value of Today’s Collaboration Trends
The New Business Value of Today’s Collaboration TrendsThe New Business Value of Today’s Collaboration Trends
The New Business Value of Today’s Collaboration TrendsNovell
 
Preventing The Next Data Breach Through Log Management
Preventing The Next Data Breach Through Log ManagementPreventing The Next Data Breach Through Log Management
Preventing The Next Data Breach Through Log ManagementNovell
 
Iaas for a demanding business
Iaas for a demanding businessIaas for a demanding business
Iaas for a demanding businessNovell
 
Workload IQ: A Differentiated Approach
Workload IQ: A Differentiated ApproachWorkload IQ: A Differentiated Approach
Workload IQ: A Differentiated ApproachNovell
 
Virtual Appliances: Simplifying Application Deployment and Accelerating Your ...
Virtual Appliances: Simplifying Application Deployment and Accelerating Your ...Virtual Appliances: Simplifying Application Deployment and Accelerating Your ...
Virtual Appliances: Simplifying Application Deployment and Accelerating Your ...Novell
 

More from Novell (20)

Filr white paper
Filr white paperFilr white paper
Filr white paper
 
Social media class 4 v2
Social media class 4 v2Social media class 4 v2
Social media class 4 v2
 
Social media class 3
Social media class 3Social media class 3
Social media class 3
 
Social media class 2
Social media class 2Social media class 2
Social media class 2
 
Social media class 1
Social media class 1Social media class 1
Social media class 1
 
Social media class 2 v2
Social media class 2 v2Social media class 2 v2
Social media class 2 v2
 
LinkedIn training presentation
LinkedIn training presentationLinkedIn training presentation
LinkedIn training presentation
 
Twitter training presentation
Twitter training presentationTwitter training presentation
Twitter training presentation
 
Getting started with social media
Getting started with social mediaGetting started with social media
Getting started with social media
 
Strategies for sharing and commenting in social media
Strategies for sharing and commenting in social mediaStrategies for sharing and commenting in social media
Strategies for sharing and commenting in social media
 
Information Security & Compliance in Healthcare: Beyond HIPAA and HITECH
Information Security & Compliance in Healthcare: Beyond HIPAA and HITECHInformation Security & Compliance in Healthcare: Beyond HIPAA and HITECH
Information Security & Compliance in Healthcare: Beyond HIPAA and HITECH
 
Workload iq final
Workload iq   finalWorkload iq   final
Workload iq final
 
The Identity-infused Enterprise
The Identity-infused EnterpriseThe Identity-infused Enterprise
The Identity-infused Enterprise
 
Shining the Enterprise Light on Shades of Social
Shining the Enterprise Light on Shades of SocialShining the Enterprise Light on Shades of Social
Shining the Enterprise Light on Shades of Social
 
Accelerate to the Cloud
Accelerate to the CloudAccelerate to the Cloud
Accelerate to the Cloud
 
The New Business Value of Today’s Collaboration Trends
The New Business Value of Today’s Collaboration TrendsThe New Business Value of Today’s Collaboration Trends
The New Business Value of Today’s Collaboration Trends
 
Preventing The Next Data Breach Through Log Management
Preventing The Next Data Breach Through Log ManagementPreventing The Next Data Breach Through Log Management
Preventing The Next Data Breach Through Log Management
 
Iaas for a demanding business
Iaas for a demanding businessIaas for a demanding business
Iaas for a demanding business
 
Workload IQ: A Differentiated Approach
Workload IQ: A Differentiated ApproachWorkload IQ: A Differentiated Approach
Workload IQ: A Differentiated Approach
 
Virtual Appliances: Simplifying Application Deployment and Accelerating Your ...
Virtual Appliances: Simplifying Application Deployment and Accelerating Your ...Virtual Appliances: Simplifying Application Deployment and Accelerating Your ...
Virtual Appliances: Simplifying Application Deployment and Accelerating Your ...
 

High Availability with Novell Cluster Services for Novell Open Enterprise Server on Linux

  • 1. High Availability with Novell ® Cluster Services for Novell Open Enterprise Server on Linux Kent Boogert Charles Gonzales kboogert@novell.com cgonzales@novell.com
  • 2. Agenda • Storage Foundation • High Availability Concepts • Novell Cluster Services 1.8 Architecture ® • Installing NCS • Cluster Resources • NCS management tools 2 © Novell, Inc. All rights reserved.
  • 4. Novell Open Enterprise Server ® Storage Foundation Management Network eDir NFS Samba PDC NCP iManager DFS Freeze thaw mon Backup & restore / Replication / SRM L A N Linux vfs (+efl) NCP redirector FS CLI CIMOM scripting Reiser SMI-S NCS CFS Ext3 NSS schema NetWare EVMS MM Policy I/O fence engine SMI-S client Disk: FireWire, SCSI, FC, iSCSI, SATA, SAS Storage Network 4 © Novell, Inc. All rights reserved.
  • 6. Fault Tolerant Environment Server Cluster Storage Array Storage Array Ethernet Fibre Channel Ctrl 1 LUN LUN LUN … 0 1 LAN SAN Storage Array Fabric Fabric 6 © Novell, Inc. All rights reserved.
  • 7. Eliminating Single Points of Failure • Servers 7 © Novell, Inc. All rights reserved.
  • 8. Fault Tolerant Environment Server Cluster Storage Array Storage Array Ethernet Fibre Channel Ctrl 1 LUN 0 LUN 1 LUN … LAN SAN Storage Array Fabric Fabric 8 © Novell, Inc. All rights reserved.
  • 9. Eliminating Single Points of Failure • Servers • Local area network 9 © Novell, Inc. All rights reserved.
  • 10. Fault Tolerant Environment Server Cluster Dual NICs Storage Array Storage Array Ethernet Fibre Channel Ctrl 1 LUN LUN LUN … 0 1 LAN SAN Storage Array Fabric Fabric 10 © Novell, Inc. All rights reserved.
  • 11. Eliminating Single Soints of Failure • Servers • Local area network • Storage area network 11 © Novell, Inc. All rights reserved.
  • 12. Fault Tolerant Environment Server Cluster Dual NICs Dual Storage Array HBAs Storage Array Ethernet Fibre Channel Ctrl 1 Ctrl 2 LUN LUN LUN … 0 1 LAN SAN Storage Array Fabric Fabric 12 © Novell, Inc. All rights reserved.
  • 13. Eliminating Single Points of Failure • Servers • Local area network • Storage area network • Cluster communication 13 © Novell, Inc. All rights reserved.
  • 14. LAN Heartbeat Protocol Broadcast(s) LAN Unicast(s) back Unicast(s) back Unicast(s) back to master to master to master 0 1 2 3 Master Slave Slave Slave SYS SYS SYS SYS SAN Sharable for clustering 14 © Novell, Inc. All rights reserved.
  • 15. SAN Split Brain Detection LAN Unicast(s) back Unicast(s) back Unicast(s) back to master to master to master 0 1 2 3 Master Slave Slave Slave SYS SYS SYS SYS SBD disk I/O SAN Cluster Partition (SBD) Sharable for (Mirrored) clustering 15 © Novell, Inc. All rights reserved.
  • 16. Novell Cluster Services 1.8 Architecture ®
  • 17. Directory-based Configuration • eDirectory for replicated cluster configuration ™ – NCS:NetWare Cluster ® > Name is misleading, but we haven't changed it – NCS:Cluster Resource – NCS:Resource Template – NCS:NCP Server ™ > Don't confuse with NCP Server – NCS:Volume Resource 17 © Novell, Inc. All rights reserved.
  • 18. eDirectory Object Relationships ™ Cluster object = kcb_cluster.novell VIRTUAL NCP SERVER OBJECT =KCB_CLUSTER P69_SERVER NCS:NetWare Cluster object class NCP SERVER, SERVER NCS:Network Address :(cluster address) Network address = (resource address i.e. 69) NCS:Network cluster = kcb_cluster.novell CLUSTER NODE OBJECT NCS:Volumes = kcb_cluster_VOL1.novell = srv01_kcb_cluster.novell NCS:NCP SERVER object class NCS:GIPC NODE Number NCP SERVER OBJECT = NCS:Network Address (Server Address) Srv01.novell NCS:NCP Server NCP SERVER, SERVER object class network address: Server address CLUSTER ROOL RESOURCE OBJECT NCS:NetWare Cluster = not set!! = P69_Server.kcb_cluster.novell NCS:Volumes = not set!! NCS:Volume Resource object class NCS:CRM Preferred Nodes NCS:NCP Server = (KCS_CLUSTER_P69_SERVER.novell NCS:Volumes = (kcb_cluster_VOL1.novell) NCS:CLUSTER RESOURCES NCP VOLUME OBJECT = kcb_cluster_VOL1.novell NCS:CRM Preferred Node VOLUME RESOURCE NCS:RESOURCE TEMPLATE HOSTSERVER = KCB_CLUSTER_P69_SERVER.novell NCS:CRM Preferred Node HOSTSERVER RESOURCE name = VOL1 Linux NCP Mount Point = NSS/media/nss/vol1 18 © Novell, Inc. All rights reserved.
  • 19. Directory-based Configuration • eDirectory for replicated cluster configuration ™ • Configuration is in cluster container – Files to know who I am > /etc/opt/novell/ncs/clstrlib.conf > /etc/opt/novell/ncs/nodename • Cluster configuration daemon (ncs-configd) – Syncs configuration between LDAP and local files • Cluster master declares current configuration 19 © Novell, Inc. All rights reserved.
  • 20. Group Interprocess Communication (GIPC) • Heartbeat, membership, and multi-cast protocols – Common parameters and tuning concepts panning clusterid 56867377 heartbeat rate_usecs 1000000 censustaker tolerance 8000000 sequencer master_watchdog 1000000 sequencer slave_watchdog 8000000 sequencer retrans_max 30 • Linux kernel module creates two raw sockets – /proc/net/raw • Linux Ethereal/Wireshark offers basic packet decoder – Good for tracing master / slave heartbeat packets 20 © Novell, Inc. All rights reserved.
  • 21. Split Brain Detector (SBD) • Nodes coordinate membership via shared disk – Linux kernel module does direct I/O > e.g. /dev/sda1 or /dev/evms/cluster.sbd • Nodes locate matching SBD given cluster name – SBD partition is created at cluster creation > Linux device special filename is unimportant • See man sbdutil for Linux SBD command line utility – e.g. sbdutil -v 21 © Novell, Inc. All rights reserved.
  • 22. Cluster Resource Manager (CRM) • Manages cluster-wide resource states – Linux kernel module executes distributed FSM • Cluster resource daemon (ncs-resourced) – Forks once per resource action – Forks again for load, unload, and monitor script > stdout & stderr redirected to /var/opt/novell/log/ncs/*.out – Returns script status to kernel • Cluster resource scripts run from local files – /bin/bash is default interpreter – Shell functions in /opt/novell/ncs/lib/ncsfuncs 22 © Novell, Inc. All rights reserved.
  • 23. Load and Unload Script Example Cluster Pool Resource Load script #!/bin/bash . /opt/novell/ncs/lib/ncsfuncs exit_on_error nss /poolact=AUTO_POOL_01 exit_on_error ncpcon mount AUTO_VOL_012=253 exit_on_error ncpcon mount AUTO_VOL_011=254 exit_on_error add_secondary_ipaddress 151.155.189.131 exit_on_error ncpcon bind --ncpservername=CGAO_SP3_PR6_CLUSTER_AUTO_POOL_01_SERVER --ipaddress=151.155.189.131 exit 0 Cluster Pool Resource Unload script #!/bin/bash . /opt/novell/ncs/lib/ncsfuncs ignore_error ncpcon unbind --ncpservername=CGAO_SP3_PR6_CLUSTER_AUTO_POOL_01_SERVER --ipaddress=151.155.189.131 ignore_error del_secondary_ipaddress 151.155.189.131 ignore_error nss /pooldeact=AUTO_POOL_01 exit 0 Cluster Pool Resource Monitor script #!/bin/bash . /opt/novell/ncs/lib/ncsfuncs exit_on_error status_fs /dev/evms/AUTO_POOL_01 /opt/novell/nss/mnt/.pools/AUTO_POOL_01 nsspool exit_on_error status_secondary_ipaddress 151.155.189.131 exit_on_error ncpcon volume AUTO_VOL_012 exit_on_error ncpcon volume AUTO_VOL_011 exit 0 23 © Novell, Inc. All rights reserved.
  • 24. Cluster Resources Cluster documentation for most OES2 services – AFP – mySQL – Certificate Server – NetStorage – CIFS – QuickFinder – DFS – Samba – DHCP server – DST (shadow volumes) > On Linux Posix – Linux Posix volumes > On Novell Storage Services ™ – NCP volumes ™ – DNS Server – NSS – iFolder 3.8 – iPrint 24 © Novell, Inc. All rights reserved.
  • 25. Cluster Resource Templates • ArkManager • iPrint • DHCP • MySQL • DNS • Samba • Generic_FS • XenLive* • Generic_IP • Xen* • iFolder 25 © Novell, Inc. All rights reserved.
  • 26. Cluster Management Agent (CMA) • Common cluster management interface – Linux kernel module exports management files > /admin/Novell/Cluster • Enables iManager and cluster command line interface – Built on Novell admin file system (adminfs) ® • Direct access to XML formatted cluster state – e.g. /admin/Novell/Cluster/ResourceState.xml • See NCS for Linux Administration Guide section 8.17 – http://www.novell.com/documentation/oes2/clus_admin_lx/data/ h4hgu4hs.html 26 © Novell, Inc. All rights reserved.
  • 27. Handling Fault Conditions Split brain – Server isolated from the LAN Fatal SAN error – Server isolated from the SAN Poison pills – panic > /proc/sys/kernel/panic – run eDirectory NCS:NodeIsolationScript ™ hangcheck_timer 27 © Novell, Inc. All rights reserved.
  • 28. Enterprise Volume Management System (EVMS) • EVMS is an extensible host-based disk volume manager – Extended by Novell via shared library plugins ® > NetWare segment and cluster managers ® • EVMS Cluster Extension (ECE) – Manage any node's local plus shared storage – Novell Cluster Services plugin > http://evms.sourceforge.net/cluster • Cluster awareness similar to NetWare media manager – e.g. Provides safe online file system expansion • Cluster / globally unique persistent device naming 28 © Novell, Inc. All rights reserved.
  • 30. Installing Novell Cluster Services ® YaST based installation – YaST2 select Open Enterprise Server > OES Install and Configuration Local or remote – Specify how NCS will access eDirectory via LDAP ™ New Cluster – Enter cluster FDN, IP address and optional device for SBD Existing Cluster – Enter cluster FDN 30 © Novell, Inc. All rights reserved.
  • 31. Demo
  • 32. Cluster Migrations? Rolling cluster conversion – Cluster resources remain available Three simple steps – Decommission NetWare on server ® – Install Novell Open Enterprise Server Linux onto server ® – Add Linux server to existing cluster Rollback to NetWare – Convert Linux server back to NetWare Sequential and parallel options – Convert one-by-one or many at once 32 © Novell, Inc. All rights reserved.
  • 33. Automatic Script Translation During cluster conversion... – NetWare resources failover to Linux ® – ncs-resourced translates scripts on-the-fly Translates NetWare commands – e.g. cluster cvsbind add vserver 10.0.0.0 ncpcon bind –ncpservername=vserver --ipaddress=10.0.0.0 Committing the conversion cluster convert preview [all | (resource_name)] cluster convert commit > script translation saved to eDirectory ™ > update cluster revision number = 282 33 © Novell, Inc. All rights reserved.
  • 34. Rules for Mixed Clusters • Online storage reconfiguration is not supported • Can't add NetWare nodes using deployment manager ® • Resources created on Linux won't run on NetWare 34 © Novell, Inc. All rights reserved.
  • 35. Cluster Management Tools cluster – Perl-based command line iManager snapins – Common interface for NetWare and Linux ® ncs-emaild – User-space cluster event email daemon sbdutil – Split brain detector utility 35 © Novell, Inc. All rights reserved.
  • 36. Tips, Tricks, and Troubleshooting • Getting output – grep ncs- /var/log/messages – grep CLUSTER /var/log/messages – sbdutil -v – cluster stats display 36 © Novell, Inc. All rights reserved.
  • 37. Tips, Tricks, and Troubleshooting • Getting MORE output – /admin/Novell/Cluster/EventLog.xml > echo -n “trace crm on” > /proc/ncs/cluster > Can change in ldncs – export NCSCONFIGD=1 – export NCSRESOURCED=1 37 © Novell, Inc. All rights reserved.
  • 38. Tips, Tricks, and Troubleshooting • SBD problems – Use sbdutil -f to search for the clusters SBD • Keep the server from rebooting after panic – echo -n XX > /proc/sys/kernel/panic » Where XX is number of seconds to delay before rebooting » 0 disables automatic rebooting after a panic – echo -n x >/proc/sys/kernel/panic_on_oops > When X is 0; disable reboot > When X is 1; enable reboot 38 © Novell, Inc. All rights reserved.
  • 39. More Tips and Tricks • Resources going comatose > Review /var/opt/novell/log/ncs/<resource>.load.out > Review /var/opt/novell/log/ncs/<resource>.unload.out – Script can be run outside of cluster. Be careful – When lanched from resourced it may be a different environment > e.g. path is different; therefore include full path to exe. • Update schema prior to install – Be sure to patch!!!! – Yast2 > Open Enterprise Server section - Schema tool • Maintenance mode – cluster maintenance on/off > Will ignore lose of heartbeat. Use when doing lan work, upgrades, etc. 39 © Novell, Inc. All rights reserved.
  • 40. Particularly Hot • Deleting nodes – Delete all the server objects – On master node execute > cluster exec “/opt/novell/ncs/bin/ncs-configd.py -init” • Console commands – Cluster help – Most non-configuration items can be done from command line 40 © Novell, Inc. All rights reserved.
  • 41.
  • 42. 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.