You are here: Installation > Create File Systems and Directory Structure

Create File Systems and Directory Structure

While there are many different configurations depending upon which database management system is being used, below is the basic layout that should be adhered to.  

Please consult the SAP installation guide specific to the database management system for details on the directory structure for the database. All database files must be located on shared disks to be protected by the LifeKeeper Recovery Kit for the database. Consult the database specific LifeKeeper Recovery Kit Documentation for additional information on protecting the database.

The following example is only a sample of the many configurations than can be established, but understanding these configurations and adhering to the configuration rules will help define and set up workable solutions for your computing environment.

  1. From the UI of the primary server, set up comm paths between the primary server and the secondary server.

  2. Add an entry for the actual primary and secondary virtual ip addresses in /etc/hosts.

  3. Log in to LifeKeeper on the primary server and create virtual ip resources for your host and your database (ex. ip-db10 and ip-sap10).

  4. Set up shared disks between the two machines. 

Note : One lun for database and another for SAP data is recommended in order to enable independent failover. 

  1. For certain configurations, the following tasks may need to be completed:

  1. Create the file systems on shared storage for SAP (these are sapmnt, saptrans, ASCS{No}, SCS{No}, DVEBMGS{No}). Note: SAP must be stopped in order to get everything on shared storage.
  1. Create all file systems required for your database (Example: mirrlogA, mirrlogB, origlogA, origlogB, sapdata1, sapdata2, sapdata3, sapdata4, oraarch, saparch, sapreorg, saptrace, oraflash -- mkfs -t ext3 /dev/oracle/mirrlogA )

Note: Consult the LifeKeeper for Linux Technical Documentation for the database-specific recovery kit and the Component Installation Guide SAP Web Application Server for additional information on which file systems need to be created and protected by LifeKeeper.

  1. Create mount points for the main SAP file systems and then mount them (required). For additional information, see the NFS Mount Points and Inodes topic. (Note: /exports directory was used to mount the file systems.)

mount /dev/sap/sapmnt /exports/sapmnt

mount /dev/sap/saptrans /exports/saptrans

  1. Create temporary mount points using the following command.

mkdir /tmp/m{No}

  1. Mount the three SAP directories (the following mount points are necessary for each Application Server present whether using external NFS or not).

mount /dev/sap/ASCS00 /tmp/m1

mount /dev/sap/SCS01 /tmp/m2

mount /dev/sap/DVEBMGS02 /tmp/m3

Proceed to Moving Data to Shared Disk and LifeKeeper.

© 2012 SIOS Technology Corp., the industry's leading provider of business continuity solutions, data replication for continuous data protection.