In
Lab 4 - Power User Portal, you learned how to provision virtual machines in the user portal when you have power user privileges. In this lab however, you will log in to the user portal using the same web address but with a different domain. In particular, this lab pertains to the use of Windows virtual desktops and pools, which require users to be configured in Active Directory.
For desktop users, the Red Hat Enterprise Virtualization user portal is simply a one-stop platform to access one or more virtual machines. This portal is suitable for desktop end users who have little need to make configuration changes to their virtual machines. At the end of this lab you will have created Windows virtual machines and pools, and be able to connect to virtual machines from the basic user portal.
This lab takes you through the tasks necessary to create and then connect to a Windows virtual machine or desktop pool with UserRole privileges. This lab should take you about 50 minutes.
Section 7, “Use Virtual Desktop Pools” shows you how to create a Windows desktop pool, assign UserRole permission for the desktop pool and how to connect to a virtual machine in a pool. (10 minutes)
Active Directory domain. The name used in this lab is addomain.demo.redhat.com
.
An Active Directory user with permissions to query and add machines to the domain. The name used in this lab is desktopsadmin
.
A regular Active Directory user. The name used in this lab is desktopuser
.
A Windows installation image and a volume license key.
1. Add Active Directory Domain
Previously, you have used the internal
domain, and learned how to add an IPA domain to the Red Hat Enterprise Virtualization Manager. In addition to IPA, Active Directory is also supported. This lab teaches you how to use Active Directory to authenticate users.
To add an Active Directory domain
Log in to the Red Hat Enterprise Virtualization Manager server console.
Run the following command, and provide the domain administrator password when prompted:
# rhevm-manage-domains -action=add -domain=addomain.demo.redhat.com -user=desktopsadmin -interactive
Restart the service for the changes to be applied across the system.
# service jbossas restart
Restarting the JBoss service disconnects you from the administration portal. After a few minutes, the restart completes, and you can log back in to the administration portal.
Refresh the administration portal login screen. On the drop-down menu, you now have three domains — the internal domain, the IPA domain, and the new Active Directory domain. Log in to the portal as the admin
user with the internal
domain.