Video Screencast Help
Symantec Appoints Michael A. Brown CEO. Learn more.

New lun needs to add into VCS group

Created: 03 Sep 2014 • Updated: 04 Sep 2014 | 3 comments

Hi, I have a new lun created recently n hereby wish to add into my VCS group.

What are the steps that i need to do?

Filesystem size used avail capacity Mounted on
/dev/md/dsk/d0 38G 27G 11G 71% /
/devices 0K 0K 0K 0%
/devices ctfs 0K 0K 0K 0%
/system/contract proc 0K 0K 0K 0%
/proc mnttab 0K 0K 0K 0% /etc/mnttab
swap 35G 1.8M 35G 1%
/etc/svc/volatile objfs 0K 0K 0K 0%
/system/object sharefs 0K 0K 0K 0% /etc/dfs/sharetab
/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap2.so.1 38G 27G 11G 71% /platform/sun4u-us3/lib/libc_psr.so.1
/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap2.so.1 38G 27G 11G 71%
/platform/sun4u-us3/lib/sparcv9/libc_psr.so.1 fd 0K 0K 0K 0% /dev/fd
/dev/md/dsk/d5 19G 12G 6.7G 65% /var
swap 35G 13M 35G 1% /tmp
swap 35G 96K 35G 1% /var/run
swap 35G 0K 35G 0% /dev/vx/dmp
swap 35G 0K 35G 0% /dev/vx/rdmp
/dev/md/dsk/d6 46G 209M 45G 1% /export/home
/dev/dsk/c2t5006048C53689BE0d15s6 50G 23G 26G 48% /prod/dba/oracle/binary
/dev/vx/dsk/votedg/votevol 8.0G 55M 7.4G 1% /prod/dba/oracle/vote
/dev/vx/dsk/ocrdg/ocrvol 8.0G 38M 7.5G 1% /prod/dba/oracle/ocr
/dev/vx/dsk/archdg/archvol 100G 41G 55G 44% /prod/dba/oracle/backup
/dev/vx/dsk/proddatadg/proddatavolIAS 217G 125G 86G 60% /prod/dba/oracle/IAS
/dev/vx/dsk/proddatadg/proddatavol 219G 137G 77G 64% /prod/dba/oracle/data
/dev/dsk/c2t5006048C53689BE0d20s0 681G 41G 633G 7% /prod/dba/oracle/Backup

The above is my vfstab.

I need this lun /dev/dsk/c2t5006048C53689BE0d20s0 to be added into VCS group and mounted as /prod/dba/oracle/Backup.

Pls kindly advise.

Operating Systems:
Discussion Filed Under:

Comments 3 CommentsJump to latest comment

Marianne's picture

This looks like a normal Solaris volume/partition with just a small amount of backup data on it.

So, my advice is to:
copy the data off this filesystem,
unmount it and then
initialize the disk to bring it under Volume Manager control. 
Decide if you want to add it to one of the existing dg's or create a new dg (e.g. backupdg):
vxdg init backupdg backupdg01=c2t5006048C53689BE0d20

My assumption is that you also have VxFS, right?
So, create a VxFS filesystem on the new volume.
 

Then add resources to the VCS service group:

dg
volume
mount

Not sure what your current dependancies look like, but you need to ensure that /prod/dba/oracle is mounted before this new mount resource can be brought online.
If you post your main.cf (as File attachment) we can help you with resource dependancies.
 

Create /prod/dba/oracle/Backup on all nodes.

Remove /dev/dsk/c2t5006048C53689BE0d20s0 from vfstab.

Once the new mount resource is online, you can copy the data back.

Hope this helps.

 

PS: 
I have move this discussion to the 'Cluster Server' forum.

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

Gaurav Sangamnerkar's picture

Hi,

Though Marianne has answered in detail ... I am wondering on what exact is the objective here ... Do you already have VCS running ? Do you have veritas volume manager already installed ?

If you are adding new lun to an existing diskgroup at volume manager level, the objective I could think of is to either extend an existing filesystem size .. is that what you are trying to do ?  if yes, then you only need to do operation at volume manager layer ..  As Marianne indicated, you need to copy off data somewhere, initialize disk in Veritas & add it to a existing diskgroup & then extend the volume .. This won't require any operation at VCS layer ..

If you are trying to get all your disks/ resources in VCS for the first time, then steps are more .. You will need to establish cluster, create service groups, resources etc ...

 

G

PS: If you are happy with the answer provided, please mark the post as solution. You can do so by clicking link "Mark as Solution" below the answer provided.
 

allaboutunix's picture

Hi Ahlude,

 

Can you please post main.cf file?