Revision history [back]

click to hide/show revision 1
initial version

how to configure HA for quantum l3-agent

i have finished the use case for "Provider Router with Private Networks". But now i want to get my "Provider Router" to be more stable, so HA config needed.
i try the following steps, but failed:
1) find two host, and install and config l3-agent respectively
2) for each host, install and config pacemaker
3) get the l3-agent pacemaker script from https://github.com/madkiss/openstack-resource-agents/blob/master/ocf/quantum-agent-l3
4) run command: crm configure primitive ClusterRouter1 ocf:openstack:quantum-l3-agent
and then, i get a fail message in /var/log/messages:

Jul  8 15:50:41 localhost quantum-agent-l3(ClusterRouter1)[10757]: ERROR: Quantum L3 Server is not connected to the Quantum server: 1

i found the reason is the network connection check in l3-agent pacemaker script:

network_amqp_check=`netstat -punt | grep -s "$OCF_RESKEY_quantum_server_port" | grep -s "$pid" | grep -qs "ESTABLISHED"`

the default value for OCF_RESKEY_quantum_server_port is 9696, the service port of quantum-server. but my l3-agent process has only connection to the AMQP service, so the error occurs. Plz tell me how to fix it?

And furthermore, where to find the detail step for l3-agent HA configure?

how to configure HA for quantum l3-agent

i have finished the use case for "Provider Router with Private Networks". But now i want to get my "Provider Router" to be more stable, so HA config needed.
i try the following steps, but failed:
1) find two host, and install and config l3-agent respectively
2) for each host, install and config pacemaker
3) get the l3-agent pacemaker script from https://github.com/madkiss/openstack-resource-agents/blob/master/ocf/quantum-agent-l3
4) run command: crm configure primitive ClusterRouter1 ocf:openstack:quantum-l3-agent
and then, i get a fail message in /var/log/messages:

Jul  8 15:50:41 localhost quantum-agent-l3(ClusterRouter1)[10757]: ERROR: Quantum L3 Server is not connected to the Quantum server: 1

i found the reason is the network connection check in l3-agent pacemaker script:

network_amqp_check=`netstat -punt | grep -s "$OCF_RESKEY_quantum_server_port" | grep -s "$pid" | grep -qs "ESTABLISHED"`

the default value for OCF_RESKEY_quantum_server_port is 9696, the service port of quantum-server. but my l3-agent process has only connection to the AMQP service, so the error occurs. Plz tell me how to fix it?
My software version is openstack-quantum-2013.1-3.el6.noarch on rhel6.3

And furthermore, where to find the detail step for l3-agent HA configure?

how to configure HA for quantum l3-agent

i have finished the use case for "Provider Router with Private Networks". But now i want to get my "Provider Router" to be more stable, so HA config needed.
i try the following steps, but failed:
1) find two host, and install and config l3-agent respectively
2) for each host, install and config pacemaker
3) get the l3-agent pacemaker script from https://github.com/madkiss/openstack-resource-agents/blob/master/ocf/quantum-agent-l3
4) run command: crm configure primitive ClusterRouter1 ocf:openstack:quantum-l3-agent
and then, i get a fail message in /var/log/messages:

Jul  8 15:50:41 localhost quantum-agent-l3(ClusterRouter1)[10757]: ERROR: Quantum L3 Server is not connected to the Quantum server: 1

i found the reason is the network connection check in l3-agent pacemaker script:

network_amqp_check=`netstat -punt | grep -s "$OCF_RESKEY_quantum_server_port" | grep -s "$pid" | grep -qs "ESTABLISHED"`

the default value for OCF_RESKEY_quantum_server_port is 9696, the service port of quantum-server. but my l3-agent process has only connection to the AMQP service, so the error occurs. Plz tell me how to fix it?
My software version is openstack-quantum-2013.1-3.el6.noarch on rhel6.3

And furthermore, where to find the detail step for l3-agent HA configure?