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
Before initiating yast2 susemanager_setup
, ensure the network is correctly configured for Microsoft Azure.
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
-
Configure storage with the suma-storage tool. For help see:
suma-storage --help
This tool simplifies creating the storage disk device and database device.
Use lsblk
to see the names of your disk devices. You will see a list of partitions that were created when we configured the Microsoft Azure image.
-
Root partition 100 GB
-
Spacewalk storage 500 GB
-
Database storage 80 GB
-
Format the command in the following manner:
suma-storage <storage-disk-device> [<database-disk-device>] #For example: suma-storage /dev/nvme1n1 /dev/nvme2n1
This command will create the following storage locations:
/pgsql_storage /pgsql_storage/pgsql
/manager_storage /manager_storage/spacewalk
/var/spacewalk /var/cache/rhn /var/lib/spacewalk
-
Execute yast2 susemanager_setup
as root.
For more information on a typical SUSE Manager installation, see Server Setup.