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

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.