Sun N1 Advanced Architecture for SAP Solutions 5.2.1 Installation Guide

Chapter 2 Installation of the N1 AA Manager

This chapter describes the installation of the N1 AA base components. The components rely on each of the N1 AA modules.


Note –

All installation steps described in this chapter can only be executed on the N1 AA Server.


PostgreSQL Database

The following is a requirement of the PostgreSQL database. If the file is missing or the settings are incorrect, database startup errors.

Requirements for Solaris 9

The following file and settings need to be present:

Create OS User and Group

N1 AA packages are dependent on this user and group. The creation of both is only necessary if the user and group are not in LDAP.

  1. Create OS group n1aa.


    # /usr/sbin/groupadd n1aa
    
  2. Create OS user n1aa (assigned to group n1aa).


    #  /usr/sbin/useradd -d /opt/SUNWn1aa -g n1aa n1aa
    
  3. Assign password to user n1aa


    # passwd n1aa
    

Install Database Software

  1. If the /opt/SUNWn1aa/pgsql directory already exists, move it to a backup location by using the following command:


    # mv /opt/SUNWn1aa/pgsql /opt/SUNWn1aa/pgsql_backup
    
  2. Copy the package SUNWn1aapgsql.pkg from the installation media to a temporary installation directory. Navigate to that directory.

  3. Install the package SUNWn1aapgsql.pkg as superuser:


    # pkgadd -d SUNWn1aapgsql.pkg
    

    This following are installed:

    • PostgresSQL

    • Database n1aa

    • Start and stop scripts on Solaris 9 or system management facility (smf) manifest on Solaris 10

      The pkgadd command prompts for the port of the N1 AA PostgreSQL on which the database listens. The standard port is 5433.

  4. Start the database on Solaris 9.


    # /etc/init.d/n1aapgsql start
    

Test login

  1. Login to the database to verify a successful installation. As user n1aa:


    # /opt/SUNWn1aa/pgsql/bin/psql -p 5433 n1aa
    

    You should now be connected to the PostgreSQL database n1aa.

  2. List the table count.


    # n1aa=# \dt
    

    A list of 32 rows should be displayed.

  3. Exit the sql-Editor.


    # n1aa=#\q
    

Sun Web Console

Extract the SunTM Web Console Software

  1. Create a temporary installation directory on the N1 AA server and copy image-ext.tar and l10n.tar into it.

  2. Extract the software.


    # tar -xf image-ext.tar
    

    # tar -xf l10n.tar
    

Install Sun Web Console Software

As superuser:


# ./setup

Note –

On Solaris 10, or if you have the Sun Web Console already installed, you should answer the following question with a y to upgrade the Sun Web Console to the latest release.


The Sun Java(TM) Web Console software is about to be upgraded.
    Do you want to continue? [n]? [y,n,?]

N1 AA Manager


Note –

Installation of the N1 AA PostgreSQL must have completed successfully.


Install N1 AA Manager

  1. Copy the SUNWn1aamngr.pkg package from the installation media to a temporary installation directory. Navigate to the installation directory.

  2. Install the package SUNWn1aamngr.pkg as superuser.


    # pkgadd -d SUNWn1aamngr.pkg
    

    This performs the following functions:

    • Create directory /usr/share/webconsole/n1aa

    • Install N1AA manager into this directory

    The pkgadd command prompts for the port of the N1 AA PostgresSQL on which the database listens. The standard port is 5433.

Register N1 AA Manager

As superuser:


# /usr/sbin/smreg add -a /usr/share/webconsole/n1aa

Change Session Timeout Parameter of N1 AA Manager

As superuser:


# /usr/sbin/smreg add -p session.timeout.value=60

Change Memory Parameter of N1 AA Manager

As superuser:


# /usr/sbin/smreg add -p java.options="-server -Xms256m -Xmx512m"

Restart N1 AA Manager

For more information, see Starting and Stopping the N1 AA Manager.

Test login

  1. Login to the Sun Web Console to verify a successful installation.

  2. Go to https://N1 AA Server Name:6789/

  3. Use OS user n1aa and corresponding password to log on.

    You should now be in the entry page of the Java Web Console. In the section Desktop Applications, the application N1 Advanced Architecture is available.


Note –

Delete the parameter none.general.auth.cli from the general customizing settings of N1 AA. For additional instructions on how to do this, see Customizing in Sun N1 Advanced Architecture for SAP Solutions 5.2.1 User’s Guide.


N1 AA Command Line Interface


Note –

Installation of the N1 AA Manager must have completed successfully.


Install N1 AA CLI

  1. Copy the package SUNWn1aacli.pkg from the installation media to a temporary installation directory and change into this installation directory.

  2. Install the package SUNWn1aacli.pkg as superuser.


    # pkgadd -d SUNWn1aacli.pkg
    

    The following actions occur:

    • Directory /opt/SUNWn1aa/cli is created

    • Installs the Command Line Interface into this directory