vRealize Automation 8.x 基础配置和云模板部署

vRealize Automation Cloud Assembly是一项云模板开发和部署的服务。

以下是我们要构建和部署第一个云模板的步骤。

1.创建云帐户

2.创建云区域

3.创建项目

4.创建特定实例映射

5.创建映像映射

6.创建和部署云模板

在下面的流程图中可以看到上述过程。

 

创建云帐户:
1、以云账户登录到管理平台,云帐户可以管理公共云和本地数据中心。

2、转到Cloud Assembly>基础架构>连接>云账户,选择选项以添加云帐户,在本例中为vCenter。

输入云帐户名称和描述,提供地址和云凭据,然后单击验证。

成功验证后,选择允许置备的数据中心,并选择NSX端点(如果已创建)。

添加适用的功能标签(后续会使用到),点击添加按钮。

现在,应该可以看到已添加的帐户,如下所示。

创建云区域:

转到Cloud Assembly>基础架构>配置> 云区域,然后单击新建云区域。

选择一个帐户/区域,然后输入名称和描述。

选择一个放置策略,该策略定义如何在此云区域中的主机之间分配资源。

放置策略说明:

1、DEFAULT - 将计算资源放置在随机主机上。

2、BINPACK - 将计算资源放置在负载最多但仍有足够资源运行给定计算资源的主机上。

3、SPREAD - 在部署级别将计算资源置备到虚拟机数量最少的集群或主机。对于 vSphere,Distributed Resource Scheduler (DRS) 会在主机之间分发虚拟机。

添加适用的功能标签。

单击“计算”选项卡,然后查看此云区域中的计算资源。如果您不想使用所有计算资源,则可以手动选择所需的计算资源,在下拉菜单中添加即可。

点击保存,您将看到如下:

创建项目:

创建一个项目将您的用户与云帐户区域链接起来,以便他们可以将应用程序模板和蓝图连同网络和存储资源一起部署到您的 vCenter Server 实例中。

转到Cloud Assembly>基础架构>配置>项目,然后单击新建项目。

在“摘要”选项卡上输入项目信息。对于此安装示例,项目名称为Devops

单击“用户角色”选项卡,然后添加用户或者组,将该项目与该用户或者组进行关联。

单击置备选项卡,然后添加一个或多个区域。所选区域必须具有适当的基础架构资源以支持项目目标。如果只是入门,请暂时忽略“限制”和“自定义属性”。后续可以返回并在以后根据需要添加它们。

创建实例映射:

转到Cloud Assembly>基础架构>配置>特定实例映射,然后单击新建特定实例映射。

输入一个新的名称,在账户/区域中单击并选择可用的云帐户/区域,指定计算值。

单击(+)为每个可用的云帐户/区域添加另一个相同大小的实例,单击创建以创建映射。

 

创建映像映射:

转至Cloud Assembly>基础架构>配置>映像映射,然后单击新建映像映射。

输入新的映像名称,例如CentOS-7.8。单击“帐户/区域”,然后选择可用的云帐户/区域之一。

单击“映像”,然后从搜索框中选择模板CentOS-7.8,即可完成VC虚拟机模板与映像的映射。

创建和部署蓝图:

蓝图是您部署的资源的规范。部署后,您可以不断改进和迭代蓝图。

转到Cloud Assembly>设计>云模板,然后单击新建-空白画布,输入名称,选择一个项目,然后单击创建,它将打开一个设计画布向导。

此设置中的蓝图和项目示例为CentOS-7.8和Devops。

将所需要的组件拖到画布上,编辑代码以配置属性。

例如,下面的YAML代码为云中虚拟机添加了特定实例映射和操作系统映像。

准备好云模板后,请点击“测试”以测试模板。如果一切正确,测试将成功。现在通过单击部署来部署第一个蓝图。

可以从Cloud Assembly中的“部署”选项卡查看部署状态。

现在可以看到虚拟机已成功部署,并且已经分配了IP地址。

 

  • 0
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
Learn the fundamentals of vRealize Automation to accelerate the delivery of your IT services About This Book Learn to install the vRealize Automation product in a distributed architecture using a load balancer Plan backup and recovery strategies for every vRealize automation component Use vRealize Automation to manage applications and improve operational efficiency using this simple and intuitive guide Who This Book Is For This book is for anyone who wants to start their journey with vRealize Automation. It is your one-stop instruction guide to installing and configuring a distributed setup using NSX load balancer. Regardless of whether or not you have used vRealize Automation before, following the steps provided in each chapter will get you started with the product. What You Will Learn Understand the basic building blocks of vRealize Automation before embarking on the journey of installation Familiarize yourself with the requirements and steps that need to be performed during the first phase of the distributed installation Carry out a functional validation of the first phase of installation before completing the installation Build a blueprint for vSphere endpoint, an essential step for a successful deployment of a service catalog Create, configure, and deploy tenants, endpoints, blueprints, and the service catalog Get to grips with the failover process for all components in vRealize Automation Learn to configure the NSX loadbalancer for vRealize Orchestrator for high availability Leverage ASD to develop XaaS (Anything as a Service) in vRealize Automation to deliver valuable competence In Detail With the growing interest in Software Defined Data Centers (SDDC), vRealize Automation offers data center users an organized service catalog and governance for administrators. This way, end users gain autonomy while the IT department stays in control, making sure security and compliance requirements are met. Learning what each component does and how they dovetail with each other will bolster your understanding of vRealize Automation. The book starts off with an introduction to the distributed architecture that has been tested and installed in large scale deployments. Implementing and configuring distributed architecture with custom certificates is unarguably a demanding task, and it will be covered next. After this, we will progress with the installation. A vRealize Automation blueprint can be prepared in multiple ways; we will focus solely on vSphere endpoint blueprint. After this, we will discuss the high availability configuration via NSX loadbalancer for vRealize Orchestrator. Finally, we end with Advanced Service Designer, which provides service architects with the ability to create advanced services and publish them as catalog items. Style and approach This book takes a step-by-step approach, is explained in a conversational and easy-to-follow style, and includes ample screenshots . Each topic is explained sequentially through planning, preparing, installing, configuring, and validating of all vRealize Automation's components. Table of Contents Chapter 1. vRealize Automation and the Deconstruction of Components Chapter 2. Distributed Installation Using Custom Certificates Chapter 3. Functional Validation – Phase 1 and Installing Secondary Nodes Chapter 4. Configuring a Guest OS for vRealize Automation vSphere Blueprints Chapter 5. Functional Validation – Phase 2 and Zero to VM Provisioning Chapter 6. Testing Failover Scenarios for vRealize Automation Components Chapter 7. vRealize Orchestrator in High Availability via the NSX Load Balancer Chapter 8. The Power of Advanced Service Designer (ASD)
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值