OpenSolaris Automated Installer Guide
Previous Next

How to Complete Server Setup (Simple Instructions)

If you want to set up one server and only one type of client, use the following simple instructions. Or, if this is your first experience setting up an install server, use these simple instructions. These instructions assume an extremely simple network setup where the network consists of a single subnet, and the install server also acts as the DHCP server for the network and uses DNS to resolve hostnames.

Completing Server Setup

Before You Begin

Complete the initial setup instructions provided in How to Set Up an Install Server (Initial Steps).

  • Set up an install service by using either the following x86 procedure or SPARC procedure:
    • To set up an install service for x86 clients, use the following procedure:
      1. Create an install service by using the installadm create-service command as in the following example:
        # installadm create-service -n 0906x86 -i 172.1.0.10 -c 5 \
        -s /export/aiimages/osol-0906-ai-x86.iso /export/aiserver/osol-0906-ai-x86

        In this example, the command sets up a new install service named 0906x86. The command also sets up a DHCP server on this system, if one hasn't been set up yet. A new DHCP macro, dhcp_macro_0906x86, for the install service will be created. The install service will serve 5 IP addresses, starting from 172.1.0.10.

        In this example, the command options perform as follows:

        • Using the -n option, the command specifies a name, 0906x86, for the new install service.


          Note - If you do not supply a service name, installadm create-service creates a unique name for the install service using the format, _install_service_<port_number>.


        • Using the -i option, the command sets up a new DHCP server. The IP addresses are set up starting from 172.1.0.10.

        • Using the -c option, the command sets up a total number of 5 IP addresses in the DHCP table.

        • Using the -s option and its argument, /export/aiimages/osol-0906-ai-x86.iso, the command specifies the location of an AI ISO image. In this case, the AI ISO image is an x86 image. This AI ISO image, however, is compacted and is not ready for client installations.

        • The last command-line argument, /export/aiserver/osol-0906-ai-x86, specifies the location where the command unpacks and stores the image that was specified by the -s option. The resulting net image in this location enables client installations.

      2. Boot the client from the network.

        Note - It may be necessary to modify the BIOS configuration to select network booting.


      3. When the client boots, select the network device to boot from.
    • To set up an install service for SPARC clients, use the following procedure:
      1. Create an install service by using the installadm create-service command, as in the following example:
        # installadm create-service -n 0906sparc -i 172.1.0.10 -c 5 \
        -s /export/aiimages/osol-0906-ai-sparc.iso /export/aiserver/osol-0906-ai-sparc

        In this example, the command sets up a new install service named 0906sparc. The command also sets up a DHCP server on this system, if one hasn't been set up yet. A macro, dhcp_macro_0906sparc, for the install service will be created in the DHCP server, and 5 IP addresses, starting from 172.1.0.10, will be allocated to that macro.

        In this example, the command options perform as follows:

        • Using the -n option, the command specifies a name, 0906sparc, for the new install service.

        • Using the -i option, the command sets up a new DHCP server. The IP addresses, starting from 172.1.0.10, are set up.

        • Using the -c option, the command sets up a total number of 5 IP addresses in the DHCP table.

        • Using the -s option, the command specifies an AI ISO image, /export/aiimages/osol-0906-ai-sparc.iso, that can be used to install the OpenSolaris OS to a client. In this case, the AI ISO image is a SPARC image. This AI ISO image, however, is compacted and is not ready for client installations.

        • In the last field, the command specifies a location, /export/aiserver/osol-0906-ai-sparc, where the command unpacks and stores the image that was specified by the -s option . The net image in this location enables client installations.

      2. For SPARC clients, boot with the following command from the open boot prompt:
        OK boot net:dhcp
Troubleshooting

For further information, see Chapter 4, How to Administer an Automated Install Server. See, also, Chapter 8, Troubleshooting and FAQs for the Automated Installer.

Previous Next