Skip to content

Commit 015cd46

Browse files
authored
Merge pull request #123 from newkit/dev
collection: Update Documentation
2 parents 6891d6e + 12939bc commit 015cd46

3 files changed

Lines changed: 25 additions & 24 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ For information on how to contribute, please see our [contribution guidelines](h
108108

109109

110110
## Contributors
111-
You can find list of Contributors at [/docs/contributors](./docs/CONTRIBUTORS.md).
111+
You can find list of Contributors at [/docs/contributors](https://github.com/sap-linuxlab/community.sap_infrastructure/tree/main/docs/CONTRIBUTORS.md).
112112

113113

114114
## Support

roles/sap_hypervisor_node_preconfigure/README.md

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ The Ansible Role `sap_hypervisor_node_preconfigure` configures hypervisor nodes
1111

1212
This Ansible role supports the following hypervisors:
1313
- Red Hat OpenShift Virtualization (OCPV): 4.14 or higher
14-
- Red Hat Enterprise Virtualization (RHV): 4.4 or higher
14+
- Red Hat Enterprise Virtualization (RHV) `deprecated`: 4.4 or higher
1515
- _Formerly called Red Hat Enterprise Virtualization (RHEV) prior to version 4.4_
1616
- _Note: This role is not compatible with standalone RHEL KVM (RHEL-KVM) hypervisor nodes._
1717

@@ -58,7 +58,7 @@ Configures the Red Hat OpenShift cluster for SAP workloads.
5858
- For SAP HANA: Worker nodes with Intel CPU Instruction Sets: `TSX` <sup>([SAP Note 2737837](https://me.sap.com/notes/2737837/E))</sup>
5959

6060
### Control Node Requirements
61-
For a list of all collection prerequisites, please see the [Ansible Collection Readme](../../README.md#requirements).
61+
For a list of all collection prerequisites, please see the [Ansible Collection Readme](https://github.com/sap-linuxlab/community.sap_infrastructure/blob/main/README.md#requirements).
6262

6363
Direct access to the Red Hat OpenShift cluster is required.
6464
- An Ansible Automation Platform Controller can be used to facilitate the orchestration.
@@ -70,30 +70,28 @@ Direct access to the Red Hat OpenShift cluster is required.
7070
- `kubernetes` >= 29.0.0
7171
- Ansible Collections:
7272
- `kubernetes.core` >= 3.0.0
73-
- `community.okd` >= 3.0.1
7473

7574
### Platform Specific Variables
76-
All platform specific variables are available in [vars/platform_defaults_redhat_ocp_virt.yml](vars/platform_defaults_redhat_ocp_virt.yml).
75+
All platform specific variables are available in [vars/platform_defaults_redhat_ocp_virt.yml](https://github.com/sap-linuxlab/community.sap_infrastructure/blob/main/roles/sap_hypervisor_node_preconfigure/vars/platform_defaults_redhat_ocp_virt.yml).
7776

7877
The `kubeconfig` configuration file has to be provided by either:
7978
1. The Ansible variable `sap_hypervisor_node_kubeconfig`.
8079
2. The environment variable `K8S_AUTH_KUBECONFIG`.
8180
3. The environment variable `KUBECONFIG`.
82-
**NOTE:** If using the trident storage operator, the `kubeconfig` has also to contain a valid API token.
81+
**NOTE:** If using the trident storage operator, the `kubeconfig` file has also to contain a valid API token.
8382

8483
Every worker has to have an entry in the `workers` section of the variable `sap_hypervisor_node_preconfigure_cluster_config` and make sure, that the name attribute corresponds with the cluster node name (e.g. worker-0). Adjust the network interface name you want to use. There are two types of networking technologies available: bridging or SR-IOV.
8584

8685
There is a section for the `trident` configuration, this is required when installing the NetApp Astra Trident Operator for NFS storage. When using the host path provisioner, `worker_localstorage_device` has to point to the block device which should be used.
8786

8887
### Example
89-
See [sample-sap-hypervisor-redhat_ocp_virt-preconfigure.yml](../playbooks/sample-sap-hypervisor-redhat_ocp_virt-preconfigure.yml) for an example.
88+
See [sample-sap-hypervisor-redhat-ocp-virt-preconfigure.yml](https://github.com/sap-linuxlab/community.sap_infrastructure/blob/main/playbooks/sample-sap-hypervisor-redhat-ocp-virt-preconfigure.yml) for an example.
9089

9190
Make sure to set the `K8S_AUTH_KUBECONFIG` environment variable, e.g.
9291
```
9392
export K8S_AUTH_KUBECONFIG=/path/to/my_kubeconfig
9493
```
95-
To invoke the example playbook with the example configuration using your localhost as ansible host use this command:
96-
- It has to be executed from [`/playbooks`](../playbooks/) directory.
94+
To invoke the example playbook with the example configuration using your localhost as ansible host use the following command. In this example it has to be executed from `/playbooks` directory, otherwise the path hast to be adjusted.
9795

9896
```shell
9997
ansible-playbook --connection=local -i localhost, \
@@ -102,7 +100,7 @@ ansible-playbook --connection=local -i localhost, \
102100
```
103101

104102

105-
## Platform: Red Hat Virtualization (RHV)
103+
## Platform: Red Hat Virtualization (RHV) `deprecated`
106104
Configures the Red Hat Virtualization (RHV) hypervisor nodes, formerly known as Red Hat Enterprise Virtualization (RHEV) prior to version 4.4.
107105

108106
Red Hat Virtualization consists of a `Red Hat Virtualization Manager (RHV-M)` and the `Red Hat Virtualization Host (RHV-H)` hypervisor nodes that this role pre-configures.
@@ -112,21 +110,20 @@ This Ansible Role does not preconfigure RHEL KVM (RHEL-KVM) hypervisor nodes.
112110
- Please note that RHEL KVM is a standalone hypervisor and does not include the management tooling provided by RHV-M.
113111

114112
### Requirements
115-
For a list of all collection prerequisites, please see the [Ansible Collection Readme](../../README.md#requirements).
113+
For a list of all collection prerequisites, please see the [Ansible Collection Readme](https://github.com/sap-linuxlab/community.sap_infrastructure/blob/main/README.md#requirements).
116114

117115
- Hypervisor Administrator credentials
118116
- One or more available RHV hypervisors.
119117

120118
### Platform Specific Variables
121-
All platform specific variables are available in [vars/platform_defaults_redhat_rhel_kvm.yml](vars/platform_defaults_redhat_rhel_kvm.yml).
122-
123-
### Example
124-
See [sample-sap-hypervisor-redhat-rhel-kvm-preconfigure.yml](../playbooks/sample-sap-hypervisor-redhat-rhel-kvm-preconfigure.yml) for an example.
125-
119+
All platform specific variables are available in [vars/platform_defaults_redhat_rhel_kvm.yml](https://github.com/sap-linuxlab/community.sap_infrastructure/blob/main/roles/sap_hypervisor_node_preconfigure/vars/platform_defaults_redhat_rhel_kvm.yml).
126120

127121
<!-- BEGIN Further Information -->
128122
<!-- END Further Information -->
129123

124+
## Testing
125+
Additionally the Ansible Role `sap_hypervisor_node_preconfigure` is continuously tested for Red Hat OpenShift. Goal is to ensure that this roles work on all supported OpenShift versions. All network related setup is tested with ipv4 only.
126+
130127
## License
131128
<!-- BEGIN License -->
132129
Apache 2.0
@@ -139,6 +136,6 @@ Apache 2.0
139136

140137
## Role Variables
141138
<!-- BEGIN Role Variables -->
142-
The list of all available variables: [/defaults parameters file](./defaults/main.yml).
139+
The list of all available variables: [/defaults parameters file](https://github.com/sap-linuxlab/community.sap_infrastructure/blob/main/roles/sap_hypervisor_node_preconfigure/vars/platform_defaults_redhat_rhel_kvm.yml).
143140
The platform specific variables are defined in their respective files under `vars/` directory.
144-
<!-- END Role Variables -->
141+
<!-- END Role Variables -->

roles/sap_vm_provision/README.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ This Ansible Role follows requirements and best practices of each Infrastructure
2020
## Prerequisites (Control Node)
2121
The prerequisites are listed only for Control Node, because Managed Nodes are provisioned during runtime.
2222

23-
For a list of requirements and recommended authorizations on each Infrastructure Platform, please see the separate [Infrastructure Platform Guidance](./PLATFORM_GUIDANCE.md) document and the drop-down for each different Infrastructure Platform.
23+
For a list of requirements and recommended authorizations on each Infrastructure Platform, please see the separate [Infrastructure Platform Guidance](https://github.com/sap-linuxlab/community.sap_infrastructure/tree/main/roles/sap_vm_provision/PLATFORM_GUIDANCE.md) document and the drop-down for each different Infrastructure Platform.
2424

2525
### Base Prerequisites
2626
For list of all collection prerequisites, please see [Ansible Collection Readme](https://github.com/sap-linuxlab/community.sap_infrastructure/blob/main/README.md#requirements)
@@ -34,7 +34,7 @@ For list of all collection prerequisites, please see [Ansible Collection Readme]
3434
- `jmespath` 1.0.1 or higher
3535
- Ansible Collections:
3636
- `cloud.common`
37-
- `cloud.terraform` When `Ansible to Terraform` is used.
37+
- `cloud.terraform` when `Ansible to Terraform` is used.
3838

3939
### Amazon Web Services (AWS) Prerequisites
4040
- Python libraries and modules:
@@ -103,7 +103,7 @@ A series of choices are deciding Ansible Role behavior:
103103
- Microsoft Azure Virtual Machines
104104
- IBM PowerVM Virtual Machines _(formerly LPAR)_
105105
- OVirt Virtual Machines `[Experimental]`
106-
- KubeVirt Virtual Machines `[Experimental]` (e.g. Red Hat OpenShift Virtualization)
106+
- KubeVirt Virtual Machines `[beta]` (e.g. Red Hat OpenShift Virtualization)
107107
- VMware vSphere Virtual Machines `[Experimental]`
108108
<!-- END Execution -->
109109

@@ -167,12 +167,15 @@ Explanation of workflow:
167167
3. Third play: `Ansible Play for remaining tasks on provisioned hosts`
168168
- Example of how newly provisioned hosts can be targeted with additional tasks (e.g. SAP Installation).
169169

170-
For further information, see the [sample Ansible Playbooks in `/playbooks`](../playbooks/).
170+
For further information, see the [sample Ansible Playbooks in `/playbooks`](https://github.com/sap-linuxlab/community.sap_infrastructure/tree/main/playbooks/).
171171
<!-- END Execution Example -->
172172

173173
<!-- BEGIN Role Tags -->
174174
<!-- END Role Tags -->
175175

176+
## Testing
177+
Additionally the Ansible Role `sap_vm_provision` is continuously tested for Red Hat OpenShift. Goal is to ensure that this roles work on all supported OpenShift versions. All network related setup is tested with ipv4 only.
178+
176179
<!-- BEGIN Further Information -->
177180
## Further Information
178181
- For Hyperscaler Cloud Service Providers that use Resource Groups (IBM Cloud, Microsoft Azure):
@@ -182,6 +185,7 @@ For further information, see the [sample Ansible Playbooks in `/playbooks`](../p
182185

183186
### Known issues
184187
- VMware REST API combined with cloud-init is unstable, `userdata` configuration may not execute and provisioning will fail
188+
- On a kubevirt platform (e.g. Red Hat OpenShift) `ANSIBLE_JINJA2_NATIVE=true` has to be set in the environment.
185189
<!-- END Further Information -->
186190

187191
## License
@@ -198,7 +202,7 @@ Apache 2.0
198202

199203
## Role Variables
200204
<!-- BEGIN Role Variables -->
201-
The list of all available variables: [/defaults parameters file](./defaults/main.yml).
205+
The list of all available variables: [/defaults parameters file](https://github.com/sap-linuxlab/community.sap_infrastructure/tree/main/roles/sap_vm_provision/defaults/main.yml).
202206

203207
**Following key variables are required.**
204208

@@ -238,7 +242,7 @@ Customization options:<br>
238242

239243
### Credentials
240244

241-
Each Infrastructure Platform has list of required variables defined in [/defaults parameters file](./defaults/main.yml).
245+
Each Infrastructure Platform has list of required variables defined in [/defaults parameters file](https://github.com/sap-linuxlab/community.sap_infrastructure/tree/main/roles/sap_vm_provision/defaults/main.yml).
242246
Example for `aws_ec2_vs`:
243247
- `sap_vm_provision_aws_access_key`
244248
- `sap_vm_provision_aws_secret_access_key`

0 commit comments

Comments
 (0)