oVirt user portal Using Virtual Machines permission

前面都是在web admin下对虚拟机进行管理, 实际上, 一个虚拟化环境可能由多个客户在使用, 如何隔离客户之间的访问资源, 通过虚拟机的permission来管理, 为客户分配不同的用户, 将虚拟机的permission分配给不同的客户.

客户连接的是user portal , 不是web admin.

例如

https://172.16.3.176/ovirt-engine/userportal

管理

https://172.16.3.176/ovirt-engine/webadmin

Using Virtual Machines

Now that you have created several running virtual machines, you can assign users to access them from the user portal. You can use virtual machines the same way you would use a physical desktop.

Assign User Permissions

oVirt has a sophisticated multi-level administration system, in which customized permissions for each system component can be assigned to different users as necessary. For instance, to access a virtual machine from the user portal, a user must have either UserRole or PowerUserRole permissions for the virtual machine. These permissions are added from the manager administration portal. For more information on the levels of user permissions refer to the oVirt Administration Guide.

To assign PowerUserRole permissions

1. Navigate to the Tree pane and click Expand All. Click the VMs icon under the Default cluster. On the Virtual Machines tab, select the virtual machine you would like to assign a user to.

2. On the Details pane, navigate to the Permissions tab. Click the Add button.

3. The Add Permission to User dialog displays. Enter a Name, or User Name, or part thereof in the Search textbox, and click Go. A list of possible matches display in the results list.


 

Figure 18. Add PowerUserRole Permission

4. Select the check box of the user to be assigned the permissions. Scroll through the Assign role to user list and select PowerUserRole. Click OK.

Log in to the User Portal

Now that you have assigned PowerUserRole permissions on a virtual machine to the user named admin, you can access the virtual machine from the user portal. To log in to the user portal, all you need is a Linux client running Mozilla Firefox.

If you are using a Fedora client, install the SPICE plug-in before logging in to the User Portal. Run:

   # yum install spice-xpi

To log in to the User Portal

1. Open your browser and navigate to https://domain.example.com/UserPortal. Substitute domain.example.com with the oVirt Engine server address.

2. The login screen displays. Enter your User Name and Password, and click Login.

You have now logged into the user portal. As you have PowerUserRole permissions, you are taken by default to the Extended User Portal, where you can create and manage virtual machines in addition to using them. This portal is ideal if you are a system administrator who has to provision multiple virtual machines for yourself or other users in your environment.

Note: When launching SPICE consoles use SHIFT+F11 to switch to fullscreen mode and SHIFT+F12 to release the mouse cursor.


 

Figure 19. The Extended User Portal

You can also toggle to the Basic User Portal, which is the default (and only) display for users with UserRole permissions. This portal allows users to access and use virtual machines, and is ideal for everyday users who do not need to make configuration changes to the system. For more information, see the oVirt User Portal Guide.


 

Figure 20. The Basic User Portal

You have now completed the Quick Start Guide, and successfully set up oVirt.

时间: 2024-09-26 06:11:38

oVirt user portal Using Virtual Machines permission的相关文章

在Windows Azure Virtual Machines快速建立虚拟机

以下内容示范如何在云端快速建立一个 http://www.aliyun.com/zixun/aggregation/13975.html">Windows Server 2008 R2 之虚拟机,首先您必须已经开启了 Windows Azure三个月免费试用的测试账号,并且已经启用了技术预览功能 Windows Azure Virtual Machines,倘若您尚未开启 Windows Azure 账号,可准备一张信用卡并至 http://www.windowsazure.com/zh-

Windows Azure Virtual Machines设置IIS 7.5 FTP

当 Windows http://www.aliyun.com/zixun/aggregation/13357.html">Azure Virtual Machines 上启用了 Windows Server 2008 R2 的虚拟机之后,大部份的用户都会需要将档案,程序等传上云端的需求.接下来介绍如何在 Windows Azure Virtual Machines 内的 Windows Server 2008 R2 内启用FTP 文件传输服务. 为了示范我们建立一个名为 MyFTP 的

oVirt Reports Portal 3.4 added to ovirt-engine

配置完oVirt engine后, 可以进行用户管理和虚拟化平台的管理, 但是无法生成报告. 如图, 点击Reports Portal会告诉你没有安装report application. 安装ovirt engine可参考昨天发的一篇文章. http://blog.163.com/digoal@126/blog/static/1638770402014628114756319/ engine report建议在engine配置前就安装, 那么只需engine-setup时可以直接配置. 现在的

Azure Virtual Machines 如何设定内部静态 IP 地址

什么是静态 IP 地址? &http://www.aliyun.com/zixun/aggregation/37954.html">nbsp; 随着最新版本的 PowerShell 出现,您现在可以定义和配置 Microsoft Azure 虚拟网络 ( Virtual Network ) 内部静态 IP 地址,并且将其分配给一个该虚拟网络下的 IaaS 虚拟机.当一个静态的内部 IP 地址配置给虚拟机之后,无论虚拟机目前是在启动状态或是停止状态,都可以永远保有这个内部 IP 地址

Create a Fedora Virtual Machine in oVirt

Create a Fedora Virtual Machine 1. From the navigation tabs, select Virtual Machines. On the Virtual Machines tab, click New VM. 2. The "New Virtual Machine" popup appears.   Figure 6: Create new linux virtual machine 3. Under General, your defa

oVirt Architecture

[原文] http://www.ovirt.org/Architecture Architecture   Contents  [hide]  1 oVirt Architecture 1.1 Overall architecture 1.2 Engine 1.2.1 Engine-Core Architecture 1.3 Host Agent (VDSM) 1.3.1 Hooks mechanism 1.3.2 MOM integration 1.4 Web-based User Inter

Windows Azure Virtual Machine (3) 在VM上挂载磁盘

在前一章里我已经向大家介绍了如何创建一个预安装SQL Server 2012的Windows Server VM. 本章我将介绍如何在这个VM上挂载磁盘. 看到这里,有读者可能会产生疑问:为什么在这里要介绍挂载磁盘的功能呢?在这里笔者先简单的介绍一下概念: 在一些现有的系统里,对于系统盘(比如C盘)的操作比较少,而大部分情况下是对除系统盘以外的其他盘符(比如 F盘 G盘等)做读写操作. 我们可以按照上一章的内容,远程登录Windows Azure的Virtual Machine.我们看到默认的磁

oVirt guest | VM & HOST HA in one Cluster

oVirt支持虚拟机的HA配置, 当集群中有合适的机器可以接管failed的宿主机上的虚拟机时, 这些虚拟机会自动在同集群下的合适的主机上运行. 但是有几个前提条件 :  1. Power management must be configured for the hosts running the highly available virtual machines. 需要配置HA的虚拟机, 它的宿主机的电源管理必须配置. 2. The host running the highly avail

oVirt VM (CentOS) template & clone

Using Templates Now that you know how to create a virtual machine, you can save its settings into a template. This template will retain the original virtual machine's configurations, including virtual disk and network interface settings, operating sy