Initial setup
-
SSH into your Microsoft Azure instance.
-
Switch to the root user and update the system.
sudo -i zypper refresh zypper update
1. Network Configuration
For SUSE Manager PAYG setup it is required, that a new Virtual Network and a new subnet is configured. It is impossible to setup the instance in an existing network. When you setup new clients which should be managed, take care that you put them into the private subnet which is configured with SUSE Manager PAYG.
If you want to manage systems in an already existing network, you must configure peering. |
-
Ensure the network configuration aligns such that
hostname -f
yields the identical name as the reverse DNS lookup of the private IP address. For instance, when executingnslookup 10.0.0.X
.
Insert the private IP with its Fully Qualified Domain Name (FQDN) into /etc/hosts
. For example:
10.0.0.4 instancename.internal.cloudapp.net
-
Edit
/etc/sysconfig/network/config
and appendinternal.cloudapp.net
toNETCONFIG_DNS_STATIC_SEARCHLIST
. -
Execute
netconfig update
. -
Subsequently,
hostname -f
should return the same FQDN as obtained fromnslookup 10.0.0.X
.
When adding new virtual machines (VMs), such as SUSE Linux Enterprise Server 15 SP5, it’s crucial to ensure that they are configured within the same subnet as the SUSE Manager instance. This step is essential for successful network setup and integration. Additionally, be mindful of the geographical restrictions associated with your plans. Make sure to utilize the appropriate Azure accounts which correspond to the specific geographic zones of your project. |
2. Configure Storage
-
SSH into your Microsoft Azure instance.
-
Switch to the root user and update the system.
sudo -i transactional-update
-
Reboot the system.
Configure storage with the mgr-storage-server
tool or in the case of the proxy use mgr-storage-proxy
. For more information, see mgr-storage-server --help
or mgr-storage-proxy --help
. This tool simplifies creating the container storage and database volumes.
-
Format the command in the following manner:
mgr-storage-server <storage-disk-device> [<database-disk-device>] #For example: mgr-storage-server /dev/nvme1n1 /dev/nvme2n1
This command will create the following persistent storage volumes at
/var/lib/containers/storage/volumes
:For more information, see 永久性存储卷列表.
-
As root run
mgradm install podman <FQDN>
to deploy.