Sun N1 Service Provisioning System User's Guide for Sun Java System Web Server Plug-In 3.0

ProcedureHow to Delete a Web Server Instance

The Sun Java System Web Server Plug-In cannot delete a Web Server instance from a server. Consequently, you must manually delete a Web Server instance using the Administration Server. Then, use the following procedure to remove the Web Server instance from the N1 Service Provisioning System database.

Steps
  1. Access the Administration Server and delete the Web Server instance.

  2. In the browser interface of the provisioning system, click the Sun Java System WS 6 icon under the Common Tasks section of the left control panel.

  3. Click the Delete Web Server instance: delete link.

  4. Click the Run button.

  5. In the Plan Variables section, in the installPath field, type the value for the installPath variable for this Web Server instance.


    Note –

    The value for the installPath variable is treated as a relative path to the default Remote Agent directory, unless you specify an absolute path, such as /opt or c:\mydir. For example, for a Windows Remote Agent, if you set the installPath variable to c\mydir and deploy the file to an Agent with a default home directory of c:\Program Files\N1 Service Provisioning System\agent, the file is deployed to c:\Program Files\N1 Service Provisioning System\agent\c\mydir.


    1. In the left control panel, under the Hosts Setup section, click Hosts.

    2. In the list of hosts, click the virtual host on which you installed the Administration Server that controls the Web Server instance that you want to uninstall.

      The host type for an Administration Server virtual host is com.sun.jes6_WS#WebAdminServerHT.

    3. Click the Components Installed button.

    4. In the Components Installed on Host table, identify the /com/sun/jes6_WS/WebServerInstance component that you want to uninstall.

      To help you identify the Web Server instances, you can review the variable settings that you selected when you installed the Web Server instance. In the Installed column, click on the date and time.

    5. Find the value in the Install Path column for the /com/sun/jes6_WS/WebServerInstance component that you want to uninstall.


    Caution – Caution –

    If you do not set the installPath variable, the provisioning system deletes the most recent Web Server instance that you created for the Administration Server that you selected.


  6. Click the Run Plan (includes preflight) button.

    The provisioning system removes the virtual host for the Web Server instance.