Managing Serviceguard Extension for SAP Version B.05.10, September 2010
Non-CFS Directory Structure Conversion
The main purpose of this section is to ensure the proper LVM layout and the right distribution
of the different file systems that reside on shared disks. This section does not need to be consulted
when using the HP Serviceguard Storage Management Suite with CFS and shared access Option
3.
Logon as root to the system where the SAP Central Instance is installed (primary host). If the
database is installed on a different host, also open a shell as root on the database machine. Stop
the SAP Application Server and the database if they are not already.
Installation Step: IS010
The device minor numbers of the shared volume groups must be the same on all cluster hosts
and must not be in use on any of the cluster hosts.
To keep track of that, record all the minor numbers already in use on the cluster hosts. See Table
3-1 — “Hosts and Device Minor Numbers.”
To find these minor device numbers on each cluster hosts, type:
ll /dev/vg*/group|cut -c 44-45
Table 3-1 Hosts and Device Minor Numbers
device minor numbershostname
Installation Step: IS020
Verify that the existing volume group layout is compliant with the needs of the Serviceguard
package(s) as specified in the tables of chapter 2.
1. Make sure that database specific file systems and Central Instance and/or System Central
Services specific file systems are separated onto different volume groups. All directories
that are labeled shared in these tables need to reside on logical volumes on a shared external
storage system. The recommended separation in different volume groups can also be taken
from these tables.
A default mount point for SAP applications is /usr/sap/<SID>. For Serviceguard, change
this to /usr/sap/<SID>/<INSTNAME><INR>. If /usr/sap/<SID> is the mount point,
move some files to a local logical volume, and then change the mount point.
Example for a SAP Central Instance:
mkdir /usr/sap/<SID>.new
cd /usr/sap/<SID>
bdf . # Remember the filesystem column.
# It will be referred to as <dev_path> later.
find . -depth -print|cpio -pd /usr/sap/<SID>.new
cd /
umount /usr/sap/<SID>
rmdir /usr/sap/<SID>
mv /usr/sap/<SID>.new /usr/sap/<SID>
chmod 751 /usr/sap/<SID>
chown <SID>adm:sapsys /usr/sap/<SID>
cd /usr/sap/<SID>/DVEBMGS<INSTNR>
rm -r * # be careful with this
cd ..
mount <dev_path> /usr/sap/<SID>/DVEBMGS<INSTNR>
cd DVEBMGS<INSTNR>
# remove everything that is different from DVEBMGS<INSTNR>,
ls
# Example: rm -r SYS
# rm -r D00
cd DVEBMGS<INSTNR>
find . -depth -print|cpio -pd /usr/sap/<SID>/DVEBMGS<INSTNR>
HP-UX Configuration 53