install_scripts, add_install_client, add_to_install_server, rm_install_client, setup_install_server, check - scripts used to install the Solaris software
media-mnt-pt/Solaris_XX/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] [-t install_boot_image_path] host_name platform_group
media-mnt-pt/Solaris_XX/Tools/add_install_client -d [-s server_name:path] [-c server_name:path] [-p server_name:path] [-t install_boot_image_path] [-f boot_file_name] platform_name platform_group
media-mnt-pt/Solaris_XX/Tools/add_install_client -d [-s server_name:path] [-c server_name:path] [-p server_name:path] [-t install_boot_image_path] [-f boot_file_name] -e Ethernet_address [-b property=value] platform_group
media-mnt-pt/Solaris_XX/Tools/add_to_install_server [-s] [-p product_image_path] install_server_path
media-mnt-pt/Solaris_XX/Tools/jumpstart_sample/check [-p install_dir_path] [-r rulesfile]
media-mnt-pt/Solaris_XX/Tools/rm_install_client host_name
media-mnt-pt/Solaris_XX/Tools/rm_install_client platform_name
media-mnt-pt/Solaris_XX/Tools/rm_install_client -e Ethernet_address
media-mnt-pt/Solaris_XX/Tools/rm_install_client -f boot_file_name
media-mnt-pt/Solaris_XX/Tools/setup_install_server [-b] [-t install_boot_image_path] [-w wanboot_image_path] install_dir_path
These commands are located on slice 0 of the Solaris Software and Solaris Installer CDs or DVDs. (The terms "CD" and "DVD" are hereafter referred to as "installation media".) If the Solaris installation media has been copied to a local disk, media_mnt_pt is the path to the copied Solaris installation media. They can be used for a variety of installation tasks.
The XX in Solaris_XX is the version number of the Solaris release being used.
There are three versions of the add_install_client command. See SYNOPSIS.
Use the following version of the add_install_client command to add 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 installation media or a Solaris installation media 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.
media-mnt-pt/Solaris_XX/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] [-t install_boot_image_path] host_name platform_group
Use the following version of the add_install_client command to add support for instances of a platform within a platform group to the install server. This group is booted and configured using DHCP. The script performs the necessary configuration steps on the server, and prints the data that the user needs to add to the DHCP server for the group.
media-mnt-pt/Solaris_XX/Tools/add_install_client -d [-s server:path] [-c server:path] [-p server:path] [-t install boot image path] [-t install_boot_image_path] [-f boot file name] platform_name platform_group
Use the following version of the add_install_client command to add a single client to the install server. This client is booted and configured using DHCP. The script performs the necessary configuration steps on the server, and prints the data that the user needs to add to the DHCP server for the client. The -f flag used above needs to be added to the existing usage as well. -f allows the user to specify a boot file name to be used for a given client.
media-mnt-pt/Solaris_ XX/Tools/add_install_client -d [-s server_name:path] [-c server_name:path] [-p server_name:path] [-t install_boot_image_path] [-f boot_file_name] -e Ethernet_address platform_group [-b property=value] platform_group
Always use the -d option when registering x86 Architecture Pre-boot eXecution Environment (PXE) clients. These clients use DHCP for their configuration.
Use add_to_install_server to merge other Solaris installation media with an existing image on a Net Install Server. Each installation media that can be merged (each OS CD or DVD, and the Language CD or DVD) has its own add_to_install_server script. Do not use add_to_install_server scripts with installation media other than the ones with which they were delivered.
Use check to validate the rules in a rules file (this is only necessary if a custom JumpStart installation is being set up).
Use rm_install_client to remove clients for network installation (these commands update the bootparams(4) file).
Use setup_install_server to copy the Solaris installation media to a disk (to set up an install server), to build a WANboot miniroot image (to set up a WANboot install server), or to copy just the boot software of the Solaris installation media 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).
The add_install_client supports the following options:
-b property=value
Use this option only with an x86 client an only in conjunction with the -d and -e options.
-c server_name:path
-d
-e Ethernet_address
-f
-i IP_address
-n [server]:name_service[(netmask)]
name_service
netmask
server
-p server_name:path
-s server_name:path
-t
The add_to_install_server command supports the following options:
-p
-s
The check command supports the following options:
-p install_dir_path
Use this option to run the most recent version of check if your system is running a previous version of Solaris.
-r rulesfile
The rm_install_client command supports the following options:
-e Ethernet_address
-f
The setup_install_server command supports the following options:
-b
-t
-w
The add_install_client command supports the following operands:
host_name
platform_group
|
Use the uname(1) command (with the -m option) to determine a system's platform group.
platform_name
The following example shows the use of the uname command to determine the system platform name for an Ultra 10:
uname -i
The system responds with:
SUNW,Ultra-5_10
Therefore, the system's platform name is SUNW,Ultra-5_10.
The following command calls add_install_client for Ultra 10s:
add_install_client -d SUNW,Ultra-5_10 sun4u
For IA32 platforms, the platform name is always SUNW.i86pc.
The following command calls add_install_client for IA32 platforms:
add_install_client -d SUNW.i86pc i86pc
install_boot_image_path
The rm_install_client command supports the following operands:
host_name
platform_name
Ethernet_address
boot_file_name
The setup_install_server command supports the following operands:
install_dir_path
wanboot_image_path
install_boot_image_path
Example 1 Using add_install_client
The following add_install_client commands add clients for network installation from a mounted Solaris installation media:
example# cd /cdrom/cdrom0/s0/Solaris_10/Tools example# ./add_install_client system_2/sun4u
Example 2 Using add_install_client
The following add_install_client commands add clients for network installation from a mounted Solaris installation media 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 installation media has been copied to the /export/install directory:
example# cd /export/install/Solaris_10/Tools example# /add_install_client -c install_server:/jumpstart system_1 i86pc\ example# ./add_install_client -c install_server:/jumpstart\ system_2 i86pc
Example 3 Using add_install_client
The following add_install_client command adds support for a specific sun4u platform machine (8:0:20:99:88:77) using the boot file: sun4u.solaris10.
example# add_install_client -d -f sun4u.solaris10\ -e 8:0:20:99:88:77 sun4u
Example 4 Using add_install_client
The following add_install_client command adds x86 clients that use the PXE standard for network booting:
example# add_install_client -d -s svrname:/mnt/export/root\ SUNW.i86pc i86p
Example 5 Using add_to_install_server
The following add_to_install_server command copies the packages in all the installation media's products directories to an existing install server:
example# cd /cdrom/cdrom0/s0 example# ./add_to_install_server /export/Solaris_10
Example 6 Using check
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
Example 7 Using rm_install_client
The following rm_install_client commands remove clients for network installation:
example# cd /export/install/Solaris_10/Tools example# ./rm_install_client holmes example# ./rm_install_client watson
Example 8 Using setup_install_server
The following setup_install_server command copies the mounted Solaris installation media to a directory named /export/install on the local disk:
example# cd /cdrom/cdrom0/s0/Solaris_10/Tools example# ./setup_install_server /export/install
Example 9 Using setup_install_server
The following setup_install_server command copies the boot software of a mounted Solaris installation media 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_10/Tools example# ./setup_install_server -b /boot_dir
Example 10 Using setup_install_server
By default, setup_install_server looks for an installation boot directory at the Solaris ../Tools/Boot location of the mount Solaris distribution disc.
If an alternate boot directory is required, such as one saved on a network boot server by way of an earlier ./setup_install_server -b /boot_dir command, the -t option can be used.
example# cd /cdrom/cdrom0/s0/Solaris_10/Tools example# ./setup_install_server -t /boot_dir /export/install
Example 11 Using setup_install_server with WANboot Option
The following setup_install_server command creates an image of the WANboot miniroot file systemand stores it in the file /wanboot_dir/miniroot.
example# cd /cdrom/cdrom0/s0/Solaris_10/Tools example# ./setup_install_server -w /wanboot_dir /export/install
Example 12 x86: Specifying a Serial Console to Use During a Network Installation (from Installation Media)
The following example illustrates how to add an x86 install client to an install server and specify a serial console to use during the installation. This example sets up the install client in the following manner:
install server# cd /export/boot/Solaris_10/Tools install server# ./add_install_client -d -e "00:07:e9:04:4a:bf" \ -b "input-device=ttya" -b "output-device=ttya" \ i86pc
For a complete description of the boot property variables and values you can use with the -b option, see eeprom(1M).
Example 13 Specifying a Boot Device to Use During a Network Installation (from Installation Media)
The following example illustrates how to add an x86 install client to an install server and specify a boot device to use during the installation. If you specify the boot device when you set up the install client, you are not prompted for this information by the Device Configuration Assistant during the installation.
This example sets up the install client in the following manner:
install server# cd /export/boot/Solaris_10/Tools install server# ./add_install_client -d -e "00:07:e9:04:4a:bf" \ -b "input-device=ttya" -b "output-device=ttya" \ -b "bootpath=/pci@0,0/pci108e,16a8@8" i86pc
For a complete description of the boot property variables and values you can use with the -b option, see eeprom(1M).
The following exit values are returned:
0
1
See attributes(5) for descriptions of the following attributes:
|
uname(1), eeprom(1M), bootparams(4), attributes(5)
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |