You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -108,7 +108,7 @@ For information on how to contribute, please see our [contribution guidelines](h
108
108
109
109
110
110
## 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).
Copy file name to clipboardExpand all lines: roles/sap_hypervisor_node_preconfigure/README.md
+14-17Lines changed: 14 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ The Ansible Role `sap_hypervisor_node_preconfigure` configures hypervisor nodes
11
11
12
12
This Ansible role supports the following hypervisors:
13
13
- 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
15
15
-_Formerly called Red Hat Enterprise Virtualization (RHEV) prior to version 4.4_
16
16
-_Note: This role is not compatible with standalone RHEL KVM (RHEL-KVM) hypervisor nodes._
17
17
@@ -58,7 +58,7 @@ Configures the Red Hat OpenShift cluster for SAP workloads.
58
58
- For SAP HANA: Worker nodes with Intel CPU Instruction Sets: `TSX` <sup>([SAP Note 2737837](https://me.sap.com/notes/2737837/E))</sup>
59
59
60
60
### 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).
62
62
63
63
Direct access to the Red Hat OpenShift cluster is required.
64
64
- 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.
70
70
-`kubernetes` >= 29.0.0
71
71
- Ansible Collections:
72
72
-`kubernetes.core` >= 3.0.0
73
-
-`community.okd` >= 3.0.1
74
73
75
74
### 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).
77
76
78
77
The `kubeconfig` configuration file has to be provided by either:
79
78
1. The Ansible variable `sap_hypervisor_node_kubeconfig`.
80
79
2. The environment variable `K8S_AUTH_KUBECONFIG`.
81
80
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.
83
82
84
83
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.
85
84
86
85
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.
87
86
88
87
### 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.
90
89
91
90
Make sure to set the `K8S_AUTH_KUBECONFIG` environment variable, e.g.
92
91
```
93
92
export K8S_AUTH_KUBECONFIG=/path/to/my_kubeconfig
94
93
```
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.
## Platform: Red Hat Virtualization (RHV)`deprecated`
106
104
Configures the Red Hat Virtualization (RHV) hypervisor nodes, formerly known as Red Hat Enterprise Virtualization (RHEV) prior to version 4.4.
107
105
108
106
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.
112
110
- Please note that RHEL KVM is a standalone hypervisor and does not include the management tooling provided by RHV-M.
113
111
114
112
### 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).
116
114
117
115
- Hypervisor Administrator credentials
118
116
- One or more available RHV hypervisors.
119
117
120
118
### 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).
126
120
127
121
<!-- BEGIN Further Information -->
128
122
<!-- END Further Information -->
129
123
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
+
130
127
## License
131
128
<!-- BEGIN License -->
132
129
Apache 2.0
@@ -139,6 +136,6 @@ Apache 2.0
139
136
140
137
## Role Variables
141
138
<!-- 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).
143
140
The platform specific variables are defined in their respective files under `vars/` directory.
Copy file name to clipboardExpand all lines: roles/sap_vm_provision/README.md
+10-6Lines changed: 10 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ This Ansible Role follows requirements and best practices of each Infrastructure
20
20
## Prerequisites (Control Node)
21
21
The prerequisites are listed only for Control Node, because Managed Nodes are provisioned during runtime.
22
22
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.
24
24
25
25
### Base Prerequisites
26
26
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]
34
34
-`jmespath` 1.0.1 or higher
35
35
- Ansible Collections:
36
36
-`cloud.common`
37
-
-`cloud.terraform`When`Ansible to Terraform` is used.
37
+
-`cloud.terraform`when`Ansible to Terraform` is used.
38
38
39
39
### Amazon Web Services (AWS) Prerequisites
40
40
- Python libraries and modules:
@@ -103,7 +103,7 @@ A series of choices are deciding Ansible Role behavior:
103
103
- Microsoft Azure Virtual Machines
104
104
- IBM PowerVM Virtual Machines _(formerly LPAR)_
105
105
- 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)
3. Third play: `Ansible Play for remaining tasks on provisioned hosts`
168
168
- Example of how newly provisioned hosts can be targeted with additional tasks (e.g. SAP Installation).
169
169
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/).
171
171
<!-- END Execution Example -->
172
172
173
173
<!-- BEGIN Role Tags -->
174
174
<!-- END Role Tags -->
175
175
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
+
176
179
<!-- BEGIN Further Information -->
177
180
## Further Information
178
181
- 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
182
185
183
186
### Known issues
184
187
- 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.
185
189
<!-- END Further Information -->
186
190
187
191
## License
@@ -198,7 +202,7 @@ Apache 2.0
198
202
199
203
## Role Variables
200
204
<!-- 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).
202
206
203
207
**Following key variables are required.**
204
208
@@ -238,7 +242,7 @@ Customization options:<br>
238
242
239
243
### Credentials
240
244
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).
0 commit comments