When setting up custom JumpStart installations for systems on the network, you need to create a directory on a server that is called a JumpStart directory. The JumpStart directory contains all of the essential custom JumpStart files, for example, the rules file, rules.ok file, and profiles. You must save the JumpStart directory in the root (/) directory of the profile server.
The server that contains a JumpStart directory is called a profile server. A profile server can be the same system as an install server or a boot server, or the server can be a completely different server. A profile server can provide custom JumpStart files for different platforms. For example, an x86 server can provide custom JumpStart files for both SPARC based systems and x86 based systems.
After you create a profile server, you must allow systems to access the server. For detailed instructions, see To Allow All Systems Access to the Profile Server.
This procedure assumes that the system is running Volume Manager. If you are not using Volume Manager to manage discs, refer to System Administration Guide: Devices and File Systems for detailed information about managing removable media without Volume Manager.
Locate the server on which you want to create the JumpStart directory.
Become superuser or assume an equivalent role.
Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.
Create the JumpStart directory anywhere on the server.
# mkdir -m 755 jumpstart_dir_path |
In the command, jumpstart_dir_path is the absolute path of the JumpStart directory.
For example, the following command creates a directory that is called jumpstart in the root (/) directory and sets the permissions to 755:
# mkdir -m 755 /jumpstart |
Edit the /etc/dfs/dfstab file by adding the following entry.
share -F nfs -o ro,anon=0 jumpstart_dir_path |
For example, the following entry shares the /jumpstart directory:
share -F nfs -o ro,anon=0 /jumpstart |
Determine if you want to copy examples of custom JumpStart files to your JumpStart directory.
If no, go to Step 9.
If yes, use the following decision table to determine what to do next.
Copy the example custom JumpStart files into the JumpStart directory on the profile server.
# cp -r media_path/Solaris_10/Misc/jumpstart_sample/* jumpstart_dir_path |
The path to the CD, DVD, or image on the local disk
The path on the profile server where you are placing the example custom JumpStart files
For example, the following command copies the jumpstart_sample directory into the /jumpstart directory on the profile server:
For SPARC based systems:
cp -r /cdrom/cdrom0/s0/Solaris_10/Misc/jumpstart_sample/* /jumpstart |
For x86 based systems:
cp -r /cdrom/cdrom0/Solaris_10/Misc/jumpstart_sample/* /jumpstart |
Update the example JumpStart files so that the files work in your environment.
Ensure that root owns the JumpStart directory and that the permissions are set to 755.
Allow systems on the network to access the profile server.
For detailed instructions, see To Allow All Systems Access to the Profile Server.
When you create a profile server, you must ensure that systems can access the JumpStart directory on the profile server during a custom JumpStart installation. Use one of the following ways to ensure access.
Command or File |
Providing Access |
Instructions |
---|---|---|
Each time that you add a system for network installation, use the -c option with the add_install_client command to specify the profile server. Note – If you are not using NFS, then you must use another means to provide access.
| ||
Specify the location of the JumpStart directory when you boot the system |
| |
| ||
/etc/bootparams file |
Add a wildcard in the /etc/bootparams file. |
Use the following procedure only if you store network installation information in the following places:
In the /etc/bootparams file.
In the naming service bootparams database. To update the bootparams database, add the entry that is shown in Step 3.
If you use the following procedure, the systems must be of the same type, such as all SPARC systems.
Do not use this procedure under the following conditions:
If you save the JumpStart directory on a diskette.
If you specify the location of the profile server when you boot the system. If you have systems of different architectures, you must specify the location of the profile server when you boot the system
If you have the above conditions, use the SPARC boot command or use the x86 GRUB menu.
You also can store network installation information on a DHCP server.
For SPARC based systems, you use the add_install_client command and the -d option to specify that the custom JumpStart program use the DHCP server. Or you use the boot command with the dhcp option to specify that the custom JumpStart program use the DHCP server. For instructions about using this option, see SPARC: Command Reference for the boot Command.
For x86 based systems, you use dhcp in one of the following ways:
If you use an install server, use the add_install_client command and the -d option to specify that the custom JumpStart program use the DHCP server with PXE.
You can edit the GRUB entry on the GRUB menu and add the dhcp option. For instructions about editing the GRUB entry, see x86: Performing a Custom JumpStart Installation by Editing the GRUB Boot Command
On the installation or boot server, log in as superuser.
Use a text editor to open /etc/bootparams.
* install_config=server:jumpstart_dir_path |
A wildcard character that specifies that all systems have access
The host name of the profile server where the JumpStart directory is located
The absolute path of the JumpStart directory
For example, the following entry enables all systems to access the /jumpstart directory on the profile server that is named sherlock:
* install_config=sherlock:/jumpstart |
Use of this procedure might produce the following error message when an installation client is booted:
WARNING: getfile: RPC failed: error 5: (RPC Timed out).
Booting From the Network, Error Messages contains details about this error message.
All systems can now access the profile server.