Sun Microsystems Logo
Products & Services
 
Support & Training
 
 

Previous Previous     Contents     Index     Next Next

Example 15-4 Creating a SPARC Install Server on an x86 System With SPARC CD Media

The following example illustrates how to create a SPARC install server on an x86 system that is named richards. The following SPARC CDs are copied from a remote SPARC system that is named simpson to the x86 install server's /export/home/cdsparc directory.

  • Solaris Software 1 of 2 SPARC Platform Edition CD

  • Solaris Software 2 of 2 SPARC Platform Edition CD

  • Solaris SPARC Platform Edition Languages CD

  • Solaris SPARC Platform Edition Installation CD

On the remote SPARC system:

simpson (remote-SPARC-system)# share -F nfs -o ro,anon=0 /cdrom/cdrom0/s0
simpson (remote-SPARC-system)# share -F nfs -o ro,anon=0 /cdrom/cdrom0/s1
simpson (remote-SPARC-system)# /etc/init.d/nfs.server start

On the x86 system:

richards (x86-system)# mkdir /sparcS0
richards (x86-system)# mkdir /sparcS1
richards (x86-system)# mount simpson:/cdrom/cdrom0/s0 /sparcS0
richards (x86-system)# mount simpson:/cdrom/cdrom0/s1 /sparcS1
richards (x86-system)# cd /sparcS0/Solaris_9/Tools
richards (x86-system)# ./setup_install_server -t /sparcS0 /export/home/cdsparc
richards (x86-system)# cd /
richards (x86-system)# unmount /sparcS0
richards (x86-system)# unmount /sparcS1

On the remote SPARC system:

simpson (remote-SPARC-system) unshare /cdrom/cdrom0/s0
simpson (remote-SPARC-system) unshare  /cdrom/cdrom0/s1

On the x86 system:

richards (x86-system)# cd /cdrom/cdrom0/Solaris_9/Tools
richards (x86-system)# ./add_to_install_server /export/home/cdsparc
richards (x86-system)# cd /cdrom/cdrom0/Tools
richards (x86-system)# ./add_to_install_server /export/home/cdsparc

On the remote SPARC system:

simpson (remote-SPARC-system)# share -F nfs -o ro,anon=0 /cdrom/cdrom0/s0
simpson (remote-SPARC-system)# share -F nfs -o ro,anon=0 /cdrom/cdrom0/s1
simpson (remote-SPARC-system)# /etc/init.d/nfs.server start

On the x86 system:

richards (x86-system)# mount remote_SPARC_system_name:/cdrom/cdrom0 /sparcS0
richards (x86-system)# mount remote_SPARC_system_name:/cdrom/cdrom0 /sparcS1
richards (x86-system)# cd /sparcS0
richards (x86-system)# ./modify_install_server -p /export/home/cdsparc /sparcS1

In this example, each CD is inserted and automatically mounted before each of the commands. After each command, the CD is removed.

Creating a Boot Server on a Subnet With a CD Image

You must create an install server to install the Solaris software on a system from the network. You do not always need to set up a boot server. A boot server contains enough of the boot software to boot systems from the network, and then the install server completes the installation of the Solaris software.

  • If you are using DHCP to set installation parameters or your install server and client are on the same subnet, you do not need a boot server. Proceed to Adding Systems to Be Installed From the Network With a CD Image.

  • If your install server and your client are not on the same subnet and you are not using DHCP, you must create separate boot servers for each subnet. You could create an install server for each subnet; however, install servers require more disk space.

ProcedureTo Create a Boot Server on a Subnet With a CD Image

  1. On the system you intend to make the boot server for the subnet, log in and become superuser.

    The system must include a local CD-ROM drive or have access to the remote Solaris 9 disc images, which are normally on the install server. If you use a name service, the system should be in the name service. If you do not use a name service, you must distribute information about this system by following your site's policies.

  2. Mount the Solaris Software 1 of 2 CD image from the install server.

    # mount -F nfs -o ro server_name:path /mnt

    server_name:path

    Is the install server name and absolute path to the disc image

  3. Create a directory for the boot image.

    #  mkdir -p boot_dir_path

    boot_dir_path

    Specifies the directory where the boot software is to be copied

  4. Change to the Tools directory on the Solaris Software 1 of 2 CD image.

    # cd /mnt/Solaris_9/Tools

  5. Copy the boot software to the boot server.

    # ./setup_install_server -b boot_dir_path

    -b

    Specifies to set up the system as a boot server

    boot_dir_path

    Specifies the directory where the boot software is to be copied


    Note - The setup_install_server command indicates whether you have enough disk space available for the images. To determine available disk space, use the df -kl command.


  6. Change directories to root (/).

    # cd /

  7. Unmount the installation image.
    # umount /mnt

You are now ready to set up systems to be installed from the network. See Adding Systems to Be Installed From the Network With a CD Image.

Example 15-5 Creating a Boot Server on a Subnet With CD Media

The following example illustrates how to create a boot server on a subnet. These commands copy the boot software from the Solaris Software 1 of 2 SPARC Platform Edition CD image to /export/install/boot on the system's local disk.

# mount -F nfs -o ro crystal:/export/install/boot /mnt 
# mkdir -p /export/install/boot 
# cd /mnt/Solaris_9/Tools
# ./setup_install_server -b /export/install/boot
# cd /
# umount /mnt

In this example, the disc is inserted and automatically mounted before the command. After the command, the disc is removed.

Adding Systems to Be Installed From the Network With a CD Image

After you create an install server and, if necessary, a boot server, you must set up each system that you want to install from the network. Each system that you want to install needs to find the following:

  • An install server

  • A boot server if it is required

  • The sysidcfg file if you use a sysidcfg file to preconfigure system information

  • A name server if you use a name service to preconfigure system information

  • The profile in the JumpStart directory on the profile server if you are using the custom JumpStart installation method

Use the following add_install_client procedure for setting up install servers and clients. Also, see the example procedures for the following:

  • If you are using DHCP to set installation parameters, see Example 15-6.

  • If your install server and client are on the same subnet, see Example 15-7.

  • If your install server and your client are not on the same subnet and you are not using DHCP, see Example 15-8.

  • If you are using DHCP to set installation parameters for x86 clients, see Example 15-9.

  • If you want to use a specific serial port to display output during the installation of an x86-based system, see Example 15-10.

  • If you want to set up an x86 client to use a specific network interface during the installation, see Example 15-11.

Previous Previous     Contents     Index     Next Next