High Availability for Oracle ASM using HP Serviceguard Solutions, September 2010
Table Of Contents
- High Availability for Oracle ASM using HP Serviceguard Solutions
- Introduction
- Terms and definitions
- ASM background
- HP Serviceguard support for ASM on HP-UX 11i v2
- HP Serviceguard support for ASM on HP-UX 11i v3 and later
- Framework for ASM support with Serviceguard
- Installing, configuring, and troubleshooting
- Related documentation
- Appendix
- Call to action

• Null out the initial part of each LV user data area to ensure ASM accepts the LV as an ASM disk
group member. Note that we are zeroing out the LV data area, not its metadata. It is the ASM
metadata that is being cleared.
# lvcreate -n lvol1 vgora_asm
# lvcreate -n lvol2 vgora_asm
# lvchange -C y /dev/vgora_asm/lvol1
# lvchange -C y /dev/vgora_asm/lvol2
# Assume vgdisplay shows each PV has 2900 extents in our example
# lvextend -l 2900 /dev/vgora_asm/lvol1 /dev/disk/disk1
# lvextend -l 2900 /dev/vgora_asm/lvol2 /dev/disk/disk2
# Assume a PV timeout of 30 seconds.
# There are 2 paths to each PV, so the LV timeout value is 60
seconds
# lvchange -t 60 /dev/vgora_asm/lvol1
# lvchange -t 60 /dev/vgora_asm/lvol2
# dd if=/dev/zero of=/dev/vgora_asm/rlvol1 bs=8192 count=12800
# dd if=/dev/zero of=/dev/vgora_asm/rlvol2 bs=8192 count=12800
• Export the volume group across the Serviceguard cluster and mark it as exclusive, as specified by
Serviceguard documentation. Assign the right set of ownerships and access rights to the raw logical
volumes on each node as required by Oracle (oracle:dba and 0660, respectively).
We can now use the raw logical volume device names as disk group members when configuring
ASM disk groups using the Oracle database management utilities. There are a few ways to configure
the ASM disk groups, for example, the dbca database creation wizard and sqlplus.
The same command sequence can be used for adding new disks to an existing volume group that is
being used by ASM to store one or more database instances.
Call to action
HP welcomes your input. Please give us comments about this white paper, or suggestions for related
documentation, through our technical documentation feedback website:
http://www.hp .com/bizsupport/feedback/ww/webfeedback.html
Share with colleagues
© Copyright 2010 Hewlett-Packard Development Company, L.P. The information contained herein is subject to
change without notice. The only warranties for HP products and services are set forth in the express warranty
statements accompanying such products and services. Nothing herein should be construed as constituting an
additional warranty. HP shall not be liable for technical or editorial errors or omissions contained herein.
Oracle
is a registered trademark of Oracle Corporation and/or its affiliates.
4AA3-1392ENW, Created September 2010