日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

Solaris10 JumpStart服务器配置

發(fā)布時間:2023/12/9 编程问答 27 豆豆
生活随笔 收集整理的這篇文章主要介紹了 Solaris10 JumpStart服务器配置 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

1. 創(chuàng)建JumpStart安裝服務(wù)器

  • 創(chuàng)建安裝目錄

mkdir -p /jumpstart/Solaris10U10_SPARC/install

  • 創(chuàng)建install server

cd /cdrom/sol_10_811_sparc/Solaris_10/Tools

./setup_install_server /jumpstart/Solaris10U10_SPARC/install

2. 創(chuàng)建client配置文件

  • 創(chuàng)建配置文件目錄

mkdir /jumpstart/Solaris10U10_SPARC/config

  • 創(chuàng)建sysidcfg文件

在OS安裝前,JumpStart Client會尋找名稱為sysidcfg的文件。多個Client可以共享同一個sysidcfg文件,也可以每個Client有自己單獨的sysidcfg。如果需要建立多個版本的sysidcfg,則每個sysidcfg文件需要存儲在不同的目錄里。

#>more sysidcfg
security_policy=none
nfs4_domain=dynamic
name_service=NONE
timezone=PRC
system_locale=C
auto_reg=disable
terminal=vt100
timeserver=localhost
network_interface=primary
??????? {protocol_ipv6=no
???????? hostname=cdb00biiacc001
???????? netmask=255.255.255.0
???????? default_route=192.168.17.253}

auto_reg=disable,不注冊My Oracle Support信息。從Solaris10u9開始,Solaris安裝過程中增加了一個注冊My Oracle Support信息的步驟,使用此參數(shù)可以跳過注冊過程。

  • 創(chuàng)建profile文件

#>more profile
# install_type MUST be first
install_type????? initial_install
cluster?????????? SUNWCXall

# define disk partition
partitioning????? explicit
filesys?????????? rootdisk.s0 free? /
filesys?????????? rootdisk.s1 16384? swap
filesys?????????? rootdisk.s7 200

# install systems as standalone
system_type standalone
geo???? Asia
geo???? N_America

  • 創(chuàng)建rules文件

#>more rules
hostname cdb00biiacc001 - profile -

  • 執(zhí)行check

#>cd /jumpstart/Solaris10U10_SPARC/config
#>cp /jumpstart/Solaris10U10_SPARC/install/Solaris_10/Misc/jumpstart_sample/check ./

#>./check

Validating rules...
Validating profile profile...
The custom JumpStart configuration is ok.

check執(zhí)行完成后,會自動生成rules.ok文件。

3. 設(shè)置安裝目錄和配置文件目錄NFS共享

在/etc/dfs/dfstab文件中增加以下內(nèi)容:

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

重啟nfs服務(wù)

#>svcadm enable svc:/network/nfs/server:default

共享安裝和配置目錄

#>shareall
#>share
-?????????????? /jumpstart/Solaris10U10_SPARC/install?? ro,anon=0?? ""
-?????????????? /jumpstart/Solaris10U10_SPARC/config?? ro,anon=0?? ""

4. 在/etc/ethers和/etc/hosts中增加client信息

在/etc/ethers文件中增加client的MAC地址和主機名信息

00:21:28:a4:76:58 cdb00biiacc001

在/etc/hosts文件中增加client的IP地址和主機名信息

192.168.2.120?? cdb00biiacc001

5. 增加Client

#>cd /jumpstart/Solaris10U10_SPARC/install/Solaris_10/Tools

#>./add_install_client –s 192.168.2.45:/jumpstart/Solaris10U10_SPARC/install \

-c 192.168.2.45:/jumpstart/Solaris10U10_SPARC/config \

-p 192.168.2.45:/jumpstart/Solaris10U10_SPARC/config cdb00biiacc001 sun4u

making /tftpboot
enabling tftp in /etc/inetd.conf
Converting /etc/inetd.conf
enabling network/tftp/udp6 service
enabling network/rarp service
enabling network/rpc/bootparams service
updating /etc/bootparams
copying boot file to /tftpboot/inetboot.SUN4U.Solaris_10-1

-s:指定Solaris10安裝介質(zhì)路徑

-c:jumpstart配置文件路徑

-p:指定sysidcfg文件路徑(不包含文件名)

6. 使用Jumpstart安裝client

在ok狀態(tài)下執(zhí)行:boot net – install

?

在配置JumpStart時要注意以下幾點:

1. 如果JumpStart Server上使用了syslog-ng,需要停掉syslog-ng,啟動system-log,再啟動rarp。rarp服務(wù)依賴于system-log,在停掉system-log以后,如果重啟過主機,rarp會變?yōu)閛ffline狀態(tài)。Jumpstart Server上的rarp服務(wù)不啟動,Jumpstart client就無法獲取IP地址。

2. 要保證JumpStart Server的netmask與sysidcfg中配置的Client的netmask一致。否則可能出現(xiàn)報錯:

Searching for JumpStart directory...
not found
Warning: Could not find matching rule in rules.ok

轉(zhuǎn)載于:https://www.cnblogs.com/cqubityj/archive/2011/12/15/2288960.html

總結(jié)

以上是生活随笔為你收集整理的Solaris10 JumpStart服务器配置的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。