Operating System - HP-UX
1825805 Members
2373 Online
109687 Solutions
New Discussion

Adding new lvols to Service Guard

 
SOLVED
Go to solution
dictum9
Super Advisor

Adding new lvols to Service Guard


I created some new lvols that need to be in a pre-existing package. I understand that they no longer go into the /etc/fstab file but into the ~/package_name.cntl.

What do I do activate (mount) them after the .cntl file has been modified?
5 REPLIES 5
Steven E. Protter
Exalted Contributor
Solution

Re: Adding new lvols to Service Guard

Shalom,

Stop and start the package script.

If it didn't mount the lvm before the package control script will need to be modified to perform the mount.

This is well documented in the comment section of the script, if you used a standard template.

You are correct, you don't want to use /etc/fstab

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
Doug O'Leary
Honored Contributor

Re: Adding new lvols to Service Guard

Hey;

Assuming you don't want to restart the package, simply mount them using the mount command. Don't forget to export/import the affected vg onto your adoptive node and to update the cntl file on the adoptive node with the new lv info.

At some point, sooner rather than later, you'll want a package outage in order to verify the new mount points mount correctly.

Doug

------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
whiz_kid
Regular Advisor

Re: Adding new lvols to Service Guard

i guess aftr modifyig the pkg file, you can do a "cmcheckconf -P pkg.conf" and "cmapplyconf -P pkg.conf" to apply changes dynamically.
Denver Osborn
Honored Contributor

Re: Adding new lvols to Service Guard

If you haven't done so already, don't forget to export/import the VG on the passive node(s) after adding the lvol. Create your map file from the active node and use it when you import on the passive node(s).

-denver
Nguyen Anh Tien
Honored Contributor

Re: Adding new lvols to Service Guard

1, Package control file need to modified (.cntl)
2, copy control file to other nodes
HTH
HP is simple