- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: adding LV in package
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2009 03:14 PM
тАО10-15-2009 03:14 PM
I want to add a new LV in cluster package script.Please provide the steps needs to be followed.
NOw we are going to switch over the package.
Regards
himacs
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2009 03:25 PM
тАО10-15-2009 03:25 PM
SolutionHimacs,
1. Create the lv from the cluster pkg vg.
( There should be avaialbe space in the vg )
# lvcreate -L 1024 /dev/vg_name
# newfs the lvol
# newfs -F vxfs -o largefiles /dev/vg_name/lvol_name
2. create mount point
# mkdir /fs01
3.Add in package control script :
# cd /etc/cmcluster/pkg_name/
# vi pkg_name.conf #[Where pkg_name.conf is your package name ]
-Add it after the last line in LV[] section.
-Add the fs entry in the last of FS[] section.
4. Copy the pkg_name.conf file to the FO_node same location.
6. create the mount point in fo_node:
# on fo_node: # mkdir /fs01
7.Manually mount the filesystem on pri:,
# mount /dev/vg_name/lv_name /fs01
8. During next package start the filesystem will be mounted automatically with package start script.
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2009 03:32 PM
тАО10-15-2009 03:32 PM
Re: adding LV in package
(to add the lv & fs entry in pkg_name.cntl file)
3.Add in package control script :
# cd /etc/cmcluster/pkg_name/
# vi pkg_name.cntl
#[Where pkg_name.cntl is your package control script name ]
-Add it after the last line in LV[] section.
-Add the fs entry in the last of FS[] section.
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2009 03:34 PM
тАО10-15-2009 03:34 PM
Re: adding LV in package
>>LV[12]="/dev/vg02/tracebkp"; FS[12]="/trace_bkp"; FS_TYPE[12]="vxfs"; FS_MOUNT_OPT[12]="-o largefiles"; FS_UMO
UNT_OPT[12]=""; FS_FSCK_OPT[12]="" >>
I just added FS /trace_bkp in package script
pkg1.sdf.sh .
The filesystem is running in active cluster,but the same entry is missing in passive.Now m doing switch over the package into passive,so that FS will be automatically mounted.
Do i execute any command apart from this
regards
himacs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2009 03:38 PM
тАО10-15-2009 03:38 PM
Re: adding LV in package
3.Add in package control script :
# cd /etc/cmcluster/pkg_name/
# vi pkg_name.conf #[Where pkg_name.conf is your package name ]
-Add it after the last line in LV[] section.
-Add the fs entry in the last of FS[] section.
In addition, you might need to change the ownership after mounting new LV.
Cheers,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2009 03:52 PM
тАО10-15-2009 03:52 PM
Re: adding LV in package
> Do i execute any command apart from this:
- No.
Adding LV doesnt required any additional step in ServiceGuard. You dont need to compile the package config file or any other extra step.
- If you are doing failover test, keep an eye on the package log file /etc/cmcluster/pkg/pkg.cntl.log file
[ #where pkg is your package name]
In the log file you will see the mounting & unmouting notification of the Filesystem. Verify the filesystem once package has been started.
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2009 03:55 PM
тАО10-15-2009 03:55 PM
Re: adding LV in package
Note:
-If you are adding disk(s) in the vg , remember to do export/import of the vg in the FO Node.
cheers,
Raj.
(* Appreciate if you could take some time to assign the pending points.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2009 04:17 PM
тАО10-15-2009 04:17 PM
Re: adding LV in package
Thanx for the responses.
The switch over has been done with new FS added.
Regards
himacs