文档章节

convert(一)—— 部署managed

异类深呼吸
 异类深呼吸
发布于 2014/07/14 19:00
字数 573
阅读 55
收藏 0

<h1 style="margin: 0px; padding: 0.25em 0px 0px; -webkit-print-color-adjust: exact; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-top-style: none; font-size: 23px; font-family: helvetica, arial, freesans, clean, sans-serif; line-height: 18px;">convirt(一)—— 部署managed</h1> <blockquote style="margin: 1em 0px; padding: 0px 0px 0px 0.6em; -webkit-print-color-adjust: exact; border-left-width: 5px; border-left-color: #dddddd; color: #555555; font-family: helvetica, arial, freesans, clean, sans-serif; font-size: 13px; line-height: 18px;"> <p style="margin: 1em 0px; padding: 0px; -webkit-print-color-adjust: exact; line-height: 1.5em;">managed节点上,也就是即将要跑虚机的宿主上执行,完成之后就可以加入到CMS的管理中去</p> </blockquote> <pre style="margin: 1em 0px; padding: 5px; -webkit-print-color-adjust: exact; font-size: 12px; line-height: 18px; font-family: Monaco, 'Courier New', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace; background-color: #eeeeee; border: 1px solid #dddddd; color: #444444; overflow: auto; -webkit-box-shadow: rgba(0, 0, 0, 0.0666667) 0px 1px 2px inset; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;"><code style="margin: 0px; padding: 0px; -webkit-print-color-adjust: exact; line-height: normal; font-family: Monaco, 'Courier New', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace; border: none;">#这里以2.1.1安装 <br />cd /etc/yum.repos.d <br />wget --no-cache http://www.convirture.com/repos/definitions/rhel/6.x/convirt.repo <br />cd /usr/local/src <br />wget --no-cache http://www.convirture.com/downloads/convirture-tools/2.1.1/convirture-tools-2.1.1.tar.gz </code></pre> <h3 style="margin: 1em 0px; padding: 0px; -webkit-print-color-adjust: exact; border: 0px; font-family: helvetica, arial, freesans, clean, sans-serif; line-height: 18px;">2、查看帮助</h3> <pre style="margin: 1em 0px; padding: 5px; -webkit-print-color-adjust: exact; font-size: 12px; line-height: 18px; font-family: Monaco, 'Courier New', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace; background-color: #eeeeee; border: 1px solid #dddddd; color: #444444; overflow: auto; -webkit-box-shadow: rgba(0, 0, 0, 0.0666667) 0px 1px 2px inset; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;"><code style="margin: 0px; padding: 0px; -webkit-print-color-adjust: exact; line-height: normal; font-family: Monaco, 'Courier New', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace; border: none;">tar zxf convirture-tools-2.1.1.tar.gz <br />cd ./convirture-tools/install/managed_server/scripts/ <br />./convirt-tool -h <br /> Provides 2 steps to install dependencies and setup <br /> 1) ./convirt-tool install_dependencies <br /> This will install dependencies like ssh,socat,expect etc. <br /> 2) ./convirt-tool [switch [switch ..]] setup <br /> Switch option is not mandatory, default is --all. <br /><br /> Switch can be from one of the following: <br /> --detect_only : only detect distribution and virtualization platform, Do not make changes. <br /> --firewall : configure firewall. <br /> --xen_config : configure xend server. <br /> --xen_ssl : configure xend server in SSL mode. <br /></code><span style="line-height: normal;"> --bridge : setup bridge for each physical interface. <br /> --nw_service : setup network service during system boot. <br /> --all : all required setup for KVM or Xen. <br /> --skip_firewall : Skip firewall related changes <br /> --skip_xen_config : Skip xend server configuration <br /> --skip_bridge : Skip bridge related changes <br /> --skip_nw_service : Skip network service setup during boot <br /> --use_native_bridge : Use OS specific bridge setup (Recommended for Xen on SLES) <br /> --dom0_mem : Sets the memory of Domain-0(in MB) <br /> -h : help </span></pre> <h3 style="margin: 1em 0px; padding: 0px; -webkit-print-color-adjust: exact; border: 0px; font-family: helvetica, arial, freesans, clean, sans-serif; line-height: 18px;">3、检测安装环境</h3> <pre style="margin: 1em 0px; padding: 5px; -webkit-print-color-adjust: exact; font-size: 12px; line-height: 18px; font-family: Monaco, 'Courier New', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace; background-color: #eeeeee; border: 1px solid #dddddd; color: #444444; overflow: auto; -webkit-box-shadow: rgba(0, 0, 0, 0.0666667) 0px 1px 2px inset; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;"><code style="margin: 0px; padding: 0px; -webkit-print-color-adjust: exact; line-height: normal; font-family: Monaco, 'Courier New', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace; border: none;"># ./convirt-tool --detect_only setup <br />Info: Sourcing /root/convirture-tools/install/managed_server/scripts/../../../common/scripts/RedHat_functions <br />Skipping qemu-system-x86_64 <br />Skipping qemu-kvm <br />Skipping kvm <br />QEMU PC emulator version 0.12.1 (qemu-kvm-0.12.1.2), Copyright (c) 2003-2008 Fabrice Bellard <br />qemu-kvm-0.12.1.2 <br />Virtualization platform KVM Version qemu-kvm-0.12.1.2 <br />DISTRO RedHat <br />VER 6.4 <br />CODENAME Final <br />KERNEL 2.6.32-358.el6.x86_64 <br />ARCH x86_64  </code></pre> <h3 style="margin: 1em 0px; padding: 0px; -webkit-print-color-adjust: exact; border: 0px; font-family: helvetica, arial, freesans, clean, sans-serif; line-height: 18px;">4、根据当前系统安装依赖</h3> <pre style="margin: 1em 0px; padding: 5px; -webkit-print-color-adjust: exact; font-size: 12px; line-height: 18px; font-family: Monaco, 'Courier New', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace; background-color: #eeeeee; border: 1px solid #dddddd; color: #444444; overflow: auto; -webkit-box-shadow: rgba(0, 0, 0, 0.0666667) 0px 1px 2px inset; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;"><code style="margin: 0px; padding: 0px; -webkit-print-color-adjust: exact; line-height: normal; font-family: Monaco, 'Courier New', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace; border: none;">./convirt-tool install_dependencies <br /><br />Installed: <br /> dnsmasq.x86_64 0:2.48-13.el6 expect.x86_64 0:5.44.1.15-5.el6_4 pexpect.noarch 0:2.3-6.el6 socat.x86_64 0:1.7.2.2-1.el6 tcp_wrappers.x86_64 0:7.6-57.el6 <br /><br />Dependency Installed: <br /> compat-readline5.x86_64 0:5.2-17.1.el6 tcl.x86_64 1:8.5.7-6.el6 </code></pre> <h3 style="margin: 1em 0px; padding: 0px; -webkit-print-color-adjust: exact; border: 0px; font-family: helvetica, arial, freesans, clean, sans-serif; line-height: 18px;">5、手动安装桥接或者跳过桥接网络</h3> <pre style="margin: 1em 0px; padding: 5px; -webkit-print-color-adjust: exact; font-size: 12px; line-height: 18px; font-family: Monaco, 'Courier New', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace; background-color: #eeeeee; border: 1px solid #dddddd; color: #444444; overflow: auto; -webkit-box-shadow: rgba(0, 0, 0, 0.0666667) 0px 1px 2px inset; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;"><code style="margin: 0px; padding: 0px; -webkit-print-color-adjust: exact; line-height: normal; font-family: Monaco, 'Courier New', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace; border: none;">./convirt-tool setup <br />或 <br />./convirt-tool --skip_bridge --skip_firewall setup #已经做好桥接的情况下 </code></pre> <pre style="margin: 1em 0px; padding: 5px; -webkit-print-color-adjust: exact; font-size: 12px; line-height: 18px; font-family: Monaco, 'Courier New', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace; background-color: #eeeeee; border: 1px solid #dddddd; color: #444444; overflow: auto; -webkit-box-shadow: rgba(0, 0, 0, 0.0666667) 0px 1px 2px inset; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;"><code style="margin: 0px; padding: 0px; -webkit-print-color-adjust: exact; line-height: normal; font-family: Monaco, 'Courier New', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace; border: none;"># ifconfig <br />br1 Link encap:Ethernet HWaddr 78:2B:CB:58:89:17 <br /> inet addr:192.168.1.167 Bcast:192.168.1.255 Mask:255.255.255.0 <br /> inet6 addr: fe80::7a2b:cbff:fe58:8917/64 Scope:Link <br /> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 <br /> RX packets:164 errors:0 dropped:0 overruns:0 frame:0 <br /> TX packets:42 errors:0 dropped:0 overruns:0 carrier:0 <br /> collisions:0 txqueuelen:0 <br /> RX bytes:9431 (9.2 KiB) TX bytes:3960 (3.8 KiB) <br /><br />em1 Link encap:Ethernet HWaddr 78:2B:CB:58:89:17 <br /> inet6 addr: fe80::7a2b:cbff:fe58:8917/64 Scope:Link <br /> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 <br /> RX packets:172 errors:0 dropped:0 overruns:0 frame:0 <br /> TX packets:40 errors:0 dropped:0 overruns:0 carrier:0 <br /> collisions:0 txqueuelen:1000 <br /> RX bytes:12905 (12.6 KiB) TX bytes:3904 (3.8 KiB)</code></pre>

© 著作权归作者所有

共有 人打赏支持
异类深呼吸
粉丝 5
博文 46
码字总数 42368
作品 0
朝阳
系统管理员
私信 提问
Druid Analytics 0.8.0 发布,OLAP 数据查询引擎

Druid Analytics 0.8.0 发布,更新内容如下: 新特性 Redo Druid metrics to use an understandable metrics schema Support compression for multi-value columns Added longMax/longMin a......

oschina
2015/07/21
2.6K
3
Ubuntu 网络管理器显示“设备未托管”的解决办法

Ubuntu 网络管理器显示“设备未托管”的解决办法 Ubuntu 13.10的网络管理器不能用ADSL拨号,于是想用Wicd来替代默认的网络管理器,但Wicd令我很失望,居然不能发现无线网络。 无奈换回了默认...

Error_W
2013/12/12
0
0
PHP中的mb_convert_encoding与iconv函数介绍

mbconvertencoding这个函数是用来转换编码的。原来一直对程序编码这一概念不理解,不过现在好像有点开窍了。 不过英文一般不会存在编码问题,只有中文数据才会有这个问题。比如你用Zend Stud...

李佳顺
2012/05/22
0
0
Oracle 11g R2 Snapshot Standby

Oracle 11g引入Snapshot Standby,允许standby database以read-write模式打开。当切换回standby模式,所有在read-write模式的修改都丢失。它是通过flashback database实现,但是standby dat...

UltraSQL
2018/07/23
0
0
LR11乱码解决方法

最近学习使用LR11录制,但凡是遇到中文,都会出现乱码。有些人说在Run-time Settings—>Internet Protocal—>Preferences选项中,打开Option选项,弹出Advanced Options选项卡,定位到Gener...

不最醉不龟归
2016/10/16
107
0

没有更多内容

加载失败,请刷新页面

加载更多

开始看《Java学习笔记》

虽然书买了很久,但一直没看。这其中也写过一些Java程序,但都是基于IDE的帮助和对C#的理解来写的,感觉不踏实。 林信良的书写得蛮好的,能够帮助打好基础,看得出作者是比较用心的。 第1章概...

max佩恩
昨天
12
0
Redux 三大原则

1.单一数据源 在传统的MVC架构中,我们可以根据需要创建无数个Model,而Model之间可以互相监听、触发事件甚至循环或嵌套触发事件,这些在Redux中都是不被允许的。 因为在Redux的思想里,一个...

wenxingjun
昨天
8
0
跟我学Spring Cloud(Finchley版)-12-微服务容错三板斧

至此,我们已实现服务发现、负载均衡,同时,使用Feign也实现了良好的远程调用——我们的代码是可读、可维护的。理论上,我们现在已经能构建一个不错的分布式应用了,但微服务之间是通过网络...

周立_ITMuch
昨天
4
0
XML

学习目标  能够说出XML的作用  能够编写XML文档声明  能够编写符合语法的XML  能够通过DTD约束编写XML文档  能够通过Schema约束编写XML文档  能够通过Dom4j解析XML文档 第1章 xm...

stars永恒
昨天
2
0
RabbitMQ学习(2)

1. 生产者客户端 void basicPublish(String exchange, String routingKey, boolean mandatory, boolean immediate, BasicProperties props, byte[] body) 1. 在生产者客户端发送消息时,首先......

江左煤郎
昨天
4
0

没有更多内容

加载失败,请刷新页面

加载更多

返回顶部
顶部