歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Unix知識 >> 關於Unix >> Solaris 10 Jumpstart 安裝

Solaris 10 Jumpstart 安裝

日期:2017/2/28 11:11:15   编辑:關於Unix


本周因為兩個Jumpstart的細節出錯,浪費了兩個下午的時間。
Jumpstart Feature指的是Solaris系統自動的基於網的系統安裝進程;其特點是安裝速度快,不需要人工過多干預,可同時安裝多台服務器。
Jumpsart組成包括:
Boot Server (in the same subnet with Client)
Install Server with targeted Solaris Images
Jumpstart Config Server,其他/Jumpstart目錄中包括rules和profiles
現以install server and client在同一網段為例,Boot Server/Install Server/Config Server都在同一台服務上(無NIS服務)。其中The boot server包含rarpd (in.rarpd), bootp (in.bootparamd), and tftp (in.tftpd) 進程 (X86包括rplboot進程),Install Server是一個支持NFS的服務器,也叫NFS服務器。
配置步驟:
1,把OS image Copy到Install Server (以Solaris 10為例--5張CD)
# cd /cdrom/cdrom0/s0/Solaris_2.10/Tools
#./setup_install_server /export/Solaris_2.10
2,創建一個Profile Server,並沿用example裡的profile,rules,beging/finish scripts
#mkdir /jumpstart
#cp -r /export/Solaris_2.10/Misc/jumpstart_sample/* /jumpstart
#share -F nfs -o ro,anon=0 /jumpstart
#shareall
#cd /jumpstart
# ./check
Validating rules...
Validating profile any_machine...
The custom JumpStart configuration is ok.
#cat rules.ok
any - - any_machine -
3,添加Client
#vi /etc/hosts
10.0.0.1 sh-test-1
#cd /jumpstart/Solaris_2.10/Tools
#./add_install_client –e 0:3:ba:f:33:89 dfsf sh-test-1 sun4u
#more /etc/ethers---確認client已被成功加入
4,客戶端安裝
ok>boot net - install
一般在10個ARP/RARP包裡,客戶機會收到服務器,並且開始傳輸數據,然後按安裝提示一步一步地完成。如果Solaris10,在選擇Solaris Software的時候,只能選[X}Entire Distribution plus OEM support ....... 4779.00 MB,否則會出錯,或是成無盤站。如下是客戶機和服務器間的交互過程:
1, Client sends a RARP for its IP address.
2, The Boot Server responds via RARPD (in.rarpd) with the IP address in /etc/ethers.
3, The client sends a tftp request for a bootimage.
4, The server starts in.tftp from inetd and sends the small net kernel image
5, The client then sends out a bootp request.
6, The server responds with the clients entry from /etc/bootparams.
7, The client NFS mount it’s root partition from the install server.
8, The client then mounts the configuration server (/jumpstart) and runs “sysidtool”.
9, It then mounts the install image and runs Suninstall to begin the install process.
Copyright © Linux教程網 All Rights Reserved