免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1437 | 回复: 0
打印 上一主题 下一主题

Solaris 10 Jumpstart 安装 [复制链接]

论坛徽章:
1
15-16赛季CBA联赛之北控
日期:2022-03-04 22:35:50
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-04-22 13:16 |只看该作者 |倒序浏览

作者: aibss  出自: http://www.linuxdiyf.com
本周因为两个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.

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/31/showart_572549.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP