How to add new x86 clients to an already configured x86 JumpStart server


On my previous post I described how to configure a Jumpstart server for x86 platforms. But it was for installing only one client… If you plan to mount such configuration, you may want to install more than one client, ¿no? So here are the steps for adding a new client :

1- We need to create another sysidcg file, with a different hostname, maybe another root pasword, etc… :

# ls /export/config/
check profile1 rules rules.ok sysidcfg
#
# mkdir /export/config/client2
# cp /export/config/sysidcfg /export/config/client2/
# vi /export/config/client2/sysidcfg
(…)
# more /export/config/client2/sysidcfg
system_locale=C
timezone=Europe/Madrid
terminal=vt100
keyboard=Spanish
security_policy=none
root_password=s0yZy.w98CEO6
timeserver=localhost
name_service=none
network_interface=nge0 { hostname=client2
protocol_ipv6=no
netmask=255.255.255.0
default_route=10.164.5.254}
nfs4_domain=dynamic
#

2- Next we must modify the rules file, and re-generate it, to specify which profile file is going to use the new client.

Here I am going to use the same profile as for client1 (because I want the same cluster, same partitions, …), but I could create another one…

# more /export/config/rules
hostname client1 – profile1 -
hostname client2 – profile1 -
#
# cd /export/config/
# ./check
Validating rules…
Validating profile profile1…
The custom JumpStart configuration is ok.
#
# more rules.ok
hostname client1 – profile1 -
hostname client2 – profile1 -
# version=2 checksum=5163
#

3-Now we have to add the client to the DHCP configuration

# cd /export/install/Solaris_10/Tools/
# ./add_install_client -d -c 10.164.5.100:/export/config -p 10.164.5.100:/export/config/client2/ -e 08:00:27:70:13:92 i86pc

If not already configured, enable PXE boot by creating
a macro named 01080027701392 with:
Boot server IP (BootSrvA) : 10.164.5.100
Boot file (BootFile) : 01080027701392
#
#
# dhtadm -A -m 01080027701392 -d ‘:BootFile=01080027701392:BootSrvA=10.164.5.100:’
#
#
# pntadm -A 10.164.5.113 -c client2 -f DYNAMIC -m 10.164.5.0 -y -s 10.164.5.100 10.164.5.0
#

4- And the last step is to modify the buggy generated menu.lst file

# more /tftpboot/menu.lst.01080027701392
default=0
timeout=3
title Solaris_10 Jumpstart
kernel /I86PC.Solaris_10-1/multiboot kernel/unix - install dhcp -B install_config=10.164.5.100:/export/config,sysid_config=10.164.5.100:/export/config/client2,install_media=10.164.5.100:/export/install
module /I86PC.Solaris_10-1/x86.miniroot
#

And nothing more :)

Arnaud

VN:F [1.9.12_1141]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.12_1141]
Rating: 0 (from 0 votes)
Sphere: Related Content

FacebookTwitterGoogle BookmarksLinkedInShare

No related posts.

Related posts brought to you by Yet Another Related Posts Plugin.

, ,

  1. No comments yet.
(will not be published)