Registering Clients on a Public Cloud
When you have your SUSE Manager Server set up, you are ready to start registering clients.
1. Add Products and Synchronize Repositories
Ensure you have already added the corresponding products for your clients and synced the repositories to SUSE Manager. This is required to create the bootstrap repositories used for registering clients.
For more information, see Public Cloud Guide.
2. Prepare On-demand Images
An instance started from an on-demand image provided by SUSE is automatically registered, and the update infrastructure and SUSE Linux Enterprise modules are activated. To use your on-demand image as a SUSE Manager client, you need to disable this automation before you begin.
-
Log in to the on-demand instance.
-
At the command prompt, as root, remove the registration data and repositories:
registercloudguest --clean
-
Remove the trigger service for automatic registration:
systemctl disable guestregister.service
-
in Microsoft Azure, there is an additional service that needs to be disabled:
systemctl disable regionsrv-enabler-azure.timer
3. Register Clients
In the SUSE Manager Web UI, navigate to Host
, SSH Port
, User
, and Password
fields.
Make sure you use stable FQDNs for the Host
field, or SUSE Manager cannot find your host when your Public Cloud gives you a different short-lived FQDNS.
Public cloud images usually do not allow SSH login with username and password, but only SSH with a certificate. If you want to use bootstrap from the Web UI, you need to enable SSH login with username and SSH key. You can do this by navigating to
and changing the authentication method.If your cloud provider is Microsoft Azure, you can log in with username and password.
To do this, you need to allow the AzureUser to run commands as root without a password.
To do this, open the /etc/sudoers.d/waagent
file, and add or edit this line:
AzureUser ALL=(ALL) NOPASSWD: ALL
Allowing the AzureUser to run commands as root without a password carries a security risk. Use this method for testing only. Do not do this for production systems. |
When the bootstrap process has completed successfully, your client is listed at
.-
If you want more control over the process or have to register many clients, create a bootstrap script. For more information, see Register Clients with a Bootstrap Script.
-
For Salt clients and even more control over the process, executing single commands on the command line can be useful. For more information, see Register Clients on the Command Line.
-
When registering clients launched from a public cloud image (for example, AWS AMI), you need to do some additional configuration to prevent them from over-writing each other. For more information about registering clones, see Troubleshooting Registering Cloned Clients.
4. Activation Keys
Activation keys are used to ensure that your clients have the correct software entitlements, are connecting to the appropriate channels, and are subscribed to the relevant groups. Each activation key is bound to an organization, which you can set when you create the key.
For more on activation keys, see Activation Keys.