Your Ad Here
首页 | 编程语言 | 网站建设 | 游戏天堂 | 冲浪宝典 | 网络安全 | 操作系统 | 软件时空 | 硬件指南 | 病毒相关 | IT 认证
软讯网络 > 操作系统 > 其他操作系统 > Deploy solaris 10 jumpstart server over LAN
【标  题】:Deploy solaris 10 jumpstart server over LAN
【关键字】:Deploy,solaris,10,jumpstart,server,over,LAN
【来  源】:http://www.cublog.cn/u/43/showart.php?id=276796

Deploy solaris 10 jumpstart server over LAN

Your Ad Here

 


Step #1
To spool the Solaris 10 boot and installation images to a local disk, complete the following steps:
Create a directory with at least 4 Gigabytes of space available to hold the Solaris OS image. Usually the /jumpstart/install directory is used.
# mkdir /jumpstart/install
Insert the Solaris 10 Software 1 CD in the CD-ROM drive or the Solaris 10 DVD in the DVD drive.
Change the directory to the location of the setup_install_server script.
# cd /cdrom/cdrom0/s0/Solaris_10/Tools
Run the setup_install_server script to copy the Solaris 10 OS installation images to the local disk.
#./setup_install_server /jumpstart/install
When the setup_install_server script finishes, change the directory to root (/), and eject the CD-ROM or DVD.
#cd /
#eject cdrom
If you use CD-ROM media, insert the Solaris 10 Software 2 of 2 CD-ROM in the CD-ROM drive.
Change the directory to the location of the add_to_install_server script.
# cd /cdrom/cdrom0/Solaris_10/Tools
Run the add_to_install_server script to copy the remainder of the installation image to the local disk.
#./add_to_install_server /jumpstart/install
When add_to_install_server finishes, change the directory to root (/), and eject the CD-ROM.
# cd /
# eject cdrom





Step #2
The sysidcfg file keeps the various types of system information such as locale, time_zone, and so on, and supplies the information to the client at the booting time.
Create a directory to hold the sysidcfg file. Typically the /jumpstart/config directory holds the sysidcfg file.
# mkdir /jumpstart/config
Change the directory to /jumpstart/config, and create a file called sysidcfg using a text editor.
# cd /jumpstart/config
# vi sysidcfg
In the sysidcfg file, add the following lines. Substitute values that are appropriate for your systems, location, and network.
system_locale=en_US
timezone=PRC
terminal=vt100
timeserver=localhost
name_service=none
root_password=y5vHGjqoAkLXg
network_interface=dmfe0 {hostname=x1
        default_route=192.168.1.1
        ip_address=192.168.1.2
        netmask=255.255.255.0
        protocol_ipv6=no}
security_policy=none
Save the sysidcfg file, and exit your edit session.

 
Step #3
a. Rules
Create a directory to hold the rules file if this directory does not already exist. Usually, the /jumpstart/config directory holds the rules file.
# mkdir /jumpstart/config
Change the directory to /jumpstart/config, and create a file called rules using a text editor.
# cd /jumpstart/config
# vi rules
In the rules file, add the following line:
hostname client_name - profile1 -
For client_name, substitute the name of your JumpStart client. For example:
hostname        x1    - profile1   -
Save the rules file, and exit your edit session.
b. Profiles
Usually, the /jumpstart/config directory holds the profile file.
Change the directory to /jumpstart/config, and create a file called profile using a text editor.
# cd /jumpstart/config

# vi profile1
Add the following lines to the profile1 file:
install_type    initial_install
system_type     standalone
partitioning    explicit
filesys         c0t2d0s0         free   /
filesys         c0t2d0s1        256     swap
cluster         SUNWCuser
Save the profile1 file, and exit your edit session.


Step #4
Before a JumpStart client can use a configuration provided by a JumpStart server, you must run the check script to produce a file called rules.ok. The check script validates the syntax of the rules file and the profile files. If the validation completes successfully, the check script creates the rules.ok file.
Change the directory to the location of the check script.
# cd /jumpstart/install/Solaris_10/Misc/JumpStart_sample
Copy the check script to the /jumpstart/config directory.
# cp check /jumpstart/config
Change the directory to /jumpstart/config, and run the check script.
# cd /jumpstart/config
# ./check
Validating rules...
Validating profile profile1...
The custom JumpStart configuration is ok.


Step #5
a. Add a host entry.
Edit the /etc/ethers file, and add an entry for the JumpStart client.
#vi /etc/ethers 

0:3:ba:b:cf:9 x1
Save and exit from the ethers file.
Edit the /etc/inet/hosts file, and add an entry for the JumpStart client.
#vi /etc/inet/hosts

192.168.1.1     x1
Save and exit from the hosts file.
b. Add a client.
Change the directory to the location of the add_install_client script on the server.
# cd /jumpstart/install/Solaris_10/Tools
Run the add_install_client script, and specify server and client information as follows. (Note: The following line of code should all be entered on one line.)
#./add_install_client -c server_name:/jumpstart/config \
    -p server_name:/jumpstart/config client_name platform_group
For example:
# ./add-install-client -c sun:/jumpstart/config -p sun:/jumpstart/config x1 sun4u
Edit the /etc/dfs/dfstab file to add the following line:
# vi /etc/dfs/dfstab

share -F nfs -o ro, anon=0 /jumpstart/install

share -F nfs -o ro, anon=0 /jumpstart/config
Save and exit from the dfstab file.
Run the shareall command to share the /jumpstart/config and /jumpstart/install directories.
# shareall

Verify that the /jumpstart/config and /jumpstart/install directories are currently shared.

# share

 
Step #6
Booting the JumpStart Client
After the JumpStart server has been configured to provide all of the required services, you can initiate the installation process on the JumpStart client. To boot the JumpStart client, perform the following steps:
a. Bring the JumpStart client to run state 0.
# init 0
b. Boot the client to initiate the software installation using the JumpStart procedure.
ok boot net - install

 

Above all procedures has been tested under Sun Solaris 10 update 3 (SPARC) over Sun x1 workstation.

Distinguish:【上一篇】
rename 改文件后缀:【下一篇】
【相关文章】
  • SUSE LINUX 10.0 软硬件的安装和设置
  • SQL Server中转换数据库的排序规则
  • 如何提高插入10万条记录的速度
  • 基于作业调度生成事务预报的方法(sql server)
  • ambiguous call to overloaded function
  • 无线网络WLAN攻防战:破解WEP全攻略
  • 100MB和100Mbps
  • 高速学习socket编程的10个步骤
  • 看了两天boost::asio网络库相关的资料,写了个小程序用异步tcp方式来传文件,果然高效,速度稳定在10M/s左右...
  • CommunityServer性能问题浅析
  • 【随机文章】
  • 第一篇
  • 多层交换网络中Catalyst交换机的安全配置
  • clock
  • Finalize和Dispose使用谁?
  • Web2.0不是放弃table
  • 思科路由器系列软件安装与升级步骤
  • 关于SSI
  • oracle时间间隔问题
  • 关于Vmware GSX Server群集中共享磁盘的设置方法及说明
  • 两道测试题(-)
  • 【相关评论】
    没有相关评论
    【发表评论】
    姓名:
    邮件:
    随机码*
    评论*
          
    |  首 页  |  版权声明  |  联系我们   |  网站地图  |
    CopyRight © 2004-2007 bbb软讯网络 All Rigths Reserved.