Operating System - HP-UX
1832973 Members
2535 Online
110048 Solutions
New Discussion

Re: How to add third node in SGeRAC + CFS

 
RamanKumar935
Occasional Contributor

How to add third node in SGeRAC + CFS

Dear All,

I am using Two node RAC with Service Gaurd 11.18 with CFS. Now I am going to add third node in existing cluster.
OS - HP-UX11iv2
SG - A.11.18
Oracle - 10gR2

Please let me know,what steps to be followed.

Thanks
Raman

4 REPLIES 4
Fabio Ettore
Honored Contributor

Re: How to add third node in SGeRAC + CFS

Hi Raman,
I think you can achieve this by following pag. 118 of the following User Guide:

http://bizsupport2.austin.hp.com/bc/docs/support/SupportManual/c02437447/c02437447.pdf

"Online Node Addition and Deletion"

Hope this helps you.

Best regards,
Fabio
WISH? IMPROVEMENT!
Stephen Doud
Honored Contributor

Re: How to add third node in SGeRAC + CFS

SGeRAC -and- CFS infer that your packages use either or both LVM and VxVM-CFS storage management. Though you can readily add a node to a cluster, the node must operate specific packages that require one/both of these storage management methods.

To add a node:
Build a new cluster configuration file that includes the new node:
# cmquerycl -c -C cluster.ASCII.new -n

Apply the new ASCII file:
# cmcheckconf -C cluster.ASCII.new

If it applies correctly, the node is now a member of the cluster. That won't buy you much. You will also have to prepare the node to run packages.

The steps on page 118 that Fabio referred to only summarize the procedure to prepare a node to use LVM VGs. It does not give a step-by-step, but you will find forum threads that describes how.

LVM packages are "failover" type packages whereas CFS packages are "multi-node" packages. They are administered differently.

Failover packages are administered by a package configuration file whether the package is a modular or legacy format package, and also a package control script if the package was created using the legacy format.

Edit the package configuration file and add a NODE_NAME reference for the new node.
If a package control script is also used, copy it to the new node.
Then cmapplyconf the updated package configuration file.

Page 50 in the same manual gives information on how to set up CFS packages but the manual does not provide a procedure to make a new node run CFS packages. The cfsdgadm and cfsmntadm commands can be used to add the node to the CFS packages. I recommend that you open a software support case with HP to work that aspect.
RamanKumar935
Occasional Contributor

Re: How to add third node in SGeRAC + CFS

Thanks Stephen,

could u tell me below is exact syntax for CFS

On Master Node

#cfsdgadm add dg_name Node_name=activation_mode (For DG)

#cfsmntadm modify add

After doing that Do we have need to extra work?
How to add new node in cfs package ?
Stephen Doud
Honored Contributor

Re: How to add third node in SGeRAC + CFS

The answers you are looking for are in the man pages.

The cfsdgadm(1m) syntax to add a node is:
cfsdgadm modify shared_disk_group add node_name=activation_mode ...

Example:
# cfsdgadm modify shared_dg1 add newNode=sw

The cfsmntadm(1m) synxtax to add a node is:
cfsmntadm modify mount_point node_name=[mount_options] ...
Example:
# cfsmntadm modify /cfs/mnt1 newNode=rw

The cfsmount(1m) syntax to add a node is:
# cfsmount /cfs/mnt1 newNode
Example:
# cfsmount /cfs/mnt1 newNode