当前位置:网站首页>(1) Cloud computing technology learning - virtualized vSphere learning
(1) Cloud computing technology learning - virtualized vSphere learning
2022-07-30 16:10:00 【silver icy moon】
Virtualization works by running a program called a hypervisor directly on top of the physical server's hardware or host operating system(Hypervisor)的虚拟化系统.通过虚拟机管理程序,Multiple operating systems can run concurrently on a single physical server,Shared server hardware resources.
虚拟机管理程序Hypervisor一般分为两类:类型1(裸金属架构)和类型2(寄居架构).
类型1The hypervisor runs directly on top of the hardware,也称为裸金属架构(Bare Metal Architecture),如VMware ESXi、微软Hyper-V、开源的KVM(Linux内核的一部分)和Xen等.
类型2A hypervisor requires the host to have an operating system installed,Provided by the host operating systemI/ODevice support and memory management,Also known as sojourn architecture(Hosted Architecture),如VMware Workstation、Oracle VM Virtualbox和QEMU等.
vSphereNot a single piece of software,Rather, it is a virtualization solution consisting of multiple pieces of software,If vague,vSphere就是ESXI,只是叫法不同,But strictly speaking, the two are different,简单来说:
1、ESXi只是vSphere里的一个组件,vSphere 的两个核心组件是ESXi和vCenter Server,vSphere是包含了ESXi.
2、VMware vSphere 有各种版本,而我们平常说的ESXi Free(免费)version strictly speaking:指的应该是 VMware vSphere Hypervisor 这个.
3、通常VMware vSphere又称ESX,VMware vSphere Hypervisor又称ESXi,ESXi功能上比ESX少一点.
VMware ESXi 安装文件可以从VMware的官方网站上直接下载(A valid email address is required when registering),下载得到的是一个iso 文件,可以刻录成光盘或量产到U盘使用,由于ESXi 本身就是一个操作系统(Linux内核),So use it to boot the system during initial installation;
vSphere 的两个核心组件是ESXi和vCenter Server.
ESXi是用于创建并运行虚拟机和虚拟设备的虚拟化平台.VMware ESXiIs a hypervisor installed on a physical server,Used to manage the underlying hardware resources.安装ESXiThe physical server is called ESXi主机,ESXiThe host is the foundation and core of the virtualization architecture,ESXiMultiple operating systems can run on a single physical server.
vCenter Server是一项服务,用于管理网络中连接的多个主机,并将主机资源池化.
ESXiis installed directly on the physical machine,是采用LinuxA virtualization-specific operating system for the kernel.EsxiA host is a physical host where a physical machine really exists(Of course it can also be a virtual machine),In fact, it is a computer with a system installed.ESXI是一个系统,就跟windows,linuxThe same system as a system.

Win10系统安装了VMware Workstation,然后创建一台虚拟机,安装了VMware ESXi 6.7系统.之后通过web页面创建2台虚拟机,Because managing virtual machines in the browser is very inconvenient,因此现在使用VMRCControl and manage these two virtual machines.

1.首先下载VMRC 官网链接,然后进行安装.

2.在浏览器中输入 vmrc://192.168.233.200/?moid=1
这里的ip是ESXi的地址,moid后面的数字id是虚拟机的id,这个idThe acquisition will be discussed later,Then a pop-up box will pop up to enter your username and password,means loginESXi的用户名和密码
After the connection is successful, the command line management interface of the virtual machine is displayed,It is more convenient than controlling in the browser.

3.How to get a virtual machineid?如果少,Usually you can guess,但是在真正的项目中,id需要查询.The query method is usedPowerCLI查询.
Win10The system can download the installer
,然后双击进行安装,Then open the desktop icon
,Wait for a while for the loading to complete,便可以使用

另外一种方式是通过Powershell启动:在线安装,It's almost impossible if you don't get over the wall,So take offline installation,先下载安装包官网地址 .步骤如下,可以参考:通过微软PowerShell直接运行VMware PowerCLI
这里一定要注意:Unzip the entire contents of the compressed package to the required path,Then run the following commands to install and queryid
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Import-Module VMware.PowerCLI
Connect-VIServer -Server 192.168.233.200 -Protocol https -u 'root' -Password '123'
Get-VM
Get-VM | ft -Property Name,ID


VirtualMachineThe numbers that follow are virtual machinesid

Various problems were encountered during the process,Find a few better links below,Another problem is the linkserver的时候出错 Connect-VIServer Error: Invalid server certificate,即使设置为false也无效,后面把protocol改为https即可解决问题.

边栏推荐
- php如何去除字符串最后一位字符
- When the vite multi-page application refreshes the page, it will not be in the current route and will return to the root route
- 【HMS core】【FAQ】Account、IAP、Location Kit and HarmonyOS典型问题合集1
- FME realizes the method of converting CAD with attribute to SHP data
- [AGC] Quality Service 1 - Example of Crash Service
- How to remove first character from php string
- php如何查询字符串出现位置
- tiup list
- Introduction to TiUP
- Manage components using TiUP commands
猜你喜欢
随机推荐
PCIE入门
[HMS core] [FAQ] A collection of typical questions about push kit, analysis services, and video editing services 3
RobotStudio实现喷漆、打磨等功能(曲面路径生成与仿真)
路遇又一个流量风口,民宿长期向好的逻辑选对了吗
Windows MySQL 安装配置
【HMS core】【FAQ】Account、IAP、Location Kit and HarmonyOS典型问题合集1
在树莓派上驱动CSI摄像头
【AGC】质量服务2-性能管理示例
近段时间的学习碎片整理(24)
Pytorch 训练技巧
flask获取post请求参数
Leetcode 119. 杨辉三角 II
【SOC】经典输出hello world
几种常见的存储器
Promise Notes (1)
MySql 和 PostgreSQL 数据库 根据一张表update另一张表数据
【Linux操作系统】 虚拟文件系统 | 文件缓存
AL遮天传 DL-深度学习模型的训练技巧
70 lines of code, a desktop automatic translation artifact
Data Analysis Tools - DDL operations & DML operations in HQL









