Install Contrail Control Node
Control Node consists of contrail-control,contrail-dns,contrail-named.**Target Server: Contrail1-31.Set variables
HOST=10.84.50.131 ## Set IP address of an Installation server
IVIP=10.84.50.139 ## Set Virtual IP address of Control/Data
2.Modify /etc/contrail/contrail-control.conf
sed -i "s/# hostip=/hostip=$HOST/g" /etc/contrail/contrail-control.conf
sed -i "s/# server=127.0.0.1/server=$IVIP/g" /etc/contrail/contrail-control.conf
sed -i "s/# password=control-node/password=$HOST/g" /etc/contrail/contrail-control.conf
sed -i "s/# user=control-node/user=$HOST/g" /etc/contrail/contrail-control.conf
3.Modify /etc/contrail/contrail-dns.conf
cp /etc/contrail/contrail-control.conf /etc/contrail/contrail-dns.conf
sed -i "s/^# Control-node/# DNS/g" /etc/contrail/contrail-dns.conf
sed -i "s/^password=.*/password=$HOST.dns/g" /etc/contrail/contrail-dns.conf
sed -i "s/^user=.*/user=$HOST.dns/g" /etc/contrail/contrail-dns.conf
4.Restart process
service supervisor-control restart
Next topic is "Install Contrail Analytics Node".
No comments:
Post a Comment