- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- disks handled by SG
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
09-01-2006 03:32 AM
09-01-2006 03:32 AM
This is to make sure i don't have any unused disks in the system. And disks handled by SG is shown as unused by LVM on a inactive cluter node.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2006 03:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2006 03:39 AM
09-01-2006 03:39 AM
Re: disks handled by SG
Each package generally has its own VG or VGs that it activates and mounts filesystems from when the package starts.
Your best bet would be to look through the configuration for each package and not down the VGs used. The do a 'strings /etc/lvmtab' and note the disk devices used by each VG. You could then compare that list to your 'ioscan -kfnC disk' output to see any "extra" disks on each system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2006 03:41 AM
09-01-2006 03:41 AM
Re: disks handled by SG
Disks are shared between nodes in cluster other than vg00 disks.
If node1 is active then you can see disks are writable under node1. At the same time, node2 doesn't have access to the same volume group which is defined in cluster config.
If you want to see any unused disks then compare your /etc/lvmtab to "sympd list" for EMC disks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2006 03:41 AM
09-01-2006 03:41 AM
Re: disks handled by SG
strings /etc/lvmtab
will show all the disks used by LVM, even if the VG they are in is not currently active on that node.
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2006 04:25 AM
09-01-2006 04:25 AM
Re: disks handled by SG
SG works with volume groups as it mantioned above. In order to see used volume groups, look at the cluster *.ascii file. The groups are listed at the end of the file.
Also you can llok at all *cntl files:
find /etc/cmcluster -name "*.cntl" -exec grep VG\[ {} \; |grep -v ^#
Both these ways give you list of volume groups. The next stage is :
strings /etc/lvmtab , in order to see appropriate disks
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2006 05:03 AM
09-01-2006 05:03 AM
Re: disks handled by SG
To identify them, use with 'cmgetconf, which will survey the disks, and recreate a cluster configuration file with a list of LVM volume groups that have the cluster ID on them. Then use 'strings /etc/lvmtab' on each server to locate the /dev/dsk paths to the disks operated by each volume group.
If the /etc/lvmtab is not current and does not describe all volume groups managed by Serviceguard, then it is more difficult to identify which disks has Serviceguard structures on them. If you have this situation, open a case with an HP Support Center and discuss the capabilites of the 'lvm' command to divulge the cluster-related information contained in the VGDA on a disk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2006 09:10 AM
09-01-2006 09:10 AM
Re: disks handled by SG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2006 09:11 AM
09-01-2006 09:11 AM
Re: disks handled by SG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2006 10:08 AM
09-01-2006 10:08 AM
Re: disks handled by SG
To see the disks connected to system,
#ioscan -fnC disk
To see the disks configured using lvm,
#strings /etc/lvmtab
To See the VGs using in cluster,
check the cluster ASCII file and also check package control scripts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2006 12:20 AM
09-07-2006 12:20 AM
Re: disks handled by SG
Vivek Pendse
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2006 07:50 PM
09-11-2006 07:50 PM
Re: disks handled by SG
Tro to check
echo "0x12080?8x"|adb /dev/dsk/cXtYdZ
You should look for an "1" that means the vg was marked using "vgchange -c y" command.
RGDS
Mauro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2006 04:20 AM
09-12-2006 04:20 AM
Re: disks handled by SG
You can view all the VG, LVM, which are part pf cluster in cd /etc/cmcluster/PKG/PKG.cntl
LK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2006 06:15 AM
09-14-2006 06:15 AM
Re: disks handled by SG
I will build a script to handle it. I will go though all the answers in that process and assign point acording to the usefullness :-).