导出虚拟机的OVF 模板
链接:https://pan.baidu.com/s/1zs_98ahjnEkHREsxrsK6Og提取代码:d
... 展开链接:https://pan.baidu.com/s/1zs_98ahjnEkHREsxrsK6Og
提取码:d8wg
###查看未注册的信息
Get-ExecutionPolicy -List
Scope ExecutionPolicy
----- ---------------
MachinePolicy Undefined
UserPolicy Undefined
Process Undefined
CurrentUser Undefined
LocalMachine Unrestricted
##注册本地机器
Set-ExecutionPolicy RemoteSigned
##连接vcenter
Connect-VIServer -Server 10.100.201.15 -username "administrator@vsphere.local"-Password "Huayun@123"
##导出末班ovf vm须关机
Export-VM -VM "DCM" -Destination "D:ova" -Format Ova
###事例
Welcome to VMware PowerCLI!
PowerCLI C:> Set-ExecutionPolicy remotesigned
执行策略更改
[Y] 是(Y) [A] 全是(A) [N] 否(N) [L] 全否(L) [S] 暂停(S) [?] 帮助 (默认值为“N”): Y
PowerCLI C:>
PowerCLI C:>
PowerCLI C:> Get-ExecutionPolicy -List
Scope ExecutionPolicy
----- ---------------
MachinePolicy Undefined
UserPolicy Undefined
Process Undefined
CurrentUser Undefined
LocalMachine RemoteSigned
PowerCLI C:> Connect-VIServer -Server 10.100.201.15 -username "administrator@vsphere.local"-Password "Huayun@123"
警告: There were one or more problems with the server certificate for the server 10.100.201.15:443:
* The X509 chain is invalid due to an invalid certificate signature.
Certificate: [Subject]
C=US, CN=10.100.201.15
[Issuer]
OU=VMware Engineering, O=photon-machine, S=California, C=US, DC=local, DC=vsphere, CN=CA
[Serial Number]
00D962E1E524C646F3
[Not Before]
2019/8/19 16:30:48
[Not After]
2029/8/13 16:29:42
[Thumbprint]
5886CD1DE7BB1185F872CC92332FA33A04850575
The server certificate is not valid.
Name Port User
---- ---- ----
10.100.201.15 443 VSPHERE.LOCALAdministrator
PowerCLI C:> get-vm
Name PowerState Num CPUs MemoryGB
---- ---------- -------- --------
ibms PoweredOn 4 8.000
zhaopei-win10 PoweredOn 4 12.000
DCM PoweredOff 4 8.000
exsi PoweredOn 4 12.000
yangxiaoliang2-请... PoweredOn 4 16.000
10.100.201.162-sh... PoweredOn 2 2.000
yangxiaoliang5-请... PoweredOn 4 16.000
yangxiaoliang4-请... PoweredOn 4 16.000
han_10.100.201.19... PoweredOn 4 48.000
zhaopei-图形化虚拟机 PoweredOn 8 16.000
10.100.201.161-sh... PoweredOn 2 2.000
hammerdb_windows PoweredOff 8 16.000
yangxiaoliang1-请... PoweredOn 4 16.000
zhaopei-k8s03 PoweredOff 2 4.000
windows PoweredOff 8 16.000
10.100.201.x-temp PoweredOff 2 2.000
windows10 PoweredOff 4 8.000
windows7-shixingwen PoweredOn 8 8.000
yangxiaoliang-模... PoweredOff 4 8.000
zhaopei-k8s02 PoweredOff 2 4.000
win7.sxf.test PoweredOff 8 16.000
yangxiaoliang6-请... PoweredOn 4 16.000
zhaopei-k8s01 PoweredOff 2 4.000
VMware vCenter Se... PoweredOn 2 10.000
yangxiaoliang请勿... PoweredOn 4 16.000
yangxiaoliang3-请... PoweredOn 4 16.000
zhaopei-ansible PoweredOn 2 4.000
zhaopei-node03 PoweredOn 4 8.000
zhaopei-compute03 PoweredOn 2 4.000
zhaopei-compute01 PoweredOn 2 4.000
ddtools PoweredOff 2 2.000
zhaopei-node02 PoweredOn 4 8.000
zhaopei-node01 PoweredOn 4 8.000
Haigang-Prometheus PoweredOn 2 4.000
han-10.100.214.195 PoweredOn 4 8.000
fio-tools PoweredOn 2 2.000
han-10.100.214.192 PoweredOff 2 4.000
han-10.100.214.191 PoweredOff 2 4.000
zhaopei-computer02 PoweredOn 2 4.000
PowerCLI C:> start-vm ddtools
Name PowerState Num CPUs MemoryGB
---- ---------- -------- --------
ddtools PoweredOn 2 2.000
PowerCLI C:> stop-vm ddtools
确认
[Y] 是(Y) [A] 全是(A) [N] 否(N) [L] 全否(L) [S] 暂停(S) [?] 帮助 (默认值为“Y”): Y
Name PowerState Num CPUs MemoryGB
---- ---------- -------- --------
ddtools PoweredOff 2 2.000
免责声明:文章转载自《导出虚拟机的OVF 模板》仅用于学习参考。如对内容有疑问,请及时联系本站处理。
宿迁高防,2C2G15M,22元/月;香港BGP,2C5G5M,25元/月 雨云优惠码:MjYwNzM=
相关文章
走进java
Java 技术体系 1.java技术语言 2.各种硬件平台上的java虚拟机 3.Class文件格式 4.Java API类库 5.来自商业机构和开源社区的第三方Java类库 我们把Java程序设计语言、Java虚拟机、Java API类库统称为JDK,JDK是用于支持Java开发的最小环境 可以把Java API中的Java SE API子集...
LINUX 下VirtrualBox安装
Technorati 标签: VirtrualBox 环境:REHL5.5 虚拟软件:Oracle VirtrualBox,免费 1. 下载 [root@INMSC4 soft]# wget http://dlc.sun.com.edgesuite.net/virtualbox/4.1.8/VirtualBox-4.1-4.1.8_75467_rhel5-...
安装centos虚拟机
新建虚拟机 自定义安装 自定义安装虚拟机兼容性稍后再安装操作系统适配的操作系统虚拟机命名以及存放地址,取101是表示后面固定ip为101处理器分配,随便分配一下,之后可以随时调整内存分配,之后可以随时调整网络类型选择,NAT表示虚拟机自己形成局域网,配置私有ip地址,访问外部通过NAT功能实现,用起来最方便跳过跳过跳过磁盘大小,我选择30GB跳过最后完成新...
网卡配置" style="box-sizing: border-box; background-color: transparent; color: rgb(51, 122, 183); text-decoration-line: none;">虚拟机克隆linux centos 6.5 系统网卡配置
作为一个刚刚接触linux系统的小白来说,VMware虚拟机安装好CentOS6.5系统后,纯净的系统多克隆几份出来方便后期做试验。克隆步骤很简单,克隆后出现的问题是克隆后的网卡MAC地址和原系统MAC地址一样,在局域网内会有冲突,需要更改克隆后的MAC地址,不然网卡起不起来。今天教大家如何修改,具体如下: 1、 首先进入原系统,使用命令查看网卡信息 2、...
Linux学习(1)--Linux虚拟机的安装
安装教程 参考地址:https://www.runoob.com/w3cnote/vmware-install-centos7.html VM虚拟机 下载地址:https://www.52pojie.cn/thread-1027984-1-1.html...
推荐本站淘宝优惠价购买喜欢的宝贝:
本文链接:https://hqyman.cn/post/3409.html 非本站原创文章欢迎转载,原创文章需保留本站地址!
休息一下~~