Skip to content

Bug 1260805: HA install updates for 3.1 (native/pacemaker) - #1170

Merged
adellape merged 2 commits into
openshift:masterfrom
adellape:native_ha_install
Nov 11, 2015
Merged

adellape merged 2 commits into
openshift:masterfrom
adellape:native_ha_install

Conversation

Extended advanced install section for HAProxy bits using Ansible.
Modified masters components section acccordingly and added availability
matrix for HAProxy setup.
Signed-off-by: Michal Minar <[email protected]>

Updated ha configuration options
Signed-off-by: Michal Minar <[email protected]>

Described two Ansible HA methods
- native
- pacemaker
Signed-off-by: Michal Minar <[email protected]>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

List the haproxy node here? "two nodes, and one HAProxy load balancer"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whoops, added.

@abutcher

abutcher commented Nov 9, 2015

Copy link
Copy Markdown
Member

@adellape This is 🔥 thanks!

@abutcher

abutcher commented Nov 9, 2015

Copy link
Copy Markdown
Member

We could also call attention to session options here admin_guide/configuring_authentication.html#session-options.

Ansible populates a sessionSecrets file with generated secrets so that sessions generated by one master can be decoded by the others. The default location is /etc/origin/master/session-secrets.yaml and this file will only be re-created if deleted on all masters.

Session options are configurable in the host inventory:

# Session options
#openshift_master_session_name=ssn
#openshift_master_session_max_seconds=3600

# An authentication and encryption secret will be generated if secrets
# are not provided. If provided, openshift_master_session_auth_secrets
# and openshift_master_encryption_secrets must be equal length.
#
# Signing secrets, used to authenticate sessions using
# HMAC. Recommended to use secrets with 32 or 64 bytes.
#openshift_master_session_auth_secrets=['DONT+USE+THIS+SECRET+b4NV+pmZNSO']
#
# Encrypting secrets, used to encrypt sessions. Must be 16, 24, or 32
# characters long, to select AES-128, AES-192, or AES-256.
#openshift_master_session_encryption_secrets=['DONT+USE+THIS+SECRET+b4NV+pmZNSO']

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

's,etc/openshift/openshift,etc/origin/origin,`

@adellape adellape changed the title [WIP] Bug 1260805: HA install updates for 3.1 (native/pacemaker) Bug 1260805: HA install updates for 3.1 (native/pacemaker) Nov 11, 2015
@adellape

Copy link
Copy Markdown
Contributor Author

@miminar Thanks, issues addressed.

@abutcher Added session stuff:

http://file.rdu.redhat.com/~adellape/110915/native_ha_install/install_config/install/advanced_install.html#advanced-install-session-options

Also updated Ansible install steps. OSE now has you install atomic-openshift-utils for both quick/advanced install paths, and only Origin says to manually install Ansible and clone the openshift-ansible repo.

@adellape adellape mentioned this pull request Nov 11, 2015
@adellape

Copy link
Copy Markdown
Contributor Author

I'm merging this to get moving on some other stuff, but if anyone has any additional comments or issues, feel free to comment here.

adellape added a commit that referenced this pull request Nov 11, 2015
Bug 1260805: HA install updates for 3.1 (native/pacemaker)
@adellape
adellape merged commit 9b8dca1 into openshift:master Nov 11, 2015
@miminar

miminar commented Nov 11, 2015

Copy link
Copy Markdown

@adellape Thanks for taking it over and finishing up!

@abutcher

Copy link
Copy Markdown
Member

@adellape yes thanks it looks great

@adellape adellape mentioned this pull request Nov 12, 2015
@adellape
adellape deleted the native_ha_install branch November 16, 2015 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants