Re: 答复: 二级存储丢失

2014-04-16 Thread Royal Yang
添加一个服务方案,勾选高可用,将虚拟机的服务方案更改为这个新建的方案。当host故障的时候应用此方案的虚拟机就能自动启动了 2014-04-16 13:23 GMT+08:00 许叁征 x...@chinanetcenter.com: 二级存储是使用NFS的,后面经“北京-steelen”的协助支持下,启用本地存储后经相应检查后,虚拟机多数可以启动了。在这里面要特别感谢下steelen,来到厦门的时候,记得告诉我,请你吃大餐以表心意, 目前有两个问题,在平时中一直困扰的。

vrouter和vm不在一台host,vm不能dhcp到IP

2014-04-16 Thread Royal Yang
我这环境Centos 6.5+KVM+cloudstack4.3 使用的高级资源域 创建的虚机和所属网络不在一个host下时虚机会得不到IP地址,手动指定IP也不能ping通vrouter。 大家有遇到过类似问题吗?

Fwd: vrouter和vm不在一台host,vm不能dhcp到IP

2014-04-16 Thread Royal Yang
我这环境Centos 6.5+KVM+cloudstack4.3 使用的高级资源域 创建的虚机和所属网络不在一个host下时虚机会得不到IP地址,手动指定IP也不能ping通vrouter。 大家有遇到过类似问题吗?

Re: 答复: 二级存储丢失

2014-04-16 Thread linux...@gmail.com
hey 叁征,是否可以把你的解决过程整理一个文章发布到社区网站呢 2014-04-16 14:12 GMT+08:00 Royal Yang rayang2...@gmail.com: 添加一个服务方案,勾选高可用,将虚拟机的服务方案更改为这个新建的方案。当host故障的时候应用此方案的虚拟机就能自动启动了 2014-04-16 13:23 GMT+08:00 许叁征 x...@chinanetcenter.com:

Re: Fwd: vrouter和vm不在一台host,vm不能dhcp到IP

2014-04-16 Thread tanthalas
这种问题可以认定是交换机的配置问题。高级网络中,guest网使用vlan隔离,不同host上的同一guest网络内的vm进行通讯肯定要走交换机,那这些端口就要允许此vlan。你要检查你的环境中规划使用了那些vlan,然后在交换机上去做配置。剩下的就都是网络知识和交换机的操作了。 刘宇超  发件人: Royal Yang发送时间: 2014-04-16 14:17收件人: users-cn主题: Fwd: vrouter和vm不在一台host,vm不能dhcp到IP我这环境Centos 6.5+KVM+cloudstack4.3 使用的高级资源域

Re: Fwd: vrouter和vm不在一台host,vm不能dhcp到IP

2014-04-16 Thread 卢惠勇
在高级网络中需要注意网络的配置,例如宿主机要能通行多vlan,必须配置交换机端口和宿主机网卡使用trunk模式 在 2014年4月16日 下午3:13,tanthalas tanthalas...@hotmail.com写道: 这种问题可以认定是交换机的配置问题。高级网络中,guest网使用vlan隔离,不同host上的同一guest网络内的vm进行通讯肯定要走交换机,那这些端口就要允许此vlan。你要检查你的环境中规划使用了那些vlan,然后在交换机上去做配置。剩下的就都是网络知识和交换机的操作了。 刘宇超 发件人: Royal Yang发送时间:

Re: 求教P2V迁移策略(如何把物理机迁移到cloudstack虚拟机中)

2014-04-16 Thread linux...@gmail.com
你的应用的迁移需要保留原来的IP地址吗? 如果不需要,就创建VM,然后迁移相关的代码,数据库就可以了 如果需要保留IP地址等,就麻烦很多了,还不一定可以成功 在 2014年4月16日 下午3:57,淡看浮华 360736...@qq.com 写道: 用cloudstack4.2.0搭建了一个基于KVM的虚拟化环境. 现在希望把物理机上的应用都迁移到cloudstack虚拟机中. 请问各位大神有没有实际操作过的可行的P2V迁移策略,急用, 还望多多指教,谢谢!!! 有什么可行的工具可以把物理机上的操作系统和应用以及数据都制作成镜像文件或者模板,

Re: Fwd: vrouter和vm不在一台host,vm不能dhcp到IP

2014-04-16 Thread Royal Yang
多谢楼上两位 不过我这可能比较复杂 八口TPLink千兆交换机 还能设置vlan? 在 2014年4月16日 下午3:18,卢惠勇 luhuiy...@conew.com写道: 在高级网络中需要注意网络的配置,例如宿主机要能通行多vlan,必须配置交换机端口和宿主机网卡使用trunk模式 在 2014年4月16日 下午3:13,tanthalas tanthalas...@hotmail.com写道:

?????? ????P2V????????(??????????????????cloudstack????????)

2014-04-16 Thread ????????
IP IP?? qcow2VM ??IP??cloudstack??ip??VM

Re: 回复: 求教P2V迁移策略(如何把物理机迁移到cloudstack虚拟机中)

2014-04-16 Thread linux...@gmail.com
保留IP的可以使用 virt-p2v 如果不需要保留IP,直接先在cloudstack中创建一个虚拟机(ip自动分配),然后把物理机上的应用在VM上重新部署并导入数据 在 2014年4月16日 下午4:21,淡看浮华 360736...@qq.com 写道: 有些IP是要保留的。 如果保留IP,通常采用哪种方式迁移呢?之前没整过这个,还请说得详细点,谢谢 能把原来的系统制作成qcow2格式的模板,然后用这个模板来创建VM吗? 如果不需要保留IP,直接先在cloudstack中创建一个虚拟机(ip自动分配),然后把物理机上的应用在VM上重新部署并导入数据,是吧?

?????? ?????? ????P2V????????(??????????????????cloudstack????????)

2014-04-16 Thread ????????
ok ??virt-p2v ??ip -- -- ??: linux...@gmail.com;linux...@gmail.com; : 2014??4??16??(??) 4:47 ??:

SSVM output, Why the default centos system doesnt gets loaded?

2014-04-16 Thread sandeep khandekar
Yesterday I sent a wrong output Please find the exact output of my ssvm and help me out Link Local IP address # ssh -i /var/lib/cloudstack/management/.ssh/id_rsa -p 3922 root@ 169.254.3.199 The authenticity of host '[169.254.3.199]:3922 ([169.254.3.199]:3922)' can't be established. ECDSA key

Re: SSVM output, Why the default centos system doesnt gets loaded?

2014-04-16 Thread Shanker Balan
Hi Sandeep, Comments inline. On 16-Apr-2014, at 12:00 pm, sandeep khandekar cloudstack.sand...@gmail.com wrote: Yesterday I sent a wrong output Please find the exact output of my ssvm and help me out Link Local IP address # ssh -i /var/lib/cloudstack/management/.ssh/id_rsa -p 3922 root@

Re: Ubuntu instances + cloud-init

2014-04-16 Thread Nux!
On 15.04.2014 22:02, Rafael Weingartner wrote: If that one does not work, I can show you mine. I use Ubuntu 12.04 templates ;) Do show anyhow, don't be shy. :) Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro

Re: Ubuntu instances + cloud-init

2014-04-16 Thread Rafael Weingartner
Sure ;) On my Ubuntu 12.04 templates I use two scripts. One to change the root password, and the other to change the host name according to the one that was defined on CS. one is in /etc/init.d/, and it is called cloud-set-guest-password. (The script is attached). and the second one is in

RE: Ubuntu instances + cloud-init

2014-04-16 Thread Geoff Higginbottom
Rafael, Mail system strips scripts, could you include the code in the body of the mail instead? Regards Geoff Higginbottom D: +44 20 3603 0542tel:+442036030542 | S: +44 20 3603 0540tel:+442036030540 | M: +447968161581tel:+447968161581

Re: Ubuntu instances + cloud-init

2014-04-16 Thread Jonathan Gowar
On Wed, 2014-04-16 at 08:54 -0300, Rafael Weingartner wrote One to change the root password, and the other to change the host name according to the one that was defined on CS. one is in /etc/init.d/, and it is called cloud-set-guest-password. (The script is attached). and the second

Re: Ubuntu instances + cloud-init

2014-04-16 Thread Rafael Weingartner
Welll, I do not remember finding this on CS docs. I found them googling. cloud-set-guest-password (I registered it on init.d) #!/bin/bash # # Init file for Password Download Client # # chkconfig: 345 98 02 # description: Password Download Client # Licensed to the Apache Software

Vmware 5.5 dvSwitch support.

2014-04-16 Thread Steve Searles
Anyone know why this may be happening? vmware.use.dvswitch is set to true in global settings. The management server has been restarted. The network label I am using is dvSwitch-test,602,vmwaredvs Using a standard vSwitch works fine. e.g. vSwitch1,602,vmwaresvs Any ideas? 2014-04-03

Template creation hanging

2014-04-16 Thread Jonathan Gowar
Hi, Created an instance, shut it down to create a template from; which I've successfully done before. This time, the process has hung, with these messages in the logs:- 2014-04-16 16:04:42,891 WARN [o.a.c.f.j.i.AsyncJobMonitor] (Timer-1:ctx-ccdc1f1f) Task (job-1158) has been pending for 694

Re: Template creation hanging

2014-04-16 Thread Jonathan Gowar
On Wed, 2014-04-16 at 16:07 +0100, Jonathan Gowar wrote: Hi, Created an instance, shut it down to create a template from; which I've successfully done before. This time, the process has hung, with these messages in the logs:- 2014-04-16 16:04:42,891 WARN [o.a.c.f.j.i.AsyncJobMonitor]

CloudStack-BIND dns integration

2014-04-16 Thread Ihor Kravchuk
Hi , I made a small python program that solves DNS integration issues between CloudStack VR's DNS service and BIND DNS. This program assumes that you are using one sub-domain per network(each network has own sub-domain) (IMHO the best way fro naming instances in CloudStack) How it works: This

Re: Ubuntu instances + cloud-init

2014-04-16 Thread Jonathan Gowar
On Wed, 2014-04-16 at 10:04 -0300, Rafael Weingartner wrote: #!/bin/sh # dhclient change hostname script for Ubuntu # /etc/dhcp/dhclient-exit-hooks.d/sethostname # logs in /var/log/upstart/network-interface-eth0.log # for debugging: echo cloudstack-sethostname BEGIN export set -x

Off topic, can anybody access cdimage.debian.org?

2014-04-16 Thread Rafael Weingartner
Hi folks, Sorry the off topic message, but we are having a pretty weird situation here. Can somebody try to access these websites?: cdimage.debian.org debian.c3sl.ufpr.br sft.if.usp.br -- Rafael Weingärtner

Re: Off topic, can anybody access cdimage.debian.org?

2014-04-16 Thread Outback Dingo
yes i can reach them all On Wed, Apr 16, 2014 at 1:39 PM, Rafael Weingartner rafaelweingart...@gmail.com wrote: Hi folks, Sorry the off topic message, but we are having a pretty weird situation here. Can somebody try to access these websites?: cdimage.debian.org debian.c3sl.ufpr.br

Re: Ubuntu instances + cloud-init

2014-04-16 Thread Rafael Weingartner
to my knowledge it is not distro specific. We are using that on Ubuntu 12.04 (Which is basically a Debian). We have just tried on a Debian 7.4 and that IF condition works. On Wed, Apr 16, 2014 at 2:38 PM, Jonathan Gowar j...@whiteheat.org.ukwrote: On Wed, 2014-04-16 at 14:30 -0300, Rafael

Re: Off topic, can anybody access cdimage.debian.org?

2014-04-16 Thread Rafael Weingartner
Interesting, in which country are you? On Wed, Apr 16, 2014 at 2:43 PM, Outback Dingo outbackdi...@gmail.comwrote: yes i can reach them all On Wed, Apr 16, 2014 at 1:39 PM, Rafael Weingartner rafaelweingart...@gmail.com wrote: Hi folks, Sorry the off topic message, but we are having

Re: CloudStack-BIND dns integration

2014-04-16 Thread ilya musayev
This is pretty cool. I’ll give it a try soon, thanks for contributing, I forked your repo on github. -ilya On Wednesday, April 16, 2014, Ihor Kravchuk ingvar...@gmail.com wrote: Hi , I made a small python program that solves DNS integration issues between CloudStack VR's DNS service and

Re: CloudStack-BIND dns integration

2014-04-16 Thread Francois Gaudreault
Well done Ihor :) FG On 2014-04-16, 2:25 PM, ilya musayev wrote: This is pretty cool. I’ll give it a try soon, thanks for contributing, I forked your repo on github. -ilya On Wednesday, April 16, 2014, Ihor Kravchuk ingvar...@gmail.com wrote: Hi , I made a small python program that

Re: Off topic, can anybody access cdimage.debian.org?

2014-04-16 Thread Outback Dingo
right now im in the states On Wed, Apr 16, 2014 at 1:46 PM, Rafael Weingartner rafaelweingart...@gmail.com wrote: Interesting, in which country are you? On Wed, Apr 16, 2014 at 2:43 PM, Outback Dingo outbackdi...@gmail.com wrote: yes i can reach them all On Wed, Apr 16, 2014 at

Re: Off topic, can anybody access cdimage.debian.org?

2014-04-16 Thread Rafael Weingartner
Thanks, On Wed, Apr 16, 2014 at 3:36 PM, Outback Dingo outbackdi...@gmail.comwrote: right now im in the states On Wed, Apr 16, 2014 at 1:46 PM, Rafael Weingartner rafaelweingart...@gmail.com wrote: Interesting, in which country are you? On Wed, Apr 16, 2014 at 2:43 PM, Outback

Re: CloudStack-BIND dns integration

2014-04-16 Thread Nux!
On 16.04.2014 17:05, Ihor Kravchuk wrote: Hi , I made a small python program that solves DNS integration issues between CloudStack VR's DNS service and BIND DNS. This program assumes that you are using one sub-domain per network(each network has own sub-domain) (IMHO the best way fro

Re: Vmware 5.5 dvSwitch support.

2014-04-16 Thread Willard Rathjen
It looks like the CS does not like the formatting of the network label, causing it to not parse the VLAN ID correctly. As a quick test can you change the label to dvSwitchtest,602,vmwaredvs”. It’s a long shot, but easy enough to test. 491 /** 492 * Nicira NVP

XML error: missing pool source name element

2014-04-16 Thread Samuel Winchenbach
Hi All, I am trying to setup an All-in-One CloudStack install on CentOS 6.5. When I start the agent I get this error in the log file: ERROR [kvm.storage.LibvirtStorageAdaptor] (Agent-Handler-1:null) org.libvirt.LibvirtException: Any idea what this means and how to fix it? Thanks, Sam

Re: XML error: missing pool source name element

2014-04-16 Thread Willard Rathjen
Can you paste the applicable lines from the log file in /var/log/cloudstack/agent/agent.log Willard Rathjen Cloud Systems Engineer Office +1.800.735.7104 | Direct +1.515.612.7813 willard.rath...@appcore.com | www.appcore.com

Re: XML error: missing pool source name element

2014-04-16 Thread Samuel Winchenbach
2014-04-16 15:46:21,169 INFO [cloud.agent.AgentShell] (main:null) Agent started 2014-04-16 15:46:21,170 INFO [cloud.agent.AgentShell] (main:null) Implementation Version is 4.3.0 2014-04-16 15:46:21,172 INFO [cloud.agent.AgentShell] (main:null) agent.properties found at

Re: XML error: missing pool source name element

2014-04-16 Thread Willard Rathjen
Looking at LibvirtStorageAdaptor.java it looks like it’s failing when dealing with the storage pool. can you paste the agent config: /etc/cloudstack/agent/agent.properties And the output of the following commands: $ virsh pool-list $ virsh pool-info pool ID Willard Rathjen Cloud Systems

Re: XML error: missing pool source name element

2014-04-16 Thread Samuel Winchenbach
$ virsh pool-list Name State Autostart - agent.properties: http://pastie.org/pastes/9085906/text I didn't read anything in the install docs about creating a storage pool. Sam On Wed, Apr 16, 2014 at 4:10 PM, Willard Rathjen

Re: XML error: missing pool source name element

2014-04-16 Thread Willard Rathjen
uuidgen the uuid fields (There are two) in the agent.properties file. and you should be good to go. The storage pools will get configured in KVM when you pull the host into CS. Willard Rathjen Cloud Systems Engineer Office +1.800.735.7104 | Direct +1.515.612.7813 willard.rath...@appcore.com |

Re: Vmware 5.5 dvSwitch support.

2014-04-16 Thread ilya musayev
Which version of cloudstack is this in regards to? On 4/16/14, 3:38 PM, Willard Rathjen wrote: It looks like the CS does not like the formatting of the network label, causing it to not parse the VLAN ID correctly. As a quick test can you change the label to dvSwitchtest,602,vmwaredvs”. It’s a

Cloudstack with iscsi storage

2014-04-16 Thread rammohan ganapavarapu
Hi, I am trying to setup a private cloud using cloudstack with ISCSI storage as primary storage, my 1. Do i need to create a filesystem on top of iscsi lun to use it as primary storage or just need to present a raw lun to hyperviser? 2. If i have multiple hosts as VM hosts, do i need to present