Initial setup

Procedure: Login and update the system
  1. SSH into your AWS instance.

  2. Switch to the root user and update the system.

    sudo -i
    zypper refresh
    zypper update
  3. Configure storage with the suma-storage tool.

    • For help see: suma-storage --help This tool simplifies creating the storage disk device and database device.

  4. Use lsblk to see the names of your disk devices. You will see a list of partitions that were created when we configured the AWS image.

    • Root partition 100 GB

    • Spacewalk storage 500 GB

    • Database storage 80 GB

  5. 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
Run setup

Execute yast2 susemanager_setup as root.