Sun N1 Service Provisioning System User's Guide for SAP Plug-In 1.0

Chapter 4 Using the SAP Plug-In

Importing the SAP plug-in into the Sun N1 Service Provisioning System enables you to maintain SAP systems in the Sun Cluster, SAP AC, and default environments. You can also provision the SAP Application Server instances through the Sun N1 Service Provisioning System software.

SAP plug-in provides a number of specific component types and provides easy access to functions for working with SAP applications. This chapter describes the following information:

Managing SAP Groups

The SAP Tasks page of the software provides links to create and manage SAP groups.

This section describes the following tasks:

ProcedureHow to List SAP Instances In a Group

This procedure generates a list of SAP instances in an SAP logon group or Remote Function Call (RFC) logon group. The output is written to the STDOUT file.

Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the Utilities for SAP Groups section of the SAP Tasks page, click Get SAP Instances.

  3. Click Run.

  4. Select the target host or target host set.

  5. Provide the plan variables.

    Group identifier

    This is a required field. Type L for login group or type S for server group. Default value: L.

    Logical host name for SAP system

    This is a required field.

    SAP SID

    This is a required field. A three–character alphanumeric identifier.

    SAP instance number

    This is a required field. A two–digit number.

    SAP RFC client that runs RFC calls

    This is a required field. A three–digit number. Default value: 000.

    SAP user that runs RFC calls

    This is a required field. SAP userid. Default value: sap*.

    RFC user password

    This is a required field.

    SAP logon group or RFC server group name

    This is a required field.

  6. Click the Run Plan (Includes Preflight) button.

    The Deployment Results page is displayed. If the plan fails, error messages are displayed.

ProcedureHow to List SAP Groups

This task retrieves SAP logon or server groups for an SAP instance. The results are in stdout.

Before You Begin

For the plan to run successfully, the file systems on the target host must be mounted.

Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the Utilities for SAP Groups section of the SAP Tasks page, click Get SAP Group.

  3. Click Run.

  4. Select the target host or target host set.

  5. Provide the plan variables.

    Group identifier

    This is a required field. Type L for login group or type S for server group. Default value: L.

    Logical host name for SAP system

    This is a required field.

    SAP SID

    This is a required field. A three–character alphanumeric identifier.

    SAP instance number

    This is a required field. A two–digit number.

    SAP RFC client that runs RFC calls

    This is a required field. Default value: 000.

    SAP user that runs RFC calls

    This is a required field. Default value: sap*.

    RFC user password

    This is a required field.

    SAP logon group or RFC server group name

    This is a required field.

  6. Click the Run Plan (Includes Preflight) button.

    The Deployment Results page is displayed. If the plan fails, error messages are displayed.

ProcedureHow to Modify an SAP Group

An SAP group can be a logon group or a server group. Modifying an SAP group either adds an instance to the group or removes an instance from the group.

The following plan parameters identify which SAP system we will call the RFC to list or modify the logon or server group.

Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the Utilities for SAP Groups section of the SAP Tasks page, click Modify SAP Group.

  3. Click Run.

  4. Select the target host or target host set.

  5. Provide the plan variables.

    Group identifier

    This is a required field. Type L for login group or type S for server group. Default value: L.

    Logical host name for SAP system

    This is a required field.

    SAP SID

    This is a required field. A three–character alphanumeric identifier.

    SAP instance to modify

    Instance name that corresponds to the SAP instance name.

    SAP groups containing SAP instance to modify

    This is a required field. Group names should be comma-delimited.

    I to insert the instance, R to remove the instance from the group

    Default value: I.

    RFC client

    Default value: 000.

    RFC user

    Default value: ddic.

    RFC user password

    This is a required field.

  6. Click the Run Plan (Includes Preflight) button.

    The Deployment Results page is displayed. If the plan fails, error messages are displayed.

    Results are in STDOUT.

Configuring SCS

In SAP version 6.40, the two ways to configure SAP Central Services (SCS) are:

For more information on setting up SPS SCS, see the SAP Installation Guide and the Sun Cluster 3.1 Update 4 Sun Cluster Data Service for SAP Web Application Server Guide for Solaris OS.

ProcedureTo Create a Standalone SCS

Steps
  1. Create a group component.

    See Creating and Managing Groups.

  2. Create an SAP Enqueue Server component.

    See Creating and Managing SAP Enqueue Servers.

ProcedureTo Create a Combined SCS

Steps
  1. Create a group component.

    See Creating and Managing Groups.

  2. Create SAP Central Instance component.

    See Creating and Managing SAP Central Instances.

Creating and Managing Groups

The Tasks page of the software enables you to create and manage groups. Groups are created to allow the user to manage resource as a single unit.

This section describes the following tasks:

ProcedureHow to Create a Group Component

Groups are created for the purpose of organizing hosts that work with the same SAP application.


Note –

This task is a markOnly task.


Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the Group section of the SAP Tasks page, click Create.

  3. Click Run.

  4. In the Plan Parameters table, select the variable settings for the Group component.

    • If the variable settings have been created for this component, select the appropriate settings from the drop-down menu.

    • If the variable settings are not available from the drop-down menu:

      1. Click Select From List.

        The Select Variable Settings From List window displays.

        • To create a new variable settings set, click Create Set and type a Set Name.

          The following list provides commonly updated variables for the Group component. To create a value for the component variable, click the check box in the component variable's row.


          Note –

          For information about component variables ending in UserExit, see User Exits.


          groupName

          This is a required field.


          Note –

          In the Sun Cluster environment, the groupName must equal the Sun Cluster resource group name.


          groupDescription

          A description of the group.

          envType

          Identifies whether this component will be deployed to a Default, Sun Cluster, or SAP AC environment. Value can be either ac, sc, or default.

          createdBy

          Identifies the installer of the component.

      2. Click Save.

    • To use component variables from another component, click Import Set.

      For more information about importing variable sets, see How to Run a Plan in Sun N1 Service Provisioning System 5.2 Operation and Provisioning Guide.

  5. Select the target host or target host set.

  6. Provide the plan variable.

    List of nodes on which this group can run

    This is a list of the nodes on which it has been pre-determined that the resources in the group will run. This list can be one or more nodes delimited by a comma. If left blank, the default is the target host value.

  7. Click the Run Plan (Includes Preflight) button.

    The Deployment Results page is displayed. If the plan fails, error messages are displayed.

ProcedureHow to Delete a Group Component

This task removes the group component entry from the SPS database.


Note –

This task is a markOnly task. However, should an application server be a member of the group, the application server is uninstalled unless the markOnly delete check box is selected.


Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the Group section of the SAP Tasks page, click Delete.

  3. Click Run.

  4. Select the target host or target host set.

  5. Provide the plan variables.

    Group name

    This is a required field.

    markOnly delete (default environment only)

    If this check box is selected, an application server in the group is not uninstalled from the host.


    Note –

    This option only applies to the default environment. This option has no effect in the Sun Cluster and SAP AC environments.


  6. Click the Run Plan (Includes Preflight) button.

    The Deployment Results page is displayed. If the plan fails, error messages are displayed.

ProcedureHow to Start a Group Component

This task calls the start control block in the group component to start all resources in the group. The status for all resources in the group is refreshed when you list the resource group or resource.

Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the Group section of the SAP Tasks page, click Start.

  3. Click Run.

  4. Select the target host or target host set.

  5. Provide the plan variables.

    Group name

    This is a required field

    Force start the resources in the group

    This option is required when the target host does not meet the SAPS requirement to start the SAP instance. See the SAP installation guide for minimum requirements for starting the SAP instance.


    Note –

    This option applies to the default and SAP AC environment.


  6. Click the Run Plan (Includes Preflight) button.

    The Deployment Results page is displayed. If the plan fails, error messages are displayed.

ProcedureHow to Stop a Group Component

This task calls the stop control block in the group component to stop all resources in the group. The status for all resources in the group is refreshed when you list the resource group or resource.

Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the Group section of the SAP Tasks page, click Stop.

  3. Click Run.

  4. Select the target host or target host set.

  5. Provide the plan variables.

    Group name

    This is a required field.

    Shutdown mode for database

    The possible values are: normal, immediate, and abort. Default value: immediate.

    Force stop resources after graceful stop failed

    This option is selected by default.

  6. Click the Run Plan (Includes Preflight) button.

    The Deployment Results page is displayed. If the plan fails, error messages are displayed.

ProcedureHow to Relocate a Group Component

When you relocate a group, you are moving all the components in the group from one physical host to another.


Note –

This task does not apply to the default environment.


Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the Group section of the SAP Tasks page, click Relocate.

  3. Click Run.

  4. Select the target host or target host set.

  5. Provide the plan variables.

    Group name

    This is a required field. If you do not know the install path, return to the SAP Tasks page and click the View All link.

    Destination host name

    This is a required field. If no value is provided, the plan errors.

    Force start the SAP Central Instance on a small server

    This option is required when the target host does not meet the SAPS requirement to start the SAP instance. See the SAP installation guide for minimum requirements for starting the SAP instance.


    Note –

    This option is only applicable in the SAP AC environment.


  6. Click the Run Plan (Includes Preflight) button.

    The Deployment Results page is displayed. If the plan fails, error messages are displayed.

ProcedureHow to View All Group Components

This task displays a table listing all the group components with install paths.

Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the Group section of the SAP Tasks page, click View All.

    The Hosts Where Installed table is displayed.

Creating and Managing Logical Hosts

A logical host name is the name given to an IP address that can be plumbed on a host machine. Later it can be unplumbed on the original host and plunbed on another host machine.

The Tasks page of the SAP plug-in enables you to create and manage logical hosts.


Note –

The SAP AC environment is not supported.


This section describes the following tasks:

ProcedureHow to Create a Logical Host


Note –

This task is a markOnly task.


Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the Logical Host section of the SAP Tasks page, click Create.

  3. Click Run.

  4. In the Plan Parameters table, select the variable settings for the LogicalHost component.


    Note –

    You must create or import a variable set other than default. If you use the default variable set, the plan errors because some variables depend on other variables being set.


    • If the variable settings have been created for this component, select the appropriate settings from the drop-down menu.

    • If the variable settings are not available from the drop-down menu:

      1. Click Select From List.

        The Select Variable Settings From List window displays.

        • To create a new variable settings set, click Create Set and type a Set Name.

          The following list provides commonly updated variables for the Logical Host component. To create a value for the component variable, click the check box in the component variable's row.


          Note –

          For information about component variables ending in UserExit, see User Exits.


          groupName

          This is a required field.


          Note –

          In the Sun Cluster environment, the groupName must equal the Sun Cluster resource group name.


          groupDescription

          A description of the group.

          resourceName

          Required in the Sun Cluster environment. The resourceName must equal the Sun Cluster resource name for the Sun Cluster envType.


          Note –

          The value of resourceName in the default environment must be the logical hostname.


          envType

          Identifies if this component will be deployed to a default, Sun Cluster, or SAP AC environment. Value can be ac, sc, or default.

          createdBy

          Identifies the installer of the component.

          ipAddress

          Required for the default environment.

          This task is a markOnly task.

          Required for the default environment.

          For more information, see the netmasks(4) man page.

          interface

          Required for the default environment. Use this field to enter one interface or ipmpgroup value. For example, hme0.

          broadcast

          Required for the default environment. This is the broadcast IP address. For more information, see the ifconfig(1M) man page.

          ipmpgroup

          IPMP group name. Use this field to enter the interface values. For more information, see the Sun N1 Advanced Architecture for SAP Solutions 5.2.1 Implementation Guide.

      2. Click Save.

    • To use component variables from another component, click Import Set.

      For more information about importing variable sets, see How to Run a Plan in Sun N1 Service Provisioning System 5.2 Operation and Provisioning Guide.

  5. Select a target host or target host set.

  6. Click the Run Plan (Includes Preflight) button.

    The Deployment Results page is displayed. If the plan fails, error messages are displayed.

ProcedureHow to Delete a Logical Host

This task calls the uninstall control block of the Logical Host component.


Note –

This task is a markOnly task.


Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the Logical Host section of the SAP Tasks page, click Delete.

  3. Click Run.

  4. Select a target host or target host set.

  5. Provide the plan variable.

    Install path of the logical host

    This is a required field. If you do not know the install path, return to the SAP Tasks page and click the View All link.

  6. Click the Run Plan (Includes Preflight) button.

    The Deployment Results page is displayed. If the plan fails, error messages are displayed.

ProcedureHow to Start a Logical Host

This task calls the start control block of the Logical Host component.

Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the Logical Host section of the SAP Tasks page, click Start.

  3. Click Run.

  4. Select a target host or target host set.

  5. Provide the plan variable.

    Install path of the logical host component

    This is a required field. If you do not know the install path, return to the SAP Tasks page and click the View All link.

  6. Click the Run Plan (Includes Preflight) button.

    The Deployment Results page is displayed. If the plan fails, error messages are displayed.

ProcedureHow to Stop a Logical Host

This task calls the stop control block of the Logical Host component.

Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the Logical Host section of the SAP Tasks page, click Stop.

  3. Click Run.

  4. Select a target host or target host set.

  5. Provide the plan variable.

    Install path of the logical host component

    This is a required field. If you do not know the install path, return to the SAP Tasks page and click the View All link.

  6. Click the Run Plan (Includes Preflight) button.

    The Deployment Results page is displayed. If the plan fails, error messages are displayed.

ProcedureHow to View All Logical Hosts

This task displays all the hosts on which the Logical Host component is installed.

Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the Logical Host section of the SAP Tasks page, click View All.

    The Hosts Where Installed table is displayed.

ProcedureHow to Check the Online Status of a Logical Host

This task calls the system service isOnlineDefaultLh, which determines whether the logical host is online. The status is checked by using the ping or netstat command.

To determine whether a logical host is online, the IP address is checked.

Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the Logical Host section of the SAP Tasks page, click Online Status.

  3. Click Run.

  4. Select a target host or target host set.

  5. Provide the plan variable.

    Install path of the logical host component

    This is a required field. If you do not know the install path, return to the SAP Tasks page and click the View All link.

  6. Click the Run Plan (Includes Preflight) button.

    The Deployment Results page is displayed. If the plan fails, error messages are displayed.

ProcedureHow to Check the Offline Status of a Logical Host

This task calls the system service isOnlineDefaultLh, which determines whether the logical host is online. The status is checked by using the ping or netstat command.

To determine whether a logical host is offline, the IP address is checked.

Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the Logical Host section of the SAP Tasks page, click Offline Status.

  3. Click Run.

  4. Select a target host or target host set.

  5. Provide the plan variable.

    Install path of the logical host component

    This is a required field. If you do not know the install path, return to the SAP Tasks page and click the View All link.

  6. Click the Run Plan (Includes Preflight) button.

    The Deployment Results page is displayed. If the plan fails, error messages are displayed.

Creating and Managing HA Storage Devices

The SAP Tasks page of the software enables you to create and manage storage.


Note –

The SAP AC environment is not supported.


This section describes the following tasks:

ProcedureHow to Create HA Storage Devices

This task creates the Highly Available Storage (HAS) targetable component in a resource group.


Note –

This task is a markOnly task.


Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the Storage Management section of the SAP Tasks page, click Create.

  3. Click Run.

  4. In the Plan Parameters table, select the variable settings for the HAStoragePlus component.

    • If the variable settings have been created for this component, select the appropriate settings from the drop-down menu.

    • If the variable settings are not available from the drop-down menu:

      1. click Select From List.

        The Select Variable Settings From List window displays.

        • To create a new variable settings set, click Create Set and type a Set Name.

          The following list provides commonly updated variables for the HAStoragePlus component. To create a value for the component variable, click the check box in the component variable's row.


          Note –

          For information about component variables ending in UserExit, see User Exits.


          groupName

          This is a required field.


          Note –

          In the Sun Cluster environment, the groupName must equal the Sun Cluster resource group name.


          groupDescription

          A description of the group.

          resourceName

          Required in the Sun Cluster environment. The resourceName must equal the Sun Cluster resource name for the Sun Cluster envType.

          envType

          This is a required field. Identifies if this component will be deployed to a default, Sun Cluster, or SAP AC environment. Value can be : ac, sc, or default. Default value: default.

          createdBy

          Identifies the installer of the component.

          volumeManager

          There are two possible values: vxvm for Veritas and svm for Solaris Volume Manager.


          Note –

          If you are going to type a value in the Device Groups to be Imported plan variable, then you must enter a value for the volumeManager component variable.


          dgForceStartOptions

          Options to use if you need to forcefully bring the device group online. Default is set to force options for vxvm. Default value: -Ct

          targetRefName

          Virtual host name.

      2. Click Save.

    • To use component variables from another component, click Import Set.

      For more information about importing variable sets, see How to Run a Plan in Sun N1 Service Provisioning System 5.2 Operation and Provisioning Guide.

  5. Select a target host or target host set.

  6. Provide the plan variable.

    Device groups to be imported

    Comma separated list. Device group is a free format string. For example, cidg, dbdg. The plug–in imports the device groups to the current machine (targetHost).


    Note –

    If this variable is set, you must set the volumeManager component variable.


  7. Click the Run Plan (Includes Preflight) button.

    The Deployment Results page is displayed. If the plan fails, error messages are displayed.

ProcedureHow to Delete HA Storage Devices

Plan to delete High Availability Storage (HAS) component.


Note –

This task is a markOnly task.


Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the Storage Management section of the SAP Tasks page, click Delete.

  3. Click Run.

  4. Select a target host or target host set.

  5. Provide the plan variable.

    Install path of the HAS component

    This is a required field. If you do not know the install path, return to the SAP Tasks page and click the View All link.

  6. Click the Run Plan (Includes Preflight) button.

    The Deployment Results page is displayed. If the plan fails, error messages are displayed.

ProcedureHow to Start HA Storage Devices

Prior to starting the HA Storage , the plug-in does not check any dependencies. After startup, the plug-in verifies that the main process is running. The main process for the SAP Application Server is the main dispatcher process.

Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the Storage Management section of the SAP Tasks page, click Start.

  3. Click Run.

  4. Select a target host or target host set.

  5. Provide the plan variables.

    Install path of the HAS component

    This is a required field. If you do not know the install path, return to the SAP Tasks page and click the View All link.

    Force start the HAS component after normal start failed in the default environment

    For more information, see the vxdg(1M) man page.


    Caution – Caution –

    Make sure the device groups are not being used on another machine.


  6. Click the Run Plan (Includes Preflight) button.

    The Deployment Results page is displayed. If the plan fails, error messages are displayed.

ProcedureHow to Stop HA Storage Devices

This task calls the stop control block of the HAS component.

Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the Storage Management section of the SAP Tasks page, click Stop.

  3. Click Run.

  4. Select a target host or target host set.

  5. Provide the plan variable.

    Install path of the HAS component

    This is a required field. If you do not know the install path, return to the SAP Tasks page and click the View All link.

  6. Click the Run Plan (Includes Preflight) button.

    The Deployment Results page is displayed. If the plan fails, error messages are displayed.

ProcedureHow to View All HA Storage Devices

Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the Storage Management section of the SAP Tasks page, click View All.

    The Host Where Installed table is displayed.

ProcedureHow to Check the Online Status of HA Storage Device

Plan to check the online status of a High Availability Storage (HAS) component. Status is checked through corresponding volume manager commands.

Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the Storage Management section of the SAP Tasks page, click Online Status.

  3. Click Run.

  4. Select a target host or target host set.

  5. Provide the plan variables.

    Install path of the HAS component

    This is a required field. If you do not know the install path, return to the SAP Tasks page and click the View All link.

  6. Click the Run Plan (Includes Preflight) button.

    The Deployment Results page is displayed. If the plan fails, error messages are displayed.

ProcedureHow to Check the Offline Status of HA Storage Device

Plan to check the offline status of the High Availability Storage (HAS) component. Status is checked through corresponding volume manager commands.

Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the Storage Management section of the SAP Tasks page, click Offline Status.

  3. Click Run.

  4. Select a target host or target host set.

  5. Provide the plan variables.

    Install path of the HAS component

    This is a required field. If you do not know the install path, return to the SAP Tasks page and click the View All link.

  6. Click the Run Plan (Includes Preflight) button.

    The Deployment Results page is displayed. If the plan fails, error messages are displayed.

Sharing and Managing Network File Systems

This section describes the following tasks:


Note –

The SAP AC environment is not supported.


ProcedureHow to Create Shared Network File Systems

This task creates the network file system (NFS) share component.


Note –

This task is a markOnly task.


Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the Network File System (NFS) Share section of the SAP Tasks page, click Create.

  3. Click Run.

  4. In the Plan Parameters table, select the variable settings for the NFSShare component.

    • If the variable settings have been created for this component, select the appropriate settings from the drop-down menu.

    • If the variable settings are not available from the drop-down menu,

      1. click Select From List.

        The Select Variable Settings From List window displays.

        • To create a new variable settings set, click Create Set and type a Set Name.

          The following list provides commonly updated variables for the NFSShare component. To create a value for the component variable, click the check box in the component variable's row.


          Note –

          For information about component variables ending in UserExit, see User Exits.


          groupName

          This is a required field.


          Note –

          In the Sun Cluster environment, the groupName must equal the Sun Cluster resource group name.


          groupDescription

          A description of the group.

          resourceName

          Required for the Sun Cluster environment. The resourceName must equal the Sun Cluster resource name for the Sun Cluster envType.

          envType

          Identifies into which environments this component will be deployed. Either default or Sun Cluster. Value can be : default or sc.

          createdBy

          Identifies the installer of the component.

          targetRefName

          Virtual host name. Derived from other variables.

      2. Click Save.

    • To use component variables from another component, click Import Set.

      For more information about importing variable sets, see How to Run a Plan in Sun N1 Service Provisioning System 5.2 Operation and Provisioning Guide.

  5. Select a target host or target host set.

  6. Provide the plan variables.

    Absolute path of NFS shares

    Required for the default environment. A comma-delimited list.

    NFS share options

    Required for the default environment. Default value: rw.

  7. Click the Run Plan (Includes Preflight) button.

    The Deployment Results page is displayed. If the plan fails, error messages are displayed.

ProcedureHow to Delete Shared Network File Systems

This task describes how to delete a Network File System (NFS) share component.


Note –

This task is a markOnly task.


Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the Network File System (NFS) Share section of the SAP Tasks page, click Delete.

  3. Click Run.

  4. Select a target host or target host set.

  5. Provide the plan variable.

    Install path of the NFS share component

    This is a required field. If you do not know the install path, return to the SAP Tasks page and click the View All link.

  6. Click the Run Plan (Includes Preflight) button.

    The Deployment Results page is displayed. If the plan fails, error messages are displayed.

ProcedureHow to Share Network File Systems

The NFS targetable component contains information about the file systems being shared via NFS. Because the file systems being shared are stored as a virtual host variable, you can add file systems to be shared after the component has been installed.

The virtual host name will be set to the same value as installPath of the NFS component.

This task calls the system service startNfs which does the following:

Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the Network File System (NFS) Share section of the SAP Tasks page, click Share.

  3. Click Run.

  4. Select a target host or target host set.

  5. Provide the plan variable.

    Install path of the NFS share component

    This is a required field. If you do not know the install path, return to the SAP Tasks page and click the View All link.

  6. Click the Run Plan (Includes Preflight) button.

    The Deployment Results page is displayed. If the plan fails, error messages are displayed.

ProcedureHow to Unshare Network File Systems

This task calls the system service stopNfs, which does the following:

Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the Network File System (NFS) Share section of the SAP Tasks page, click Unshare.

  3. Click Run.

  4. Select a target host or target host set.

  5. Provide the plan variable.

    Install path of the NFS share component

    This is a required field. If you do not know the install path, return to the SAP Tasks page and click the View All link.

  6. Click the Run Plan (Includes Preflight) button.

    The Deployment Results page is displayed. If the plan fails, error messages are displayed.

ProcedureHow to View All Network File Systems

This task displays all the hosts on which the Network File Systems component is installed.

Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the Network File System (NFS) Share section of the SAP Tasks page, click View All.

    The Hosts Where Installed table is displayed.

ProcedureHow to Check the Shared Status of Network File Systems

This task determines whether the file system is shared.

Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the Network File System (NFS) Share section of the SAP Tasks page, click Share Status.

  3. Click Run.

  4. Select a target host or target host set.

  5. Provide the plan variable.

    Install path of the NFS share component

    This is a required field. If you do not know the install path, return to the SAP Tasks page and click the View All link.

  6. Click the Run Plan (Includes Preflight) button.

    The Deployment Results page is displayed. If the plan fails, error messages are displayed.

ProcedureHow to Check the Unshared Status of Network File Systems

This task identifies the file systems that are not shared.

Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the Network File System (NFS) Share section of the SAP Tasks page, click Unshare Status.

  3. Click Run.

  4. Select a target host or target host set.

  5. Provide the plan variable.

    Install path of the NFS share component

    This is a required field. If you do not know the install path, return to the SAP Tasks page and click the View All link.

  6. Click the Run Plan (Includes Preflight) button.

    The Deployment Results page is displayed. If the plan fails, error messages are displayed.

Mounting and Managing Network File Systems

The NfsMount component contains information about which file systems are being mounted via NFS. This information cannot be modified once the component is installed.


Note –

The Sun Cluster and SAP AC environments are not supported.


This section describes the following tasks:

ProcedureHow to Create Network File System Mounts

This task creates the network file system (NFS) mount component.


Note –

This task is a markOnly task.


Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the Network File System (NFS) Mount section of the SAP Tasks page, click Create.

  3. Click Run.

  4. In the Plan Parameters table, select the variable settings for the NFSMount component.

    • If the variable settings have been created for this component, select the appropriate settings from the drop-down menu.

    • If the variable settings are not available from the drop-down menu,

      1. click Select From List.

        The Select Variable Settings From List window displays.

        • To create a new variable settings set, click Create Set and type a Set Name.

          The following list provides commonly updated variables for the NFSShare component. To create a value for the component variable, click the check box in the component variable's row.


          Note –

          For information about component variables ending in UserExit, see User Exits.


          groupName

          This is a required field.


          Note –

          In the Sun Cluster environment, the groupName must equal the Sun Cluster resource group name.


          groupDescription

          A description of the group.

          resourceName

          Required for the Sun Cluster environment. The resourceName must equal the Sun Cluster resource name for the Sun Cluster envType.

          envType

          The environment type can only be default.

          createdBy

          Identifies the installer of the component.

          nfsServerName

          Required for the default environment. The logical host name for the NFS server.

          fileSystemMountPoint

          Required for the default environment. A comma-delimited list of directories.

      2. Click Save.

    • To use component variables from another component, click Import Set.

      For more information about importing variable sets, see How to Run a Plan in Sun N1 Service Provisioning System 5.2 Operation and Provisioning Guide.

  5. Select the target host or target host set.

  6. Click the Run Plan (Includes Preflight) button.

    The Deployment Results page is displayed. If the plan fails, error messages are displayed.

ProcedureHow to Delete Network File System Mounts

This task describes how to delete a network file system (NFS) mount component.


Note –

This task is a markOnly task.


Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the Network File System (NFS) Mount section of the SAP Tasks page, click Delete.

  3. Click Run.

  4. Select target host or target host set.

  5. Provide the plan variable.

    Install path of the NFS mount component

    This is a required field. If you do not know the install path, return to the SAP Tasks page and click the View All link.

  6. Click the Run Plan (Includes Preflight) button.

    The Deployment Results page is displayed. If the plan fails, error messages are displayed.

ProcedureHow to Mount Network File Systems

This task calls the system service startNfsMount which does the following:

Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the Network File System (NFS) Mount section of the SAP Tasks page, click Mount.

  3. Click Run.

  4. Select target host or target host set.

  5. Provide the plan variable.

    Install path of the NFS mount component

    This is a required field. If you do not know the install path, return to the SAP Tasks page and click the View All link.

  6. Click the Run Plan (Includes Preflight) button.

    The Deployment Results page is displayed. If the plan fails, error messages are displayed.

ProcedureHow to Unmount Network File Systems

This task calls system service stopNfsMount which does the following:

Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the Network File System (NFS) Mount section of the SAP Tasks page, click Unmount.

  3. Click Run.

  4. Select target host or target host set.

  5. Provide the plan variable.

    Install path of the NFS mount component

    This is a required field. If you do not know the install path, return to the SAP Tasks page and click the View All link.

    Force unmounting the filesystem

    This check box is selected by default.

  6. Click the Run Plan (Includes Preflight) button.

    The Deployment Results page is displayed. If the plan fails, error messages are displayed.

ProcedureHow to View All Mounted Network File Systems

Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the Network File System (NFS) Mount section of the SAP Tasks page, click View All.

    The Hosts Where Installed table is displayed.

ProcedureHow to Check Network File Systems Mount Status

Plan to verify the network file systems (NFS) are mounted.

Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the Network File System (NFS) Mount section of the SAP Tasks page, click Mount Status.

  3. Click Run.

  4. Select target host or target host set.

  5. Provide the plan variable.

    Install path of the NFS mount component

    This is a required field. If you do not know the install path, return to the SAP Tasks page and click the View All link.

  6. Click the Run Plan (Includes Preflight) button.

    The Deployment Results page is displayed. If the plan fails, error messages are displayed.

ProcedureHow to Check Network File Systems Unmount Status

Plan to verify the network file systems (NFS) are mounted.

Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the Network File System (NFS) Mount section of the SAP Tasks page, click Unmount Status.

  3. Click Run.

  4. Select target host or target host set.

  5. Provide the plan variable.

    Install path of the NFS mount component

    Required field. If you do not know the install path, return to the SAP Tasks page and click the View All link.

  6. Click the Run Plan (Includes Preflight) button.

    The Deployment Results page is displayed. If the plan fails, error messages are displayed.

Creating and Managing Oracle Databases

The Tasks page of the SAP plug-in enables you to create and manage Oracle databases.

This section describes the following tasks:

ProcedureHow to Create the Oracle Database

This task creates the Oracle database component. This does not create anything at the OS level.


Note –

This task is a markOnly task.


Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the Oracle Database section of the SAP Tasks page, click Create.

  3. Click Run.

  4. In the Plan Parameters table, select the variable settings for the Oracle component.

    • If the variable settings have been created for this component, select the appropriate settings from the drop-down menu.

    • If the variable settings are not available from the drop-down menu:

      1. Click Select From List.

        The Select Variable Settings From List window displays.

        • To create a new variable settings set, click Create Set and type a Set Name.

          The following list provides commonly updated variables for the Oracle component. To create a value for the component variable, click the check box in the component variable's row.


          Note –

          For information about component variables ending in UserExit, see User Exits.


          groupName

          This is a required field.


          Note –

          In the Sun Cluster environment, the groupName must equal the Sun Cluster resource group name.


          groupDescription

          A description of the group.

          resourceName

          Required for the Sun Cluster environment. The resourceName must equal the Sun Cluster Oracle Server resource name for the Sun Cluster envType.

          envType

          Identifies whether this component will be deployed to a default, Sun Cluster, or SAP AC environment. Value can be : ac, sc, or default. Default value: default.

          createdBy

          Identifies the installer of the component.

          dbLhName

          Required for the default environment. Logical host name for the database.

          oracleSid

          Required for the default environment. System ID (SID) for the database.

          oracleEnvFile

          Required for the default environment. Absolute path of the Oracle environment file. For example, /oracle/SID.dbenv_host.sh.

          listenerName

          Required for the Sun Cluster environment. Oracle listener name. Default value: LISTENER.

          listenerResourceName

          The listenerResourceName must equal the Sun Cluster Oracle Listener resource name for the Sun Cluster envType

          accServiceID

          Required for the SAP AC environment. The service ID of the Oracle instance (only applicable in the SAP AC environment.)

          srmProject

          The Solaris Resource Management (SRM) project name. Default value: default.

      2. Click Save.

    • To use component variables from another component, click Import Set.

      For more information about importing variable sets, see How to Run a Plan in Sun N1 Service Provisioning System 5.2 Operation and Provisioning Guide.

  5. Select a target host or target host set.

  6. Click the Run Plan (Includes Preflight) button.

    The Deployment Results page is displayed. If the plan fails, error messages are displayed.

ProcedureHow to Delete the Oracle Database

This task deletes the Oracle database component. This does not delete anything at the OS level.


Note –

This task is a markOnly task.


Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the Oracle Database section of the SAP Tasks page, click Delete.

  3. Click Run.

  4. Select a target host or target host set.

  5. Provide the plan variable.

    Install path of the Oracle component

    This is a required field. If you do not know the install path, return to the SAP Tasks page and click the View All link.

  6. Click the Run Plan (Includes Preflight) button.

    The Deployment Results page is displayed. If the plan fails, error messages are displayed.

ProcedureHow to Start the Oracle Database

Prior to starting the Oracle database, the plug-in does not check any dependencies. After the startup, the plug-in verifies that the main processes are running. The main processes for the Oracle database are:

Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the Oracle Database section of the SAP Tasks page, click Start.

  3. Click Run.

  4. Select a target host or target host set.

  5. Provide the plan variables.

    Install path of the Oracle component to start

    This is a required field. If you do not know the install path, return to the SAP Tasks page and click the View All link.

    Force start the Oracle database

    This option is required when the target host does not meet the SAPS requirement to start the SAP instance. See the SAP installation guide for minimum requirements for starting the SAP instance.


    Note –

    This option is only applicable in the SAP AC environment.


  6. Click the Run Plan (Includes Preflight) button.

    The Deployment Results page is displayed. If the plan fails, error messages are displayed.

ProcedureHow to Stop the Oracle Database

If the SAP Oracle component is offline, the plan will successfully complete without any further action. If the SAP Oracle component is not offline, the plan stops the SAP component. If a normal stop fails and you have selected the Force Stop option, the plan will perform a hard stop by killing the main process. The plan then verifies that the SAP Oracle component is offline. If it is, the plan successfully completes. If the SAP component is not offline, the plan fails. The processes used to determine the status are:

Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the Oracle Database section of the SAP Tasks page, click Stop.

  3. Click Run.

  4. Select a target host or target host set.

  5. Provide the plan variables.

    Install path of the Oracle component to stop

    This is a required field. If you do not know the install path, return to the SAP Tasks page and click the View All link.

    Shutdown mode

    Some valid shutdown modes are: normal, immediate, and abort. Default value: immediate.

  6. Click the Run Plan (Includes Preflight) button.

    The Deployment Results page is displayed. If the plan fails, error messages are displayed.

ProcedureHow to View All Oracle Databases

Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the Oracle Database section of the SAP Tasks page, click View All.

    The Hosts Where Installed table is displayed.

ProcedureHow to Check the Online Status of an Oracle Database

If the main processes are present on the system, the resource is considered online. If any of the main processes are not present on the system, the plug-in identifies the resource as offline.

The main processes are:

This task checks the online status of Oracle databases.

Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the Oracle Database section of the SAP Tasks page, click Online Status.

  3. Click Run.

  4. Select a target host or target host set.

  5. Provide the plan variable.

    Install path of the Oracle component

    This is a required field. If you do not know the install path, return to the SAP Tasks page and click the View All link.

  6. Click the Run Plan (Includes Preflight) button.

    The Deployment Results page is displayed. If the plan fails, error messages are displayed.

ProcedureHow to Check the Offline Status of an Oracle Database

If the main processes are present on the system, the resource is considered online. If any of the main processes are not present on the system, the plug-in identifies the resource as offline.

The main processes are:

This task checks the offline status of Oracle databases.

Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the Oracle Database section of the SAP Tasks page, click Offline Status.

  3. Click Run.

  4. Select a target host or target host set.

  5. Provide the plan variable.

    Install path of the Oracle component

    This is a required field. If you do not know the install path, return to the SAP Tasks page and click the View All link.

  6. Click the Run Plan (Includes Preflight) button.

    The Deployment Results page is displayed. If the plan fails, error messages are displayed.

Creating and Managing SAP Central Instances

The Common Tasks page of the software enables you to create and manage SAP Central Instances.

This section describes the following tasks:

ProcedureHow to Create an SAP Central Instance

This task creates the SAP Central Instance component.


Note –

This task is a markOnly task.


Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the SAP Central Instance section of the SAP Tasks page, click Create.

  3. Click Run.

  4. In the Plan Parameters table, select the variable settings for the CentralInstance component.

    • If the variable settings have been created for this component, select the appropriate settings from the drop-down menu.

    • If the variable settings are not available from the drop-down menu:

      1. Click Select From List.

        The Select Variable Settings From List window displays.

        • To create a new variable settings set, click Create Set and type a Set Name.

          The following list provides commonly updated variables for the CentralInstance component. To create a value for the component variable, click the check box in the component variable's row.


          Note –

          For information about component variables ending in UserExit, see User Exits.


          groupName

          This is a required field.


          Note –

          In the Sun Cluster environment, the groupName must equal the Sun Cluster resource group name.


          groupDescription

          Description of the group.

          resourceName

          Required for the Sun Cluster environment. The resourceName must equal the Sun Cluster resource name for the Sun Cluster envType.

          envType

          Identifies if this component will be deployed to a Default, Sun Cluster, or SAP AC environment. Value can be ac, sc, or default.

          createdBy

          Identifies the installer of the component.

          ciLhName

          Required field. Logical host name for the SAP Central Instance.

          sapSid

          Required field. The SAP system ID consists of three uppercase alphanumeric characters. The first character must be alphabetic.

          systemInstanceNumber

          Required field. The SAP Central Instance number consists of two digits.

          accServiceID

          Required for the SAP AC environment. The service ID of the SAP Central Instance (only applicable in the SAP AC environment).

          srmProject

          The Solaris Resource Management (SRM) project name. Default value: default.

      2. Click Save.

    • To use component variables from another component, click Import Set.

      For more information about importing variable sets, see How to Run a Plan in Sun N1 Service Provisioning System 5.2 Operation and Provisioning Guide.

  5. Select a target host or target host set.

  6. Click the Run Plan (Includes Preflight) button.

    The Deployment Results page is displayed. If the plan fails, error messages are displayed.


    Note –

    There is no code verification to enforce the required fields for the Sun Cluster and SAP AC environments when the components are created in the Sun N1 Service Provisioning System.


ProcedureHow to Delete an SAP Central Instance

This task deletes the SAP Central Instance component in the SPS database. It does not delete anything at the OS level.


Note –

This task is a markOnly task.


Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the SAP Central Instance section of the SAP Tasks page, click Delete.

  3. Click Run.

  4. Select a target host or target host set.

  5. Provide the plan variable.

    Install path where the Central Instance is installed

    This is a required field. If you do not know the install path, return to the SAP Tasks page and click the View All link.

  6. Click the Run Plan (Includes Preflight) button.

    The Deployment Results page is displayed. If the plan fails, error messages are displayed.

ProcedureHow to Start an SAP Central Instance

Prior to starting the SAP Central Instance, the plug-in does not check any dependencies. After the startup, the plug-in verifies that the main processes are running. The main processes for the SAP Central Instance are:

The plug-in starts the SAP CI instance by calling the SAP script startsap_DVEBMGS_instance-num_logical-host. If the default installation did not create this script, you need to create this script manually in the home directory of user sidadm.

Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the SAP Central Instance section of the SAP Tasks page, click Start.

  3. Click Run.

  4. Select a target host or target host set.

  5. Provide the plan variables.

    Install path of the Central Instance component

    This is a required field. If you do not know the install path, return to the SAP Tasks page and click the View All link.

    Force start the SAP Central Instance

    This option is required when the target host does not meet the SAPS requirement to start the SAP instance. See the SAP installation guide for minimum requirements for starting the SAP instance.


    Note –

    This is only applicable in the SAP AC environment.


  6. Click the Run Plan (Includes Preflight) button.

    The Deployment Results page is displayed. If the plan fails, error messages are displayed.

ProcedureHow to Stop an SAP Central Instance

If the SAP component is offline, the plan will complete successfully without any further action. If the SPS component is not offline, the plan stops the SAP component. If a normal stop fails and you have selected the Force Stop option, the plan will perform a hard stop by killing the main processes. The plan then verifies that the SAP component is offline. If it is, the plan completes successfully. If the SAP component is not offline, the plan fails. The processes used to determine the status are:

The plug–in stops the SAP CI instance by calling the SAP script stopsap_DVEBMGS_instance-numlogical-host.

Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the SAP Central Instance section of the SAP Tasks page, click Stop.

  3. Click Run.

  4. Select a target host or target host set.

  5. Provide the plan variables.

    Install path of the Central Instance component

    This is a required field. If you do not know the install path, return to the SAP Tasks page and click the View All link.

    Force stop SAP Central Instance after the graceful stop failed in the default environment

    This option is selected by default. In SC and AC environments, the corresponding Sun Cluster command or SAP AC command is called to start the component.

  6. Click the Run Plan (Includes Preflight) button.

    The Deployment Results page is displayed. If the plan fails, error messages are displayed.

ProcedureHow to View All SAP Central Instances

Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the SAP Central Instance section of the SAP Tasks page, click View All.

    The Hosts Where Installed table is displayed.

ProcedureHow to Check the Online Status of SAP Central Instances

If the main processes are present on the system, the resource is considered online. If any of the main processes are not present on the system, the plug-in identifies the resource as offline.

The main processes are:

Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the SAP Central Instance section of the SAP Tasks page, click Online Status.

  3. Provide the plan variable.

    Install path of the SAP Central Instance component

    This is a required field. If you do not know the install path, return to the SAP Tasks page and click the View All link.

  4. Click the Run Plan (Includes Preflight) button.

    The Deployment Results page is displayed. If the plan fails, error messages are displayed.

ProcedureHow to Check the Offline Status of SAP Central Instances

If the main processes are present on the system, the resource is considered online. If any of the main processes are not present on the system, the plug-in identifies the resource as offline.

The main processes are:

Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the SAP Central Instance section of the SAP Tasks page, click Offline Status.

  3. Provide the plan variable.

    Install path of the SAP Central Instance component

    This is a required field. If you do not know the install path, return to the SAP Tasks page and click the View All link.

  4. Click the Run Plan (Includes Preflight) button.

    The Deployment Results page is displayed. If the plan fails, error messages are displayed.

Creating and Managing SAP Enqueue Servers

To guarantee high availability for your SAP System for all software and hardware components, use the standalone enqueue. The use of the standalone enqueue server means that the crucial enqueue server with lock table is kept as small as possible. Instead of the entire application server with enqueue work process and lock table, you have one slimline central instance consisting of the enqueue server and the message server only. Making this one central instance a high availability (HA) solution.

The standalone enqueue server provides the following benefits:


Note –

SAP AC is not supported.


This section describes the following tasks:

ProcedureHow to Create an SAP Enqueue Server

This task creates an SAP Enqueue Server component in the SPS database. The SAP Enqueue Server is created by the user at the OS level outside of the SAP plug–in.


Note –

This task is a markOnly task.


Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the SAP Enqueue Server section of the SAP Tasks page, click Create.

  3. Click Run.

  4. In the Plan Parameters table, select the variable settings for the Enqueue Server component.

    • If the variable settings have been created for this component, select the appropriate settings from the drop-down menu.

    • If the variable settings are not available from the drop-down menu:

      1. Click Select From List.

        The Select Variable Settings From List window displays.

        • To create a new variable settings set, click Create Set and type a Set Name.

          The following list provides commonly updated variables for the Enqueue Server component. To create a value for the component variable, click the check box in the component variable's row.


          Note –

          For information about component variables ending in UserExit, see User Exits.


          groupName

          This is a required field.


          Note –

          In the Sun Cluster environment, the groupName must equal the Sun Cluster resource group name.


          groupDescription

          A description of the group.

          resourceName

          This is a required field. The resourceName must equal the Sun Cluster resource name for the Sun Cluster envType.

          envType

          This is a required field. Identifies whether this component is deployed to a default or Sun Cluster environment. Value can be default or sc. Default value: default.

          createdBy

          Identifies the installer of the component.

          sapSid

          Required for the default and Sun Cluster environment. The SAP system ID consists of three uppercase alphanumeric characters. The first character must be a letter.

          instanceNumber

          Required for the default and Sun Cluster environment. The SAP Central Instance number consists of two digits.

          enqueueServerProfile

          Required for the default and Sun Cluster environment. The full path to the SAP Enqueue Server profile.

          stopSignal

          The signal used to stop the SAP Enqueue Server. Default value: 2

          srmProject

          The Solaris Resource Management (SRM) project name. Default value: default.

      2. Click Save.

    • To use component variables from another component, click Import Set.

      For more information about importing variable sets, see How to Run a Plan in Sun N1 Service Provisioning System 5.2 Operation and Provisioning Guide.

  5. Select a target host or a target host set.

  6. Click the Run Plan (Includes Preflight) button.

    The Deployment Results page is displayed. If the plan fails, error messages are displayed.

ProcedureHow to Delete an SAP Enqueue Server

This task deletes an SAP Enqueue Server component in SPS database. The SAP Enqueue Server created by the user at the OS level will not be deleted.


Note –

This is a markOnly task.


Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the SAP Enqueue Server section of the SAP Tasks page, click Delete.

  3. Click Run.

  4. Select a target host or a target host set.

  5. Provide the plan variable.

    Install path of the enqueue server

    This is a required field. If you do not know the install path, return to the SAP Tasks page and click the View All link.

  6. Click the Run Plan (Includes Preflight) button.

    The Deployment Results page is displayed. If the plan fails, error messages are displayed.

ProcedureHow to Start an SAP Enqueue Server

Prior to starting the SAP Enqueue Server, the plug-in does not check any dependencies. After the startup, the plug-in verifies that the main process is running. The main process for the SAP Enqueue Server is the enserver process.

Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the SAP Enqueue Server section of the SAP Tasks page, click Start.

  3. Click Run.

  4. Select a target host or target host set.

  5. Provide plan variable.

    Install path of the enqueue server component.

    This is a required field. If you do not know the install path, return to the SAP Tasks page and click the View All link.

  6. Click the Run Plan (Includes Preflight) button.

    The Deployment Results page is displayed. If the plan fails, error messages are displayed.

ProcedureHow to Stop an SAP Enqueue Server

If the SAP component is offline, the plan will complete successfully without any further action. If the SAP component is not offline, the plan stops the SAP component.

If a normal stop fails and you have selected the Force Stop option, the plan will perform a hard stop by killing the main process. The plan then verifies that the SAP component is offline. If it is offline, the plan completes successfully. If the SAP component is not offline, the plan fails. The process used to determine the status is the enserver process.

Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the SAP Enqueue Server section of the SAP Tasks page, click Stop.

  3. Click Run.

  4. Select a target host or target host set.

  5. Provide the plan variables.

    Install path of the SAP enqueue server component

    This is a required field. If you do not know the install path, return to the SAP Tasks page and click the View All link.

    Force stop SAP Enqueue Server after the graceful stop failed in the default environment.

    This option is selected by default.

ProcedureHow to View All SAP Enqueue Servers

Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the SAP Enqueue Server section of the SAP Tasks page, click View All.

    The Hosts Where Installed table is displayed.

ProcedureHow to Check the Online Status of an SAP Enqueue Server

If the main processes are present on the system, the resource is considered online. If any of the main processes are not present on the system, the plug-in identifies the resource as offline.

The main process is the enserver process.

Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the SAP Enqueue Server section of the SAP Tasks page, click Online Status.

  3. Click Run.

  4. Select a target host or a target host set.


    Note –

    Only select one host.


  5. Provide the plan variable.

    Install path of the enqueue server component

    This is a required field. If you do not know the install path, return to the SAP Tasks page and click the View All link.

  6. Click the Run Plan (Includes Preflight) button.

    The Deployment Results page is displayed. If the plan fails, error messages are displayed.

ProcedureHow to Check the Offline Status of an SAP Enqueue Server

If the main processes are present on the system, the resource is considered online. If any of the main processes are not present on the system, the plug-in identifies the resource as offline.

The main process is the enserver process.

Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the SAP Enqueue Server section of the SAP Tasks page, click Offline Status.

  3. Click Run.

  4. Select a target host or a target host set.


    Note –

    Only select one host.


  5. Provide the plan variable.

    Install path of the enqueue server component.

    This is a required field. If you do not know the install path, return to the SAP Tasks page and click the View All link.

  6. Click the Run Plan (Includes Preflight) button.

    The Deployment Results page is displayed. If the plan fails, error messages are displayed.

Creating and Managing SAP Message Servers

The SAP Message Server is responsible for communication between the application servers. The SAP Message Server passes requests from one application server to another within the system.

The SAP Message Server also contains information about application server groups and the current load balancing within them. The SAP Message Server uses this information to choose an appropriate server when a user logs on to the system.


Note –

SAP AC is not supported.


This section describes the following tasks:

ProcedureHow to Create an SAP Message Server

This task creates an SAP Message Server component in SPS database. The SAP Message Server is created by the user at the OS level outside the SPS plug–in.


Note –

This task is a markOnly task.


Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the SAP Message Server section of the SAP Tasks page, click Create.

  3. Click Run.

  4. In the Plan Parameters table, select the variable settings for the Message Server component.

    • If the variable settings have been created for this component, select the appropriate settings from the drop-down menu.

    • If the variable settings are not available from the drop-down menu:

      1. Click Select From List.

        The Select Variable Settings From List window displays.

        • To create a new variable settings set, click Create Set and type a Set Name.

          The following list provides commonly updated variables for the Enqueue Server component. To create a value for the component variable, click the check box in the component variable's row.


          Note –

          For information about component variables ending in UserExit, see User Exits.


          groupName

          This is a required field.


          Note –

          In the Sun Cluster environment, the groupName must equal the Sun Cluster resource group name.


          groupDescription

          A description of the group.

          resourceName

          Required for default and Sun Cluster environment. The resourceName must equal the Sun Cluster resource name for the Sun Cluster envType.

          envType

          Identifies whether this component will be deployed to a default or Sun Cluster environment. Value can be sc or default. Default value: default.

          createdBy

          Identifies the installer of the component.

          sapSid

          Required for the default and Sun Cluster environment. The SAP system ID consists of three uppercase alphanumeric characters. The first character must be a letter.

          msgLhName

          Required for the default and Sun Cluster environment. Logical host name for the message server.

          instanceName

          Required for the default and Sun Cluster environment. Name of the instance (INSTANCE_NAME in SAP start profile). The name must contain at least three uppercase alpha characters and two numeric characters. For example, ABC01.

          srmProject

          The Solaris Resource Management (SRM) project name. Default value: default.

      2. Click Save.

    • To use component variables from another component, click Import Set.

      For more information about importing variable sets, see How to Run a Plan in Sun N1 Service Provisioning System 5.2 Operation and Provisioning Guide.

  5. Select target host or target host set.

  6. Click the Run Plan (Includes Preflight) button.

    The Deployment Results page is displayed. If the plan fails, error messages are displayed.


    Note –

    There is no code verification to enforce the required fields for the Sun Cluster environment when the components are created in the Sun N1 Service Provisioning System.


ProcedureHow to Delete an SAP Message Server

Plan to delete an SAP Message Server component in the SPS database. The SAP Message Server created by the user at the OS level is not deleted.


Note –

This is a markOnly task.


Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the SAP Message Server section of the SAP Tasks page, click Delete.

  3. Click Run.

  4. Select target host or target host set.

  5. Provide the plan variable.

    Install path of the message server

    This is a required field. If you do not know the install path, return to the SAP Tasks page and click the View All link.

  6. Click the Run Plan (Includes Preflight) button.

    The Deployment Results page is displayed. If the plan fails, error messages are displayed.

ProcedureHow to Start an SAP Message Server

Prior to starting the SAP Message Server, the plug-in does not check any dependencies. After the startup, the plug-in verifies that the main process is running. The main process for the SAP Message Server is the message server process.

Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the SAP Message Server section of the SAP Tasks page, click Start.

  3. Click Run.

  4. Select target host or target host set.

  5. Provide the plan variable.

    Install path of the message server component

    This is a required field. If you do not know the install path, return to the SAP Tasks page and click the View All link.

  6. Click the Run Plan (Includes Preflight) button.

    The Deployment Results page is displayed. If the plan fails, error messages are displayed.

ProcedureHow to Stop an SAP Message Server

If the SAP component is offline, the plan will complete successfully without any further action. If the SAP component is not offline, the plan stops the SAP component.

If a normal stop fails and you have selected the Force Stop option, the plan will perform a hard stop by “killing” the main process. The plan then verifies that the SAP component is offline. If it is, the plan completes successfully.

If the SAP component is not offline, the plan fails. The process used to determine the status is the message server process.

Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the SAP Message Server section of the SAP Tasks page, click Stop.

  3. Click Run.

  4. Select target host or target host set.

  5. Provide the plan variables.

    Install path of the SAP message server component

    This is a required field. If you do not know the install path, return to the SAP Tasks page and click the View All link.

    Force stop SAP Message Server after the graceful stop failed in the default environment

    This option is selected by default.

  6. Click the Run Plan (Includes Preflight) button.

    The Deployment Results page is displayed. If the plan fails, error messages are displayed.

ProcedureHow to View All SAP Message Server

Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the SAP Message Server section of the SAP Tasks page, click View All.

    The Hosts Where Installed table is displayed.

ProcedureHow to Check the Online Status of an SAP Message Server

If the main processes are present on the system, the resource is considered online. If any of the main processes are not present on the system, the plug-in identifies the resource as offline.

The main process for the SAP Message Server is the message server process.

Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the SAP Message Server section of the SAP Tasks page, click Online Status.

  3. Click Run.

  4. Select a target host or target host set.

  5. Provide the plan variable.

    Install path of the SAP message server component

    This is a required field. If you do not know the install path, return to the SAP Tasks page and click the View All link.

  6. Click the Run Plan (Includes Preflight) button.

    The Deployment Results page is displayed. If the plan fails, error messages are displayed.

ProcedureHow to Check the Offline Status of an SAP Message Server

If the main processes are present on the system, the resource is considered online. If any of the main processes are not present on the system, the plug-in identifies the resource as offline.

The main process for the SAP Message Server is the message server process.

Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the SAP Message Server section of the SAP Tasks page, click Offline Status.

  3. Click Run.

  4. Select a target host or target host set.

  5. Provide the plan variable.

    Install path of the SAP message server component

    This is a required field. If you do not know the install path, return to the SAP Tasks page and click the View All link.

  6. Click the Run Plan (Includes Preflight) button.

    The Deployment Results page is displayed. If the plan fails, error messages are displayed.

Creating, Managing and Installing SAP Application Servers

The Common Tasks page of the software enables you to create and manage instances of SAP Application Servers.

This section presents the tasks necessary to create SAP Application Servers and to install SAP Application Servers:

Application Server Creation and Management

The following procedures install, uninstall, and manage the SAP Application Server.

ProcedureHow To Create an Application Server

This task creates an SAP Application Server entry in the SPS database.


Note –

This task is a markOnly task.


Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the Application Server section of the SAP Tasks page, click Create.

  3. Click Run.

  4. In the Plan Parameters table, select the variable settings for the AppServer component.

    • If the variable settings have been created for this component, select the appropriate settings from the drop-down menu.

    • If the variable settings are not available from the drop-down menu:

      1. Click Select From List.

        The Select Variable Settings From List window displays.

        • To create a new variable settings set, click Create Set and type a Set Name.

          The following list provides commonly updated variables for the AppServer component. To create a value for the component variable, click the check box in the component variable's row.


          Note –

          For information about component variables ending in UserExit, see User Exits.


          groupName

          This is a required field.


          Note –

          In the Sun Cluster environment, the groupName must equal the Sun Cluster resource group name.


          groupDescription

          A description of the group.

          resourceName

          Required for the Sun Cluster environment.

          envType

          Identifies whether this component will be deployed to a default, Sun Cluster, or SAP AC environment. Value can be ac, sc, or default.

          createdBy

          Identifies the installer of the component.

          ciLhName

          Required for default install only. This value names the Central Instance logical host.

          asLhName

          Required for the default environment. This value names the Application Server logical host.

          sapSid

          Required for the default environment. The SAP system ID consists of three uppercase alphanumeric characters. The first character must be a letter.

          asSystemInstanceNumber

          Required for the default environment. Application Server instance number. Generate from variable input.

          instanceSize

          Application Server instance size which is generated from variable input. Possible values are small, medium, or big. Default value: medium.

          accServiceID

          Required for the SAP AC environment. The service ID of the SAP Application Server instance (only applicable in the SAP AC environment).

          srmProject

          The Solaris Resource Management (SRM) project name. Default value: default.

          ciInstanceName

          Required for the default environment. The Central Instance name (as in the SAP Central Instance start profile).

          isNewSapVersion

          Required for the default environment. TRUE means the central scripts are used to start and stop the application server. FALSE means instance–specific start and stop scripts from the SAP user home directory will be used to start and stop the application server. Default value: TRUE.

      2. Click Save.

    • To use component variables from another component, click Import Set.

      For more information about importing variable sets, see How to Run a Plan in Sun N1 Service Provisioning System 5.2 Operation and Provisioning Guide.

  5. Select the target host or target host set.

  6. Click the Run Plan (Includes Preflight) button.

    The Deployment Results page is displayed. If the plan fails, error messages are displayed.

ProcedureHow To Delete an Application Server

This task deletes an SAP Application Server entry from the SPS database.


Note –

This task is a markOnly task.


Steps
  1. In the Common Tasks section of the Sun N1 SPS browser interface, click SAP.

  2. In the Application Server section of the SAP Tasks page, click Delete.

  3. Click Run.

  4. Select the target host or target host set.

  5. Provide the plan variable.

    InstallPath of the AppServer component

    This is a required field. If you do not know the install path, return to the SAP Tasks page and click the View All link.

  6. Click the Run Plan (Includes Preflight) button.

    The Deployment Results page is displayed. If the plan fails, error messages are displayed.

ProcedureHow To Start an Application Server

Prior to starting the SAP Application Server, the plug-in does not check any dependencies. After the startup, the plug-in verifies that the main processes are running. The main processes for the SAP Application Server are:

If the SAP Application Server is installed with the central script to start and stop it, then the plug in starts the application server instance by using the central SAP script like the following:


startsap r3 Dinstance-num_logical-host

If the SAP Application Server is installed without the central script, then the plug–in starts it by using the following script in the home directory of user sidadm:


startsap_Dinstance-num_logical-host
Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the Application Server section of the SAP Tasks page, click Start.

  3. Click Run.

  4. Select the target host or target host set.

  5. Provide the plan variables.

    InstallPath of the SAP application server component to start

    This is a required field. If you do not know the install path, return to the SAP Tasks page and click the View All link.

    Force start the application server instance on a small server (currently only applicable for the SAP AC environment)

    This option is required when the target host does not meet the SAPS requirement to start the SAP instance. See the SAP Installation Guide for the minimum requirements for starting the SAP instance.


    Note –

    This option is only applicable in the SAP AC environment.


  6. Click the Run Plan (Includes Preflight) button.

    The Deployment Results page is displayed. If the plan fails, error messages are displayed.

ProcedureHow To Stop an SAP Application Server

If the SAP component is offline, the plan will complete successfully without any further action. If the SAP component is not offline, the plan stops the SAP component.

If a normal stop fails and the user has selected the Force Stop option, the plan will perform a hard stop by killing the main process. The plan then verifies that the SAP component is offline. If it is, the plan completes successfully. If the SAP component is not offline, the plan fails. The processes used to determine the status follow:

If the SAP Application Server is installed with the central script to start and stop it, then the plug–in stops the application server instance by using the central SAP script, as the following:


stopsap r3 Dinstance-num_logical-host

If the SAP Application Server is installed without the central script, then the plug–in stops it by using the following script in the home directory of user sidadm:


stopsap_Dinstance-num_logical-host
Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the Application Server section of the SAP Tasks page, click Stop.

  3. Click Run.

  4. Select the target host or target host set.

  5. Provide the plan variables.

    InstallPath of the SAP application server component to stop

    This is a required field. If you do not know the install path, return to the SAP Tasks page and click the View All link.

    Force stop SAP application server after the graceful stop failed in the default environment

    This option is selected by default.

  6. Click the Run Plan (Includes Preflight) button.

    The Deployment Results page is displayed. If the plan fails, error messages are displayed.

ProcedureHow To View All Application Server Instances

When executing this task, the Hosts Where Installed table is displayed with entries for each SAP Application Server installation.

Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the Application Server section of the SAP Tasks page, click View All.

    The Hosts Where Installed table is displayed.

ProcedureHow To Check the Online Status of an Application Server Instance

If the main processes are present on the system, the resource is considered online. If any of the main processes are not present on the system, the plug-in identifies the resource as offline.


Note –

SAP AC is not supported.


The main processes are:

Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the Application Server section of the SAP Tasks page, click Online Status.

  3. Click Run.

  4. Select the target host or target host set.

  5. Provide the plan variable.

    InstallPath of the application server component

    This is a required field. If you do not know the install path, return to the SAP Tasks page and click the View All link.

  6. Click the Run Plan (Includes Preflight) button.

    The Deployment Results page is displayed. If the plan fails, error messages are displayed.

ProcedureHow To Check the Offline Status of an Application Server Instance

If the main processes are present on the system, the resource is considered online. If any of the main processes are present on the system, the plug-in identifies the resource as not offline. If none of the main sap processes are present on the system, the plug-in identifies the resource as offline.

The main processes are:


Note –

SAP AC is not supported.


Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the Application Server section of the SAP Tasks page, click Offline Status.

  3. Click Run.

  4. Select the target host or target host set.

  5. Provide the plan variable.

    InstallPath of the application server component

    This is a required field. If you do not know the install path, return to the SAP Tasks page and click the View All link.

  6. Click the Run Plan (Includes Preflight) button.

    The Deployment Results page is displayed. If the plan fails, error messages are displayed.

Installing Application Servers

The two different installations are:

Installing the Application Server With a Default Exception File

The SAP Plug-In comes with an SAP Application Server default exception file. This default exception file has all the necessary component variables to perform a default installation.

ProcedureHow to Install an SAP Application Server With a Default Exception File

In order for the application server deployment to succeed, the superuser must have read/write privileges for SAP file systems on the machine where the new instance of application server is to be deployed. The SAP file systems must be shared by using one of the following options:

Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the Application Server With Default Exception File section of the SAP Tasks page, click Install.

  3. Click Run.

  4. In the Plan Parameters table, select the variable settings for the AppServerWithDefaultExceptionFile component.

    • If the variable settings have been created for this component, select the appropriate settings from the drop-down menu.

    • If the variable settings are not available from the drop-down menu,

      1. Click Select From List.

        The Select Variable Settings From List window displays.

        • To create a new variable settings set, click Create Set and type a Set Name.

          The following list provides commonly updated variables for the AppServerWithDefaultExceptionFile component. To create a value for the component variable, click the check box in the component variable's row.


          Note –

          For information about component variables ending in UserExit, see User Exits.


          resourceName

          Required for the Sun Cluster environment.

          groupName

          This is a required field.


          Note –

          In the Sun Cluster environment, the groupName must equal the Sun Cluster resource group name.


          installPath

          Install location. This path can be modified by the user.

          ciLhName

          Required for the default environment installation. This value names the Central Instance logical host.

          asLhName

          Required for the default environment. The value names the Application Server logical host.

          sapSid

          Required for the default environment. The SAP system ID consists of three uppercase alphanumeric characters. The first character must be a letter.

          asSystemInstanceNumber

          Required for the default environment. The Application Server instance number.

          ciInstanceName

          This is a required field. Central Instance number, which is generated from variable input.

          instanceSize

          Application Server instance size. Possible value are small, medium, and large. Default value: medium.

          envType

          Identifies whether this component will be deployed to a default, Sun Cluster, or SAP AC environment. Value can be ac, sc, or default. Default value: default.

          accServiceID

          This SAP AC service ID is required for the SAP AC environment.

          srmProject

          The Solaris Resource Management (SRM) project name. Default value: default.

          isNewSapVersion

          This is a required field. TRUE means the central scripts are used to start and stop the application server. FALSE means instance–specific start and stop scripts from the SAP user home directory will be used to start and stop the application server. Default value: default.

          createdBy

          Identifies the installer of the component.

      2. Click Save.

    • To use component variables from another component, click Import Set.

      For more information about importing variable sets, see How to Run a Plan in Sun N1 Service Provisioning System 5.2 Operation and Provisioning Guide.

  5. Select the target host or target host set.

  6. Click the Run Plan (Includes Preflight) button.

    The Deployment Results page is displayed. If the plan fails, error messages are displayed.

ProcedureHow to Uninstall an SAP Application Server With a Default Exception File

Plan to uninstall the SAP Application Server along with the default exception file.

Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the Application Server With Default Exception File section of the SAP Tasks page, click Uninstall.

  3. Click Run.

  4. Select the target host or target host set.

  5. Provide the plan variable.

    Install path for the application server installed with default exception file

    This is a required field. If you do not know the install path, return to the SAP Tasks page and click the View All link.

    markOnly delete

    Selecting the markOnly delete check box deletes the Application Server component from the SPS database. If the markOnly delete check box is selected, the Application Server component is deleted from the SPS database and the Application Server is deleted at the OS level.

  6. Click the Run Plan (Includes Preflight) button.

    The Deployment Results page is displayed. If the plan fails, error messages are displayed.

ProcedureHow to View All SAP Application Server Instances With a Default Exception File

Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the Application Server With Default Exception File section of the SAP Tasks page, click View All.

    The Host Where Installed table is displayed.

Installing the Application Server With a Custom Exception File

A custom exception file enables you to create a unique set of variables by which to deploy an application server.

This section describes the following tasks:

ProcedureHow to Create Custom Exception File Components

The custom exception file enables you to provide and check in a custom exception file to SPS. You can then use the custom exception file to deploy the application server instead of the default exception file which is provided by the plug–in.

Before You Begin

The custom exception file must be available on the machine where the custom exception file component is created.

Steps
  1. Create the custom exception file.

    For more information, see Exception File Example

  2. In the Common Task ssection of the N1 SPS browser interface, click SAP.

  3. In the Application Server With Custom Exception File section of the SAP Tasks page, click Create Component.

  4. Provide the component information.

    Component

    This is a required field. This is the component name.

    Type

    Leave this value as com.sun.sap#AppServerWithExceptionFile.

    Platform

    Select a specific platform or leave the default value of system#any.

    Label

    Short description of the component.

    Description

    A description of the component.

  5. Import Exception File from host.

    1. Click the Select From List link.

    2. Select a host from the Current Hosts Found list.

    3. Click the Add Host to Main Window button.

    4. Click Refresh.

    5. Navigate to the exception file and click to select it.

  6. Select additional options if desired.

  7. Click the Check In Selected Item button.

    The Check In window is displayed.

  8. Specify the component name.

    You can change the component name if you wish. For example, MyCustomExceptionFileComponent.

  9. Click the Change Folder link.

  10. Change to the /com/sun/n1aa/exceptionfiles directory.

    For more information, see Chapter 6, Setting Up Folders, in Sun N1 Service Provisioning System 5.2 System Administration Guide.

  11. Click the Change To Selected Folder button.

  12. Click the Continue to Check In button.

    The Components table is displayed.

ProcedureHow to View All Exception File Components

Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the Application Server With Custom Exception File section of the SAP Tasks page, click View All Components.

  3. Click the View Current Component Check-Ins button.

    The Default Exception File and any previously checked in Custom Exception files are displayed.

    If you do not see the components you checked in, click on the Change Folder link and change the folder to the one in which you created the components.

ProcedureHow to Create Application Server Components

This task creates an SAP Application Server component in the SPS database. This SAP Application Server is used by the Sun N1 Advanced Architecture for SAP Solutions to deploy and create a new SAP Application Server at the OS level.

Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the Application Server With Custom Exception File section of the SAP Tasks page, click Create Component.

  3. Populate the component information.


    Note –

    For information about component variables ending in UserExit, see User Exits.


    Component

    This is a required field. This is the component name. The format of the component name is ASWithcustom-exception-filename, where custom-exception-filename is the previously created component.

    For example, ASWithMyCustomExceptionFile. This component needs to be in the /com/sun/n1aa/exceptionfiles directory.

    Type

    Leave this value as com.sun.sap#AppServerWithExceptionFile.

    Platform

    Select a specific platform or leave the default value of system#any.

    Label

    A short description.

    Description

    An description of the component.

    Referenced Components
    1. Click the Reference Existing link for the Exception File component.

    2. Select the exception file.

    3. Click the Reference Checked Components button.

      The Add Component Variables table appears.


      Note –

      This table will be empty if there are no component variables


    4. Click the Continue to Reference Components button.

  4. Populate the Component Variables.

    resourceName

    Required for the Sun Cluster environment.

    groupName

    This is a required field.


    Note –

    In the Sun Cluster environment, the groupName must equal the Sun Cluster resource group name.


    installPath

    Install location.

    ciLhName

    Required for the default environment installation. Central instance logical host.

    asLhName

    Required for the default environment. Application server logical host.

    sapSid

    Required for the default environment. SAP system ID (3 upper case alphanumeric.) The first character must be an alphabetic letter.

    asSystemInstanceNumber

    Required for the default environment. Application Server instance number.

    ciInstanceName

    This is a required field. Central Instance number. Generated from variable input.

    instanceSize

    Application Server instance size. Default value: medium.

    envType

    Identifies if this component will be deployed to a Default, Sun Cluster, or SAP AC environment. Value can be ac, sc, or default. Default value: default.

    accServiceID

    Required for the SAP AC environment. SAP AC service ID.

    srmProject

    The Solaris Resource Management (SRM) project name. Default value: default.

    isNewSAPVersion

    This is a required field. TRUE means the central scripts are user to start and stop the application server. FALSE means instance specific start and stop scripts from the SAP user home directory will be used to start and stop the application server. Default value: TRUE

    createdBy

    Identifies the installer of the component.

  5. Click Check In.

  6. Click Continue to Check In.

    You have completed the creation of the application server with custom exception file component.

ProcedureHow to View All Application Server Components

Steps
  1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

  2. In the Application Server With Custom Exception File section of the SAP Tasks page, click View All Components.

    The components table is displayed.

ProcedureHow to Create an Application Server With Custom Exception File Install Plan

Steps
  1. Select the Application Server with Custom Exception File component.

    Perform one of the following options to begin the plan creation task:

    • If you are in the Components Details window.

      1. Select default: install

    • If you enter from the Common Tasks page.

      1. In the Common Tasks section of the N1 SPS browser interface, click SAP.

      2. In the Application Server With Custom Exception File section of the SAP Tasks page, click View All Components.

      3. Select the appropriate application server with custom exception file component.

      4. Select the default:install procedure from the component procedures table.

  2. Click Generate Plan With Checked Procedures.

    The plans details advanced edit page appears.

  3. Type the plan name

    The format of the plan name is Installcomponent-namePlan. For example, InstallASWithMyCustomExceptionFilePlan.

  4. Edit the plan definition.

    1. Delete <paramList> through </paramList>

    2. Delete <argList> through </argList>

  5. Click the Check In button.

    The Plans Details Edit Check In window appears.


    Note –

    The following warning might appear and can be ignored.


    warning – plan names and/or paths differ

  6. Click the Continue To Check In button.

    The Plans Details window appears.

  7. Click Done.

    The Plans table is displayed.

User Exits

The following user exits can be found in many of the variable settings of plans. The values of these component variables are absolute paths to the respective script file. The scripts need to be on the machines from which they are called. They can be any executables, for example, scripts or binaries.

preStartUserExit

Custom script users would like to run before starting the resource.

postStartUserExit

Custom script users would like to run after starting the resource.

preStopUserExit

Custom script users would like to run before stopping the resource.

postStopUserExit

Custom script users would like to run after stopping the resource.

preRelocateUserExit

Custom script users would like to run before relocating the resource.

postRelocateUserExit

Custom script users would like to run after relocating the resource.

Component Types

The SAP plug-in includes several specific component types. These component types enable you to quickly model many of the most common application components and to automatically associate install, uninstall, export, and snapshot behavior with a particular resource. Many of the component types are used by the software when you create and manage servers and clusters. As a result, there are only a few component types that you work with directly.

The GDS Component

The following plans are necessary for operating the Generic Data Service (GDS) component at the group level through the Sun N1 Advanced Architecture for SAP Solutions software.


Caution – Caution –

The naming convention for the plans must follow the examples. If they do not, the plan will fail.


ProcedureHow to Create a GDS Component Using the GDSResourceType

Steps
  1. In the Application Deployment section of the N1 SPS browser interface, click Components.

  2. Change the folder to /com/sun/n1aa/GDS.

  3. Click on create link for creating the component.

  4. Enter the name of the component.

  5. Select the type as untyped.

  6. Insert the following text before the ending component element, </component>:

    <extends>
        <type name="com.sun.sap#GDSResourceType"></type>
    </extends>
    
    <installList>
        <installSteps name="createDependency" access="PROTECTED">
        <paramList>
    	       <param name="grpInstallPath"/>
        </paramList>
        <try>
            <block>
            <!-- Replace dependency name, RunLevel1, with your desired run-level. -->
            <!-- Following are the pre-defined dependency names -->
                <createDependency name="RunLevel1">
                    <installedComponent name="Group" path="/com/sun/sap/resourcetypes" 
                         installPath=":[grpInstallPath]"></installedComponent>
                </createDependency>
            </block>
            <catch>
                <raise message="Error in creating dependency: :[grpInstallPath]"/>
            </catch>
        </try>
        </installSteps>
    </installList>
  7. Change the dependency name on line containing <createDependency> element.

    Valid dependency names are:

      RunLevel1 through RunLevel5


      NFSMount2Group


      RunLevel7 through RunLevel11


      HAStoragePlus2Group


      RunLevel13 through RunLevel17


      LogicalHost2Group


      RunLevel19 through RunLevel23


      Oracle2Group


      RunLevel25 through RunLevel29


      CentralInstance2Group


      RunLevel31 through RunLevel35


      EnqueueServer2Group


      RunLevel37 through RunLevel41


      MessageServer2Group


      RunLevel43 through RunLevel47


      AppServerWithExceptionFile2Group


      RunLevel49 through RunLevel53


      AppServer2Group


      RunLevel55 through RunLevel59


      NFSShare2Group


      RunLevel61 through RunLevel65


  8. Click Check In.

  9. Click Continue to Check In.

ProcedureHow to Generate a Create Plan for a GDS Resource

This is a markOnly task.


Note –

This plan does not have any plan parameters.


Steps
  1. In the Application Deployment section of the N1 SPS browser interface, click Components.

  2. Change the folder to /com/sun/n1aa/GDS.

  3. Click on the details link of the created GDS component.

  4. Select the check box for the install:default procedure.

    You can also select the check box for the install:markOnly procedure.


    Note –

    Both default and markOnly installs are the same unless you overwrite the installSteps in the GDS component ?


  5. Click the Generate Plan With Checked Procedures link.

  6. Type the name of the plan as Creategds-component-namePlan.

    Where gds-component-name is the name of the component created in the task How to Create a GDS Component Using the GDSResourceType.

  7. In the XML text, in <executionPlan> element, change the name of the attribute to Creategds-component-namePlan.

  8. Click Check In.

  9. Click Continue to Check In.

ProcedureHow to Generate a Delete Plan for a GDS Resource

This is a markOnly task.


Note –

The installPath is the only plan parameter.


Steps
  1. In the Application Deployment section of the N1 SPS browser interface, click Components.

  2. Change the folder to /com/sun/n1aa/GDS.

  3. Click on the details link of the created GDS component.

  4. Select the check box for the uninstall:default procedure.

    You can also select the check box for the uninstall:markOnly procedure.

  5. Click on the Generate Plan With Checked Procedures link.

  6. Enter the name of the plan as Deletegds-component-namePlan.

    Where gds-component-name is the name of the component created in section How to Create a GDS Component Using the GDSResourceType.

  7. In the XML text <executionPlan> element, change the name of the attribute to Deletegds-component-namePlan.

  8. Before the <simpleSteps> element, add the installPath as the plan parameter.

    For example, include the following text to insert the plan parameter:

    <paramList>
            <param name="installPath" default="" prompt="Install path of the GDS component"></param>
         </paramList>
  9. Add the installPath=':[installPath]' attribute to the <installedComponent> element in the XML text.

    For example:

    Before adding the installPath.

    <uninstall blockName='default'>
        <installedComponent name='gds' versionOp='=' version='1.0' 
            path='/com/sun/n1aa/GDS'></installedComponent>
    </uninstall>

    After adding the installPath.

    <uninstall blockName='default'>
        <installedComponent name='gds' versionOp='=' version='1.0' 
        path='/com/sun/n1aa/GDS' installPath=':[installPath]'></installedComponent>
    </uninstall>
  10. Click Check In.

  11. Click Continue to Check In.

ProcedureHow to Generate a Start Plan for a GDS Resource


Note –

The installPath is the only plan parameter.


Steps
  1. In the Application Deployment section of the N1 SPS browser interface, click Components.

  2. Change the folder to /com/sun/n1aa/GDS.

  3. Click on the details link of the created GDS component.

  4. Select the check box for the start procedure.

  5. Click on the Generate Plan With Checked Procedures link.

  6. Enter the name of the plan as Startgds-component-namePlan.

    Where gds-component-name is the name of the component created in section How to Create a GDS Component Using the GDSResourceType.

  7. In the XML text, in the <executionPlan> element, change the name of the attribute to Startgds-component-namePlan.

  8. Before the <simpleSteps> element, delete the <paramList> entry containing forceStart parameter.

  9. Before the <simpleSteps> element, add the installPath as the plan parameter.

    For example, include the following text to insert the plan parameter:

    <paramList>
        <param name="installPath" default="" 
            prompt="Install path of the GDS component"></param>
    </paramList>
  10. Delete arguments to start control, by deleting the <argList> line after <call blockName='start'>.

  11. Add the installPath=':[installPath]' attribute to the <installedComponent> element in the XML text.

    For example, before adding the installPath.

    <call blockName='start'>
        <installedComponent name='gds' versionOp='=' version='1.0' 
            path='/com/sun/n1aa/GDS'></installedComponent>
    </call>

    After added the installPath.

    <call blockName='start'>
        <installedComponent name='gds' versionOp='=' version='1.0' 
            path='/com/sun/n1aa/GDS' installPath=':[installPath]'></installedComponent>
    </call>
  12. Click Check In.

  13. Click Continue to Check In.

ProcedureHow to Generate a Stop Plan for a GDS Resource


Note –

The installPath is the only plan parameter.


Steps
  1. In the Application Deployment section of the N1 SPS browser interface, click Components.

  2. Change the folder to /com/sun/n1aa/GDS.

  3. Click on the details link of the created GDS component.

  4. Select the check box for the stop procedure.

  5. Click the Generate Plan With Checked Procedures link.

  6. Enter the name of the plan as Stopgds-component-namePlan.

    Where gds-component-name is the name of the component created in section How to Create a GDS Component Using the GDSResourceType.

  7. In the XML text, in the <executionPlan> element, change the name of the attribute to Stopgds-component-namePlan.

  8. Before the <simpleSteps> element, delete the paramList element containing the shutdownMode and forceStop parameters.

  9. Before the <simpleSteps> element, add the installPath as the plan parameter.

    For example, include the following text to insert the plan parameter:

    <paramList>
        <param name="installPath" default="" 
            prompt="Install path of the GDS component"></param>
    </paramList>
  10. Delete arguments to stop control, by deleting the <argList> line after <call blockName='stop'>.

  11. Add the installPath=':[installPath]' attribute to the <installedComponent> element in the XML text.

    For example,

    Before adding the installPath.

    <call blockName='stop'>
         <installedComponent name='gds' versionOp='=' version='1.0' 
              path='/com/sun/n1aa/GDS'></installedComponent>
    </call>

    After adding the installPath.

    <call blockName='stop'>
        <installedComponent name='gds' versionOp='=' version='1.0' 
            path='/com/sun/n1aa/GDS' installPath=':[installPath]'></installedComponent>
    </call>
  12. Click Check In.

  13. Click Continue to Check In.

ProcedureHow to Generate an isOnline Plan for a GDS Resource


Note –

The installPath is the only plan parameter.


Steps
  1. In the Application Deployment section of the N1 SPS browser interface, click Components.

  2. Change the folder to /com/sun/n1aa/GDS.

  3. Click on the details link of the created GDS component.

  4. Select the check box for the isOnline procedure.

  5. Click on the Generate Plan With Checked Procedures link.

  6. Enter the name of the plan as Isgds-component-nameOnlinePlan.

    Where gds-component-name is the name of the component created in section How to Create a GDS Component Using the GDSResourceType.

  7. In the XML text, in the <executionPlan> element, change the name of the attribute to Isgds-component-nameOnlinePlan.

  8. Before the <simpleSteps> element, add the installPath as the plan parameter.

    For example, include the following text to insert the plan parameter:

    <paramList>
        <param name="installPath" default="" 
            prompt="Install path of the GDS component"></param>
    </paramList>
  9. Add the installPath=':[installPath]' attribute to the <installedComponent> element in the XML text.

    For example, before adding the installPath.

    <call blockName='isOnline'>
        <installedComponent name='gds' versionOp='=' version='1.0' 
            path='/com/sun/n1aa/GDS'></installedComponent>
    </call>

    After adding the installPath.

    <call blockName='isOnline'>
        <installedComponent name='gds' versionOp='=' version='1.0' 
            path='/com/sun/n1aa/GDS' installPath=':[installPath]'></installedComponent>
    </call>
  10. Click Check In.

  11. Click Continue to Check In.

ProcedureHow to Generate an isOffline Plan for a GDS Resource


Note –

The installPath is the only plan parameter.


Steps
  1. In the Application Deployment section of the N1 SPS browser interface, click Components.

  2. Change the folder to /com/sun/n1aa/GDS.

  3. Click on the details link of the created GDS component.

  4. Select the check box for the isOffline procedure.

  5. Click on the Generate Plan With Checked Procedures link.

  6. Enter the name of the plan as Isgds-component-nameOfflinePlan.

    Where gds-component-name is the name of the component created in section How to Create a GDS Component Using the GDSResourceType.

  7. In the XML text, in the <executionPlan> element, change the name of the attribute to Isgds-component-nameOfflinePlan.

  8. Before the <simpleSteps> element, add the installPath as the plan parameter.

    For example, include the following text to insert the plan parameter:

    <paramList>
        <param name="installPath" default="" 
            prompt="Install path of the GDS component"></param>
    </paramList>
  9. Add the installPath=':[installPath]' attribute to the <installedComponent> element in the XML text.

    For example, before adding the installPath:

    <call blockName='isOffline'>
        <installedComponent name='gds' versionOp='=' version='1.0' 
            path='/com/sun/n1aa/GDS'></installedComponent>
    </call>

    After adding the installPath:

    <call blockName='isOffline'>
        <installedComponent name='gds' versionOp='=' version='1.0' 
            path='/com/sun/n1aa/GDS' installPath=':[installPath]'></installedComponent>
    </call>
  10. Click Check In.

  11. Click Continue to Check In.

Troubleshooting

If you are experiencing problems managing your SAP plug-in through the provisioning software, messages will likely appear on the screen to tell you that a problem exists.

For example, if you try to create a local zone for a target host that is not known to be a global zone, then you see a message similar to the following:


Problems encountered during plan run or preflight

The plan (or preflight) "/system/autogen/Container-inst-create-1098225529078" 
finished with 1 failed host(s).

The specified target host "masterserver" was not in the required host set 
"com.sun.solaris#global_zones" for component "/com/sun/solaris/Container".

Although the message in this example is easily deciphered, not all messages are this straightforward. To find out more information about the specific problem, follow the Details links.

Exception File Example


# List of all parameters that are different between the application
# instance and the central instance
#
# Parameters listed without an assigned value are deleted.
#
# The following character strings are substituted:
#
# @SID@ with actual SID
# @SAPSYS@ with systemname + number of application instance (e.g. D01)
# @SYSNUM@ with systemnumber of application instance
# @LHOST@ with logical hostname of application instance
#
# The parameters in section [COMMON] are valid for all application instances,
# The parameters in the additional sections refer to the corresponding 
# selected profile size
#
#

[COMMON]
SAPSYSTEMNAME = @SID@
INSTANCE_NAME = @SAPSYS@
SAPSYSTEM = @SYSNUM@
SAPLOCALHOST = @LHOST@
SAPLOCALHOSTFULL = 
icm/server_port_0 = 
icm/server_port_1 = 
icm/server_port_2 = 
rdisp/myname =
rdisp/wp_no_enq = 
rslg/send_daemon/listen_port = 37@SYSNUM@
rslg/send_daemon/talk_port = 13@SYSNUM@
DIR_ROLL =
DIR_PAGING =
DIR_DATA =
DIR_REORG =
DIR_TEMP =
DIR_SORTTMP =

[SMALL]
rdisp/wp_no_vb = 
rdisp/wp_no_vb2 = 
rdisp/wp_no_btc = 
em/initial_size_MB = 1024

[MEDIUM]
rdisp/wp_no_vb = 2
rdisp/wp_no_vb2 = 
rdisp/wp_no_btc = 
em/initial_size_MB = 2048

[LARGE]
rdisp/wp_no_vb = 3
rdisp/wp_no_vb2 = 
rdisp/wp_no_btc = 
em/initial_size_MB = 3072