6.2.3. Configuring a High Availability Message Server
このコンテンツは選択した言語では利用できません。
6.2.3. Configuring a High Availability Message Server
For message server redundancy, OpenShift Enterprise uses ActiveMQ's native clustering capability.
Example 6.8. Message Server Configuration
class { 'openshift_origin' :
# Other settings as appropriate per above examples
...
# Set the msgserver_hostname to the current msgserver host
msgserver_hostname => <this_msgserver_hostname>,
# Set the shared password that the cluster members will use
msgserver_password => <shared_cluster_password>,
# Specify the hostnames of all of the cluster members.
msgserver_cluster => true,
msgserver_cluster_members => ['msgserver1.openshift.local','msgserver2.openshift.local','msgserver3.openshift.local'],
}
class { 'openshift_origin' :
# Other settings as appropriate per above examples
...
# Set the msgserver_hostname to the current msgserver host
msgserver_hostname => <this_msgserver_hostname>,
# Set the shared password that the cluster members will use
msgserver_password => <shared_cluster_password>,
# Specify the hostnames of all of the cluster members.
msgserver_cluster => true,
msgserver_cluster_members => ['msgserver1.openshift.local','msgserver2.openshift.local','msgserver3.openshift.local'],
}
Copy to ClipboardCopied!Toggle word wrapToggle overflow
Hosts that have the broker or node role must have the following information as well, even if they are not message server hosts:
Example 6.9. Broker and Node Configuration
class { 'openshift_origin' :
# Other settings as appropriate per above examples
...
# Specify the hostnames of the msgserver cluster members.
msgserver_cluster => true,
msgserver_cluster_members => ['msgserver1.openshift.local','msgserver2.openshift.local','msgserver3.openshift.local'],
}
class { 'openshift_origin' :
# Other settings as appropriate per above examples
...
# Specify the hostnames of the msgserver cluster members.
msgserver_cluster => true,
msgserver_cluster_members => ['msgserver1.openshift.local','msgserver2.openshift.local','msgserver3.openshift.local'],
}
Copy to ClipboardCopied!Toggle word wrapToggle overflow