1 下载软件 xcat-core
http://xcat.sourceforge.net/#download
下载 xcat-dep
http://xcat.sourceforge.net/#download
2 在管理节点上
mkdir -p /install/src
cd /install/src
tar jxvf /YourDownloadPath/xcat-core*bz
tar jxvf /YourDownloadPath/xcat-dep*bz
3 使用本地源
cd /install/src/xcat-core
./mklocalrepo.sh
cd /install/src/xcat-dep/rh5/x86_64/
./mklocalrepo.sh
注意在xcat-dep中要选择对应操作系统的包
4 安装
yum clean all
yum install xCAT.x86_64
5 配置路径
. /etc/profile.d/xcat.sh
6 编辑nodelist表
tabedit nodelist 写入如下内容
"cu01","all,nodes",,,,,,,
"cu02","all,nodes",,,,,,,
"cu03","all,nodes",,,,,,,
"cu04","all,nodes",,,,,,,
"cu05","all,nodes",,,,,,,
"cu06","all,nodes",,,,,,,
"cu07","all,nodes",,,,,,,
"cu08","all,nodes",,,,,,,
"cu09","all,nodes",,,,,,,
"cu10","all,nodes",,,,,,,
cu0x是集群中计算节点的名称
注 命令nodels可以查看集群中所有的计算节点
xcat有两个服务
service xcatd status
service tftpd status