-
Notifications
You must be signed in to change notification settings - Fork 4
First iteration of High Availability Cluster user guide #14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,62 @@ | ||
| --- | ||
| authors: Nate Thornton <nate.thornton@hpe.com> | ||
| categories: setup | ||
| --- | ||
|
|
||
| # High Availability Cluster | ||
|
|
||
| Rabbit software supports provisioning of Red Hat GFS2 (Global File System 2) storage. Per Red Hat: | ||
| > GFS2 allows multiple nodes to share storage at a block level as if the storage were connected locally to each cluster node. GFS2 cluster file system requires a cluster infrastructure. | ||
|
|
||
| Therefore, in order to use GFS2, the Rabbit and its associated compute nodes must form a high availability cluster. | ||
|
|
||
| ## Cluster Setup | ||
|
|
||
| Red Hat provides instructions for [creating a high availability cluster with Pacemaker](https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/configuring_and_managing_high_availability_clusters/assembly_creating-high-availability-cluster-configuring-and-managing-high-availability-clusters#doc-wrapper), including instructions for [installing cluster software](https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/configuring_and_managing_high_availability_clusters/assembly_creating-high-availability-cluster-configuring-and-managing-high-availability-clusters#proc_installing-cluster-software-creating-high-availability-cluster) and | ||
| [creating a high availability cluster](https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/configuring_and_managing_high_availability_clusters/assembly_creating-high-availability-cluster-configuring-and-managing-high-availability-clusters). | ||
|
|
||
|
|
||
| ## Fencing Agents | ||
|
|
||
| Fencing is the process of restricting and releasing access to resources that a failed cluster node may have access to. Since a failed node may be unresponsive, an external device must exist that can restrict access to shared resources of that node, or to issue a hard reboot of the node. More information can be found form Red Hat: [1.2.1 Fencing](https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/configuring_and_managing_high_availability_clusters/assembly_overview-of-high-availability-configuring-and-managing-high-availability-clusters#fencing). | ||
|
|
||
| HPE hardware implements software known as the Hardware System Supervisor (HSS), which itself conforms to the SNIA Redfish/Swordfish standard. This provides the means to manage hardware outside the host OS. | ||
|
|
||
| ### Compute Fencing | ||
|
|
||
| !!! warning | ||
| Usage of the Redfish fencing agent is not yet verified | ||
|
|
||
| The [Redfish fencing agent](https://github.com/ClusterLabs/fence-agents/tree/main/agents/redfish) from [ClusterLabs](https://github.com/ClusterLabs/fence-agents) should be used for Compute nodes in the cluster. Configure the agent with the following parameters: | ||
|
|
||
| | Argument | Definition | | ||
| | -------- | ---------- | | ||
| | `--ip=[ADDRESS]` | The IP address or hostname of the compute node's HSS node controller | | ||
| |`--systems-uri=[URI]` | The URI of the Systems object. Must be `/redfish/v1/Systems/Node0` | | ||
| |`--ssl-insecure` | Instructs the use of an insecure SSL exchange | | ||
|
|
||
|
|
||
| ### Rabbit Fencing | ||
|
|
||
| !!! info | ||
| Rabbit fencing agent is in active development; the description below is subject to change. | ||
|
|
||
| Since the Rabbit node is connected to 16 compute blades, careful coordination around fencing of a Rabbit node is required to minimize the impact of the outage. When a Rabbit node is fenced, the corresponding Kubernetes Storage resource (`storages.dws.cray.hpe.com`) is updated with a status of 'Fenced'. The workload manager must observe this change and handle the movement of resources off the Rabbit node and clear the 'Fenced' status before forcibly rebooting the node. | ||
|
|
||
| Configure the Rabbit agent with the following parameters: | ||
|
|
||
| | Argument | Definition | | ||
| | -------- | ---------- | | ||
| | `--kubernetes-service-host=[ADDRESS]` | The IP address of the kubeapi server | | ||
| | `--kubernetes-service-port=[PORT]` | The listening port of the kubeapi server | | ||
| | `--service-token-file=[PATH]` | The location of the service token file. The file must be present on all nodes within the cluster | | ||
| | `--service-cert-file=[PATH]` | The location of the service certificate file. The file must be present on all nodes within the cluster | | ||
| | `--nnf-node-name=[RABBIT-NODE-NAME]` | Name of the rabbit node | | ||
|
|
||
| ### Dummy Fencing | ||
|
|
||
| The [dummy fencing agent](https://github.com/ClusterLabs/fence-agents/tree/main/agents/dummy) from ClusterLabs can be used for nodes in the cluster for an early access development system. | ||
|
|
||
| ## Configuring a GFS2 file system in a cluster | ||
|
|
||
| Follow steps 1-8 of the procedure from Red Hat: [Configuring a GFS2 file system in a cluster](https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/configuring_and_managing_high_availability_clusters/assembly_configuring-gfs2-in-a-cluster-configuring-and-managing-high-availability-clusters#doc-wrapper). | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,6 +11,7 @@ nav: | |
| - 'Initial Setup': 'guides/initial-setup/readme.md' | ||
| - 'Compute Daemons': 'guides/compute-daemons/readme.md' | ||
| - 'Firmware Upgrade': 'guides/firmware-upgrade/readme.md' | ||
| - 'High Availability Cluster': 'guides/ha-cluster/readme.md' | ||
| - 'Storage Profiles': 'guides/storage-profiles/readme.md' | ||
| - 'RFCs': | ||
| - rfcs/index.md | ||
|
|
@@ -27,6 +28,7 @@ plugins: | |
| markdown_extensions: | ||
| - pymdownx.highlight: | ||
| anchor_linenums: true | ||
| - admonition | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What this for?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. !!! for highlight blocks https://squidfunk.github.io/mkdocs-material/reference/admonitions/ |
||
| - pymdownx.details | ||
| - pymdownx.inlinehilite | ||
| - pymdownx.snippets | ||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And HSS can provide a fencing agent?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
HSS conforms to the Redfish standard and there is a redfish fencing agent