Sun N1 Service Provisioning System 5.1 System Administration Guide

ProcedureHow to Create a Virtual Host Manually

For information about virtual hosts and their uses, see Virtual Hosts.

This procedure describes how to create virtual hosts by using the browser interface. You can also create virtual hosts by using the following command.

For a detailed description of this command, see Chapter 7, hdb: CLI Commands for Managing Hosts, in Sun N1 Service Provisioning System 5.1 Command-Line Interface Reference Manual.

Before You Begin

Before you add a virtual host, you need to have a physical host setup that will contain the virtual host. You also need to have the deployment target set up.

To create a virtual host, you must belong to a user group that has Create, Edit, Delete permission on hosts.

Steps
  1. Go to the Hosts page.

    See How to View Hosts.

  2. In the top row of the Hosts table, perform the following steps.

    1. Type a name for the new host in the Host text box.

      For more information about the syntax of the host name, see Appendix C, Accepted Values for Provisioning System Objects.

    2. From the menu, select a host type for the host.

    3. Type a brief description of the new host in the Description text box.

    4. Click Create.

    The Edit page for the new host is displayed.

  3. Ensure that the host name, description, and host type display properly.

  4. If necessary, update the host-type attribute values.

    If the host type that you selected has attributes associated with it, the Edit page lists the attributes and default values in the attribute table. To assign a custom value to an attribute, click the checkbox next to the default value. In the text box that appears, type the new attribute value.

    For more information about the syntax of host-type attribute values, see Appendix C, Accepted Values for Provisioning System Objects.

  5. Indicate that you are creating a virtual host by selecting Virtual Host.

  6. Type the name of the parent host or click Select from List to select the host name from the window that appears.

    Every virtual host has a parent host that is either a physical host or a virtual host. Virtual hosts can be nested arbitrarily, although the outermost parent host must be a physical host.

  7. (Optional) To add this host to a host set, click Add to Host Sets in the Host Relationships area of the page.

    Select the host set to which you want to add the host.

  8. Click Save.