このコンテンツは選択した言語では利用できません。

6.2. Configuring High Availability Deployments


The broker, msgserver, and datastore roles can be deployed in high availability (HA) configurations.

6.2.1. Configuring a High Availability Broker

Broker clustering is accomplished using an external load balancer in front of an arbitrary number of broker instances. This allows the broker and Management Console applications to achieve high availability. These applications do not require session affinity; round-robin load balancing is sufficient.
See the OpenShift Enterprise Deployment Guide [11] for additional information on broker redundancy.
The following are the variations that you must make to your basic configurations.

Example 6.3. Non-broker Host Configuration

class { 'openshift_origin' :
  # Other settings as appropriate per above examples
  ...

  # Use the *virtual* broker info for these values on hosts that are not Brokers
  broker_hostname => 'virtbroker.openshift.local',
  broker_ip_addr  => '10.10.20.250',

  ...
}
Copy to Clipboard Toggle word wrap

Example 6.4. Broker Host Configuration

class { 'openshift_origin' :
  # Other settings as appropriate per above examples
  ...

  # Use the actual target host info for these values on hosts that are Brokers
  broker_hostname => <target_hostname>,
  broker_ip_addr  => <target_ip_addr>,

  # Provide the cluster info
  broker_virtual_hostname     => 'virtbroker.openshift.local',
  broker_virtual_ip_address   => '10.10.20.250',

  ...
}
Copy to Clipboard Toggle word wrap

Example 6.5. Name Server Configuration

If OpenShift Enterprise is also handling DNS, add the following information to the host where you are deploying the nameserver role:
class { 'openshift_origin' :
  # Other settings as appropriate per above examples
  ...

  # Use the *virtual* broker info for these values
  broker_virtual_hostname => 'virtbroker.openshift.local',
  broker_virtual_ip_addr  => '10.10.20.250',

  # Additionally if you are using this nameserver to serve the domain for
  # OpenShift host systems, include the virtual host info in the infrastructure
  # list:
  dns_infrastructure_names =>
  [
   ...
   { hostname => 'virtbroker.openshift.local',
     ipaddr   => '10.10.10.250'
   },
  ],

  ...
}
Copy to Clipboard Toggle word wrap
トップに戻る
Red Hat logoGithubredditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

Red Hat ドキュメントについて

Red Hat をお使いのお客様が、信頼できるコンテンツが含まれている製品やサービスを活用することで、イノベーションを行い、目標を達成できるようにします。 最新の更新を見る.

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

Theme

© 2025 Red Hat