install_scripts(1M)
NAME
install_scripts, add_install_client, rm_install_client, setup_install_server, check − scripts used to install the Solaris software
SYNOPSIS
./add_install_client [−i IP_address] [−e Ethernet_address]
[−s server_name:path] [−c server_name:path] host_name arch
./rm_install_client host_name
./setup_install_server install_dir_path | −b boot_dir_path arch
./check [−p] install_dir_path
DESCRIPTION
These commands are located on the Soloris CD in the /cdrom/cdrom0/s0 directory. (If the Solaris CD has been copied to a local disk, these scripts will be in the path to that directory.) You can use them for a variety of installation tasks. Specifically,
• Use add_install_client and rm_install_client to add or remove clients for network installation.
• Use setup_install_server to copy the Solaris CD to a disk or to copy just the boot software of the Solaris CD to a disk (i.e., set up a boot server)
• Use check to validate the rules in a rules file (this is only necessary if you are setting up a custom JumpStart installation).
OPTIONS
add_install_client
-i Specify the IP address of the client to be installed.
-e Specify the Ethernet address of the system to be installed.
-s server_name:path This option is required only when using add_install_client from a boot server. Specify the name of the server and the absolute path of the Solaris installation image that will be used for this installation. path is either the path to a mounted Solaris CD or a path to a directory with a copy of the Solaris CD.
-c server_name:path This option is required only to specify a JumpStart directory for a custom JumpStart installation. server_name is the host name of the server with a JumpStart directory. path is the absolute path to the JumpStart directory.
host_name This is the name of the client that you are going to install.
arch This is the kernel architecture of the system you are going to install. Valid arguments are:
SYSTEMS Kernel Architecture
x86 i86pc
Sun-4/110, Sun-4/[2,3,4]xx sun4
SPARCstation1, 1+ sun4c
SPARCstationSLC, IPC, ELC, IPX sun4c
SPARCstation2 sun4c
SPARCcenter 1000 and 2000 sun4d
SPARCengine 1E sun4e
SPARCstation 10, SPARCserver 6xx sun4m
SPARCstationLX, SPARCclassic sun4m
rm_install_client
host_name This is the name of the client that you are going to remove.
setup_install_server
install_dir_path Specify the absolute path of the directory in which you want to copy the Solaris software.
-b boot_dir_path Specify the absolute path of the directory in which you want to copy the Solaris boot software. server is the host name of the install server and is only required if the CD-ROM is on a remote system.
arch This is the kernel architecture of the client to be installed. (See previous list for valid arguments.)
check
-p install_dir_path Specifies the absolute path to the Solaris installation image (either the mounted Solaris CD-ROM or a copy of the Solaris CD-ROM on the local disk). Using this option ensures you are using the most recent check program to validate your rules file.
EXAMPLES
The following add_install_client commands add clients for network installation from a mounted Solaris CD on an install server.
example% # cd /cdrom/cdrom0/s0
example% # ./add_install_client system_1 sun4c
example% # ./add_install_client system_2 i86pc
The following add_install_client commands add clients for network installation from a mounted Solaris CD on an install server. The -c option specifies a server and path to a JumpStart directory that has a rules and profile files for performing a custom JumpStart installation.
example% # cd /cdrom/cdrom0/s0
example% # ./add_install_client -c install_server:/jumpstart system_1
example% # ./add_install_client -c install_server:/jumpstart system_2
The following rm_install_client commands remove system information about the named clients on the install server.
example% # cd /cdrom/cdrom0/s0
example% # ./rm_install_client holmes
example% # ./rm_install_client watson
The following setup_install_server
command copies the mounted Solaris CD to a directory named /export/install on the local disk. (This requires approximately 200 Mbytes of disk space.)
example% # cd /cdrom/cdrom0/s0
example% # ./setup_install_server /export/install
The following setup_install_server command copies the boot software of a mounted Solaris CD to a directory named /boot_dir on system that is going to be a boot server for a subnet. You must enter the command once for each client architecture to be installed on the subnet.
example% # cd /cdrom/cdrom0/s0
example% # ./setup_install_server -b /boot_dir sun4c
example% # ./setup_install_server -b /boot_dir sun4m
The following check command validates the syntax of the rules file used for a custom JumpStart installation.
example% # cd jumpstart_dir_path
example% # ./check -p /cdrom/cdrom0/s0
SunOS 5.4 — Last change: 14 January 1994