Saturday, September 8, 2012

xCAT Provisioning Tool


--------------- xCAT -------------------
#mkdir backup
#dumpxCATdb -p /tmp/backup/
#restorexCATdb -p /tmp/backup/
#sh mklocalrepo.sh
/install/src/xcat-core

#yum -y update xCAT xCAT-server perl-xCAT xCAT-client
#rpm -q xCAT

xCAT is primarily a provisioning system, provisioning the operating systems on many systems as quickly as possible
HPC

xCAT cluster management
Hardware control
console management
Discovery
Boot target control
Provisioning

Just add to that...
Support means different things to different people

-- Defining IPMI devices
tabedit ipmi
nodels n32 ipmi
nodeadd n01-ipmi-n32-ipmi groups=demo-ipmi
noderm group
xCAT can manage Virtual machines as well as Bare Metal
#wvid hostname --- "Gets the console of the bare metal --ILO "
#ssh host df -h
xCAT has many ways of provisioning..stateless/statelite/stateful
#nodeadd vm001-vm102 groups=gnuguests,myvms,all
#nodels -b vm001 vm
#nodels -b vm021 vm.storage vm.host vm.memory vm.cpus
#nodech vm051-vm100 vm.memory=1024
#nodels -b vm001.vm051 vm.memory
#mkvm vm021.vm051 -s 64
#nodels -b vm021.vm051 vm.host
#nodeset vm001 install=rhel5.4_x86_64-compute
#nodeset vm054 install=win2k8r2-x86_64-enterprise
#rpower vm031.vm054 on
#wvid vm021   " VNC Console "
#clonevm vm002-vm051 -b gnurhelmaster
#rpower myvms, --vm001,--vm051 on  ( except two vms' )
command line on xCAT are very robust
# lsvm gnuhosts | xcoll | less

# psh vm001-vm100 uptime (parallel commands )
#nodestat vm002.vm052
for linux --sshd, for windows --msrpc

#lsvm ht4 (kvm hypervisor)
#nodels vmname vm.host
#rmigrate vmname hostname
#revacaute hostname  { It will evacucate the hosts VM and place it on other hosts..using the same algorithm by which vms' has been deployed }

#rpower myvms off
#makedhcp -d myvms
#makedns -d myvms
#rmvm -p -f myvms
#noderm myvms  " Removes the definitions "
#nodech vms groups,=kvm
xCAT can be managed by CLI , Rest API
kvm,vmware,xen,powervm
open source VCL
xCAT has Adaptive MOAB Cloud Suite that automate with moad API's

No comments: