Re: Re: Re: CS4.2.1+kvm环境下,新建虚拟机磁盘读写很慢

2014-07-10 Thread 贝为标
evanitsharp,您好!

dd数据看起来没什么问题,你是用wget来下载吗?试试ftp传输看看?

=== 2014-07-10 13:51:30 您在来信中写道:===

你好,按照你的意思,我测试的数据如下:

KVM主机上:
[root@cs tmp]# dd bs=1M count=1000 if=/dev/zero of=test oflag=dsync
1000+0 records in
1000+0 records out
1048576000 bytes (1.0 GB) copied, 3.50706 s, 299 MB/s

虚拟机(KVM)上:
[root@cs tmp]# dd bs=1M count=1000 if=/dev/zero of=test oflag=dsync
1000+0 records in
1000+0 records out
1048576000 bytes (1.0 GB) copied, 22.7811 s, 46.0 MB/s




张雷(Evan)

中航信华东数据中心有限责任公司

Mail:evanitsh...@gmail.com

发件人: 贝为标
发送时间: 2014-07-10 13:22
收件人: users-cn
主题: Re: Re: Re: CS4.2.1+kvm环境下,新建虚拟机磁盘读写很慢
evanitsharp,您好!

你的dd命令可能不正确,应该这样测试:

# dd bs=1M count=1000 if=/dev/zero of=test oflag=dsync



=== 2014-07-10 13:14:28 您在来信中写道:===

之前我说了从网络和存储两个方面考虑,以下是我测试的数据:

1.KVM虚拟机下用dd命令测试磁盘读写性能:
144MB/S

2.KVM物理主机用dd命令测试磁盘读写性能:
185MB/S

3.通过Web服务器下载大文件到VM(KVM)磁盘时,VM上的统计数据:
[root@evan2 ~]# iostat
avg-cpu:  %user   %nice %system %iowait  %steal   %idle
   0.030.000.070.020.01   99.88
Device:tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
vda  0.629.09   203.93 956122146106
dm-025.738.21   203.93 864342146088
dm-10.03 0.23 0.00   2376 0

[root@evan2 ~]# iostat -d -k 1 1
Device:tpskB_read/skB_wrtn/skB_readkB_wrtn
xvda  0.684.41   118.54 478061286357
dm-0 29.863.98   118.54 432171286348
dm-1  0.030.11 0.00  1188  0

4.通过Web服务器下载大文件到KVM主机磁盘时,KVM主机上的统计数据:
[root@cs ~]# iostat
avg-cpu:  %user   %nice %system %iowait  %steal   %idle
   0.500.000.470.010.00   99.02
 
Device:tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
sda   5.6389.66   251.3714114523957284
dm-0  9.5487.72   251.3413809363956682
dm-1  0.02 0.16 0.00   2576  0
dm-2  0.04 0.27 0.04   4322560
 
[root@cs ~]# iostat -d -k 1 1
Device:tpskB_read/skB_wrtn/skB_readkB_wrtn
sda   7.9444.71   396.31 7060266258666
dm-0 76.8443.74   396.29 6907686258365
dm-1  0.02 0.08 0.00   1288  0
dm-2  0.04 0.14 0.02   2161280

通过数据的比较,我感觉问题主要出在网络方面,很可能和Virtual Router有关系(但我们环境里的Virtual 
Router是默认配置)。交换机配置是没有问题的,因为局域网网其它XenServer、ESXi主机的网络读写性能都很正常。

我想了解下大家在用CS4.2.1+KVM时,有没有碰到KVM虚拟机读写I/O性能问题?你们是怎么解决的?




张雷(Evan)

中航信华东数据中心有限责任公司

Mail:evanitsh...@gmail.com

发件人: Wei ZHOU
发送时间: 2014-07-09 16:12
收件人: users-cn
主题: Re: CS4.2.1+kvm环境下,新建虚拟机磁盘读写很慢
用dd和iostat测一下本机和虚拟机里面的磁盘性能看看差多少


在 2014年7月9日 下午3:58,evanitsharp evanitsh...@gmail.com写道:

 CS4.2.1+KVM环境下,存储使用local(即建好的虚机位于KVM本机上),新建的VM读写速度很慢

 1. 我在KVM上的新建的虚机上搭建好了web服务器,局域网内另外一台计算机上通过这台Web服务器下载文件,下载的平均速度只有1.2M/S

 2. 我从局域网内的一台正常Web服务器下载文件到该KVM上的虚拟机,速度只有700K/S

 而我们的局域网是千兆网络,从web服务器下载文件到自己本地的机器速度都有100M/S


 请问:CS4.2.1下,KVM下建好的虚机磁盘读写速度为什么会这么慢,怎么样解决这个问题?
 PS:从网络和存储两个方面考虑

 麻烦各位给个解决办法,谢谢




 张雷(Evan)

 中航信华东数据中心有限责任公司

 Mail:evanitsh...@gmail.com

= = = = = = = = = = = = = = = = = = = =

致
礼!
贝为标
beiweib...@163.com
  2014-07-10

= = = = = = = = = = = = = = = = = = = =


致
礼!
 
 
贝为标
beiweib...@163.com
  2014-07-10


Re: Re: CS4.2.1+kvm环境下,新建虚拟机磁盘读写很慢

2014-07-10 Thread Wei ZHOU
virtual router的默认限速是200Mbps(也就是25MBps)


在 2014年7月10日 下午1:13,evanitsharp evanitsh...@gmail.com写道:

 之前我说了从网络和存储两个方面考虑,以下是我测试的数据:

 1.KVM虚拟机下用dd命令测试磁盘读写性能:
 144MB/S

 2.KVM物理主机用dd命令测试磁盘读写性能:
 185MB/S

 3.通过Web服务器下载大文件到VM(KVM)磁盘时,VM上的统计数据:
 [root@evan2 ~]# iostat
 avg-cpu:  %user   %nice %system %iowait  %steal   %idle
0.030.000.070.020.01   99.88
 Device:tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
 vda  0.629.09   203.93 956122146106
 dm-025.738.21   203.93 864342146088
 dm-10.03 0.23 0.00   2376 0

 [root@evan2 ~]# iostat -d -k 1 1
 Device:tpskB_read/skB_wrtn/skB_readkB_wrtn
 xvda  0.684.41   118.54 478061286357
 dm-0 29.863.98   118.54 432171286348
 dm-1  0.030.11 0.00  1188  0

 4.通过Web服务器下载大文件到KVM主机磁盘时,KVM主机上的统计数据:
 [root@cs ~]# iostat
 avg-cpu:  %user   %nice %system %iowait  %steal   %idle
0.500.000.470.010.00   99.02

 Device:tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
 sda   5.6389.66   251.3714114523957284
 dm-0  9.5487.72   251.3413809363956682
 dm-1  0.02 0.16 0.00   2576  0
 dm-2  0.04 0.27 0.04   4322560

 [root@cs ~]# iostat -d -k 1 1
 Device:tpskB_read/skB_wrtn/skB_readkB_wrtn
 sda   7.9444.71   396.31 7060266258666
 dm-0 76.8443.74   396.29 6907686258365
 dm-1  0.02 0.08 0.00   1288  0
 dm-2  0.04 0.14 0.02   2161280

 通过数据的比较,我感觉问题主要出在网络方面,很可能和Virtual Router有关系(但我们环境里的Virtual
 Router是默认配置)。交换机配置是没有问题的,因为局域网网其它XenServer、ESXi主机的网络读写性能都很正常。

 我想了解下大家在用CS4.2.1+KVM时,有没有碰到KVM虚拟机读写I/O性能问题?你们是怎么解决的?




 张雷(Evan)

 中航信华东数据中心有限责任公司

 Mail:evanitsh...@gmail.com

 发件人: Wei ZHOU
 发送时间: 2014-07-09 16:12
 收件人: users-cn
 主题: Re: CS4.2.1+kvm环境下,新建虚拟机磁盘读写很慢
 用dd和iostat测一下本机和虚拟机里面的磁盘性能看看差多少


 在 2014年7月9日 下午3:58,evanitsharp evanitsh...@gmail.com写道:

  CS4.2.1+KVM环境下,存储使用local(即建好的虚机位于KVM本机上),新建的VM读写速度很慢
 
  1. 我在KVM上的新建的虚机上搭建好了web服务器,局域网内另外一台计算机上通过这台Web服务器下载文件,下载的平均速度只有1.2M/S
 
  2. 我从局域网内的一台正常Web服务器下载文件到该KVM上的虚拟机,速度只有700K/S
 
  而我们的局域网是千兆网络,从web服务器下载文件到自己本地的机器速度都有100M/S
 
 
  请问:CS4.2.1下,KVM下建好的虚机磁盘读写速度为什么会这么慢,怎么样解决这个问题?
  PS:从网络和存储两个方面考虑
 
  麻烦各位给个解决办法,谢谢
 
 
 
 
  张雷(Evan)
 
  中航信华东数据中心有限责任公司
 
  Mail:evanitsh...@gmail.com



Re: Re: CS4.2.1+kvm环境下,新建虚拟机磁盘读写很慢

2014-07-10 Thread evanitsharp
1.通过HTTP下载文件到KVM主机的情况
[root@cs tmp]# wget http://192.168.10.39/centos.iso
--2014-07-10 14:33:48--  http://192.168.10.39/centos.iso
Connecting to 192.168.10.39:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4353378304 (4.1G) [application/octet-stream]
100%[===] 4,353,378,304  
101M/s   in 47s 
2014-07-10 14:34:35 (89.2 MB/s) - 鈥渃entos.iso鈥saved [4353378304/4353378304]

2.Web服务器搭建在KVM主机上时,从改服务器下载文件到开发机


2.通过HTTP下载文件到VM(KVM)的情况
因为很慢,具体数据略,平均速度为700K/S
如图:



因为公司暂没有可用的FTP服务器,所以FTP下载速度没有测试,




张雷(Evan)

中航信华东数据中心有限责任公司

Mail:evanitsh...@gmail.com

发件人: 贝为标
发送时间: 2014-07-10 14:11
收件人: users-cn
主题: Re: Re: Re: CS4.2.1+kvm环境下,新建虚拟机磁盘读写很慢
evanitsharp,您好!

dd数据看起来没什么问题,你是用wget来下载吗?试试ftp传输看看?

=== 2014-07-10 13:51:30 您在来信中写道:===

你好,按照你的意思,我测试的数据如下:

KVM主机上:
[root@cs tmp]# dd bs=1M count=1000 if=/dev/zero of=test oflag=dsync
1000+0 records in
1000+0 records out
1048576000 bytes (1.0 GB) copied, 3.50706 s, 299 MB/s

虚拟机(KVM)上:
[root@cs tmp]# dd bs=1M count=1000 if=/dev/zero of=test oflag=dsync
1000+0 records in
1000+0 records out
1048576000 bytes (1.0 GB) copied, 22.7811 s, 46.0 MB/s




张雷(Evan)

中航信华东数据中心有限责任公司

Mail:evanitsh...@gmail.com

发件人: 贝为标
发送时间: 2014-07-10 13:22
收件人: users-cn
主题: Re: Re: Re: CS4.2.1+kvm环境下,新建虚拟机磁盘读写很慢
evanitsharp,您好!

你的dd命令可能不正确,应该这样测试:

# dd bs=1M count=1000 if=/dev/zero of=test oflag=dsync



=== 2014-07-10 13:14:28 您在来信中写道:===

之前我说了从网络和存储两个方面考虑,以下是我测试的数据:

1.KVM虚拟机下用dd命令测试磁盘读写性能:
144MB/S

2.KVM物理主机用dd命令测试磁盘读写性能:
185MB/S

3.通过Web服务器下载大文件到VM(KVM)磁盘时,VM上的统计数据:
[root@evan2 ~]# iostat
avg-cpu:  %user   %nice %system %iowait  %steal   %idle
   0.030.000.070.020.01   99.88
Device:tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
vda  0.629.09   203.93 956122146106
dm-025.738.21   203.93 864342146088
dm-10.03 0.23 0.00   2376 0

[root@evan2 ~]# iostat -d -k 1 1
Device:tpskB_read/skB_wrtn/skB_readkB_wrtn
xvda  0.684.41   118.54 478061286357
dm-0 29.863.98   118.54 432171286348
dm-1  0.030.11 0.00  1188  0

4.通过Web服务器下载大文件到KVM主机磁盘时,KVM主机上的统计数据:
[root@cs ~]# iostat
avg-cpu:  %user   %nice %system %iowait  %steal   %idle
   0.500.000.470.010.00   99.02
 
Device:tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
sda   5.6389.66   251.3714114523957284
dm-0  9.5487.72   251.3413809363956682
dm-1  0.02 0.16 0.00   2576  0
dm-2  0.04 0.27 0.04   4322560
 
[root@cs ~]# iostat -d -k 1 1
Device:tpskB_read/skB_wrtn/skB_readkB_wrtn
sda   7.9444.71   396.31 7060266258666
dm-0 76.8443.74   396.29 6907686258365
dm-1  0.02 0.08 0.00   1288  0
dm-2  0.04 0.14 0.02   2161280

通过数据的比较,我感觉问题主要出在网络方面,很可能和Virtual Router有关系(但我们环境里的Virtual 
Router是默认配置)。交换机配置是没有问题的,因为局域网网其它XenServer、ESXi主机的网络读写性能都很正常。

我想了解下大家在用CS4.2.1+KVM时,有没有碰到KVM虚拟机读写I/O性能问题?你们是怎么解决的?




张雷(Evan)

中航信华东数据中心有限责任公司

Mail:evanitsh...@gmail.com

发件人: Wei ZHOU
发送时间: 2014-07-09 16:12
收件人: users-cn
主题: Re: CS4.2.1+kvm环境下,新建虚拟机磁盘读写很慢
用dd和iostat测一下本机和虚拟机里面的磁盘性能看看差多少


在 2014年7月9日 下午3:58,evanitsharp evanitsh...@gmail.com写道:

 CS4.2.1+KVM环境下,存储使用local(即建好的虚机位于KVM本机上),新建的VM读写速度很慢

 1. 我在KVM上的新建的虚机上搭建好了web服务器,局域网内另外一台计算机上通过这台Web服务器下载文件,下载的平均速度只有1.2M/S

 2. 我从局域网内的一台正常Web服务器下载文件到该KVM上的虚拟机,速度只有700K/S

 而我们的局域网是千兆网络,从web服务器下载文件到自己本地的机器速度都有100M/S


 请问:CS4.2.1下,KVM下建好的虚机磁盘读写速度为什么会这么慢,怎么样解决这个问题?
 PS:从网络和存储两个方面考虑

 麻烦各位给个解决办法,谢谢




 张雷(Evan)

 中航信华东数据中心有限责任公司

 Mail:evanitsh...@gmail.com

= = = = = = = = = = = = = = = = = = = =

致
礼!
贝为标
beiweib...@163.com
  2014-07-10

= = = = = = = = = = = = = = = = = = = =

致
礼!
贝为标
beiweib...@163.com
  2014-07-10

回复:vm迁移实体机状态问题

2014-07-10 Thread 青山依旧
十台实体机的配置一样吗? 
vm迁移只能在同一个集群迁移 ,同一个集群主机配置最好一样 主要是CPU 类型相同





-- 原始邮件 --
发件人: 虚无缥缈;83675...@qq.com;
发送时间: 2014年7月11日(星期五) 中午11:35
收件人: users-cnusers-cn@cloudstack.apache.org; 

主题: vm迁移实体机状态问题



一共10台实体机,vm迁移有个实体机显示not suitable,有点实体机显示suitable,请问显示not 
suitable状态的原因,怎么查找,实体机负载都很低,刚刚建立,vm一共20左右。存储使用sharemountpoint.‍‍

回复:vm迁移实体机状态问题

2014-07-10 Thread 上帝是个好导演
底层架构是什么? 安装相应的tools了吗?
  

 

 -- 原始邮件 --
  发件人: 虚无缥缈;83675...@qq.com;
 发送时间: 2014年7月11日(星期五) 中午11:35
 收件人: users-cnusers-cn@cloudstack.apache.org; 
 
 主题: vm迁移实体机状态问题

 

一共10台实体机,vm迁移有个实体机显示not suitable,有点实体机显示suitable,请问显示not 
suitable状态的原因,怎么查找,实体机负载都很低,刚刚建立,vm一共20左右。存储使用sharemountpoint.‍‍

存储还是0KB

2014-07-10 Thread div8cn
请求一下  系统虚拟机,SSVM 已经正常启动了,但是我的辅助存储还是0KB,这个应该怎么查?



div8cn

Re: force to install template

2014-07-10 Thread ilya musayev
Worse case - if reboot of Management Server and Secondary Storage VM did 
not help, you can alter the db vm_templates and add date to removed field.


If removed entry with date exists, cloudstack will no longer use this 
template.


You can re-add the template, you should see the path for xen-server and 
centos 5.6 template in db, should be something like:


http://download.cloud.com/templates/builtin/centos56-x86_64.vhd.bz2

http://download.cloud.com/releases/4.3/centos6_4_64bit.vhd.bz2

Regards,
ilya


On 7/9/14, 7:45 PM, Nux! wrote:

Hi,

Has rebooting the Secondary Storage VM accomplished anything?



--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


- Original Message -

From: Hollman Enciso R. hollman.enc...@gmail.com
To: users@cloudstack.apache.org
Sent: Wednesday, 9 July, 2014 2:52:19 PM
Subject: force to install template

Hello.

it's possible to force the installation of a template?

I recently installed and configure my zone. the template of centos started
to download and finished ok.
but on the CS manager in the templates menu (CentOS 5.6(64-bit) no GUI
(XenServer)) show me the status message:

Template download is already in progress or already downloaded.

any idea to proceed wit the installation?

thanks

--
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman





Re: New Cloud KC Meet Up Group

2014-07-10 Thread ilya musayev

Hi Tom

Few suggestions,

Mention this on relevant CloudStack (and other cloud like) LinkedIn 
groups. Consider reaching out to other meetups for joint venture.


Once you have CloudStack featured meetup, to help with promotion, create 
a tweet and put it here - we will retweet and use other sources to help 
with promotion.


Regards
ilya

On 7/8/14, 10:30 AM, Tom Martin wrote:

A new Kansas City Meet Up group specifically geared towards all things cloud 
has started.  We are looking to create a great community around cloud.  We will 
start out by learning how to build different cloud infrastructures, as well as 
try to bring in great speakers from the cloud industry.  If you are in the 
Kansas City area and would be interested in joining just go to 
http://www.meetup.com/Cloud-KC/ and become a member.

We are also actively looking for local sponsors for the the group, so if you or 
your company is interested in becoming a sponsor please let me know.


--
Thanks,

Tom Martin
tmar...@codero.com





Assign Static IP to a guest VM

2014-07-10 Thread Venkata Suneel Babu Mallela
Hi All,

How can I assign my own static IP address to a guest VM from CloudStack UI when 
DHCP is enabled in the Virtual Router?

Thank you,
Suneel Mallela



RE: Failed to create Template from all child Snapshots

2014-07-10 Thread Venkata Suneel Babu Mallela
Please help me, how to solve this?

Thank you,
Suneel Mallela

-Original Message-
From: Venkata Suneel Babu Mallela 
Sent: Tuesday, July 8, 2014 6:17 PM
To: users@cloudstack.apache.org
Subject: RE: Failed to create Template from all child Snapshots

Thanks for your reply, 

This is happening only for one CloudStack setup. I checked with other 
CloudStack setup, it's working fine.

I compared the following things for both setups,

Cloud database tables   -   cloud.volumes, cloud.snapshots and 
cloud.snapshots
Secondary Storage   -   from SSVM checked the physical vhd files using 
vhd-utils

Please suggest if anything I missed, I'm using ACS 4.2.0 and XenServer 6.0.2, 
6.2.0

Thank you,
Suneel Mallela

-Original Message-
From: Shweta Agarwal [mailto:shweta.agar...@citrix.com] 
Sent: Tuesday, July 8, 2014 5:50 PM
To: users@cloudstack.apache.org
Subject: RE: Failed to create Template from all child Snapshots

This seems like a bug . Please go ahead and file a jira ticket for the same  .


Thanks
Shweta

-Original Message-
From: Venkata Suneel Babu Mallela [mailto:sunee...@simplifydc.com] 
Sent: Tuesday, July 08, 2014 5:13 PM
To: users@cloudstack.apache.org
Subject: Failed to create Template from all child Snapshots

Hi All,

I tried to create a template from a volume snapshot and observed the following 
things.


1.   I'm able to create template from a snapshot which is not having child 
snapshots (Full BackUp).

2.   But, unable to create a template from any child snapshots and I'm keep 
getting the following error for all volumes.

 Failed to create templatejava.io.FileNotFoundException:
/mnt/SecStorage/7123f16b-4d6b-3dba-8554-2b71fdca8511/template/tmpl/58/482/template.properties
(No such file or directory) 

Please help me how to resolve this.

Thank you,
Suneel Mallela


Re: Assign Static IP to a guest VM

2014-07-10 Thread Jayapal Reddy Uradi
Hi Suneel,

While deploying VM you can specify the ip address for the VM in API.
If the vm is already deployed then you can acquire secondary ip to the nic and 
configure the 
ip in the VM using ip addr command.

Thanks,
Jayapal


On 10-Jul-2014, at 12:00 PM, Venkata Suneel Babu Mallela 
sunee...@simplifydc.com
 wrote:

 Hi All,
 
 How can I assign my own static IP address to a guest VM from CloudStack UI 
 when DHCP is enabled in the Virtual Router?
 
 Thank you,
 Suneel Mallela
 



RE: Failed to create Template from all child Snapshots

2014-07-10 Thread Shweta Agarwal
You can compare on your two setups whether template.properties files which its 
trying to find and failing to get in case of child snapshot, is available in 
secondary storage at specified location for child snapshots .


 

-Original Message-
From: Venkata Suneel Babu Mallela [mailto:sunee...@simplifydc.com] 
Sent: Thursday, July 10, 2014 12:03 PM
To: users@cloudstack.apache.org
Subject: RE: Failed to create Template from all child Snapshots

Please help me, how to solve this?

Thank you,
Suneel Mallela

-Original Message-
From: Venkata Suneel Babu Mallela 
Sent: Tuesday, July 8, 2014 6:17 PM
To: users@cloudstack.apache.org
Subject: RE: Failed to create Template from all child Snapshots

Thanks for your reply, 

This is happening only for one CloudStack setup. I checked with other 
CloudStack setup, it's working fine.

I compared the following things for both setups,

Cloud database tables   -   cloud.volumes, cloud.snapshots and 
cloud.snapshots
Secondary Storage   -   from SSVM checked the physical vhd files using 
vhd-utils

Please suggest if anything I missed, I'm using ACS 4.2.0 and XenServer 6.0.2, 
6.2.0

Thank you,
Suneel Mallela

-Original Message-
From: Shweta Agarwal [mailto:shweta.agar...@citrix.com] 
Sent: Tuesday, July 8, 2014 5:50 PM
To: users@cloudstack.apache.org
Subject: RE: Failed to create Template from all child Snapshots

This seems like a bug . Please go ahead and file a jira ticket for the same  .


Thanks
Shweta

-Original Message-
From: Venkata Suneel Babu Mallela [mailto:sunee...@simplifydc.com] 
Sent: Tuesday, July 08, 2014 5:13 PM
To: users@cloudstack.apache.org
Subject: Failed to create Template from all child Snapshots

Hi All,

I tried to create a template from a volume snapshot and observed the following 
things.


1.   I'm able to create template from a snapshot which is not having child 
snapshots (Full BackUp).

2.   But, unable to create a template from any child snapshots and I'm keep 
getting the following error for all volumes.

 Failed to create templatejava.io.FileNotFoundException:
/mnt/SecStorage/7123f16b-4d6b-3dba-8554-2b71fdca8511/template/tmpl/58/482/template.properties
(No such file or directory) 

Please help me how to resolve this.

Thank you,
Suneel Mallela


RE: Assign Static IP to a guest VM

2014-07-10 Thread Venkata Suneel Babu Mallela
Thank you very much.

-Original Message-
From: Jayapal Reddy Uradi [mailto:jayapalreddy.ur...@citrix.com] 
Sent: Thursday, July 10, 2014 12:08 PM
To: users@cloudstack.apache.org
Subject: Re: Assign Static IP to a guest VM

Hi Suneel,

While deploying VM you can specify the ip address for the VM in API.
If the vm is already deployed then you can acquire secondary ip to the nic and 
configure the ip in the VM using ip addr command.

Thanks,
Jayapal


On 10-Jul-2014, at 12:00 PM, Venkata Suneel Babu Mallela 
sunee...@simplifydc.com
 wrote:

 Hi All,
 
 How can I assign my own static IP address to a guest VM from CloudStack UI 
 when DHCP is enabled in the Virtual Router?
 
 Thank you,
 Suneel Mallela
 



Windows Template Question

2014-07-10 Thread John Muckley
Hello Chaps,

I have a question that nobody seems to be able to answer for me, so I thought 
I’d try my luck with you guys.

When I first deployed our CloudStack and captured a windows template, the 
resulting windows VMs would take about 2 minutes from being requested to being 
deployed and up. The problem here was that windows prompted for a product key 
prior to displaying the logon screen and wouldn’t allow logon (either local or 
remote) until that was entered.

Naturally I applied an unattend.xml (pasted Below) to put the product key in 
automatically which solved the problem and made everything work perfectly, 
however my Windows VMs don’t deploy in 2 minutes anymore, they take 12 minutes… 
most of which is a black screen with ‘Preparing your computer for first use’ on 
it.

I realise that 12 minutes isn’t a bad time from request to being online and 
ready, however It would be brilliant if I could get this back down to the 
couple of minutes it was originally.

Any thoughts?

Thanks guys!!


UNATTEND.XML:

?xml version=1.0 encoding=utf-8?
unattend xmlns=urn:schemas-microsoft-com:unattend
settings pass=windowsPE
component name=Microsoft-Windows-Setup publicKeyToken=31bf3856ad364e35 
language=neutral versionScope=nonSxS processorArchitecture=amd64
UserData
AcceptEulatrue/AcceptEula
FullNameDBXCloud/FullName
OrganizationDBX/Organization
ProductKeyX-X-X-X-X/ProductKey
/UserData
/component
/settings
settings pass=oobeSystem
component name=Microsoft-Windows-International-Core 
processorArchitecture=amd64 publicKeyToken=31bf3856ad364e35 
language=neutral versionScope=nonSxS 
xmlns:wcm=http://schemas.microsoft.com/WMIConfig/2002/State; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
InputLocaleen-UK/InputLocale
SystemLocaleen-UK/SystemLocale
UILanguageen-UK/UILanguage
UserLocaleen-UK/UserLocale
/component
component name=Microsoft-Windows-Shell-Setup processorArchitecture=amd64 
publicKeyToken=31bf3856ad364e35 language=neutral versionScope=nonSxS 
xmlns:wcm=http://schemas.microsoft.com/WMIConfig/2002/State; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
OOBE
SkipMachineOOBEtrue/SkipMachineOOBE
SkipUserOOBEtrue/SkipUserOOBE
NetworkLocationWork/NetworkLocation
/OOBE
/component
/settings
/unattend





This is an e-mail from Databax Ltd (Company No.04085248). The contents of this 
e-mail are confidential. Databax Ltd does not accept responsibility for the 
accuracy or completeness of the contents of this e-mail as it has been 
transmitted over a public network.  If you receive this e-mail in error please 
accept our apology. If this is the case we would be obliged if you would 
contact the sender and then delete this e-mail. This e-mail and/or any replies 
to it, and any attachments may be intercepted, copied or monitored by Databax 
Ltd for the purpose of monitoring or keeping record of its business and for the 
purposes set out in the Telecommunications (Lawful Business Practices) 
(Interception of Communications) Regulations 2000. All statements made in this 
e-mail are subject to contract. The contents are not to be regarded as a 
contractual offer or acceptance. The sender is not authorised to bind Databax 
Ltd. The views expressed in this e-mail are those of the sender and not 
necessarily those of  Databax Ltd.
Feel free to visit the Databax web site at 
www.databax.comhttp://www.databax.com/  to find out about our range of 
products and services, and for the latest Databax news and information.



Please consider the environment before printing this email.


Fwd: Citrix Webinar - July 17

2014-07-10 Thread Amy Lindberg
Citrix and Appcore are hosting a webinar on July 17. We would like to
invite all of you to attend and to share through your network. During the
webinar we will be comparing Citrix CloudPlatform to others in the market
as well as discussing common pitfalls of deploying a service provider
cloud.

Here is the link for more details:
http://www.citrix.com/cms/ready/citrix-ready-webinar-appcore/?pcode=acs

Thank you,

*Amy Lindberg*
Director of Operations

Office +1.800.735.7104  |  Direct +1.515.612.7792
Mobile +1.515.250.7003 |  www.appcore.com
--

The information in this message is intended for the named recipients only.
It may contain information that is privileged, confidential or otherwise
protected from disclosure. If you are not the intended recipient, you are
hereby notified that any disclosure, copying, distribution, or the taking
of any action in reliance on the contents of this message is strictly
prohibited. If you have received this e-mail in error, do not print it or
disseminate it or its contents. In such event, please notify the sender by
return e-mail and delete the e-mail file immediately thereafter. Thank you.


RE: Windows Template Question

2014-07-10 Thread John Muckley
I did indeed Sysprep it, yes.
I sysprep with /oobe /generalize /shutdown and /unattend




-Original Message-
From: Timothy Lothering [mailto:tlother...@datacentrix.co.za]
Sent: 10 July 2014 12:57
To: users@cloudstack.apache.org
Subject: RE: Windows Template Question

Hi John,

Did you sysprep the VM template?

Kind Regards,

Timothy Lothering

-Original Message-
From: John Muckley [mailto:j.muck...@databax.com]
Sent: 10 July 2014 01:31 PM
To: users@cloudstack.apache.org
Subject: Windows Template Question

Hello Chaps,

I have a question that nobody seems to be able to answer for me, so I thought 
I’d try my luck with you guys.

When I first deployed our CloudStack and captured a windows template, the 
resulting windows VMs would take about 2 minutes from being requested to being 
deployed and up. The problem here was that windows prompted for a product key 
prior to displaying the logon screen and wouldn’t allow logon (either local or 
remote) until that was entered.

Naturally I applied an unattend.xml (pasted Below) to put the product key in 
automatically which solved the problem and made everything work perfectly, 
however my Windows VMs don’t deploy in 2 minutes anymore, they take 12 minutes… 
most of which is a black screen with ‘Preparing your computer for first use’ on 
it.

I realise that 12 minutes isn’t a bad time from request to being online and 
ready, however It would be brilliant if I could get this back down to the 
couple of minutes it was originally.

Any thoughts?

Thanks guys!!


UNATTEND.XML:

?xml version=1.0 encoding=utf-8?
unattend xmlns=urn:schemas-microsoft-com:unattend
settings pass=windowsPE
component name=Microsoft-Windows-Setup publicKeyToken=31bf3856ad364e35 
language=neutral versionScope=nonSxS processorArchitecture=amd64 
UserData AcceptEulatrue/AcceptEula FullNameDBXCloud/FullName 
OrganizationDBX/Organization 
ProductKeyX-X-X-X-X/ProductKey
/UserData
/component
/settings
settings pass=oobeSystem
component name=Microsoft-Windows-International-Core 
processorArchitecture=amd64 publicKeyToken=31bf3856ad364e35 
language=neutral versionScope=nonSxS 
xmlns:wcm=http://schemas.microsoft.com/WMIConfig/2002/State; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
InputLocaleen-UK/InputLocale
SystemLocaleen-UK/SystemLocale
UILanguageen-UK/UILanguage
UserLocaleen-UK/UserLocale
/component
component name=Microsoft-Windows-Shell-Setup processorArchitecture=amd64 
publicKeyToken=31bf3856ad364e35 language=neutral versionScope=nonSxS 
xmlns:wcm=http://schemas.microsoft.com/WMIConfig/2002/State; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
OOBE
SkipMachineOOBEtrue/SkipMachineOOBE
SkipUserOOBEtrue/SkipUserOOBE
NetworkLocationWork/NetworkLocation
/OOBE
/component
/settings
/unattend





This is an e-mail from Databax Ltd (Company No.04085248). The contents of this 
e-mail are confidential. Databax Ltd does not accept responsibility for the 
accuracy or completeness of the contents of this e-mail as it has been 
transmitted over a public network.  If you receive this e-mail in error please 
accept our apology. If this is the case we would be obliged if you would 
contact the sender and then delete this e-mail. This e-mail and/or any replies 
to it, and any attachments may be intercepted, copied or monitored by Databax 
Ltd for the purpose of monitoring or keeping record of its business and for the 
purposes set out in the Telecommunications (Lawful Business Practices) 
(Interception of Communications) Regulations 2000. All statements made in this 
e-mail are subject to contract. The contents are not to be regarded as a 
contractual offer or acceptance. The sender is not authorised to bind Databax 
Ltd. The views expressed in this e-mail are those of the sender and not 
necessarily those of  Databax Ltd.
Feel free to visit the Databax web site at 
www.databax.comhttp://www.databax.com/  to find out about our range of 
products and services, and for the latest Databax news and information.



Please consider the environment before printing this email.
Timothy Lothering
Solutions Architect
Managed Services

T: +27877415535
F: +27877415100
C: +27824904099
E: tlother...@datacentrix.co.za


DISCLAIMER NOTICE:

Everything in this e-mail and any attachments relating to the official business 
of Datacentrix Holdings Ltd. and its subsidiaries
('Datacentrix') is proprietary to Datacentrix. It is confidential, legally 
privileged and protected by law. Datacentrix does not own and endorse any other 
content. Views and opinions are those of the sender unless clearly stated as 
being that of Datacentrix.
The person addressed in the e-mail is the sole authorised recipient. Please 
notify the sender immediately if it has unintentionally reached you and do not 
read, disclose or use the content in any way. Datacentrix cannot assure that 
the integrity of this communication has been maintained nor that it is free of 
errors, 

Re: Windows Template Question

2014-07-10 Thread Nux!
Hi,

That is just normal behaviour with sysprepped Windows. You can't speed this 
process much. My templates exhibit the same issue.
If you don't sysprep the templates, you'll end up with other (more serious) 
problems.
Yes, Windows sucks. :-)

HTH
Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro



Re: force to install template

2014-07-10 Thread Hollman Enciso R.
On Wed, Jul 9, 2014 at 6:45 PM, Nux! n...@li.nux.ro wrote:

 Hi,

 Has rebooting the Secondary Storage VM accomplished anything?


yes.

it works just restarting the SSVM

thanks


-- 
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman


RE: Windows Template Question

2014-07-10 Thread Geoff Higginbottom
John,

I've just spun up a Windows 2008 R2 Web Edition VM in my lab to test this for 
you.  The Template was sysprepped has an unattend answer file, cloudstack 
password reset package etc.

My test rig is NOT enterprise grade hardware so I do not expect great 
performance, however I can login to the instance within 6 mins (I would expect 
this be only a few minutes on decent Kit, but it all depends on the Storage 
IOPs).   Furthermore, we make the VM auto activate on first boot so when the 
user logs in, there are no activation messages, as well as run a number of post 
boot scripts to clean up all the unattend settings.

I noted down the various boot messages and their times:

After approx 1 min simple text message setup is updating registry
Then Setup is starting services with glowing bar below
2 mins 30 setup is applying system settings
2 mins 45 setup will continue after restarting your computer
4 mins (after a reboot) setup is preparing your computer for first use
4 Mins 30 - Prompt to accepts terms (we can automate this but this templates 
forces the user to accept)  - windows is finalizing your settings
6 mins - logged in and fully activated

Looking at you unattend.xml it has a number of differences to mine, and 
includes what I believe are invalid settings such as the locales etc.  Mine are 
set to en-GB with the exception of UILanguage which has to be set to en-US 
(at least it did last time I researched this)

Here is a sample unattend.xml, try this to see if improves things and let me 
know how you get on.

?xml version=1.0 encoding=utf-8?
unattend xmlns=urn:schemas-microsoft-com:unattend
settings pass=oobeSystem
component name=Microsoft-Windows-International-Core 
processorArchitecture=amd64 publicKeyToken=31bf3856ad364e35 
language=neutral versionScope=nonSxS 
xmlns:wcm=http://schemas.microsoft.com/WMIConfig/2002/State; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
InputLocaleen-GB/InputLocale
SystemLocaleen-GB/SystemLocale
UILanguageen-US/UILanguage
UILanguageFallbacken-US/UILanguageFallback
UserLocaleen-GB/UserLocale
/component
/settings
settings pass=windowsPE
component name=Microsoft-Windows-Setup processorArchitecture=amd64 
publicKeyToken=31bf3856ad364e35 language=neutral versionScope=nonSxS 
xmlns:wcm=http://schemas.microsoft.com/WMIConfig/2002/State; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
UserData
ProductKey
WillShowUIOnError/WillShowUI
Key----/Key
/ProductKey
/UserData
/component
/settings
settings pass=generalize
component name=Microsoft-Windows-PnpSysprep 
processorArchitecture=amd64 publicKeyToken=31bf3856ad364e35 
language=neutral versionScope=nonSxS 
xmlns:wcm=http://schemas.microsoft.com/WMIConfig/2002/State; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
PersistAllDeviceInstallstrue/PersistAllDeviceInstalls
/component
/settings
cpi:offlineImage cpi:source=catalog:c:/software/microsoft/ms windows 
server spla/wim/install_windows server 2008 r2 serverweb.clg 
xmlns:cpi=urn:schemas-microsoft-com:cpi /
/unattend

Regards

Geoff Higginbottom

D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

geoff.higginbot...@shapeblue.com

-Original Message-
From: John Muckley [mailto:j.muck...@databax.com]
Sent: 10 July 2014 16:38
To: users@cloudstack.apache.org
Subject: RE: Windows Template Question

I did indeed Sysprep it, yes.
I sysprep with /oobe /generalize /shutdown and /unattend




-Original Message-
From: Timothy Lothering [mailto:tlother...@datacentrix.co.za]
Sent: 10 July 2014 12:57
To: users@cloudstack.apache.org
Subject: RE: Windows Template Question

Hi John,

Did you sysprep the VM template?

Kind Regards,

Timothy Lothering

-Original Message-
From: John Muckley [mailto:j.muck...@databax.com]
Sent: 10 July 2014 01:31 PM
To: users@cloudstack.apache.org
Subject: Windows Template Question

Hello Chaps,

I have a question that nobody seems to be able to answer for me, so I thought 
I’d try my luck with you guys.

When I first deployed our CloudStack and captured a windows template, the 
resulting windows VMs would take about 2 minutes from being requested to being 
deployed and up. The problem here was that windows prompted for a product key 
prior to displaying the logon screen and wouldn’t allow logon (either local or 
remote) until that was entered.

Naturally I applied an unattend.xml (pasted Below) to put the product key in 
automatically which solved the problem and made everything work perfectly, 
however my Windows VMs don’t deploy in 2 minutes anymore, they take 12 minutes… 
most of which is a black screen with ‘Preparing your computer for first use’ on 
it.

I realise that 12 minutes isn’t a bad time from request to being online and 
ready, however 

Re: Help with CloudStack using Local Storage

2014-07-10 Thread Hollman Enciso R.
On Thu, Jul 10, 2014 at 11:54 AM, Ian Duffy i...@ianduffy.ie wrote:

 Hi Hollman,

 To bring up your system vms on a hypervisor with primary storage supplied
 by local storage you will need to change the Global settings option
 for system.vm.use.local.storage to be true.

 You will need to create new service offerings and disk offerings as
 required to enable local storage to be used on user brought up vms.

 Hope this helps


Thanks for answer.


I changed the option in global settings system.vm.use.local.storage to true.

Now. the system offering System Offering For Secondary Storage VM and
System Offering For Console Proxy said that the Storage Type are local
But. they use the Small instance Compute offering that are shared storage
type and it's impossible to change it.

So. i created a new service offering with local storage. but now. How can I
define that the Secondary Storage VM and the Console Proxy use this service
offering?

In general. how can I change the default service offering for this VMM's ?


-- 
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman


Re: Help with CloudStack using Local Storage

2014-07-10 Thread Ian Duffy

 I changed the option in global settings system.vm.use.local.storage to
 true.


Good, did you restart the management server after you did this?



 How can I define that the Secondary Storage VM and the Console Proxy use
 this service
 offering?


No need to do this. The secondary storage vm and console proxy vm will go
of the global setting option.


Re: Windows Template Question

2014-07-10 Thread ilya musayev
I'm with Lucian, this is general windows issue - you cant do anything 
faster.


Sysprep will take what it takes and its nothing to do with CloudStack.

Unless you don't have windows AD - and dont care about unique SIDs, then 
you could just clone windows VMs as is, but you should not have any 
uniformed management system that cares about SIDs.




On 7/10/14, 11:55 AM, Nux! wrote:

Hi,

That is just normal behaviour with sysprepped Windows. You can't speed this 
process much. My templates exhibit the same issue.
If you don't sysprep the templates, you'll end up with other (more serious) 
problems.
Yes, Windows sucks. :-)

HTH
Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro





Re: Help with CloudStack using Local Storage

2014-07-10 Thread Hollman Enciso R.
On Thu, Jul 10, 2014 at 1:40 PM, Ian Duffy i...@ianduffy.ie wrote:

  I changed the option in global settings system.vm.use.local.storage to
  true.

 Good, did you restart the management server after you did this?


Yeap.



  How can I define that the Secondary Storage VM and the Console Proxy use
  this service
  offering?
 

 No need to do this. The secondary storage vm and console proxy vm will go
 of the global setting option.


Really sure ? :P

ok, so i will start to configure the zone.

the last question:

Configuring the primary storage on the zone i have to choose preSetup and
put the Name of the Local Storage displayed on XenCenter (i'm using
XenServer 6.2 )?


-- 
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman


RE: Help with CloudStack using Local Storage

2014-07-10 Thread Geoff Higginbottom
Hollman,

When creating the zone, simply select the local storage option, cloudstack will 
then use the local storage on the Hosts.

Regards

Geoff Higginbottom

D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

geoff.higginbot...@shapeblue.com

-Original Message-
From: Hollman Enciso R. [mailto:hollman.enc...@gmail.com]
Sent: 10 July 2014 19:55
To: users@cloudstack.apache.org
Subject: Re: Help with CloudStack using Local Storage

On Thu, Jul 10, 2014 at 1:40 PM, Ian Duffy i...@ianduffy.ie wrote:

  I changed the option in global settings system.vm.use.local.storage
  to true.

 Good, did you restart the management server after you did this?


Yeap.



  How can I define that the Secondary Storage VM and the Console Proxy
  use this service offering?
 

 No need to do this. The secondary storage vm and console proxy vm will
 go of the global setting option.


Really sure ? :P

ok, so i will start to configure the zone.

the last question:

Configuring the primary storage on the zone i have to choose preSetup and put 
the Name of the Local Storage displayed on XenCenter (i'm using XenServer 6.2 )?


--
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman
Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design  Buildhttp://shapeblue.com/iaas-cloud-design-and-build//
CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/
CloudStack Bootcamp Training Courseshttp://shapeblue.com/cloudstack-training/

This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England  Wales. ShapeBlue Services India LLP is a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.


Re: Help with CloudStack using Local Storage

2014-07-10 Thread Hollman Enciso R.
On Thu, Jul 10, 2014 at 2:30 PM, Geoff Higginbottom 
geoff.higginbot...@shapeblue.com wrote:

 Hollman,

 When creating the zone, simply select the local storage option, cloudstack
 will then use the local storage on the Hosts


I've never seen this option on the first step of the zone configuration.
thank you.

Y start my zone but it's not work.

This it's the log if someone can help me
http://paste.algolibre.com/113

I identify some errors but i don't understand so much :

can not create vdi in sr 24d0e050-be32-f31a-aa93-0d6ce17d2d33

[StoragePool:1] is unreachable: Unable to create Vol[1|vm=1|ROOT]:

Exception while trying to start console proxy
Exception while trying to start secondary storage vm

Unable to acquire lock on VMTemplateStoragePool 7

any idea ?

thank for your help

-- 
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman


RE: Help with CloudStack using Local Storage

2014-07-10 Thread Geoff Higginbottom
Are you seeing anything getting created on local storage, logs look like they 
are reporting problems locking the storage

Regards

Geoff Higginbottom

D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

geoff.higginbot...@shapeblue.com

-Original Message-
From: Hollman Enciso R. [mailto:hollman.enc...@gmail.com]
Sent: 10 July 2014 20:59
To: users@cloudstack.apache.org
Subject: Re: Help with CloudStack using Local Storage

On Thu, Jul 10, 2014 at 2:30 PM, Geoff Higginbottom  
geoff.higginbot...@shapeblue.com wrote:

 Hollman,

 When creating the zone, simply select the local storage option,
 cloudstack will then use the local storage on the Hosts


I've never seen this option on the first step of the zone configuration.
thank you.

Y start my zone but it's not work.

This it's the log if someone can help me
http://paste.algolibre.com/113

I identify some errors but i don't understand so much :

can not create vdi in sr 24d0e050-be32-f31a-aa93-0d6ce17d2d33

[StoragePool:1] is unreachable: Unable to create Vol[1|vm=1|ROOT]:

Exception while trying to start console proxy Exception while trying to start 
secondary storage vm

Unable to acquire lock on VMTemplateStoragePool 7

any idea ?

thank for your help

--
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman
Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design  Buildhttp://shapeblue.com/iaas-cloud-design-and-build//
CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/
CloudStack Bootcamp Training Courseshttp://shapeblue.com/cloudstack-training/

This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England  Wales. ShapeBlue Services India LLP is a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.


Re: Help with CloudStack using Local Storage

2014-07-10 Thread Hollman Enciso R.
On Thu, Jul 10, 2014 at 2:59 PM, Hollman Enciso R. hollman.enc...@gmail.com
 wrote:

 On Thu, Jul 10, 2014 at 2:30 PM, Geoff Higginbottom 
 geoff.higginbot...@shapeblue.com wrote:

 Hollman,

 When creating the zone, simply select the local storage option,
 cloudstack will then use the local storage on the Hosts


 I've never seen this option on the first step of the zone configuration.
 thank you.

 Y start my zone but it's not work.

 This it's the log if someone can help me
 http://paste.algolibre.com/113

 I identify some errors but i don't understand so much :

 can not create vdi in sr 24d0e050-be32-f31a-aa93-0d6ce17d2d33

 [StoragePool:1] is unreachable: Unable to create Vol[1|vm=1|ROOT]:

 Exception while trying to start console proxy
 Exception while trying to start secondary storage vm

 Unable to acquire lock on VMTemplateStoragePool 7

 any idea ?

 thank for your help


The storage status on the management Server UI

NameXSELNLAB01 Local StorageID24d0e050-be32-f31a-aa93-0d6ce17d2d33
StateUpStorage
Tags
ZoneCompuDev PodDevClusterXSELNLAB01TypeLVM IP Address10.0.8.20PathlvmDisk
Total224.88 GB Disk Allocated
IOPS Total

NamesecondaryURLnfs://10.0.50.11/secondary/secondary ProtocolnfsProviderNFS
ScopeZONE ZonecompuDevDetails
ID326316e2-d734-4ecb-97c5-b64ab6933357


-- 
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman


Re: Help with CloudStack using Local Storage

2014-07-10 Thread Hollman Enciso R.
On Thu, Jul 10, 2014 at 3:04 PM, Geoff Higginbottom 
geoff.higginbot...@shapeblue.com wrote:

 Are you seeing anything getting created on local storage, logs look like
 they are reporting problems locking the storage


on the XenServer i found the /var/log/cloud/vmops.log file

http://paste.algolibre.com/114

error copying from the Secondary Storage to the Primary Storage (XenServer)
?

-- 
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman


RE: Help with CloudStack using Local Storage

2014-07-10 Thread Geoff Higginbottom
Check the settings for the NFS on the Secondary Storage Server, make sure you 
have used rw,async,no_root_squash etc

Regards

Geoff Higginbottom

D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

geoff.higginbot...@shapeblue.com

-Original Message-
From: Hollman Enciso R. [mailto:hollman.enc...@gmail.com]
Sent: 10 July 2014 21:12
To: users@cloudstack.apache.org
Subject: Re: Help with CloudStack using Local Storage

On Thu, Jul 10, 2014 at 3:04 PM, Geoff Higginbottom  
geoff.higginbot...@shapeblue.com wrote:

 Are you seeing anything getting created on local storage, logs look
 like they are reporting problems locking the storage


on the XenServer i found the /var/log/cloud/vmops.log file

http://paste.algolibre.com/114

error copying from the Secondary Storage to the Primary Storage (XenServer) ?

--
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman
Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design  Buildhttp://shapeblue.com/iaas-cloud-design-and-build//
CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/
CloudStack Bootcamp Training Courseshttp://shapeblue.com/cloudstack-training/

This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England  Wales. ShapeBlue Services India LLP is a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.


Re: Cloud Stack 1TB volumes limitation

2014-07-10 Thread Mathias Mullins
Amin, 

Go in to Global Settings - storage.max.volume.size and reset it above
1024. 

Thanks,
Matt Mullins
Cloud Architect
Americas Cloud Consulting ­ Citrix System, Inc.
+1 (407) 920-1107 ­ Office/Cell Phone
matt.mull...@citrix.com






On 7/4/14, 2:16 AM, Amin Samir a...@opencloud.net.au wrote:

Hello,

 
Has anyone know a workaround for the 1TB limitations in volumes?

 
Kind Regards

Amin




Ubuntu 12.04 LTS going to be unsupported

2014-07-10 Thread Erdősi Péter

Dear,

I saw the new 14.04 LTS Ubuntu is coming, and 12.04 will not be 
supported anymore.

I checked the repository, but just precise directory was there.
Are there anybody have information about Trusty support? (4.2 for me)

Thanks,
 Peter


Re: Ubuntu 12.04 LTS going to be unsupported

2014-07-10 Thread Erik Weber
On Thu, Jul 10, 2014 at 11:20 PM, Erdősi Péter f...@niif.hu wrote:

 Dear,

 I saw the new 14.04 LTS Ubuntu is coming, and 12.04 will not be supported
 anymore.
 I checked the repository, but just precise directory was there.
 Are there anybody have information about Trusty support? (4.2 for me)



What do you mean 'not supported'? By Canonical / Ubuntu, or by
Apache/CloudStack?

Canonical / Ubuntu plan to support 12.04 until late 2017.

-- 
Erik


Re: Help with CloudStack using Local Storage

2014-07-10 Thread Hollman Enciso R.
On Thu, Jul 10, 2014 at 3:43 PM, Geoff Higginbottom 
geoff.higginbot...@shapeblue.com wrote:

 Check the settings for the NFS on the Secondary Storage Server, make sure
 you have used rw,async,no_root_squash etc


yes.

I mounted the nfs under XenServer and works ok

root@XSELNLAB01 ~]# mount -t nfs 10.0.50.11:/secondary/secondary
/mnt/testsec/
[root@XSELNLAB01 ~]# df -h
FilesystemSize  Used Avail Use% Mounted on
/dev/sda1 4.0G  1.9G  1.9G  51% /
none  373M   28K  373M   1% /dev/shm
/opt/xensource/packages/iso/XenCenter.iso
   52M   52M 0 100% /var/xen/xc-install
10.0.50.11:/secondary/secondary
  144G  2.7G  134G   2% /mnt/testsec


-- 
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman


VMware Datastore Question

2014-07-10 Thread Jeff Barnett
I am planning on adding a zone that is supported by VMware, I was wondering if 
I should stick with what I normally do in my VMware clusters that is to have 
datastores that are no larger than 2 TB, but the question I had with that is 
how does Cloudstack tell the VMware cluster to create the instance on different 
datastores, is it as simple as adding a primary storage for each of the 
datastores?




Re: VMware Datastore Question

2014-07-10 Thread Kirk Kosinski
Hi, yes, all you need to do is add each datastore as a primary storage
in CloudStack.

Best regards,
Kirk

On 07/10/2014 08:35 PM, Jeff Barnett wrote:
 I am planning on adding a zone that is supported by VMware, I was wondering 
 if I should stick with what I normally do in my VMware clusters that is to 
 have datastores that are no larger than 2 TB, but the question I had with 
 that is how does Cloudstack tell the VMware cluster to create the instance on 
 different datastores, is it as simple as adding a primary storage for each of 
 the datastores?






RE: Help with CloudStack using Local Storage

2014-07-10 Thread Suresh Sadhu
Does your xen host has vhd-utill  in right location ?

It seems its unable to access  your storage, this kind of error were noticed 
earlier when vhd-util is not exists in right location.


Also for localstorage: 

You need enable the flag  during zone creation and  also set the global 
configuration parameters as mentioned by Geoff earlier.




Regards
sadhu



-Original Message-
From: Geoff Higginbottom [mailto:geoff.higginbot...@shapeblue.com] 
Sent: 11 July 2014 01:35
To: users@cloudstack.apache.org
Subject: RE: Help with CloudStack using Local Storage

Are you seeing anything getting created on local storage, logs look like they 
are reporting problems locking the storage

Regards

Geoff Higginbottom

D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

geoff.higginbot...@shapeblue.com

-Original Message-
From: Hollman Enciso R. [mailto:hollman.enc...@gmail.com]
Sent: 10 July 2014 20:59
To: users@cloudstack.apache.org
Subject: Re: Help with CloudStack using Local Storage

On Thu, Jul 10, 2014 at 2:30 PM, Geoff Higginbottom  
geoff.higginbot...@shapeblue.com wrote:

 Hollman,

 When creating the zone, simply select the local storage option, 
 cloudstack will then use the local storage on the Hosts


I've never seen this option on the first step of the zone configuration.
thank you.

Y start my zone but it's not work.

This it's the log if someone can help me
http://paste.algolibre.com/113

I identify some errors but i don't understand so much :

can not create vdi in sr 24d0e050-be32-f31a-aa93-0d6ce17d2d33

[StoragePool:1] is unreachable: Unable to create Vol[1|vm=1|ROOT]:

Exception while trying to start console proxy Exception while trying to start 
secondary storage vm

Unable to acquire lock on VMTemplateStoragePool 7

any idea ?

thank for your help

--
Hollman Eduardo Enciso R.
http://algolibre.com
@hollman
Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design  Buildhttp://shapeblue.com/iaas-cloud-design-and-build//
CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/
CloudStack Bootcamp Training Courseshttp://shapeblue.com/cloudstack-training/

This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England  Wales. ShapeBlue Services India LLP is a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.


Re: Windows Template Question

2014-07-10 Thread Kirk Kosinski
Hi, John.  The delay is probably due to the devices being re-detected.
This step is likely unnecessary so try enabling PersistAllDeviceInstalls
[1] in your XML to skip it.  Let us know how it goes.

Best regards,
Kirk

[1] http://technet.microsoft.com/en-us/library/cc722095%28WS.10%29.aspx

On 07/10/2014 08:38 AM, John Muckley wrote:
 I did indeed Sysprep it, yes.
 I sysprep with /oobe /generalize /shutdown and /unattend
 
 
 
 
 -Original Message-
 From: Timothy Lothering [mailto:tlother...@datacentrix.co.za]
 Sent: 10 July 2014 12:57
 To: users@cloudstack.apache.org
 Subject: RE: Windows Template Question
 
 Hi John,
 
 Did you sysprep the VM template?
 
 Kind Regards,
 
 Timothy Lothering
 
 -Original Message-
 From: John Muckley [mailto:j.muck...@databax.com]
 Sent: 10 July 2014 01:31 PM
 To: users@cloudstack.apache.org
 Subject: Windows Template Question
 
 Hello Chaps,
 
 I have a question that nobody seems to be able to answer for me, so I thought 
 I’d try my luck with you guys.
 
 When I first deployed our CloudStack and captured a windows template, the 
 resulting windows VMs would take about 2 minutes from being requested to 
 being deployed and up. The problem here was that windows prompted for a 
 product key prior to displaying the logon screen and wouldn’t allow logon 
 (either local or remote) until that was entered.
 
 Naturally I applied an unattend.xml (pasted Below) to put the product key in 
 automatically which solved the problem and made everything work perfectly, 
 however my Windows VMs don’t deploy in 2 minutes anymore, they take 12 
 minutes… most of which is a black screen with ‘Preparing your computer for 
 first use’ on it.
 
 I realise that 12 minutes isn’t a bad time from request to being online and 
 ready, however It would be brilliant if I could get this back down to the 
 couple of minutes it was originally.
 
 Any thoughts?
 
 Thanks guys!!
 
 
 UNATTEND.XML:
 
 ?xml version=1.0 encoding=utf-8?
 unattend xmlns=urn:schemas-microsoft-com:unattend
 settings pass=windowsPE
 component name=Microsoft-Windows-Setup publicKeyToken=31bf3856ad364e35 
 language=neutral versionScope=nonSxS processorArchitecture=amd64 
 UserData AcceptEulatrue/AcceptEula FullNameDBXCloud/FullName 
 OrganizationDBX/Organization 
 ProductKeyX-X-X-X-X/ProductKey
 /UserData
 /component
 /settings
 settings pass=oobeSystem
 component name=Microsoft-Windows-International-Core 
 processorArchitecture=amd64 publicKeyToken=31bf3856ad364e35 
 language=neutral versionScope=nonSxS 
 xmlns:wcm=http://schemas.microsoft.com/WMIConfig/2002/State; 
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 InputLocaleen-UK/InputLocale
 SystemLocaleen-UK/SystemLocale
 UILanguageen-UK/UILanguage
 UserLocaleen-UK/UserLocale
 /component
 component name=Microsoft-Windows-Shell-Setup processorArchitecture=amd64 
 publicKeyToken=31bf3856ad364e35 language=neutral versionScope=nonSxS 
 xmlns:wcm=http://schemas.microsoft.com/WMIConfig/2002/State; 
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 OOBE
 SkipMachineOOBEtrue/SkipMachineOOBE
 SkipUserOOBEtrue/SkipUserOOBE
 NetworkLocationWork/NetworkLocation
 /OOBE
 /component
 /settings
 /unattend
 
 
 
 
 
 This is an e-mail from Databax Ltd (Company No.04085248). The contents of 
 this e-mail are confidential. Databax Ltd does not accept responsibility for 
 the accuracy or completeness of the contents of this e-mail as it has been 
 transmitted over a public network.  If you receive this e-mail in error 
 please accept our apology. If this is the case we would be obliged if you 
 would contact the sender and then delete this e-mail. This e-mail and/or any 
 replies to it, and any attachments may be intercepted, copied or monitored by 
 Databax Ltd for the purpose of monitoring or keeping record of its business 
 and for the purposes set out in the Telecommunications (Lawful Business 
 Practices) (Interception of Communications) Regulations 2000. All statements 
 made in this e-mail are subject to contract. The contents are not to be 
 regarded as a contractual offer or acceptance. The sender is not authorised 
 to bind Databax Ltd. The views expressed in this e-mail are those of the 
 sender and not necessari
ly those of  Databax Ltd.
 Feel free to visit the Databax web site at 
 www.databax.comhttp://www.databax.com/  to find out about our range of 
 products and services, and for the latest Databax news and information.
 
 
 
 Please consider the environment before printing this email.
 Timothy Lothering
 Solutions Architect
 Managed Services
 
 T: +27877415535
 F: +27877415100
 C: +27824904099
 E: tlother...@datacentrix.co.za
 
 
 DISCLAIMER NOTICE:
 
 Everything in this e-mail and any attachments relating to the official 
 business of Datacentrix Holdings Ltd. and its subsidiaries
 ('Datacentrix') is proprietary to Datacentrix. It is confidential, legally 
 privileged and protected by law. Datacentrix