man Pages(1M): System Administration Commands
  Искать только в названиях книг
Загрузить это руководство в формате PDF

NAME

install_scripts, add_install_client, rm_install_client, setup_install_server, check - scripts used to install the Solaris software

SYNOPSIS

cdrom-mnt-pt/Solaris_2.6/Tools/add_install_client [ -i IP_address ]
     [ -e Ethernet_address ] [ -s server_name : path ] [ -c server_name : path ]
     [ -n [server]: name_service[(netmask)]] [ -p server_name : path ]
     host_name platform_group

cdrom-mnt-pt/Solaris_2.6/Tools/rm_install_client host_name
cdrom-mnt-pt/Solaris_2.6/Tools/setup_install_server [ -b ] install_dir_path
cdrom-mnt-pt/Solaris_2.6/Tools/jumpstart_sample/check [ -p install_dir_path ]
     [ -r rulesfile ]

DESCRIPTION

These commands are located on slice 0 of the Solaris CD. (If the Solaris CD has been copied to a local disk, cdrom_mnt_pt is the path to the copied Solaris CD.)
They can be
used for a variety of installation tasks. Specifically:
Use add_install_client and rm_install_client to add or remove clients for network installation (these commands update the bootparams(4) file). The add_install_client command must be run from the install server's Solaris installation image (a mounted Solaris CD or a Solaris CD copied to disk) or the boot server's boot directory (if a boot server is required). The Solaris installation image or the boot directory must be the same Solaris release that you want installed on the client.
Use setup_install_server to copy the Solaris CD to a disk (to set up an install server) or to copy just the boot software of the Solaris CD to a disk (to set up a boot server). An install server is required to install clients over the network. A boot server is also required for network installations if the install server and clients to be installed are on different subnets (the boot server must be located on the client's subnet).
Use check to validate the rules in a rules file (this is only necessary if a custom JumpStart installation is being set up).

OPTIONS

The following options are supported:

add_install_client

-i IP_address
Specify the IP address of the client to be installed.
-e Ethernet_address
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.
-n [server]: name_service[(netmask)]
This option specifies which name service should be used during system configuration. This sets the ns keyword in the
bootparams(4) file.
name_service
Valid entries are nis, nisplus, and none.
server
The name of the server or IP address of the specified
name service. If the server specified is on a dif-
ferent subnet, then the netmask may be needed to
enable the client to contact the server.
netmask
A series of four numbers separated by periods,
specifying which portion of an IP address is the net-
work part, and which is the host part.
-p server_name : path
This option is the location of the user-defined sysidcfg file for preconfiguring system/network information. server_name is either a valid host name or IP address. path is the absolute path to the file.

setup_install_server

-b
This option sets up the server only as a boot server.

check

-p install_dir_path
Validates the rules file by using the check script from a specified Solaris installation image, instead of the check script from the system you are using. install_dir_path is the path to a Solaris installation image on a local disk or a mounted Solaris CD.
Use this option to run the most recent version of check if your system is running a previous version of Solaris.
-r rulesfile
Specifies a rules file other than the one named rules. Using this option, the validity of a rule can be tested before integrating it into the rules file. check will report whether or not the rule is valid, but it will not create the rules.ok file necessary for a custom
JumpStart installation.

OPERANDS

The following operands are supported:

add_install_client

host_name
This is the name of the client to be installed.
platform_group
Vendor-defined grouping of hardware platforms for the purpose of distributing specific software. Examples of valid platform groups are:
SystemPlatform Name
x86i86pc
SPARCstation 1+sun4c
SPARCstation 5sun4m
Use the uname(1) command (option -m) to determine a system's platform group.

rm_install_client

host_name
This is the name of the client to be removed.

setup_install_server

install_dir_path
The absolute path of the directory in which the Solaris software is to be copied. The directory must be empty.

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/Solaris_2.6/Tools
        example# . /add_install_client system_1 sun4c
        example# . /add_install_client system_2 sun4m

The following setup_install_server command copies the mounted Solaris CD to a directory named /export/install on the local disk:
example# cd /cdrom/cdrom0/s0/Solaris_2.6/Tools
example# . /setup_install_server /export/install

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 file and a profile file for performing a custom JumpStart installation. Also, the Solaris CD has been copied to the /export/install directory.
        example# cd /export/install/Solaris_2.6/Tools
        example# . /add_install_client -c install_server:/jumpstart system_1 i86pc
        example# . /add_install_client -c install_server: /jumpstart system_2 i86pc

The following rm_install_client commands remove clients for network installation:
example# cd /export/install/Solaris_2.6/Tools
example# . /rm_install_client holmes
example# . /rm_install_client watson

The following setup_install_server command copies the boot software of a mounted Solaris CD to a directory named /boot_dir on a system that is going to be a boot server for a subnet:
example# cd /cdrom/cdrom0/s0/Solaris_2.6/Tools
example# . /setup_install_server -b /boot_dir

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

EXIT STATUS

The following exit values are returned:
0
Successful completion.
1
An error has occurred.

ATTRIBUTES

See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPEATTRIBUTE VALUE
AvailabilitySolaris CD

SEE ALSO

uname(1), bootparams(4), attributes(5)
Solaris Advanced Installation Guide