Xcat Update to 2.13, the old manual a lot of useless. The previous whole son actually did not succeed, had to try again.
The official website also moved to the xcat.org. The first is the next core and DEP package
respectively is
XCAT Core Packages (xcat-core)
And
XCAT Dependency Packages (XCAT-DEP)
The former is a few trillion, the latter more than 100 trillion. After the next decompression, respectively to the respective directory to perform mklocalrepo.sh,
For example, I installed CENTOS7 operating system, 64-bit, go to xcat-dep/rh7/x86_64 under mkllocalrepo.sh and Xcat-core mkllocalrepo.sh
Then the official tutorial is the first fixed IP, set hostname,centos7 hostname moved to the/etc/hostname. #我这里改反过来了, so there may be a few more steps later to modify hostname's Place
Yum-y Install Xcat installation xcat. For the system is minimal installation situation, there is a network will install some of the default is not installed such as Net-tools, no network will be pre-mirror image into Localrepo
Now more than the network repo and Go-xcat way to install XCAT, these are relatively simple to say.
source/etc/profile.d/xcat.sh load XCAT environment variable after loading
Tabdump site Check the basic environment variables is not right, do not use Tabedit site to change
Then use tabdump networks to look at the network, do not change with chdef
" Internal " net=172.168. 1.0 mask=255.255. 255.0 mgtifname=ens36 dhcoserver=172.168. 1.1 tftpserver=172.168. 1.1 nameservers=172.168. 1.1 dynamicrange=172.168. 1.100-172.168. 1.120
Then configure the password table
passwd
Add a sentence
" system ","root","cluster"
So root's default password is cluster
Then configure DNS,
CHDEF-T site forwarders=192.168. 1.2
(default company route) Configure local domain as cluster.com
CHDEF-T site domain=cluster.com
vi/etc/resolve.com Increase
1 Search Cluster.com 2 172.168. 1.1
Then configure DHCP
1 chdef-t site dhcpinterfaces=ens362 makedhcp-n
ENS36 is an intranet network card of Headnode
Configure Conserver
Makeconservercf
Configuring cluster information
1 chdef-t group-o compute profile=compute nodetype=compute2 chdef-t group-o compute chain=< c3>"runcmd=shell" ondiscover="nodediscover" netboot= " Xnba "
And then the plus node.
groups=compute,all mac.interface=ens36 hosts.ip=172.168. 1.2 mac.mac=xx: 0c:e8:e6:
After node is added
Makehosts Compute
Update/etc/hosts file
Makedns
Update DNS Files
Restart DHCPD and named services
Import System Image
Copycds centos-7-x86_64-dvd-1611. iso-n centos7nodeset computeosimage =centos7-x86 _64-Install-compute
Here if the virtual machine memory is too small (1G), will be reported ks.cfg can not find errors, adjust to more than 2G is no problem.
Xcat deploying a system on a virtual machine