Operating System - HP-UX
1753539 Members
5571 Online
108795 Solutions
New Discussion юеВ

Re: How to add a mount point or extend in SGRAC

 
RamanKumar935
Occasional Contributor

How to add a mount point or extend in SGRAC

Dear All,

I am using CFS in Service Gaurd(11.18) with RAC(oracle 10gr2) in HP-UX 11iv2. I want to add new mount point having space 50gb or I can extend existing mount point.I am using SAN Storage. Can any one tell me what is steps to be followed.
6 REPLIES 6
vishnu.khandare
Respected Contributor

Re: How to add a mount point or extend in SGRAC

Hi Ramankumar,

To add the mount point in SGRAC, it requires down time of the systems. Bcoz u need to stop the cluster n package.

If u want to extend the existing mount point it will be normal, u can do it on the fly.

Steps to add
Halt the package.
Stop the cluster.
create the mount point on one node.
change the cluster configuration files, add tht ne mount point.
Apply the congfig.
Update the same in other node also.
Start the cluster and package from 2nd node n check, halt it.
Start the cluster from 1st node n check


Hope this solves ur issue.
Dont forget to assign points


Regards
Vishnu Khandare
You should deserve before U desire!!!!
RamanKumar935
Occasional Contributor

Re: How to add a mount point or extend in SGRAC

HiVishnu,

Please provide the steps with exact command.

Regards
Raman
Shibin_2
Honored Contributor

Re: How to add a mount point or extend in SGRAC

>> I want to add new mount point having space 50gb or I can extend existing mount point.

Which one you want to do? Add or extend ?


If adding, whether the it will be part of existing VG in cluster or new VG ?

If extend the existing CFS by adding new LUNs, do the following.

Add and extend the FS in node A

# ioscan -fnC disk
# pvcreate /dev/rdsk/
# vgextend /dev/dsk/
# lvextend -L
# fsadm -b m

Export the vg and while preserving it in the node, where new VG created.
# vgexport -pvs -m /etc/lvmconf/.map /dev/

Copy the package control file and the vg map file to another node
# scp /etc/lvmconf/.map nodeB:/tmp
# scp /etc/cmcluster//.cntl nodeB:/tmp

Export the VG on the node B
# vgexport -v /dev/

Create vg directory and create the character file.
# mkdir /dev/
# mknod /dev//group c 64 0x180000

Make sure, you are using same minor number used in node A.

Import VG from the map file.
# vgimport -vs -m /etc/lvmconf/.map /dev/


To test this works fine in your node B, you need to do a failover test.
Regards
Shibin
RamanKumar935
Occasional Contributor

Re: How to add a mount point or extend in SGRAC

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 ?






Shibin_2
Honored Contributor

Re: How to add a mount point or extend in SGRAC

Fidel Monreal
New Member

Re: How to add a mount point or extend in SGRAC

Hi,

If you are adding a CFS mount point to an existing dg (Assuming you are using VxVM not LVM, which you should since its CFS.). Then you should:
1. Make the volume and filesystem (On the master node)
vxassist -g
newfs -F vxfs -o
2. Make the CFS mount point.
cfsmntadm add all=rw
3. Mount the CFS filesystem.
cfsmount

Remember that the disk group must also be part of the cfs configuration.

To make a disk group part of CFS make the diskgroup as it normally should using the vxdg init command. Then run the following to add it to CFS:
cfsdgadm add all=sw

When I refer to that is a name of your choosing whatever you want to call the package that controls that dg for the dg and whatever name you want for the package that controls the mount point.