|
|
作者: aibss 出自: |
本周因为两个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. | |
阅读(585) | 评论(0) | 转发(0) |