1834127 Members
2210 Online
110064 Solutions
New Discussion

Service Guard question

 
SOLVED
Go to solution
George_231
Occasional Advisor

Service Guard question

I have a very limited experience with Service Guard to the extend of one or two command. I have the following task:
MAC - GM ONSTAR - Prod server uspls038 needs unmount file systems and delete service guard packages.
Start Time: 10/13/05 21:00 End Time: 10/13/05 23:59 (EST)

SA to unmount the following file systems on uspls038 and delete the service guard packages which contain these file systems.

The osp4 package
/ldata/pln1/67osp4data1
/ldata/pln1/67osp4logs1

The obp4 package
/ldata/pln1/68obp4data1
/ldata/pln1/68obp4logs1

The databases on these mount points are no longer running and have been archived. We are doing this to free up the following LUN's for the storage.
Could someone give me some instructions.
I'll greatly appreciate that.
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: Service Guard question

The package startup scripts, usually in /etc/emcluster will show what volunge groups are mounted by the packages.

You merely use cmhaltpkg to halt the package and the volume group should umount.

You will need to potentially do this on the failover nodes as well.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
baiju_3
Esteemed Contributor
Solution

Re: Service Guard question

1)Halt the packges by

cmhaltpkg -n servername pkg_name

2)verufy using cmviewcl -vp pkg_name

3)delete the package using

cmdeleteconf -p pkg_name

4)go to /etc/cmcluster/pkg_name

edit pkg.cntl file and see the LVs and VGs configured .

5)check that all the Vgs specified are deacivated now by vgdisplay -v vg_name .


6)take map file for these VGs for backup and export Vgs .

vgexport -v -p -s -m /tmp/vgname.map -f vgname.disks vgname

vgexport -v vgname .

7)verify that these VGs are removed by

strings /etc/lvmtab |grep vgname

8)vgname.disks file will contain all the c?t?d? s freed from this VG , you can reclaim these disks .

9)finally remove the package directory ,

/etc/cmcluster/pkg_name on primary and alternate nodes.

10)remove if there was ny host file entry in /etc/hosts file.



Have fun ,
bl.














Good things Just Got better (Plz,not stolen from advertisement -:) )
George_231
Occasional Advisor

Re: Service Guard question

Thanks a lot, I got the idea now.