Difference between revisions of "Building a Jumpstart Server"
Line 44: | Line 44: | ||
shareall | shareall | ||
+ | |||
+ | NOTE: You may need to enable the NFS server daemon. If so, follow the instructions [here]. | ||
8. Create a sysidcfg file in /jumpstart | 8. Create a sysidcfg file in /jumpstart | ||
Line 50: | Line 52: | ||
vi sysidcfg | vi sysidcfg | ||
− | system_locale= | + | system_locale=en_US.UTF-8 |
timezone=Australia/Victoria | timezone=Australia/Victoria | ||
terminal=vt100 | terminal=vt100 | ||
− | name_service=DNS{domain_name= | + | name_service=DNS{domain_name=yourdefaultdomain.com name_server=IP_OF_DNS_SERVER search=yourdefaultdomain.com} |
− | network_interface=PRIMARY{default_route=192.168. | + | network_interface=PRIMARY{default_route=192.168.X.X netmask=255.255.255.0 protocol_ipv6=no} |
security_policy=NONE | security_policy=NONE | ||
− | timeserver=192.168. | + | timeserver=192.168.X.X |
− | root_password= | + | root_password=Some_Encrypt_Password |
− | |||
− | |||
− | |||
− | + | 9. Create a finish script in /jumpstart to do all the annoying stuff you'd normally do manually. | |
− |
Revision as of 01:44, 20 September 2010
Building a Jumpstart Server
Since Solaris 8, it has been possible to build servers over the network using Jumpstart. This procedure below describes the process for building a Solaris 10 Jumpstart install system, but can be done for Solaris 8, 9 and 10 on both sparc an x86 platforms.
1. Mount the Solaris CD 1 or DVD in the jumpstart server
2. On the jumpstart server
mkdir /export/ mkdir /export/install mkdir /export/install/10 mkdir /export/install/10/sparc_REV
Where REV is some Solaris revision number.
mkdir -m 755 /jumpstart
3. Edit the /etc/dfs/dfstab file by adding the following entry.
share -F nfs -o ro,anon=0 /jumpstart
4. Copy sample jumpstart directory to local server.
cp -r /cdrom/PATH_TO_INSTALLER/Solaris_10/Misc/jumpstart_sample/jumpstart_sample/* /jumpstart chown -R root /jumpstart
5. Copy over CD or DVD image
mkdir /export/intall mkdir /export/intall/sparc_10_REV cd /cdrom/PATH_TO_INSTALLER/Solaris_10/Tools ./setup_install_server /export/install/10/sparc_REV * if you're doing this from CD, you will then need to mount the next disk and do: cd /cdrom/PATH_TO_INSTALLER/Solaris_10/Tools ./add_to_install_server /export/install/10/sparc_REV
6. Edit the /etc/dfs/dfstab file by adding the following entry:
share -F nfs -o ro,anon=0 /export/install/10/sparc_REV
7. Start the NFS services
shareall
NOTE: You may need to enable the NFS server daemon. If so, follow the instructions [here].
8. Create a sysidcfg file in /jumpstart
cd /jumpstart vi sysidcfg system_locale=en_US.UTF-8 timezone=Australia/Victoria terminal=vt100 name_service=DNS{domain_name=yourdefaultdomain.com name_server=IP_OF_DNS_SERVER search=yourdefaultdomain.com} network_interface=PRIMARY{default_route=192.168.X.X netmask=255.255.255.0 protocol_ipv6=no} security_policy=NONE timeserver=192.168.X.X root_password=Some_Encrypt_Password
9. Create a finish script in /jumpstart to do all the annoying stuff you'd normally do manually.