- Newest
- Most votes
- Most comments
Based on the information provided, it appears you're experiencing registration issues with your SLES for SAP 15 SP4 EC2 instance. Here are some insights and potential solutions:
For PAYG (Pay-As-You-Go) SUSE Linux Enterprise Server for SAP Applications on AWS, registration should indeed be automatic through the AWS marketplace. However, since your instance was created as a clone from another instance, this is likely the root cause of your registration issues.
When you clone an instance, certain unique identifiers and registration information may not properly transfer, causing the registration system to fail. The error logs you shared indicate networking issues when trying to reach the SUSE registration servers.
Here are some steps to resolve this issue:
- For PAYG images from AWS Marketplace with AWS as the publisher, try using the AWS Public Cloud Module registration method:
sudo SUSEConnect -p Public-Cloud/15.3/x86_64
(Adjust the version number to 15.4 for your SP4 instance)
-
Check if your instance has the correct marketplace product code. The code you shared (2ivquqrnm6u68aog13cf80ruf) should be verified against the expected code for SLES for SAP 15 SP4.
-
The networking errors in your logs suggest the instance cannot reach the SUSE registration servers. Verify that your security groups and network ACLs allow outbound connections to the SUSE registration servers.
-
Since cloning can cause issues with registration, consider launching a fresh instance directly from the AWS Marketplace SLES for SAP 15 SP4 image instead of using a clone.
-
If you must use this cloned instance, you might need to contact SUSE support for assistance with manual registration.
Remember to back up your data before performing any system updates or major configuration changes.
Sources
SLES SUSE 15SP3 is showing "Not Register" | AWS re:Post
Operating system - SAP NetWeaver on AWS
Amazon EC2 Instance from Custom AMI Health Check Failing | AWS re:Post
Customers enhance SAP availability with SUSE solutions on AWS | AWS Partner Network (APN) Blog
answered a year ago
The issue appears to be IPv6 connectivity problems preventing your cloned SUSE Linux Enterprise Server for SAP instance from reaching the SUSE region servers.
Your /var/logs/cloudregister log shows that the registration process is attempting to contact region servers using IPv6 addresses first (like 2600:1f13:355:4700:ee7a:f5f8:6b38:c9c), and all IPv6 attempts are failing with "No response" errors. Only after exhausting IPv6 options does it try IPv4 addresses, which also appear to be failing .
1. Disable IPv6 or Fix IPv6 Connectivity
Since your instance cannot reach the IPv6 region servers, you have two options:
Option A: Disable IPv6 (quickest fix)
# Disable IPv6 temporarily echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6 echo 1 > /proc/sys/net/ipv6/conf/default/disable_ipv6 # Make it permanent by adding to /etc/sysctl.conf echo "net.ipv6.conf.all.disable_ipv6 = 1" >> /etc/sysctl.conf echo "net.ipv6.conf.default.disable_ipv6 = 1" >> /etc/sysctl.conf sysctl -p
Option B: Enable IPv6 in your VPC/Subnet
- Ensure your subnet has an IPv6 CIDR block assigned
- Verify your security groups allow IPv6 traffic
- Check that your route tables include IPv6 routes
2. Verify Network Connectivity
After addressing IPv6, test connectivity to the region servers:
# Test IPv4 connectivity to region server curl -I http://54.247.166.75 # Test HTTPS connectivity curl -I https://smt-ec2.susecloud.net
3. Re-register the Instance
Once connectivity is established:
# Clean up previous registration attempts SUSEConnect --cleanup registercloudguest --clean # Force new registration registercloudguest --force-new # Verify registration SUSEConnect -s
4. Additional Considerations for Cloned Instances
Since this is a cloned instance, ensure:
- The machine ID is unique (you've already done this ✓)
- Remove any cached registration data:
rm -rf /var/cache/cloudregister/* - Clear any stale SMT server entries from
/etc/hosts
Thanks for suggestions, unfortunately they did not help.
- I disabled IPv6 using permanent method
sysctl -p
fs.aio-max-nr = 18446744073709551615
vm.memory_failure_early_kill = 1
net.ipv4.tcp_max_syn_backlog = 8192
net.core.somaxconn = 4096
net.ipv4.tcp_window_scaling = 1
net.ipv4.tcp_slow_start_after_idle = 0
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
- Verify network connectivity:
curl -I http://54.247.166.75
HTTP/1.1 404 NOT FOUND
curl -I https://smt-ec2.susecloud.net
curl: (60) SSL certificate problem: unable to get local issuer certificate
- Reregistered instance using commands you suggested. Registration status:
SUSEConnect -s
[{"identifier":"SLES_SAP","version":"15.4","arch":"x86_64","status":"Not Registered"},{"identifier":"sle-ha","version":"15.4","arch":"x86_64","status":"Not Registered"},{"identifier":"sle-module-basesystem","version":"15.4","arch":"x86_64","status":"Not Registered"},{"identifier":"sle-module-containers","version":"15.4","arch":"x86_64","status":"Not Registered"},{"identifier":"sle-module-desktop-applications","version":"15.4","arch":"x86_64","status":"Not Registered"},{"identifier":"sle-module-development-tools","version":"15.4","arch":"x86_64","status":"Not Registered"},{"identifier":"sle-module-legacy","version":"15.4","arch":"x86_64","status":"Not Registered"},{"identifier":"sle-module-live-patching","version":"15.4","arch":"x86_64","status":"Not Registered"},{"identifier":"sle-module-public-cloud","version":"15.4","arch":"x86_64","status":"Not Registered"},{"identifier":"sle-module-python3","version":"15.4","arch":"x86_64","status":"Not Registered"},{"identifier":"sle-module-sap-applications","version":"15.4","arch":"x86_64","status":"Not Registered"},{"identifier":"sle-module-server-applications","version":"15.4","arch":"x86_64","status":"Not Registered"},{"identifier":"sle-module-web-scripting","version":"15.4","arch":"x86_64","status":"Not Registered"}]
- Additional considerations:
- deleted any cached registration data, and reregistered using commands 3).
- only SMT entry in /etc/hosts is the line I added manually
54.246.90.215 smt-ec2.susecloud.net. If it is removed, then connectivity test returns dns cannot be resolved error. - after ipv6 disable changes cloudregister logs did not change. They still show connection attempts using ipv6.
answered 10 months ago
Relevant content
asked 2 years ago
asked 3 years ago
asked 3 years ago
- AWS OFFICIALUpdated a year ago
