亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 1487 | 回復: 0
打印 上一主題 下一主題

linux下的無盤工作站配置(centos) [復制鏈接]

論壇徽章:
0
跳轉到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2009-12-27 22:27 |只看該作者 |倒序瀏覽
   需求:需要多個系統(tǒng)同運行同樣的服務,如j2ee模塊、memcached等,這些服務不與硬盤相關,只運行在內存中,并且多個系統(tǒng)同時運行,為了規(guī)避單點故障以及實現(xiàn)高效。

   下面步驟是centos5.4系統(tǒng)的無盤服務端配置步驟,客戶端只要選擇從網絡啟動,即可在無干預情況下啟動系統(tǒng)。

   一,新建主要目錄
   
mkdir -p /diskless/x86_64/centos5.4/root
mkdir /diskless/x86_64/centos5.4/snapshot
   二,拷貝預置模板到/diskless/x86_64/centos5.4/root目錄
rsync -auv -e ssh --delete --exclude='/proc/*' --exclude='/sys/*' --exclude='/tmp/*'--exclude='/var/log/*' root@10.0.70.72:/ /diskless/x86_64/centos5.4/root/

  三,配置所需tftp服務
yum -y install tftp tftp-server
yum -y install busybox
vi /etc/xinetd/tftp
diskable=no
chkconfig --level 345 xinetd on
chkconfig --level 345 tftp on
service xinetd start

  四,配置dhcp服務
yum -y install dhcp-server
chkconfig --level 345 dhcpd on
vi /etc/dhcpd.conf
allow booting;
allow bootp;
class "pxeclients" {
   match if substring(option vendor-class-identifier, 0, 9) = "PXEClient";
   next-server server-ip>;
   filename "linux-install/pxelinux.0";
}
service dhcpd start

   五,配置nfs服務
yum -y install portmap nfs
vi /etc/exports
/diskless/x86_64/centos5.4/root *(ro,sync,no_root_squash)
/diskless/x86_64/centos5.4/snapshot/ *(rw,sync,no_root_squash)
service portmap start
service nfs start

   六,利用桌面工具配置服務端
   大致步驟如下:打開“Network Booting Tool “ ,選擇添加無盤,配置nfs地址以及目錄。
  If starting the Network Booting Tool for the first time, select Diskless from the First Time Druid. Otherwise, select Configure => Diskless from the pull-down menu, and then click Add.
A wizard appears to step you through the process:
  1、Click Forward on the first page.
  2、On the Diskless Identifier page, enter a Name and Description for the diskless environment. Click Forward.
  3、Enter the IP address or domain name of the NFS server configured in Section 4.3 Configuring the NFS Server as well as the directory exported as the diskless environment. Click Forward.
  4、The kernel versions installed in the diskless environment are listed. Select the kernel version to boot on the diskless system.
  5、Click Apply to finish the configuration.

   七,添加無盤工作站節(jié)點
   即配置無盤節(jié)點的鏡像版本和網絡接口。
  1、Hostname or IP Address/Subnet — Specify the hostname or IP address of a system to add it as a host for the diskless environment. Enter a subnet to specify a group of systems.
  2、Operating System — Select the diskless environment for the host or subnet of hosts.
  3、Serial Console — Select this checkbox to perform a serial installation.
  4、Snapshot name — Provide a subdirectory name to be used to store all of the read/write content for the host.
  5、Ethernet — Select the Ethernet device on the host to use to mount the diskless environment. If the host only has one Ethernet card, select eth0.


本文來自ChinaUnix博客,如果查看原文請點:http://blog.chinaunix.net/u3/109111/showart_2132318.html
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復

  

北京盛拓優(yōu)訊信息技術有限公司. 版權所有 京ICP備16024965號-6 北京市公安局海淀分局網監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報專區(qū)
中國互聯(lián)網協(xié)會會員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關心和支持過ChinaUnix的朋友們 轉載本站內容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP