Chinaunix首页 | 论坛 | 博客
  • 博客访问: 5614668
  • 博文数量: 745
  • 博客积分: 10075
  • 博客等级: 上将
  • 技术积分: 7716
  • 用 户 组: 普通用户
  • 注册时间: 2005-04-29 12:09
文章分类

全部博文(745)

文章存档

2019年(1)

2016年(1)

2010年(31)

2009年(88)

2008年(129)

2007年(155)

2006年(197)

2005年(143)

分类:

2005-07-12 11:19:41

如题

第十七章 configuring the custom jumpstart procedure 用jumpstart方法安装的好处在于: 1,避免了交互式安装时候的一问一答模式 2,系统管理员可以同时安装不同类型的系统 3,允许自动安装solaris 9和软件 4,使管理员工作简单化 四个重要部分是:boot services,identification services,configuration services,installation services. 提供对用户的RARP,TFTP,bootparams请求及时反馈服务的系统被称为boot server. boot server上必须正确配置的六个文件: /etc/ethers /etc/inet/hosts /tftpboot /etc/inet/inetd.conf /etc/bootparams /etc/dfs/dfstab 用脚本add_install_client来配置boot services 和identification services联系的是sysidcfg文件 和configuration services联系的profile files,rules(包括hostname,arch,domainname,mensize,model). the spooled image包括the boot image和the installation image. 脚本setup_install_server用来spool boot和installation images. 脚本add_to_install_server用来spool附加的镜像数据. 带-b参数的脚本setup_install_server只用来spool boot image. # ./add_install_client -c(这个参数针对的是rules和profile files文件的路径) server1:/export/config -p(这个参数针对的是sysidcfg文件的路径) server1:/export/config client1 sun4u 各种错误诊断: 1,resolving RARP problems 出现的症状是:timeout waiting for ARP/RARP packet 解决方案:查看/etc/ethers和/etc/inet/hosts文件,看物理地址和主机名是否搭配,IP地址是否和主机名搭配 产生这种问题的原因:没有及时更新/etc/ethers和/etc/inet/hosts文件;网络连线失败 2,resolving TFTP problems 出现的症状是:timeout waiting for ARP/RARP packet 解决方案:运行脚本add_install_client,比如: # cd /export/install/solaris_9/tools # ./add_install_client -c server1:/export/config -p server1:/export/config client1 sun4u 产生这种问题的原因:拼写错误,比如将sun4u错写成sun4m,一般通过运行add_install_client脚本来解决;boot server没有正确配置来允许in.tftpd程序运行,一般通过编辑/etc/inetd.conf文件将tftp项前面的注释符号移除 3,resolving bootparams file problems 出现的症状:23e00 解决方案:运行add_install_client脚本来自动运行rpc.bootparamd程序.查看rpc.bootparamd程序是否运行,用命令pgrep -l bootparamd,如果这个程序没有运行,查看/tftpboot目录是否存在,如果存在,手动运行脚本: # /etc/init.d/boot.server start 4,resolving rules file problems 出现的症状:checking rules.ok file... warning:could not find matching rule in rules.ok press the return key for an interactive solaris install program... 解决的方案:检查rules.ok文件,再次运行check脚本 5,resolving profile file problems 出现的症状:error: filed 2 - disk is not valid on this system(c0t4d0s0) 解决的方案:编辑profile文件,纠正错误. 6,resolving NFS problems 出现的症状:panic - boot: could not mount filesystem program terminated ok 解决的方案:编辑/etc/dfs/dfstab文件查看是否指定的目录或文件被共享;运行一些脚本来确保NFS程序运行: # /etc/init.d/nfs.server stop # /etc/init.d/nfs.server start ********************************************************************************* 第十八章 performing a flash installation 三个阶段: 1,creating and installing the master system 2,creating a flash archive 3,deploying the flash archive to the clone system 使用flarcreate命令在主机上创建一个archive,使用flar命令来查看archive里面的信息 flarcreate命令的格式是: flarcreate -n name [-R root] [-S] [-c] [-t] [-m master] [-a author] [-e descr] [-x exclude] archive 其中-n是指定archive的名称 -R:specify the root of the flash archive -S:do not include sizing information in the archive -c:compress the archive using the compress command -t:create an archive on a tape device -m:specify the name of the master on which you created the archive -a:specify the author of the archive -e:specify the description of the archive -x:exclude the named directory from the archive archive:specify the path to the flash archive 比如: # flarcreate -n flash_root_archive -c -R / -e root_archive -x /flash -a admin_operator flash_archivel flar -i archive:查看archives里面的信息 flar -c archive:combines the individual sections that make up an existing archive into a new archive flar -s archive:splits an archive into one file for each section of the archive

阅读(2882) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~