HP Serviceguard Extension for SAP (SGeSAP) manual Non-CFS Directory Structure Conversion

Models: Serviceguard Extension for SAP (SGeSAP)

1 142
Download 142 pages 58.48 Kb
Page 48
Image 48

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.

They must differ from all other volume group device minor numbers used on 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*/groupcut -c 44-45 Table 3-1 Hosts and Device Minor Numbers

hostname

device minor numbers

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 you have to move some files to a local logical volume and change the mount point.

For 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 -printcpio -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>,

48 Step-by-Step Cluster Conversion

Page 48
Image 48
HP Serviceguard Extension for SAP (SGeSAP) manual Non-CFS Directory Structure Conversion, Mkdir /usr/sap/SID.new