标签:
xcat master hostname: xcat ip: 192.168.31.102 xcat node hostname: xcat1 ip: 192.168.31.251
copycds -n centos5.11 -a x86_64 CentOS-5.11-x86_64-bin-DVD-1of2.iso CentOS-5.11-x86_64-bin-DVD-2of2.iso copycds -n centos6.6 -a x86_64 CentOS-6.6-x86_64-bin-DVD1.iso CentOS-6.6-x86_64-bin-DVD2.iso
chtab key=system passwd.username=root passwd.password=Letmein
nodeadd xcat1 groups=compute,all mac.interface=eth0 mac.mac=08:00:27:2C:30:8C hosts.ip=192.168.31.251 noderes.netboot=pxe noderes.xcatmaster=192.168.31.102 noderes.installnic=eth0 noderes.primarynic=eth0 noderes.nfsserver=192.168.31.102 nodetype.os=centos6.6 nodetype.arch=x86_64 nodetype.profile=compute nodetype.nodetype=osi
tabdump nodelist tabdump nodetype tabdump noderes tabdump mac tabdump hosts
makehosts
127.0.0.1 localhost 192.168.31.102 xcat 192.168.31.251 xcat1
makedhcp -n
* 在/etc/dhcp/dhcpd.conf文件中删除下面几行 zone . { primary NORESOLUTION; key xcat_key; } zone 31.168.192.IN-ADDR.ARPA. { primary NORESOLUTION; key xcat_key; }
user=dhcpd group=dhcpd 改为 user=root group=root
/etc/init.d/dhcpd restart
nodeset xcat1 install
xcat1: install centos6.6-x86_64-compute
chtab node=xcat1 nodetype.os=centos5.11 nodetype.arch=x86_64 nodetype.profile=compute nodetype.nodetype=osi nodeset xcat1 install
xcat1: install centos5.11-x86_64-compute
标签:
原文地址:http://blog.csdn.net/kongxx/article/details/44033623