Releases: SUSE/ha-sap-terraform-deployments
Release 7.0.0
Description
This new release brings important technical improvements on the project. To list the most important ones:
- Unify the OS selection to os_image
- Set PAYG as default images
- Improve the project to use S4/HANA
- Improve SSH keys management (now, plain SSH keys content can be used too)
- Improve bastion usage for Azure. Now, the monitoring server is bypassed with nginx
- Use the latest terraform azure/gcp/aws resources (matching the ones shipped in SLE)
- And as always, more bugfixing and variables improvement.
- Unify many variables to use the same name in all cloud providers
Variables usage update (check for detailed description in variables.tf
files of each provider):
Added:
authorized_keys
deployment_name
provisioning_output_colored
os_image
os_owner (aws only)
bastion_os_image (azure only)
monitoring_os_image (gcp only)
hana_client_folder
hana_client_archive_file
hana_client_extract_dir
hana_data_disk_size (aws only)
hana_sid
hana_cost_optimized_sid
hana_instance_number
hana_cost_optimized_instance_number
hana_master_password
hana_cost_optimized_master_password
hana_primary_site
hana_secondary_site
drbd_nfs_mounting_point
netweaver_app_server_count
netweaver_sid
netweaver_ascs_instance_number
netweaver_ers_instance_number
netweaver_pas_instance_number
netweaver_master_password
netweaver_sapmnt_path
Updated:
public_key_location -> public_key
private_key_location -> private_key
bastion_public_key_location -> bastion_public_key (azure only)
bastion_private_key_location -> bastion_private_key (azure only)
hana_cluster_sbd_enabled -> hana_cluster_fencing_mechanism
drbd_cluster_sbd_enabled -> drbd_cluster_fencing_mechanism
netweaver_cluster_sbd_enabled -> netweaver_cluster_fencing_mechanism
hana_public_publisher -> hana_os_image (azure only)
hana_public_offer -> hana_os_image (azure only)
hana_public_sku -> hana_os_image (azure only)
hana_public_version -> hana_os_image (azure only)
iscsi_public_publisher -> iscsi_os_image (azure only)
iscsi_public_offer -> iscsi_os_image (azure only)
iscsi_public_sku -> iscsi_os_image (azure only)
iscsi_public_version -> iscsi_os_image (azure only)
monitoring_public_publisher -> monitoring_os_image (azure only)
monitoring_public_offer -> monitoring_os_image (azure only)
monitoring_public_sku -> monitoring_os_image (azure only)
monitoring_public_version -> monitoring_os_image (azure only)
drbd_public_publisher -> drbd_os_image (azure only)
drbd_public_offer -> drbd_os_image (azure only)
drbd_public_sku -> drbd_os_image (azure only)
drbd_public_version -> drbd_os_image (azure only)
netweaver_public_publisher -> netweaver_os_image (azure only)
netweaver_public_offer -> netweaver_os_image (azure only)
netweaver_public_sku -> netweaver_os_image (azure only)
netweaver_public_version -> netweaver_os_image (azure only)
sles4sap_boot_image -> hana_os_image (gcp only)
sap_hana_deployment_bucket -> hana_inst_master (gcp only)
iscsi_server_boot_imate -> iscsi_os_image (gcp only)
drbd_image -> drbd_os_image (gcp only)
netweaver_image -> netweaver_os_image (gcp only)
hana_inst_media -> hana_inst_master (libvirt only)
Usage
To use this tag we recommend the usage of the next obs repository:
https://build.opensuse.org/project/show/network:ha-clustering:sap-deployments:v7
The packages versions are frozen in this repository, so it should be the most stable option. To use this repository add the next parameter in the terraform.tfvars file:
ha_sap_deployment_repo = "https://download.opensuse.org/repositories/network:ha-clustering:sap-deployments:v7"
Breaking changes
The usage of the salt formulas used in the installation might not work if old versions are used. This are the current and tested versions:
drbd-formula-0.4.1+git.1614576184.d8e78f1-1.1
grafana-ha-cluster-dashboards-1.1.0+git.1605027022.a84d536-26.3
grafana-sap-hana-dashboards-1.0.2+git.1600361067.f7c00d1-11.3
grafana-sap-netweaver-dashboards-1.0.3+git.1601889366.9f71957-14.3
grafana-sap-providers-1.1-16.3
grafana-sleha-provider-1.1.0+git.1605027022.a84d536-26.3
habootstrap-formula-0.4.1+git.1612863954.6940762-2.2
iscsi-formula-1.1.1-8.3
prometheus-hanadb_exporter-0.7.3+git.1604318097.c2b074f-14.7
python2-PyHDB-0.3.6.dev-2.7
python2-shaptools-0.3.11+git.1614268060.5db634f-1.3
python3-PyHDB-0.3.6.dev-2.7
python3-shaptools-0.3.11+git.1614268060.5db634f-1.3
salt-shaptools-0.3.11+git.1614605471.2bcc2e7-1.1
saphanabootstrap-formula-0.7.0+git.1614605158.a02b06a-1.1
sapnwbootstrap-formula-0.6.1+git.1614162749.57a2571-1.3
Additional fixes for GCP deployment
Description
Add additional hotfixes to GCP deployment:
- Fix HANA active/active deployment: #638
- Update corosync values to match with GCP recommendations: #639
- Adapt NW DB PAS/AAS installation templates to use additional parameters: SUSE/sapnwbootstrap-formula#78
This version should be used with (even though it might work with devel
project and packages coming directly from SLE official channels): https://build.opensuse.org/project/show/network:ha-clustering:sap-deployments:v6
ha_sap_deployment_repo = "https://download.opensuse.org/repositories/network:/ha-clustering:/sap-deployments:/v6
Fix GCP deployment errors
Fix AWS data provider installation and network usage
Release 6.0.0
Description
This new release brings important technical improvements on the project. To list the most important ones:
- Restructure salt and pillar folders usage, to have an easier usage
- Improve ISCSI module usage, making it optional. This way SBD usage is not mandatory anymore. This means that in AWS and GCE, the native fencing agents will be used (In azure and Libvirt, SBD is mandatory to have a working cluster)
- Add support for zip,rar,exe,sar HANA media files
- Add new option to choose between HA or non HA deployments
- Implement bastion host usage for Azure
- Change HANA disks configuration usage for Azure, providing more flexibility and better default options
- Add hana active/active scenario usage
- Add the option to select the logging level and print salt result in terraform output
Variables usage update:
Removed:
devel_mode
init_type
hana_disk_device
iscsidev
min_instancetype (aws only)
hana_data_disk_type (azure only)
hana_data_disk_size (azure only)
hana_data_disk_caching (azure only)
shared_storage_type (libvirt onlye)
drbd_count (libvirt only)
drbd_shared_storage_type (libvirt only)
Added:
public_key_location (libvirt only)
sbd_storage_type (libvirt only)
bastion_enabled (azure only)
bastion_public_key_location (azure only)
bastion_private_key_location (azure only)
hana_data_disk_configuration (azure_only)
netweaver_nfs_share (azure only)
provisioning_log_level
hana_cluster_sbd_enabled
hana_ha_enabled
hana_active_active
hana_cluster_vip_secondary
drbd_cluster_sbd_enabled
netweaver_cluster_sbd_enabled
netweaver_inst_folder
netweaver_ha_enabled
iscsi_disk_size
Updated:
instancetype -> hana_instancetype
hdbserver_sar -> hana_archive_file
iscsi_disk -> iscsi_lun_count
netwaver_swpm_extract_dir -> netweaver_extract_dir
netweaver_vm_size -> netweaver_xscs_vm_size and netweaver_app_vm_size (azure only)
netweaver_enable_accelerated_networking -> netweaver_xscs_accelerated_networking and netweaver_app_accelerated_networking (azure only)
Usage
To use this tag we recommend the usage of the next obs repository:
https://build.opensuse.org/project/show/network:ha-clustering:sap-deployments:v6
The packages versions are frozen in this repository, so it should be the most stable option. To use this repository add the next parameter in the terraform.tfvars file:
ha_sap_deployment_repo = "https://download.opensuse.org/repositories/network:ha-clustering:sap-deployments:v6"
Breaking changes
The usage of the salt formulas used in the installation might not work if old versions are used. This are the current and tested versions:
drbd-formula-0.3.10+git.1591284159.484cfdd
alertmanager-0.16.2
node_exporter-v1.0.0~rc.0
prometheus-2.11.2
promu-0.5.0
grafana-6.7.3
grafana-ha-cluster-dashboards-1.0.3+git.1600360477.8b8f9ce
grafana-sap-hana-dashboards-1.0.2+git.1600361067.f7c00d1
grafana-sap-netweaver-dashboards-1.0.2+git.1600360936.17d0dbe
habootstrap-formula-0.3.9+git.1600700065.14360cc
iscsi-formula-1.1.1
loki-1.5.0
prometheus-ha_cluster_exporter-1.2.0+git.1599131770.8912739
prometheus-hanadb_exporter-0.7.1+git.dev22.1594207535.756e4e3
prometheus-sap_host_exporter-0.5.1+git.dev3.1595925984.3af749b
PyHDB-0.3.6.dev
python-prometheus_client-v0.8.0
python-shaptools-0.3.10+git.1600699158.46fca28
salt-shaptools-0.3.10+git.1600699854.f5950bc
saphanabootstrap-formula-0.6.0+git.1600699862.f34e262
sapnwbootstrap-formula-0.5.1+git.1600700160.9b359fd
Hotfix release for PAYG images
Description
This hotfix release includes #493 to fix the deployment for PAYG images
Usage
To use this tag we recommend the usage of the next obs repository:
https://build.opensuse.org/project/show/network:ha-clustering:sap-deployments:v5
The packages versions are frozen in this repository, so it should be the most stable option. To use this repository add the next parameter in the terraform.tfvars
file:
ha_sap_deployment_repo = "https://download.opensuse.org/repositories/network:ha-clustering:sap-deployments:v5"
Breaking changes
The usage of the salt formulas used in the installation might not work if old versions are used. This are the current and tested versions:
drbd-formula == 0.3.10
habootstrap-formula == 0.3.5
saphanabootstrap-formula == 0.5.9
sapnwbootstrap-formula == 0.4.4
prometheus-hanadb_exporter == 0.7.1
prometheus-ha_cluster_exporter == 1.0.1
prometheus-sap_host_exporter == 0.4.0
iscsi-formula == 1.1.1
python-PyHDB == 0.3.5.dev
python-prometheus_client == 0.7.1
python-shaptools == 0.3.8
salt-shaptools == 0.3.4
Known issues
Release 5.0.0
Description
This new release brings important technical improvements on the project. To list the most important ones:
- Already existing resources can be used (VPC, Resource groups, virtual networks...)
- Internal IP addresses are auto generated
- Now a controlled reboot is performed after the initial configuration to update all the packages
- SCC registration is undone in the destroy part
- Netweaver configuration in the pillar file has been improved
- Many new variables added to make the configuration more customizable
- Netweaver SAP host exporter is installed now
- New netweaver grafana dashboards available
- All the terraform code has been changed to use modules
- First version of the CI to test terraform deployment in libvirt added
Usage
To use this tag we recommend the usage of the next obs repository:
https://build.opensuse.org/project/show/network:ha-clustering:sap-deployments:v5
The packages versions are frozen in this repository, so it should be the most stable option. To use this repository add the next parameter in the terraform.tfvars
file:
ha_sap_deployment_repo = "https://download.opensuse.org/repositories/network:ha-clustering:sap-deployments:v5"
Breaking changes
The usage of the salt formulas used in the installation might not work if old versions are used. This are the current and tested versions:
drbd-formula == 0.3.10
habootstrap-formula == 0.3.5
saphanabootstrap-formula == 0.5.9
sapnwbootstrap-formula == 0.4.4
prometheus-hanadb_exporter == 0.7.1
prometheus-ha_cluster_exporter == 1.0.1
prometheus-sap_host_exporter == 0.4.0
iscsi-formula == 1.1.1
python-PyHDB == 0.3.5.dev
python-prometheus_client == 0.7.1
python-shaptools == 0.3.8
salt-shaptools == 0.3.4
Known issues
AWS credential file fixed
Description
The current code implies to have space around the =
sign for aws_access_key_id
and aws_secret_access_key
variables in ${HOME}/.aws/config
.
This is not mandatory and could lead to weird issues during deployment (VIP not working for example).
Breaking changes
The usage of the salt formulas used in the installation might not work if old versions are used. This are the current and tested versions:
drbd-formula == 0.3.10
habootstrap-formula == 0.3.0
saphanabootstrap-formula == 0.5.0
sapnwbootstrap-formula == 0.2.5
prometheus-hanadb_exporter == 0.7.0
prometheus-ha_cluster_exporter == 1.0.0
prometheus-sap_host_exporter == -
iscsi-formula == 1.1.1
python-PyHDB == 0.3.5.dev
python-prometheus_client == 0.7.1
python-shaptools == 0.3.5
salt-shaptools == 0.3.2
AWS account variable removed
Description
aws_account
variable has been removed from AWS deployment.
This is done using aws_caller_identity
provided already by terraform aws provider natively.
https://www.terraform.io/docs/providers/aws/d/caller_identity.html
Breaking changes
The usage of the salt formulas used in the installation might not work if old versions are used. This are the current and tested versions:
drbd-formula == 0.3.10
habootstrap-formula == 0.3.0
saphanabootstrap-formula == 0.5.0
sapnwbootstrap-formula == 0.2.5
prometheus-hanadb_exporter == 0.7.0
prometheus-ha_cluster_exporter == 1.0.0
prometheus-sap_host_exporter == -
iscsi-formula == 1.1.1
python-PyHDB == 0.3.5.dev
python-prometheus_client == 0.7.1
python-shaptools == 0.3.5
salt-shaptools == 0.3.2
Netweaver in GCP and AWS
Description
This 4.0.0 release implements SAP Netweaver in GCP and AWS together with other many improvements in the cluster deployment in all of the providers to follow the Best practices guides.
Improvements worth to mention.
- Netweaver available now in GCP and AWS
- Azure terraform code implemented in modules to have a better code quality
- HANA installation best practices implemented for all of the providers (some points still missing for GCP resouce/fence agents, and the correct corosync configuration)
- iscsi formula usage upgraded to use the iscsi-formula 1.1.1 version (which have some old issues fixed)
- Monitoring dashboards updated to use the latest metrics
- Many other improvements and bugfixing
All of the required packages are available in:
https://build.opensuse.org/project/show/network:ha-clustering:sap-deployments:v4
Breaking changes
The usage of the salt formulas used in the installation might not work if old versions are used. This are the current and tested versions:
- drbd-formula == 0.3.10
- habootstrap-formula == 0.3.0
- saphanabootstrap-formula == 0.5.0
- sapnwbootstrap-formula == 0.2.5
- prometheus-hanadb_exporter == 0.7.0
- prometheus-ha_cluster_exporter == 1.0.0
- prometheus-sap_host_exporter == -
- iscsi-formula == 1.1.1
- python-PyHDB == 0.3.5.dev
- python-prometheus_client == 0.7.1
- python-shaptools == 0.3.5
- salt-shaptools == 0.3.2