configure chef master
service iptables stop#configure ip mapping of master and replication
vi /etc/hosts
146.89.179.218deehops014ccpra.ssm.sdc.gts.ibm.com deehops014ccpra
146.89.136.162deehchf014ccpra.ssm.sdc.gts.ibm.com deehchf014ccpra
#install chef sync,used to support replication
rpm -Uvh chef-sync-1.0.0~rc.6-1.el5.x86_64.rpm
#configure chef replication
vi /etc/chef-sync/chef-sync.rb
role :master
chef-sync-ctl reconfigure
chef-server-ctl reconfigure
chef-sync-ctl prepare-orgcmsng
页:
[1]