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: content/blog/highly-available-nfs-workload-on-hpe-greenlake-for-private-cloud-enterprise-using-serviceguard-for-linux.md
+20-22Lines changed: 20 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -132,8 +132,8 @@ Note: More details on HPE GreenLake user roles can be found in the HPE GreenLake
132
132
133
133
When a user creates virtual machines using the HPE GreenLake for Private Cloud Enterprise: Virtual Machines user interface, they first set the Linux and Windows username and password. Once this is done, any virtual machines subsequently created by that user will inherit these credentials. The user can later use these credentials to log into these virtual machines.
134
134
API Clients which are used to create virtual machines can also set Linux and Windows username and password values. Since the API Client does not use the HPE GreenLake for Private Cloud Enterprise: Virtual Machines user interface, this must be done via an API call.
135
-
Here is a sample script which reads the VM\_USERNAME and VM\_PASSWORD environment variables and uses the values for Linux and Windows username and password for the API Client. The script assumes a Location value of ‘FTC06’ and Space value of ‘Default’.
136
-
To execute this script, first set appropriate values for the VM\_USERNAME and VM\_PASSWORD environment variables. Next, execute the resource file, which was created earlier, which sets the HPEGL\\*\\* environment variables for your API Client. Finally, execute the script below.
135
+
Here is a sample script which reads the VM_USERNAME and VM_PASSWORD environment variables and uses the values for Linux and Windows username and password for the API Client. The script assumes a Location value of ‘FTC06’ and Space value of ‘Default’.
136
+
To execute this script, first set appropriate values for the VM_USERNAME and VM_PASSWORD environment variables. Next, execute the resource file, which was created earlier, which sets the HPEGL\*\* environment variables for your API Client. Finally, execute the script below.
137
137
138
138
```shell
139
139
#!/bin/bash
@@ -347,8 +347,7 @@ The command you need to use is now:
347
347
terraform apply
348
348
```
349
349
350
-
This will rerun the plan command, then prompt you to confirm before it starts building what is in the plan:
351
-
Here is some sample output from the terraform apply command:
350
+
This will rerun the plan command, then prompt you to confirm before it starts building what is in the plan. Here is some sample output from the `terraform apply` command:
352
351
353
352
```
354
353
Do you want to perform these actions?
@@ -357,16 +356,16 @@ Do you want to perform these actions?
357
356
358
357
Enter a value: yes
359
358
360
-
hpegl_vmaas_instance.my_drbd\[1]: Creating...
361
-
hpegl_vmaas_instance.my_quorum\[0]: Creating...
362
-
hpegl_vmaas_instance.my_drbd\[0]: Creating...
363
-
hpegl_vmaas_instance.my_quorum\[0]: Still creating... \[10s elapsed]
364
-
hpegl_vmaas_instance.my_drbd\[1]: Still creating... \[10s elapsed]
365
-
hpegl_vmaas_instance.my_drbd\[1]: Still creating... \[10s elapsed]
359
+
hpegl_vmaas_instance.my_drbd[1]: Creating...
360
+
hpegl_vmaas_instance.my_quorum[0]: Creating...
361
+
hpegl_vmaas_instance.my_drbd[0]: Creating...
362
+
hpegl_vmaas_instance.my_quorum[0]: Still creating... [10s elapsed]
363
+
hpegl_vmaas_instance.my_drbd[1]: Still creating... [10s elapsed]
364
+
hpegl_vmaas_instance.my_drbd[1]: Still creating... [10s elapsed]
366
365
367
-
hpegl_vmaas_instance.my_drbd\[1]: Creation complete after 2m8s \[id=3105]
368
-
hpegl_vmaas_instance.my_drbd\[0]: Creation complete after 2m8s \[id=3111]
369
-
hpegl_vmaas_instance.my_quorum\[0]: Creation complete after 2m8s \[id=3108]
366
+
hpegl_vmaas_instance.my_drbd[1]: Creation complete after 2m8s [id=3105]
367
+
hpegl_vmaas_instance.my_drbd[0]: Creation complete after 2m8s [id=3111]
368
+
hpegl_vmaas_instance.my_quorum[0]: Creation complete after 2m8s [id=3108]
Master playbook `site.yml` contains the roles which will be executed for the inventory defined in hosts.
399
-
When the master playbook is run, version specified in the parameters file will be installed. The parameters for the master playbook, roles are configured in `group_vars/all.yml`.
397
+
When the master playbook is run, the version specified in the parameters file will be installed. The parameters for the master playbook, roles are configured in `group_vars/all.yml`.
400
398
401
-
We will now look into some of the fields in this file which needs to be configured.
402
-
We should configure the version of Serviceguard to be installed, in this case SGLX 15.10.00 will be installed.
399
+
Now let's look into some of the fields in this file which needs to be configured.
400
+
It’s time to configure the version of Serviceguard to be installed, in this case SGLX 15.10.00 will be installed.
403
401
404
402
`sglx_version : 15.10.00`
405
403
406
-
Now provide the Serviceguard for Linux ISO location on the controller node
404
+
Provide the Serviceguard for Linux ISO location on the controller node.
407
405
408
406
```yaml
409
407
sglx_inst_upg_mode: iso
@@ -424,7 +422,7 @@ Serviceguard installation mandates a replicated user configuration. As part of t
Once these parameters are populated, one can modify the hosts file to add the 2 VMs that were provisioned earlier where the cluster will be formed, and the quorum server that was provisioned earlier. In this case, it’s as shown below
441
+
Once these parameters are populated, you can modify the hosts file to add the two VMs that were provisioned earlier where the cluster will be formed, and the quorum server that was provisioned earlier. In this case, it’s as shown below:
444
442
445
443
```yaml
446
444
[sglx-storage-flex-add-on-hosts]
@@ -467,7 +465,7 @@ This completes the Serviceguard software installation.
467
465
468
466
## Configuring data replication using Serviceguard flex Storage Add-on
469
467
470
-
Serviceguard for Linux Flex Storage Add-on is a software-based, shared-nothing, replicated storage solution that mirrors the content of block devices. NFS server export data will be replicated to all Serviceguard cluster nodes using this add-on. Ansible snippet below can be used to configure the replication.
468
+
Serviceguard for Linux Flex Storage Add-on is a software-based, shared-nothing, replicated storage solution that mirrors the content of block devices. NFS server export data will be replicated to all Serviceguard cluster nodes using this add-on. The Ansible snippet below can be used to configure the replication.
0 commit comments