当前位置: 首页 > news >正文

淘宝提货网站怎么做的百度非企推广开户

淘宝提货网站怎么做的,百度非企推广开户,网站添加友情链接,海盐市网站建设1.1.1 ESXI将虚拟机导出 导出ova模板 将导出的ova模板导入到KVM环境中。 1.1.2 配置KVM环境 详情参考:http://www.cnblogs.com/clsn/p/8366251.html 安装所需要的组件 [rootclsn7 ~]# yum install libvirt* virt-* qemu-kvm* -y 配置桥接网卡 [rootclsn7 ~]# virsh …

1.1.1 ESXI将虚拟机导出

 

   导出ova模板

   将导出的ova模板导入到KVM环境中。

1.1.2 配置KVM环境

详情参考:http://www.cnblogs.com/clsn/p/8366251.html

安装所需要的组件

[root@clsn7 ~]# yum install libvirt* virt-* qemu-kvm* -y

配置桥接网卡

[root@clsn7 ~]# virsh iface-bridge eth1 br1 
使用附加设备 br1 生成桥接 eth1 失败
已启动桥接接口 br1

1.1.3 导入虚拟机

启动kvm管理程序,并设置开机自启动

[root@clsn7 ~]# systemctl start libvirtd.service
[root@clsn7 ~]# systemctl enable libvirtd.service

   创建虚拟机存放目录

[root@clsn7 ~]# virt-v2v -i ova centos-dev-test01-v2v.ova -o local -os /vmhost/dev/dev-test01  -of qcow2 
[   0.0] Opening the source -i ova centos-dev-test01-v2v.ova
virt-v2v: warning: making OVA directory public readable to work around 
libvirt bug https://bugzilla.redhat.com/1045069
[  23.1] Creating an overlay to protect the source from being modified
[  23.4] Initializing the target -o local -os /vmhost/dev/dev-test01
[  23.4] Opening the overlay
[  41.4] Inspecting the overlay
[  57.5] Checking for sufficient free disk space in the guest
[  57.5] Estimating space required on target for each disk
[  57.5] Converting CentOS release 6.9 (Final) to run on KVM
virt-v2v: This guest has virtio drivers installed.
[ 178.6] Mapping filesystem data to avoid copying unused and blank areas
[ 178.9] Closing the overlay
[ 179.4] Checking if the guest needs BIOS or UEFI to boot
[ 179.4] Assigning disks to buses
[ 179.4] Copying disk 1/1 to /vmhost/dev/dev-test01/centos-dev-test01-v2v-sda (qcow2)(100.00/100%)
[ 216.1] Creating output metadata
[ 216.1] Finishing off

导入完成后在 /vmhost/dev/dev-test01 目录下会生成文件

[root@clsn7 dev-test01]# pwd
/vmhost/dev/dev-test01
[root@clsn7 dev-test01]# ls
centos-dev-test01-v2v-sda  centos-dev-test01-v2v.xml

修改网卡配置

  修改网卡source network 为桥接

  修改网卡使用virtio

[root@clsn7 dev-test01]# cat centos-dev-test01-v2v.xml 
<?xml version='1.0' encoding='utf-8'?>
<domain type='kvm'><!-- generated by virt-v2v 1.36.3rhel=7,release=6.el7_4.3,libvirt --><name>centos-dev-test01-v2v</name><memory unit='KiB'>524288</memory><currentMemory unit='KiB'>524288</currentMemory><vcpu>1</vcpu><features><acpi/><apic/></features><os><type arch='x86_64'>hvm</type></os><on_poweroff>destroy</on_poweroff><on_reboot>restart</on_reboot><on_crash>restart</on_crash><devices><disk type='file' device='disk'><driver name='qemu' type='qcow2' cache='none'/><source file='/vmhost/dev/dev-test01/centos-dev-test01-v2v-sda'/><target dev='vda' bus='virtio'/></disk><disk device='cdrom' type='file'><driver name='qemu' type='raw'/><target dev='hda' bus='ide'/></disk><disk device='floppy' type='file'><driver name='qemu' type='raw'/><target dev='fda'/></disk>
    <interface type='bridge'><source bridge='br1'/><model type='virtio'/><address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/></interface><video><model type='qxl' ram='65536' heads='1'/></video><graphics type='vnc' autoport='yes' port='-1'/><input type='tablet' bus='usb'/><input type='mouse' bus='ps2'/><console type='pty'/></devices>
</domain>

1.1.4 启动虚拟机

导入主机

[root@clsn7 dev-test01]# virsh  define centos-dev-test01-v2v.xml  
定义域 centos-dev-test01-v2v(从 centos-dev-test01-v2v.xml)

查看主机列表

[root@clsn7 dev-test01]#  virsh list --all 
 Id    名称                         状态
-----------------------------------------------------     centos-dev-test01-v2v          关闭

启动主机

[root@clsn7 dev-test01]#  virsh start centos-dev-test01-v2v 
域 centos-dev-test01-v2v 已开始

1.1.5 测试可用性

登陆迁移后的虚拟机测试

[root@clsn7 ~]# ssh root@192.168.19.123
The authenticity of host '192.168.19.123 (192.168.19.123)' can't be established.
RSA key fingerprint is SHA256:iRmghFzgRIJy5+v8p4lqi8DyUG8F0hXR/qNdDZ2J6RY.
RSA key fingerprint is MD5:37:b8:56:3b:b7:85:fa:cb:d9:55:a7:44:d5:de:f8:d9.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.19.123' (RSA) to the list of known hosts.
root@192.168.19.123's password: 
Last login: Mon Mar  5 10:30:02 2018 from 192.168.19.9
[root@dev-test01 ~]# hostname  -I
192.168.19.123

  设置虚拟机开机自启动。

[root@clsn7 ~]# virsh autostart centos-dev-test01-v2v 
域 centos-dev-test01-v2v标记为自动开始

   至此一台机器的迁移完成,后续按照相同的方式将其他的虚拟机进行迁移即可。

 

http://www.lbrq.cn/news/2581939.html

相关文章:

  • 灰色网站欣赏深圳网站快速排名优化
  • 网站建设方案拓扑图搜索引擎竞价排名
  • 携程特牌 的同时做别的网站竞价推广平台有哪些
  • ios个人开发者账号南京怎样优化关键词排名
  • 网站选项卡图标百度广告商
  • 开发一个网站多少钱啊全国疫情最新报告
  • wordpress 管理地址seo渠道是什么意思
  • 外语网站制作友情链接查询工具
  • 佛山专业做网站公司有哪些怎么做免费的网站推广
  • 投广告哪个平台好关键词优化策略有哪些
  • 聋哑工作设计做网站郑州seo管理
  • 网站建设做微营销搜索引擎优化是做什么的
  • 南京怎么做网站谷歌下载
  • 网站的404如何做网页设计模板网站免费
  • 河北省城乡住房和城乡建设厅网站百度快照推广效果怎样
  • 网络推广专员招聘关键词首页排名优化
  • app建设网站公司哪家好抖音seo推荐算法
  • github 做网站南京疫情最新消息
  • 免费的个人简历模板电子版下载北京seo网站设计
  • 怎么一个网站做的竞价怎么弄自己的网站
  • 手机网站域做什么广告企业培训课程设计
  • 手机版的网站用什么开发上海seo顾问推推蛙
  • 做的好的h游戏下载网站危机公关处理方案
  • 网站的折线图怎么做目录型搜索引擎有哪些
  • 河南移动官网网站建设搜索网页内容
  • 网站如何做即时聊天杭州网站推广与优化
  • 常州建设安全员报名网站nba最新消息交易情况
  • 广西建设厅网站首页打开百度一下你就知道
  • 做网站哪商品标题关键词优化
  • wordpress做电商网站dz论坛seo设置
  • Flask + HTML 项目开发思路
  • 基于高斯光束干涉的微球体相位成像系统设计与实现
  • python匿名函数lambda
  • [mssql] 分析SQL Server中执行效率较低的SQL语句
  • C++音视频开发:基础面试题
  • 公网服务器上Nginx或者Openresty如何屏蔽IP直接扫描