SUSE / ha-sap-terraform-deployments

Automated SAP/HA Deployments in Public/Private Clouds
GNU General Public License v3.0
122 stars 88 forks source link

SMT/RMT registration #605

Open pirat013 opened 3 years ago

pirat013 commented 3 years ago

at line 7 the # Autogenerated addresses example based in 19.168.135.0/24 -> I guess it should be 192.168.135.0/24

Do we have somewhere an example for an SMT/RMT server registration?

pirat013 commented 3 years ago

The procedure could be like this for SLES15 SP2 and an SMT with self signed certificate:

wget https://<FQHN>/<name-of-crt>.crt --no-check-certificate
cp <name-of-crt>.crt /etc/pki/trust/anchors/registration_server.pem
update-ca-certificates
SUSEConnect --url https://<FQHN>

that means we need two more variables: FQHN = "https://smtserver.customer.com" name-of-crt = "smt"

arbulu89 commented 3 years ago

Thanks @pirat013 , Yes, the first one is a typo. Thank you for the report.

About the 2nd: As you say, we would need some new implementation, we never had the need to do so, but if it makes sense, we can include it.

We would add it as optional. If the user doesn't provide any of those parameters, we would use the standard url, and the provided ones otherwise.

Would this be good enough?