文档章节

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
朝阳
系统管理员
Weblogic 域(Domain)(三)

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

fortyone41
2014/04/07
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
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
ORA-01264: Unable to create logfile file name

1. 项目环境信息: 平台:AIX 6.1 oracle版本 :11.2.0.3(psu5) 部署了DG(主库是一个位于集群某节点的单实例库,备库为单实例库) 2. 项目背景: 因为业务量增长,要把主库有单实例改为集...

shaochenshuo
2014/04/03
0
0
LR11乱码解决方法

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

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

没有更多内容

加载失败,请刷新页面

加载更多

你为什么在Redis里读到了本应过期的数据

一个事故的故事 晚上睡的正香突然被电话吵醒,对面是开发焦急的声音:我们的程序在访问redis的时候读到了本应过期的key导致整个业务逻辑出了问题,需要马上解决。 看到这里你可能会想:这是不...

IT--小哥
今天
2
0
祝大家节日快乐,阖家幸福! centos GnuTLS 漏洞

yum update -y gnutls 修复了GnuTLS 漏洞。更新到最新 gnutls.x86_64 0:2.12.23-22.el6 版本

yizhichao
昨天
5
0
Scrapy 1.5.0之选择器

构造选择器 Scrapy选择器是通过文本(Text)或 TextResponse 对象构造的 Selector 类的实例。 它根据输入类型自动选择最佳的解析规则(XML vs HTML): >>> from scrapy.selector import Sele...

Eappo_Geng
昨天
4
0
Windows下Git多账号配置,同一电脑多个ssh-key的管理

Windows下Git多账号配置,同一电脑多个ssh-key的管理   这一篇文章是对上一篇文章《Git-TortoiseGit完整配置流程》的拓展,所以需要对上一篇文章有所了解,当然直接往下看也可以,其中也有...

morpheusWB
昨天
5
0
中秋快乐!!!

HiBlock
昨天
3
0

没有更多内容

加载失败,请刷新页面

加载更多

返回顶部
顶部