- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- VG is still Active
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
08-30-2001 03:04 AM
08-30-2001 03:04 AM
1)How VG could be deactivated without shutdown my Server?
2) What is the reason behind this problem.
Thanks
Senthil
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2001 03:16 AM
08-30-2001 03:16 AM
Re: VG is still Active
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2001 03:27 AM
08-30-2001 03:27 AM
Re: VG is still Active
Maybe this is the cause why the vgchange fails?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2001 03:31 AM
08-30-2001 03:31 AM
Re: VG is still Active
I'd look with 'fuser' at the the mountpoint(s) to find what and who is using the logical volumes. Relate this to your package control scripts and you should have a better idea of what's wrong.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2001 03:32 AM
08-30-2001 03:32 AM
Re: VG is still Active
This has to be unmounted before you can do vgchange.
Look at your cluster log files to find out why this lvol was not unmounted .
The reason might be that a process accessing this lvol could not be shutdown down by cmhaltpkg.
Regards
Rainer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2001 03:34 AM
08-30-2001 03:34 AM
Re: VG is still Active
As stated earlier, the filesystems of that VG might be mounted.
To see what processes are using it:
fuser -cu
To kill all processes using that Fs and free it
fuser -cuk
After this try unmounting and then try deactivating the VG
Hope this helps
-Jagadeesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2001 03:35 AM
08-30-2001 03:35 AM
Re: VG is still Active
Check in your packages' control scripts (i.e. usually /etc/cmcluster/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2001 03:45 AM
08-30-2001 03:45 AM
Re: VG is still Active
I am not mounting LV to any file system. It is used for the Informix Chunk. But the Informix is down. How we can check whether it is used by other users.
Thanks
Senthil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2001 03:48 AM
08-30-2001 03:48 AM
Re: VG is still Active
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2001 03:54 AM
08-30-2001 03:54 AM
Re: VG is still Active
There may be one of the 2 reasons for this:
1) Either any process is accesing one of mount points(LV) in ur VG and ur MC/SG script unable to kill it. In this case u need to manually find out these processes using
# fuser -cu
#fuser -ck
and kill the processes, then unmount the filesystem, run vgchange.
2) Because of the problem with shared memory, sometimes the shared memory will not get released by some of the processes and MC/SG will lack of shared memory to perform certain operations. In this case too u have to manuallu unmount the filesystem and then run vgchange.
But u should soon increase ur shmmmax parameter or findout the programs due to which this shared memory locking occurs and modify them inorder to avoid second situation.
Hope it is clear.........
Cheers...
Satish.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2001 04:18 AM
08-30-2001 04:18 AM
Re: VG is still Active
I kill all the active users(Informix) bu using fuser command. Then
vgchange -a n vgname
vgchange -c n vgname
But the Package is unable to start up because the VG is not activated by the cluster. When the VG is manually started
vgchange -c y vgname - Sucessful
vgchange -a y vgname give me the following error message.
Activation mode requested for the volume group "/dev/vg_tz02" conflicts with configured mode
Could you let me know how I can resolve this issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2001 04:26 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2001 04:39 AM
08-30-2001 04:39 AM
Re: VG is still Active
How I can prevent it to be hppening again (Informix users hold the LV as a result the VG does not deactivated).
Informix IDS 2000 is running on HPUX 11.X,
Version IDS 9.21 FC4
SHMMAX = 4294967296 (Informix Recomended Valure)
Any one can help?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2001 05:08 AM
08-30-2001 05:08 AM
Re: VG is still Active
I would a scripts similar to (I've just made this up so do test it):
INFORMIXSERVER=???
ONCONFIG=???
# do a nice kill!
onmode -yuk
sleep 30
# Check to see if it has worked, if not get nasty
ons=$(ps -fe | grep oninit | grep -v grep | wc -l)
if [ $ons -ne 0 ]
then
echo "error*** informix did not stop nicely"
echo "Using a hammer"
kill -9 $(ps -fe | grep oninit | awk '{print $2}'
sleep 30
for m in $(ipcs -mat | grep informix | awk '{print $2}'
do
ipcrm -m $m
done
fi
It sounds like to me that it was not shut down properly (hence the shared memory left lying 'round). You can actually just get away with onmode -yuk but if there are problems then this happens
Tim