- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Deleting a 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
Forums
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
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-17-2007 02:48 AM
07-17-2007 02:48 AM
I have 2 packages on my cluster. These 2 packages are using the same vg. I need to delete one of teh packages. Q1: If I delete a package will this effect the other package. Q2:Will the deletion effect the vg? [ will it also be deleted etc]
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2007 02:58 AM
07-17-2007 02:58 AM
SolutionSimply delete the package you do not want, and remove any files/subdirectories for it.
this does NOT affect any other package or volume group information.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2007 03:07 AM
07-17-2007 03:07 AM
Re: Deleting a Package
When I fail over one package then the other package gives an error as the vg is shared.
As far as both the packages are running on the same node there is no effect.
Also the package I want to delete does not have any systems on it. It just mounts a fiel system
so in fact I want to do the following
1. cmhaltpkg pkg_name
2. cmdeleteconf -p pkg_name
best regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2007 03:08 AM
07-17-2007 03:08 AM
Re: Deleting a Package
The answer depends on the contents of the package control scripts.
If you wrote them in such a way that one package needs the other package running, then you have a problem.
In general, if two programs need to operate on the same volume group, activated by a package control script then you should only have one package control scrip that starts two services.
So, if package 1 needs to use the volume group that package 2 activates then you have a problem and you need to transfer the volume group activation code to package 1 prior to deleting package 2 from the cluster.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2007 03:37 AM
07-17-2007 03:37 AM
Re: Deleting a Package
VOLUME_GROUP /dev/vgsavlock
In the Package control file of pkg1.
The volume group activation method is defined above. The filesystems
associated with these volume groups are specified below.
VG[0]="vgsavcl"
The lv information
LV[0]="/dev/vgsavcl/lvol1"; FS[0]="/data1"; FS_MOUNT_OPT[0]="-o largefiles,delay
log"
-----------------------
Pkg2 control file.
The volume group activation method is defined above. The filesystems
# associated with these volume groups are specified below.
VG[0]="vgsavclâ
LV[0]="/dev/vgsavcl/lvol7"; FS[0]="/oracle9i"; FS_MOUNT_OPT[0]="-o largefiles"
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2007 04:02 AM
07-17-2007 04:02 AM
Re: Deleting a Package
pkg1 does not have any files or binaries or services in the file system of pkg2.
pkg2 does not have any files or binaries or services in the file systems of pkg1. Both are absolutley indpendent packages. the only dependency is this vg.
So a cmdelete of the package should not have any effect. Please correct me if I am wrong.
Pkg1 is my production system with all users connected now.
Thanks