How to Contrail Check Compute node's peer with Controller Node
1)
Method-1:
Check Compute Agent's Xmpp Connection Status.
It should show an entry which contains IP of Controller node.
http://ip-of-compute-node:8085/Snh_AgentXmppConnectionStatusReq
Example:
Here IP of compute nodes 10.140.15.57 and 10.140.15.59
Here IP of controller node is 10.140.15.60
2)
Method-2:
Check Bgp Neighbor List.
It should contains entry for all Compute nodes.
http://ip-of-contrail-controller-node:8083/Snh_BgpNeighborReq
Example:
* Here IP of Compute nodes which are peered with controller is 10.140.15.57 and 10.140.15.59
* Here IP of controller node is 10.140.15.60
* I have created a VM in cp1 node and for that VM private IP assigned from "net_tempest" network and floating IP assigned from "public" network.So we can see routing instance of these two networks here (see the last picture).
3)
If you are not seeing entries in above urls, then check for "discovery server" IP in contrail-vrouter-agent.conf
$vim /etc/contrail/contrail-vrouter-agent.conf
# IP address of discovery server
server=10.140.15.78
4)
1)
Method-1:
Check Compute Agent's Xmpp Connection Status.
It should show an entry which contains IP of Controller node.
http://ip-of-compute-node:8085/Snh_AgentXmppConnectionStatusReq
Example:
Here IP of compute nodes 10.140.15.57 and 10.140.15.59
Here IP of controller node is 10.140.15.60
2)
Method-2:
Check Bgp Neighbor List.
It should contains entry for all Compute nodes.
http://ip-of-contrail-controller-node:8083/Snh_BgpNeighborReq
Example:
* Here IP of Compute nodes which are peered with controller is 10.140.15.57 and 10.140.15.59
* Here IP of controller node is 10.140.15.60
* I have created a VM in cp1 node and for that VM private IP assigned from "net_tempest" network and floating IP assigned from "public" network.So we can see routing instance of these two networks here (see the last picture).
3)
If you are not seeing entries in above urls, then check for "discovery server" IP in contrail-vrouter-agent.conf
$vim /etc/contrail/contrail-vrouter-agent.conf
# IP address of discovery server
server=10.140.15.78
4)
No comments:
Post a Comment