Frank的学习之路

RHCA_4.3_Cl220-01-03-配置provider和role

Adding a provider
provider是总管所有虚拟机的服务器
CloudForms 中的Cloud和infrastructure engine管理provider
infrastructure provider 为传统虚拟化架构的管理软件,如rhevm,vcenter
ssh root@rhevm.pod0.example.com
yum install rhevm-reports -y cloudforms收集信息
engine-setup
CloudForms从rhevm获取数据
vim /var/lib/pgsql/data/pg_hba.conf
0.0.0.0/0 md5
::1/0 trust 修改访问
vim postgresql.conf
listen_addresses = '*' 增加监听
cat /etc/issue
service postgresql restart
psql -U postgres -h localhost
create role cloudforms_history LOGIN unencrypted password 'redhat' superuser
valid until 'infinity';
cfme.pod0.example.com
admin/redhat 登陆
infrastructure---Prividers---Add New infrrastructure Provider
rhev
red hat enterprise virtualization
rhevm.pod0.example.com
172.25.0.11
443

443
admin@internal
redhat/redhat

C & U Database
cloudforms_history
redhat/redhat

配置服务器的关系
设置Chargeback Rates
管理用户和组
配置服务器的角色
使用SmartTags

CloudForms的基本设置
当CFME安装完成,需要设置全局配置
设置:Configure---Configuration---setting中找到配置
配置包括:公司名称;appliance名称;时区;NTP服务器;SMTP服务器;LDAP认证信息;
公司logo等

CloudForms的region:
CloudForms的region用以创建一个中心数据库,支持原创reporting和charting基于性能考虑
数据库不要用于运行任务,例如:SmartState Analysis或Capacity和Utilization数据收集
顶层region创建完毕,管理员可以创建下次regions
可以为每层region进行设置,包括收集集群和数据存储的状态信息
可以定义新的zone
可以定义Categories和SmartTags,也可以中午导入

CloudForms的zones:
CloudForms的Zones可以隔离网络流量和已功能角色来划分
CloudForms服务器
默认情况下CloudForms服务器放在default zone 中
管理员可按一下方式定义zones:
地理位置、网络位置、功能

CloudForms的roles:
roles定义了每个CloudForms服务器能做什么,还能做什么
在Server Control 帧中分配角色

服务器relationships:
为了让CloudForms Management Engine 功能正常,需要知道那个management engines
运行在哪个虚拟机上,有助于CloudForms指派操作到对应的management engines
infrastructure---Virtual Machines 中定义relationships
Configure按钮的下拉菜单提供了Edit Management Engine Relationship链接
CloudForms Configuration Setting Parameters
Company name red hat training
Appliance name My First EVM
NTP server classroom.example.com

设置Chargeback Rates
CME支持管理员为特定的资源使用费率
此特性针对审计用户,如不同部门的VM,CPU,内存和磁盘使用计费
针对虚拟机的使用费率,可以从真实的费率转换虚拟的费率,进行报表汇总

分配chargeback rates:
如果管理想分配不同的chargeback rates ,看可以访问:Cloud inteligence---Chargeback
---Assignment---选择分配Compute/Storage费率
可以以tags的形式分配给整个企业、独立集群、服务器、VM

Tab
sub Tab
frame
entry
accordion

管理用户和组
Cloudforms authetication management 由三个ACLs控制,每个ACL均由对应的region进行定义
User用以管理CloudForms appliance
Groups用以将Users进行分组,可以统一分配权限
Roles与Groups进行关联

Users:
User必须属于一个Group
User属性包含:a name,a user ID, a password, an email address ,和a group

Group:
Groups中包含Users,被分配roles和filters
每个Group只能分配一个role
filter定义了Group可以访问的hosts,clusters,或templates
Group的属性包含:a description ,a role,和一个或多个filters

Roles:
Roles定义了group的权限
每个Role包含3个可能的操作:view,Operate,和modify

CloudForms 添加用户的三种方式:
用户信息存储本地数据库中
用户的认证信息和角色信息存储在LDAP中心认证服务器
合并式:认证信息存储在LDAP中,用户认证信息和角色信息本地存储
Configure---Configuration---settings---Authentication

管理本地用户
configure---Configuration---Access Control

P52 Configuring Server Relationships

CloudForms Configuration Settings Parameters 服务器进行定义
configure--->configuration--->Server:EVM

Chargeback Rates 定义费率
Cloud Intelligence--->Charageback--->Rates--->Compute/Storage--->edit This Charageback
Rate/Add a New Chargeback Rate
rates compute RHEV compute chargeback
rates storage RHEV Storage chargeback
rates--->Asslgnments关联虚机
selectd Cloud/infrastructure Prividers
select Datastores

管理用户和组
CloudForms authentication management 由三个ACLS控制,每个ACL均由对应的region进行定义
Users用以管理CloudForms appliance
Groups用以User进行分组,可以统一分配权限
Roles与Groups进行关联

User必须属于一个Group
Group中包含Users,被分配roles和filters
每个Group只能分配一个role
filter定义了Group可以访问的hosts,clusters,和templates
Group的属性包含:a description,a role和一个或多个filters

Roles定义了group的权限
每个role可能的操作:view,Operate,modify

P62 Managing Users and Groups
role
configure--->configuration--->access_Control

配置服务器角色
每一个cfme appliance可以有多个角色,不是所有的appliance具有所有的角色
configure--->configuration--->Setting--->在Server Control中选择对应的role

P66

SmartTags
Tages Categories包含一个或多个tags
Show in Console:category是否可用
single Value:判断category使用时单一值,还是多选值

P71
创建tag
Configure--->configuration--->Settings(regions)--->Red Hat Training Categories




















返回顶部