[HPADM] Summary Updating Service Guard Cluster info

From: Julian Rogan (Julian.Rogan_at_Unilever.com)
Date: 03/01/04

  • Next message: Julian Rogan: "[HPADM] EMC symmetrix alt pv link problem"
    Date: Mon, 1 Mar 2004 14:34:40 +0000 (GMT Standard Time)
    To: "hpux-admin@dutchworks.nl" <hpux-admin@dutchworks.nl>
    
    

    The short answer is that I do not need to add the name of the volume group
    in the cluster definition binary just the control script. However I will
    need to ensure I make the volume group cluster aware manualy i.e by using
    the vchange -c y command.

    Many thanks to all who replied. Some of the replies I have included below:

    regards,
    Julian

    Replies:

    RadhaKrishnan Venkataramanan:

       Yes - if you want to activate thru cluster you have to put it in ascii
    file and then do cmapplyconf then only
       the volume group will be activated using vgchange -a e (exclusive mode).

    Stuart Abramson:

       When adding a new VG, you must vi the cluster definition ascii file and
       replace the cluster definition binary file by running cmapplyconf.
     
       In older versions of MC/SG, such as yours, you must shut down to do
    this.
       In newer versions of MD/SG you can do it online.
     
       Here are directions:
     

       ADD A VG TO A CLUSTER
     
       1. The first thing you have to do is set up the new VG on both
            nodes of the cluster as described above:
            o Create the VG and LVs on one node
            o export the map file, etc, to the other node,
            o Make a new /dev/vgXX entry on other side
                    - mkdir
                    - mknod
            o vgimport
            o check strings /etc/lvmtab
     
       2. vi the cluster ascii config file to add the second VG.
     
       4. vi the package cntl file to activate the VGs and LVs.
     
            Of course, there is no point adding a VG if you don't need any LVs.
            So, you will be adding LVs as well.
     
       5. Copy cluster config file and package control scripts from primary
            to adaptive node.
     
       6. Then test it with cmcheckconf.
     
            If you modify the cluster config file, you must run cmapplyconf,
            because the cluster config file is a required input parameter to
            cmapplyconf.
     
            The package control script is pointed to by the package config
            script,
            which is a cmapplyconf input parameter. So you don't need to run
            cmapplyconf if you are only modifying the package control script.)
     
       7. You must shut down the cluster to run cmapplyconf.
     
       8. run cmapplyconf against the new cluster config file. I run this on
            the primary node, but you can run it on either node.
     
       9. Restart the cluster.

    sundararajan.swaminathan:

          Nope, the cluster/package need not be down to add a new volume
         group.
     
        Create the volume group as you do in tha non-MC-SG cluster.
     
        Export the volume group configuration from one node to the other
        node.
     
        # cmgetconf -v -c cluster_name output_filename
     
        # vi output_filename
     
        VG[#]=/dev/vgname
     
        # cmcheckconf -v -C output_filename
     
        # cmapplyconf -v -C output_filename
     
        Make changes to the package startup script and add the volume group
    and the file system mountpoints.
     
        now u manually activate the vg and mount the logical volumes

    Vince Taylor:

    The only reason the volume group is in the cluster config binary file os
    for
    info about the cluster lock disk I think. If you want to add another VG to
    the cluster, as long as it will not act as a cluster lock disk volume
    group,
    then you can just add it to the scripts (on all nodes), enable it for
    clustering (vgchange -c y <VG>), activate it and use it. YOu can also add
    logical volumes into the scripts on line too, as long as you ensure that
    they are mounted before a failure occurs.
     

    -----Original Message-----
    From: Julian Rogan [SMTP:Julian.Rogan@Unilever.com]
    Sent: 25 February 2004 10:19
    To: hpux-admin@dutchworks.nl
    Subject: [HPADM] Updating Service Guard Cluster info

    Hi,
    I need to add a new volume group to a Service Guard (Version A.10.10)
    clusters on an HPUX 10.20 server.
    Do I have to add the volume group name into the cluster definition binary
    via cmapplyconf to get it to recognize the volume group or can I get away
    with adding the necessary entries into the control script?

    The man page for cmapplyconf is ambiguous as to whether the
    cluster/package needs to be down before applying changes.

    with regards,

    Julian

     << File: ATT00051.htm >> << File: ATT00052.att >>

    --
                 ---> Please post QUESTIONS and SUMMARIES only!! <---
            To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
           Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
     
     Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
                http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)
    

  • Next message: Julian Rogan: "[HPADM] EMC symmetrix alt pv link problem"

    Relevant Pages

    • Re: ServiceGuard Question
      ... configuration (it will leave your package cntl/conf files alone - ... cmapplyconf should give no problems. ... > We have just take a node out of cluster. ...
      (comp.sys.hp.hpux)
    • Re: ServiceGuard Question
      ... and cmapplyconf. ... On the node being removed a few cleanups, ... to re-read conf. ... > We have just take a node out of cluster. ...
      (comp.sys.hp.hpux)
    • Setting Visible property by ref
      ... config file. ... three LEDs as shown in 'FrontPanel.jpg'. ... You will see in code001.jpg that I bundle up a Reference to the cluster ... but fails when built and run as a binary executable.  ...
      (comp.lang.labview)
    • [HPADM] Updating Service Guard Cluster info * Update **
      ... I have noticed that I have another cluster that does not have the volume ... I need to add a new volume group to a Service Guard ... clusters on an HPUX 10.20 server. ... The man page for cmapplyconf is ambiguous as to whether the ...
      (HP-UX-Admin)

  • Quantcast