文档章节

convert(一)—— 部署managed

异类深呼吸
 异类深呼吸
发布于 2014/07/14 19:00
字数 573
阅读 52
收藏 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
朝阳
系统管理员
私信 提问
Oracle 11g R2 Snapshot Standby

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

UltraSQL
07/23
0
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.5K
3
LR11乱码解决方法

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

不最醉不龟归
2016/10/16
107
0
Weblogic 域(Domain)(三)

Domain的结构 目录结构 需要重点保护的文件 snippetid="278369" snippetfilename="blog201404071680543" name="code" class="plain">C:OracleMiddlewareuserprojectsdomainsbase_domainconfi......

fortyone41
2014/04/07
0
0
Ubuntu 网络管理器显示“设备未托管”的解决办法

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

Error_W
2013/12/12
0
0

没有更多内容

加载失败,请刷新页面

加载更多

Zookeeper分析

沉稳2018
32分钟前
3
0
mockito learn one

mockito 介绍 mockito是一个很好用的模拟测试框架,能够让你写出简单优美测试,它不会给你残留的测试,因为它可读而且能够简单的验证错误。 如何使用? 引入依赖 <!-- https://mvnrepository...

writeademo
47分钟前
2
0
String转成JSON的实现

String转成JSON 这个依赖很重要,我们将围绕fastjson中的JSONObject这个类来谈转换 欢迎工作一到八年的Java工程师朋友们加入Java高级交流:854630135 本群提供免费的学习指导 架构资料 以及免...

编程SHA
58分钟前
1
0
详解Object.values(),Object.keys(),Object.entries(),Object.create(),includes()

(1)Object.keys() // 返回数组,成员是参数对象自身的(不含继承的)所有可遍历(enumerable)属性的键名。 eg:var obj = {a:1,b:'gy'} Object.keys(obj) // ['a','b'] (2)...

JamesView
今天
2
0
Git —— 创建版本库和提交回退版本

二、 创建版本库 版本库又叫做仓库,简单理解就是一个目录,这个目录里面所有的文件都可以被Git管理起来,每个文件的修改、删除,Git都可以跟踪,便于追踪历史与还原。找到一个合适的位置,创...

lwenhao
今天
5
0

没有更多内容

加载失败,请刷新页面

加载更多

返回顶部
顶部