x86: Creating an x86 Install Server
With CD Media

The install server contains the installation image needed to install
systems from the network. 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 separate boot server.

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 separate
boot server.

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.

Before You Begin

If you want to upgrade a system that has non-global zones installed,
you cannot use a CD-based network installation image to upgrade the system.
You must create a network installation image from the Solaris DVD. For instructions
about how to create a network installation image from a DVD, see Chapter 5, Installing From the Network With DVD Media (Tasks).

On the system that is to become the
install server, become superuser or assume an equivalent role.

The
system must include a CD-ROM drive and be part of the site's network and naming
service. If you use a naming service, the system must already be in a naming
service, such as NIS, NIS+, DNS, or LDAP. If you do not use a naming service,
you must distribute information about this system by following your site's
policies.

Insert the Solaris Software - 1 CD
in the system's drive.

Create a directory for the CD image.

# mkdir -p install_dir_path

install_dir_path

Specifies the directory where the CD image is to be copied

Change to the Tools directory
on the mounted disc.

# cd /cdrom/cdrom0/Solaris_11/Tools

In the previous example, cdrom0 is the path to
the drive that contains the Solaris OS CD media.

Copy the image in the drive to the
install server's hard disk.

# ./setup_install_server install_dir_path

install_dir_path

Specifies the directory where the CD image is to be copied

Note –

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

Decide if you need to make the install
server available for mounting.

If the install server is on the same subnet as the system to be
installed or you are using DHCP, you do not need to create a boot server.
Proceed to Step 7.

If the install server is not on the same subnet as the system
to be installed and you are not using DHCP, complete the following steps.

Verify that the path to the install
server's image is shared appropriately.

# share | grepinstall_dir_path

install_dir_path

Specifies the path to the installation image where the CD
image was copied

If the path to the install server's directory is displayed and
anon=0 is displayed in the options, proceed to Step 7.

If the path to the install server's directory is not displayed
or you do not have anon=0 in the options, continue.

Make the install server available
by adding this entry to the /etc/dfs/dfstab file.

If the install server is running the Solaris 10 11/06 OS, or compatible
version, type the following command.

# svcs -l svc:/network/nfs/server:default

If the nfsd daemon is online, continue to Step d. If the nfsd daemon
is not online, start it.

# svcadm enable svc:/network/nfs/server

If the install server is running the Solaris 9 OS, or compatible
version, type the following command.

# ps -ef | grep nfsd

If the nfsd daemon is running, continue to Step d. If the nfsd daemon
is not running, start it.

# /etc/init.d/nfs.server start

Share the install server.

# shareall

Change directories to root (/).

# cd /

Eject the Solaris Software - 1 CD.

Insert the Solaris Software - 2 CD
in the system's CD-ROM drive.

Change to the Tools directory
on the mounted CD:

# cd /cdrom/cdrom0/Solaris_11/Tools

Copy the CD in the CD-ROM drive
to the install server's hard disk.

# ./add_to_install_serverinstall_dir_path

install_dir_path

Specifies the directory where the CD image is to be copied

Change directories to root (/).

# cd /

Eject the Solaris Software - 2 CD.

Repeat Step 9 through Step 13 for each Solaris Software CD
that you want to install.

Insert the Solaris Languages CD in
the system's CD-ROM drive.

Change to the Tools directory
on the mounted CD:

# cd /cdrom/cdrom0/Solaris_11/Tools

Copy the CD in the CD-ROM drive
to the install server's hard disk.

# ./add_to_install_serverinstall_dir_path

install_dir_path

Specifies the directory where the CD image is to be copied

Change directories to root (/).

# cd /

Patch the files that are located
in the miniroot on the net install image that was created by setup_install_server. Patching a file might be necessary if a boot image has problems.
Follow these substeps to patch an x86 network installation miniroot.

If the installation server is not running the Solaris 10 11/06 for x86
release, log in as superuser to another system on the network that is running
the Solaris 10 11/06 for x86 release.

To patch a Solaris 10 11/06 for x86 miniroot,
your system must be running the Solaris 10 11/06 for x86 release.

Change to the Tools directory of the installation
image you created in Step 5.

# cd install-server-path/install-dir-path/Solaris_11/Tools

install-server-path

Specifies the path to the install server system on your network,
for example, /net/installserver-1.

Create a new installation image, and place that image
on the system that is running the Solaris 10 11/06 for x86 release.

# ./setup_install_server remote_install_dir_path

remote_install_dir_path

Specifies the path on the Solaris 10 11/06 for x86 system in which
to create the new installation image.

This command creates a new installation image on the Solaris 10 11/06 for x86
system. In order to patch this image, you must temporarily place this image
on a system that is running the Solaris 10 11/06 for x86 release.

Example 6–3 x86: Creating an x86 Install Server With x86 CD Media

The following examples illustrate how to create an install server
by copying the following CDs to the install server's /export/home/cdx86 directory. This example assumes that the install server is running
the Solaris 10 11/06 OS.