Go to main content

Oracle® Solaris Cluster Data Service for SAP NetWeaver Guide

Exit Print View

Updated: November 2018
 
 

Preparing the Hosts

Follow the instructions in this section to prepare the hosts.

  1. On all Oracle Solaris 11 hosts, add the following packages to install SAP:

    # pkg set-publisher -O your repository solaris
    # pkg install solaris-large-server
    # pkg install solaris-desktop
    # pkg install motif
    # pkg install unrar
    # pkg install xclock
    # pkg install expect
    # pkg install library/medialib
    # pkg install pkg:/developer/library/lint
    # svcadm enable svc:/application/graphical-login/gdm:default
    # pkg install pkg:/compatibility/ucb
    # svcadm enable svc:/network/login:rlogin
    # svcadm enable telnet
    For additional locales, do the following:
    # pkg change-facet facet.locale.*=True
    # pkg install system/input-method/iiim
    # pkg install pkg:/system/locale/extra
    # pkg install pkg:/library/motif/libdpstkxm
  2. On all hosts, add modifications for SAP to the /etc/system directory and reboot.

    # set rlim_fd_cur=8192
  3. For 7.3, add 40 GBytes swap space per node.

  4. Add a fully qualified domain name to all hostnames and logical hosts in the /etc/hosts directory.

  5. Add the following groups.

    # groupadd -g 700 sapinst
    # groupadd -g 701 sapsys
    # groupadd -g 702 sdba
  6. Add the users as follows:

    # useradd -o -u 0 -g 1 -d / -c "validation" -s /bin/tcsh emroot
    
    On Oracle Solaris 11: 
    # useradd -o -u 699 -g 1 -d / -c "validation" -s /bin/tcsh emroot
    # useradd -u 700 -g 701 -m -d /export/qe3adm  \
    -c "SAP system administrator" -s /bin/tcsh qe3adm
    # useradd -u 701 -g 702 -m -d /export/sdb  \
    -c "SAPDB software owner" -s /bin/tcsh sdb
    # useradd -u 702 -g 701 -m -d /export/sqdqe3  \
    -c "Owner of the database instance QE3" -s /bin/tcsh sqdqe3
    # useradd -u 703 -g 701 -m -d /export/sapadm  \
    -c "SAP system administrator" -s /bin/tcsh sapadm
    # useradd -u 704 -g 701 -m -d /export/daaadm  \
    -c "owner of the instance DAA" -s /bin/tcsh daaadm

    Depending on the database of your choice, you might need different users other than sdb and sqdqe1.

  7. Place all the users except sdb and emroot in the sapinst group.

    You must place sqdqe3 in the sdba group. Whether you need the sdb user or others will depend on the database that you choose.

  8. Give daaadm a password that is the same as the master password you will choose later on.


    Note -  On all nodes, QE3 is the SAP system name in this example.

    Do not give a password to the sdb user.

  9. Add the users, qe3adm and sapadm, to the sapinst group in the /etc/group directory.

  10. Add the user, sqdqe3, to the sdba group in the /etc/group directory.

  11. Define the project for QE3 on all the nodes.

    QE3:223:SAP System QE3:daaadm,emroot,qe3adm,sapadm,\
    sdb,sqdqe3::process.max-file-descriptor=(basic,65536,deny) \
    ;process.max-sem-nsems=(priv,2048,deny) \
    ;project.max-sem-ids=(priv,9216,deny) \
    ;project.max-shm-ids=(priv,256,deny) \
    ;project.max-shm-memory=(priv,18446744073709551615,deny) 
  12. Define the project in the /etc/user_attr directory on all the nodes.

    qe3adm::::project=QE3
    sqdqe3::::project=QE3
    sdb::::project=QE3
    emroot::::project=QE3
    sapadm::::project=QE3
  13. Give the sidadm user cluster administration rights on all the nodes.

    # usermod -A solaris.cluster.admin qe3adm # for 7.30 (kernel 7.20_EXT)

Note -  If you want to do the installation as root, root must have project limits of QE3. On Oracle Solaris 11 systems, the alternative to the root user is sudo su as UID 0 will not work for emroot. The alternate user requires a modification in the /etc/sudoers directory.

The following links are assumed on the global mount at /sapstore.

This example is based on a lab storage layout. On production systems, the process will be different. In this example, you need only one HAStoragePlus resource. On production systems, you will need a different layout.