- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: PKG halting failed
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
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
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
07-20-2011 10:01 PM - edited 07-20-2011 10:07 PM
07-20-2011 10:01 PM - edited 07-20-2011 10:07 PM
Hi All,
I am facing one problem in halting one package in my 2node cluster.I am having 4 vg in cluster pkg.Cluster was up and running smoothly till some days back.I added one new LV In the 4th VG.And I didnt make it as shared LV,instead as a local FS.Now this is creating problem when I am trying to bring this package.It is saying like VG2 cant be deactivated.Now what is the solution for this.Can I add the newly created FS into cluster.If yes,whts the procedure.If no,what is the other solution.
OS - HP-UX 11.31
MCSG - A.11.20.00.01
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2011 01:43 AM
07-21-2011 01:43 AM
Re: PKG halting failed
Hi ,
> And I didnt make it as shared LV,instead as a local FS.
It is not very clear what you mean here, can you write all steps you did on your lv adding operation. And also send the log file entries.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2011 09:17 AM
07-22-2011 09:17 AM
Re: PKG halting failed
Usually a VG cannot be deactivated when files are still open on the VG volumes (file systems). Use fuser on each logical volume/mount point, or lsof (non_HP utility) to identify processes that intiated the I/O, then learn why they have not completed the I/O.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2011 06:56 AM
08-05-2011 06:56 AM
SolutionHi Kunjuttan,
I think it is better to check if some users or processes still using that particular VG that can't be deactivated, as turgay and stephen has mentioned.
Did you add a lvol to the same VG that can't be deactivated (VG2) ?
As far as I know it would not cause issues during the package halt even if you did not reimport the VG in the other node(s) after adding the logical volume to it in one node but It will certainly cause issues while starting the package in the other node(s). If that is what you are facing now. Then, you need to reimport the VG (in other nodes) to which you have added the logical volume, the steps are as follows.
Steps for the node that has the VG active:
1)create a mapfile
vgexport -v -p -s -m /tmp/<vg name>.map <vg name>
2)copy the map file to the other node
Steps to be performed on each other node(s):
3. Note VG minor number and permissions/ownership:
node2# ll /dev/<vg name>
total 12
crw-r----- 1 root sys 64 0x010000 group
brw-r----- 1 root sys 64 0x010001 lvol2
crw-r----- 1 root sys 64 0x010001 rlvol2
4. Export the VG:
node2# vgexport <vg name>
5. Re-create VG directory:
node2# mkdir /dev/<vgname>
6. Re-create VG group special file, use minor number noted above.
node2# mknod /dev/<vgname>/group c 64 0x010000
7. Run vgimport using the copied mapfile:
node2# vgimport –v –s –m /tmp/<vgname>.map <vgname>
8. Change permissions and ownership of the VG directory and its device special files
according to the information noted above.
9. Test the activation of the VG in read-only mode and perform vgcfgbackup:
node2# vgchange –a r <vgname>
node2# vgcfgbackup <vgname>
Regards,
Srinivasan Palani