Sun Cluster Data Service for WebSphere MQ Guide for Solaris OS

ProcedureExample: Configure Cluster Resources for WebSphere MQ

  1. Register the necessary data types on the single node cluster


    Vigor5# clresourcetype register SUNW.HAStoragePlus
    Vigor5# clresourcetype register SUNW.gds
    
  2. Create the resource group.


    Vigor5# clresourcegroup create -n Vigor5 wmq3-rg
    
  3. Create the logical host.


    Vigor5# clreslogicalhostname create -g wmq3-rg -h qmgr3 wmq3-lh
    
  4. Create the SVM HAStoragePlus resource in the wmq3-rg resource group.


    Vigor5# clresource create -g wmq3-rg -t SUNW.HAStoragePlus \
    > -p FilesystemMountPoints=/FOZones wmq3-SVMhas
    
  5. Create the ZFS HAStoragePlus resource in the wmq3-rg resource group.


    Vigor5# clresource create -g wmq3-rg -t SUNW.HAStoragePlus \
    > -p Zpools=HAZpool1,HAZpool2 wmq3-ZFShas
    
  6. Enable the resource group.


    Vigor5# clresourcegroup online -M wmq3-rg
    
  7. Create the Sun Cluster HA for Solaris Container Configuration file.


    Vigor5# cat > /var/tmp/sczbt_config <<-EOF
    RS=wmq3-FOZ
    RG=wmq3-rg
    PARAMETERDIR=/FOZones
    SC_NETWORK=true
    SC_LH=wmq3-lh
    FAILOVER=true
    HAS_RS=wmq3-SVMhas,wmq3-ZFShas
    
    Zonename=z3
    Zonebootopt=
    Milestone=multi-user-server
    Mounts="/ZFSwmq3/log /ZFSwmq3/qmgrs"
    EOF
    
  8. Register the Sun Cluster HA for Solaris Container data service.


    Vigor5# /opt/SUNWsczone/sczbt/util/sczbt_register -f /var/tmp/sczbt_config
    
  9. Enable the failover zone resource


    Vigor5# clresource enable wmq3-FOZ