3 server: boot,
installation, configuration
Installation
1.
mkdir
/jumpstart/config :profiles,rules,scripts
/jumpstart/sparc :SPARC
distribution
/jumpstart/intel :Intel
distribution
/jumpstart/patches :Patches
/jumpstart/apps :additional
applications
/jumpstart/<hosts> :sysidcfg
/jumpstart/flash :
2.
/cdrom/cdrom0/Solaris_10/Tools/setup_install_server
/jumpstart/sparc/sol_10_811_sparc
3.
share
-F nfs -o ro,anon=0 /jumpstart/config
share
-F nfs -o ro,anon=0 /jumpstart/host1
share
-F nfs -o ro,anon=0 /jumpstart/sparc/sol_10_811_sparc
(optional)
share
-F nfs -o ro,anon=0 /jumpstart/patches
share
-F nfs -o ro,anon=0 /jumpstart/flash
share
-F nfs -o ro,anon=0 /jumpstart/apps
4.
/etc/init.d/nfs.server start
5.
cd
/jumpstart/sparc/sol_10_811_sparc/Solaris_10/Misc/jumpstart_sample
cp
check /jumpstart/config
Configuration
Add
entries to /etc/hosts
::1 localhost
127.0.0.1 localhost loghost
10.10.10.125 jumpstart.svtech.com jumpstart
10.10.10.102 client2
10.10.10.103 client3
10.10.10.104 client4
10.10.10.105 client5
Add
Ethernet address entry to /etc/ethers;
0:3:ba:c5:13:c5 client2
0:3:ba:31:39:81 client3
0:3:ba:31:38:55 client4
Create
a profile
UFS
#vi
/jumpstart/config/client1
install_type initial_install
system_type standalone
partitioning explicit
filesys c1t0d0s0 8000 /
filesys c1t0d0s1 512 swap
cluster SUNWCall
ZFS
install_type
initial_install
cluster
SUNWCXall
pool
rpool all 32g 32g mirror c0t5000CCA012B8CD10d0s0 c0t5000CCA012B14EF8d0s0
bootenv
installbe bename solaris10_u10
#pool
<root pool name> <pool size> <swap size> <dump device
size> <device list>
Create
Configuration File
#vi
/jumpstart/client1/sysidcfg
system_locale=C
keyboard=US-English
auto_reg=disable
nfs4_domain=dynamic
root_password=DByhkRj6hV6E6
timezone=Asia/Saigon
terminal=vt100
security_policy=none
timeserver=localhost
name_service=none
network_interface=primary
{
protocol_ipv6=no
netmask=255.0.0.0
default_route=10.0.0.3}
Add
rule in rules file ( rule chi ra cac host client2,3,4 dung profile client1 )
vi
/jumpstart/config/rules
hostname
client2 - client1 -
hostname
client3 - client1 -
hostname
client4 - client1 -
verify
rules file
/jumpstart/config/check
bash-3.00#
/jumpstart/sparc/sol_10_811_sparc/Solaris_10/Tools/add_install_client -c
10.22.22.22:/jumpstart/config -p 10.22.22.22:/jumpstart/client1 -n
10.22.22.22:none[255.0.0.0] client2 sun4u
cleaning up
preexisting install client "client2"
removing client2
from bootparams
updating
/etc/bootparams
bash-3.00#
/jumpstart/sparc/sol_10_811_sparc/Solaris_10/Tools/add_install_client -c
10.22.22.22:/jumpstart/config -p 10.22.22.22:/jumpstart/client1 -n
10.22.22.22:none[255.0.0.0] client3 sun4u
cleaning up
preexisting install client "client3"
removing client3
from bootparams
updating
/etc/bootparams
bash-3.00#
/jumpstart/sparc/sol_10_811_sparc/Solaris_10/Tools/add_install_client -c
10.22.22.22:/jumpstart/config -p 10.22.22.22:/jumpstart/client1 -n
10.22.22.22:none[255.0.0.0] client4 sun4u
cleaning up
preexisting install client "client4"
removing client4
from bootparams
updating
/etc/bootparams
On Client
ok>
boot net - install
No comments:
Post a Comment