Showing posts with label I T. Show all posts
Showing posts with label I T. Show all posts

Deploying the Veeam Hardened Repository ISO 2.0

 

 Repair mode

• Re-installs only the OS while keeping the data partitions intact.
• Please note that repair functionality cannot be used for migrations from Ubuntu or any other Linux distributions. The system will fail to boot and you would need to fix /etc/fstab manually.

Live boot
• Provides a live system for troubleshooting. It’s mainly built for use by Veeam support, however experienced Linux users can also use this for example for performance testing with fio or iperf.
• There are three scripts to mount data disk, operating system disk and collect hardware information in the home directory of vhradmin.

Fully automated installation / Zero-touch installation
• This uses regular kickstart and was designed to allow mass deployments or unattended (lab) installations. Public documentation can be created depending on demand. In general, the kickstart documentation from Red Hat can be used.
• To get “zero touch installations” working, add auto=1 to the kernel parameters in the grub bootloader. In the ks.cfg ensure to set keyboard layout, time zone and disable the cdrom installation source.

The following other changes were implemented in version 2 which are not really “features”
• System requirements change: the operating system disk must be the smallest disk. This is to ensure “repair” deletes the right disk.
• IPv6 DHCP support (UDP port 546 is open now).
• Allow “ping” with rate limit of 5 pings per second for easier troubleshooting.
• Additional warnings before installation / repair formats disks.
• Help text was adjusted.
• Network configuration is now mandatory.
• The “installation destination” button is non-clickable anymore to avoid confusion with that wizard.
• The “pre-release” warning was removed.
• the faillock configuration was changed so that a locked user will get unlocked automatically after 1min


Now you start the deployment. First you boot up your system with this ISO.

You can see the Rocky Linux 9 installation GUI.

Setup the Network & Host Name. In my case, I only setup one Ethernet adapter for this Veeam Hardened Repository. If it is the production environment, suggest to setup the network bonding with two Ethernet uplinks.

Then setup the Keyboard and Time & Date. Click the “Begin Installation“.

Click Yes.

When the installation is completed, click “Reboot System“.

Boot up the Ricky Linux.

After rebooting the system, you need to provide the default credentials vhradmin / vhradmin.

And You’ll then be forced to change the default passwords.

Then click Accept the Veeam License Agreement.

You need to start the SSH service, then it creates a single-use SSH password.

Now new VHR has been successfully deployed and is ready for use.

Now you can go to the Veeam Console > Backup Infrastructure > Backup Repositories and click the “Add Backup Repository” button and select “Direct attached storage”.

Select Linux (Hardened Repository).

Specify the IP address for our new VHR server, click Next.

Input those single-use SSH credentials that the VHR generated, click Add.

After verifying that the SSH key fingerprint matches that provided by the VHR and click Yes and then Apply.

Click Finish.

Now that the Veeam services are installed on the server and it is managed by Veeam, it’s time to deploy the VHR.

Select the Browse button. You’ll find a folder pre-created at /mnt/veeam-repository01.

Then click Next. Veeam will validate that the requirements are met for a hardened XFS repository. In my case, keep the default settings.

Next you’ll be prompted to select a mount server and then click Next.

Click Apply.

Click Next.

Click Finish.

Now I recommend disabling SSH service. Back to the Main Menu, select “Stop SSH”, confirm by selecting “Yes” and validate that the service was stopped successfully.

Finally the deployment of Veeam Hardened Repository is completed. You can now setup a Backup job to start to test the immutable space feature.

Kemp virtual load balancer

 

Configure Kemp LoadMaster

Start a web browser and navigate to the Kemp IP address. Insert the IP address that shows up in the Kemp LoadMaster console. In our example, it’s https://192.168.1.43. You will get a certificate warning, which you can accept.


Configure Kemp virtual load balancer warningAccept License (EULA)

Scroll down the page and Agree to the Licensing (EULA).

Configure Kemp virtual load balancer licensing (EULA)

License Kemp LoadMaster

Fill in the email address and password that you did register on Kemp’s website. Click License Now.

Configure Kemp virtual load balancer Kemp ID and password

Kemp virtual load balancer will check for your ID in their system. You can choose if you want the 30 days trial or the free version. In our example, we did select the Free LoadMaster, which is Kemp’s free virtual load balancer. Click Continue.

Configure Kemp virtual load balancer license types

You will see the message that the license is validated. Click Continue.

Kemp did send an email that the Loadmaster is licensed.

Set default account password

Configure a password for the default account “bal“. Click Set Password.

Configure Kemp virtual load balancer password required

You did set the password for the default account “bal“. Click Continue.

Log in to Kemp LoadMaster

Specify the credentials and click on Login to enter.

Configure Kemp virtual load balancer login

You will see the home screen of Kemp LoadMaster.

Configure Kemp virtual load balancer home

Set Kemp LoadMaster IP address

Change the IP address of Kemp LoadMaster. Click in the navigation menu on the left side of the screen on System Configuration > Network Setup > Interfaces > eth0. Type an available IP and click Set Address. We will deploy a one-arm configuration.

Configure Kemp virtual load balancer IP address

Reserve the IP address in the DHCP server. In our example, the Windows Server DHCP server is running on a domain controller. This way, you will not have another device that will take the same IP address as the Kemp load balancer.

Set Kemp LoadMaster hostname and DNS configuration

Click on Host & DNS Configuration in the left menu. Set a Hostname, for example, KLB01 (Kemp Load Balancer 01). After that, set the DNS NameServer (IP Address). In our example, it’s the Windows DNS server.

Configure Kemp virtual load balancer hostname and DNS nameserver

Add the Kemp virtual load balancer DNS hostname KLB01 to your DNS server. In our example, the domain controller got the DNS role installed. This way, you can always do a DNS lookup for the IP address. Verify that it works by pinging the Kemp load balancer hostname. You will get a response from the IP address.

Set Kemp LoadMaster Default Gateway

Click in the left menu on Default Gateway. Set the IPv4 default gateway address. Click Set IPv4 Default Gateway.Configure Kemp virtual load balancer default gateway

Set Kemp LoadMaster Date and Time

Click on System Administration > Date / Time. Set the time zone and click on Set time zone. You can use an NTP host if you like.

Add another user account

We recommend setting a second user account with admin rights. This way, you always have a backup just in case.

In the left menu, click on User Management. Add a username, password, and click Add User.

Configure Kemp virtual load balancer add user

You can see the user with the permissions Read Only. Click on Modify.

Configure Kemp virtual load balancer modify user

Select the checkbox All Permissions. Click on Set Permissions.

Configure Kemp virtual load balancer set user permissions

The user account is set with All Permissions.

That’s it. Everything is ready.