答复: API

2018-08-13 Thread Star Guo
解决方法如下:
1.找猎头捕猎资深程序员,加入到你主持的开发组
2.找个毕业学生研究,加入到你主持的开发组
3.你自己研究,这样省了人力

以上方法靠谱性递减。

-邮件原件-
发件人: 942858989 <942858...@qq.com> 
发送时间: 2018年8月13日 13:55
收件人: users-cn 
主题: API

我想学习cloudstack API 开发,但是以前基本没怎么接触过开发之类的,应该从哪里
入手,网上能找到的资料不多而且很模糊,两天看下来没有多少进展,现在很迷茫。官
网上的文档也不看不太懂,所以想来寻求一下帮助或者指引我一下。


Re: 退订

2016-07-01 Thread Star Guo
不同意.

在 2016年7月1日 下午10:14,杨炳文 <350884...@qq.com>写道:

> 同意
>
>
>
>
> -- 原始邮件 --
> 发件人: "sss";
> 发送时间: 2016年7月1日(星期五) 晚上9:47
> 收件人: "users-cn";
> 主题: 退订
>
>
>
> 退订


Re: CloudStack installation error on CentOS_7: python2.6 & Apache6

2016-05-25 Thread Star Guo
cloudstack-common-4.6.0-1.el6.x86_64,this package is for CentOS 6.x ,not
for CentOS 7.2.
Setup correct yum repo for CentOS 7.x and then install.

Best Regards,
Star Guo

2016-05-25 20:00 GMT+08:00 Osman, Taha <taha.os...@ntu.ac.uk>:

> Hello,
>
> I’ve been attempting to install CloudStack on CentOS 7. The installation
> fails at the stage of the management server (# yum -y install
> cloudstack-management).
> The error report is below. It appears that the package dependencies do not
> accept the CentOS updated versions of Python and Apache.
>
> Error: Package: cloudstack-common-4.6.0-1.el6.x86_64 (cloudstack)
>Requires: python(abi) = 2.6
>Installed: python-2.7.5-34.el7.x86_64 (@anaconda)
>python(abi) = 2.7
>python(abi) = 2.7
> Error: Package: cloudstack-management-4.6.0-1.el6.x86_64 (cloudstack)
>Requires: tomcat6
>  You could try using --skip-broken to work around the problem
>  You could try running: rpm -Va --nofiles --nodigest
> [root@localhost Downloads]# rpm -Va --nofiles --nodigest
>
> The suggested workarounds didn’t solve the problem. Can anyone suggest a
> solution?
>
>
> Thanks
>
> Taha
>
> --
>
> Taha Osman
>
> Computing and Technology
>
> School of Science and Technology
>
> Nottingham Trent University
>
> Nottingham NG11 8NS
>
> DISCLAIMER: This email is intended solely for the addressee. It may
> contain private and confidential information. If you are not the intended
> addressee, please take no action based on it nor show a copy to anyone. In
> this case, please reply to this email to highlight the error. Opinions and
> information in this email that do not relate to the official business of
> Nottingham Trent University shall be understood as neither given nor
> endorsed by the University. Nottingham Trent University has taken steps to
> ensure that this email and any attachments are virus-free, but we do advise
> that the recipient should check that the email and its attachments are
> actually virus free. This is in keeping with good computing practice.
>


答复: cloudstack + xenserver 平台使用何种分布式存储最好???

2015-05-12 Thread Star Guo
Xenserver目前底层支持NFS, iSCSI, FC存储,如果你一定要使用分布式存储,可以考
虑NFS + Gluster,或者使用iSCSI作为Ceph块存储协议转换.

Best Regards,
Star Guo

-邮件原件-
发件人: xuetong [mailto:xuet...@snailgame.net] 
发送时间: 2015年5月13日 13:23
收件人: users-cn
主题: cloudstack + xenserver 平台使用何种分布式存储最好???

各位大侠,请教一个问题。cloudstack + xenserver 平台使用何种分布式存储最
好???
感谢各位大侠赐教!




 
本邮件及其附件所载内容可能含有保密信息并受法律保护,任何人切勿传播、分发、复
制、印刷或使用本邮件之任何部分或其所载之任何内容。若您误收本邮件,请通知发件
人,并删除原始邮件、附件及其所有复本。
This email (including any attachments) is confidential, may be legally
privileged and is for the intended recipient only. Access, disclosure,
copying, distribution, or reliance on any of it by anyone else  is
prohibited. If you received this message in error, please contact the sender
and destroy all copies of this email.


答复: 系统虚拟机agent state一直为空

2015-03-24 Thread Star Guo
Hi, 请问你是使用基础网络,还是高级网络? 如果你要使用高级网络,按照规范你要
配置在xenserver上面配置两个网络:管理网络和guset/public网络,前者access mode
后者trunk mode。

Best Regards,
Star Guo

-邮件原件-
发件人: 姜卫东 [mailto:jiang.weid...@foxmail.com] 
发送时间: 2015年3月23日 19:01
收件人: users-cn
主题: 系统虚拟机agent state一直为空

看到邮件的朋友你们好:
我在安装测试cloudstack和xenserver的时候遇到了一些问题,希望有朋友能帮我
分析一下原因。

如下问题:
系统虚拟机启动之后agent state状态一直为空。日志提示 :Ping timeout for
host 1

我的系统配置如下:

 交换机:三个区域
1.一个公网 vlan 20,access
2.一个管理vlan 10 ,10.10.10.0/24,access
3.一个管理和来宾的公用区域, vlan 10,vlan30-50,trunk,默认vlan10
对管理网络做了vlanif,ip 10.10.10.1,
可上网的上层交换机连接到vlan20,网关:192.169.2.253,255.255.0.0.

管理机cloudstack4.2:ubuntu12.04,mysql,ntpd
eth0:10.10.10.2,255.255.255.0,网关:10.10.10.1,dns:10.10.10.3
eth1: 192.169.77.2,255.255.0.0,网关:192.169.2.253,dns:192.169.2.253

nfs: ubuntu12.04,nfs,dns
eth0:10.10.10.3,255.255.255.0,网关:10.10.10.1,dns:10.10.10.3

计算节点xenserver6.2:
eth0:10.10.10.11,网关:10.10.10.1,dns:10.10.10.3,标签network0
eth1:啥都没配,标签network1


下边是错误日志:一直循环出现下边的日志情况

2015-03-23 18:36:48,381 DEBUG [c.c.c.ConsoleProxyManagerImpl]
(consoleproxy-1:ctx-30a758f4) Zone 1 is ready to launch console proxy
2015-03-23 18:36:48,518 DEBUG [o.a.c.s.SecondaryStorageManagerImpl]
(secstorage-1:ctx-4613b985) Zone 1 is ready to launch secondary storage VM
2015-03-23 18:36:54,540 DEBUG [c.c.s.StatsCollector]
(StatsCollector-4:ctx-dc70f3fd) AutoScaling Monitor is running...
2015-03-23 18:36:54,572 DEBUG [c.c.s.StatsCollector]
(StatsCollector-1:ctx-cd4ca6c9) VmStatsCollector is running...
2015-03-23 18:36:55,061 DEBUG [c.c.s.StatsCollector]
(StatsCollector-2:ctx-f2ba1db3) HostStatsCollector is running...
2015-03-23 18:36:55,069 DEBUG [c.c.a.m.DirectAgentAttache]
(DirectAgent-14:ctx-7cb5c18e) Seq 1-67272519433846836: Executing request
2015-03-23 18:36:55,094 DEBUG [c.c.a.m.DirectAgentAttache]
(DirectAgent-14:ctx-7cb5c18e) Seq 1-67272519433846836: Response Received:
2015-03-23 18:36:55,095 DEBUG [c.c.a.t.Request]
(StatsCollector-2:ctx-f2ba1db3) Seq 1-67272519433846836: Received:  { Ans: ,
MgmtId: 92378953757938, via: 1, Ver: v1, Flags: 10, { GetHostStatsAnswer } }
2015-03-23 18:37:00,042 WARN  [c.c.a.m.DirectAgentAttache]
(DirectAgentCronJob-12:ctx-fec36132) Unable to get current status on 1(xs11.
cs.com)
2015-03-23 18:37:00,115 DEBUG [c.c.s.StatsCollector]
(StatsCollector-3:ctx-f4732348) StorageCollector is running...
2015-03-23 18:37:00,119 DEBUG [c.c.s.StatsCollector]
(StatsCollector-3:ctx-f4732348) There is no secondary storage VM for
secondary storage host secondary1
2015-03-23 18:37:00,122 DEBUG [c.c.a.m.DirectAgentAttache]
(DirectAgent-27:ctx-eb12616b) Seq 1-67272519433846837: Executing request
2015-03-23 18:37:00,451 DEBUG [c.c.a.m.DirectAgentAttache]
(DirectAgent-27:ctx-eb12616b) Seq 1-67272519433846837: Response Received:
2015-03-23 18:37:00,451 DEBUG [c.c.a.t.Request]
(StatsCollector-3:ctx-f4732348) Seq 1-67272519433846837: Received:  { Ans: ,
MgmtId: 92378953757938, via: 1, Ver: v1, Flags: 10, { GetStorageStatsAnswer
} }
2015-03-23 18:37:09,560 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl]
(RouterStatusMonitor-1:ctx-409a1826) Found 0 routers to update status.
2015-03-23 18:37:09,561 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl]
(RouterStatusMonitor-1:ctx-409a1826) Found 0 networks to update RvR status.
2015-03-23 18:37:18,381 DEBUG [c.c.c.ConsoleProxyManagerImpl]
(consoleproxy-1:ctx-8efc34c1) Zone 1 is ready to launch console proxy
2015-03-23 18:37:18,518 DEBUG [o.a.c.s.SecondaryStorageManagerImpl]
(secstorage-1:ctx-43e9f234) Zone 1 is ready to launch secondary storage VM
2015-03-23 18:37:39,515 DEBUG [c.c.n.ExternalDeviceUsageManagerImpl]
(ExternalNetworkMonitor-1:ctx-55964f6a) External devices stats collector is
running...
2015-03-23 18:37:39,559 DEBUG [c.c.s.s.SnapshotSchedulerImpl]
(SnapshotPollTask:ctx-5b25e4fe) Snapshot scheduler.poll is being called at
2015-03-23 10:37:39 GMT
2015-03-23 18:37:39,559 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl]
(RouterMonitor-1:ctx-424c44e3) Found 0 running routers.
2015-03-23 18:37:39,560 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl]
(RouterStatusMonitor-1:ctx-52d7fa48) Found 0 routers to update status.
2015-03-23 18:37:39,561 DEBUG [c.c.s.s.SnapshotSchedulerImpl]
(SnapshotPollTask:ctx-5b25e4fe) Got 0 snapshots to be executed at 2015-03-23
10:37:39 GMT
2015-03-23 18:37:39,561 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl]
(RouterStatusMonitor-1:ctx-52d7fa48) Found 0 networks to update RvR status.
2015-03-23 18:37:39,645 INFO  [c.c.a.m.AgentManagerImpl]
(AgentMonitor-1:ctx-c7abd581) Found the following agents behind on ping: [1]
2015-03-23 18:37:39,646 DEBUG [c.c.h.Status] (AgentMonitor-1:ctx-c7abd581)
Ping timeout for host 1, do invstigation
2015-03-23 18:37:39,649 INFO  [c.c.a.m.AgentManagerImpl]
(AgentTaskPool-12:ctx-08432615) Investigating why host 1 has disconnected
with event PingTimeout
2015-03-23 18:37:39,649 DEBUG [c.c.a.m.AgentManagerImpl]
(AgentTaskPool-12:ctx-08432615) checking if agent (1

答复: cs网络的理解

2015-03-16 Thread Star Guo
Hi,

默认有一个方案“with quick cloud”,不提供dhcp等功能,所以没有vrouter。

Best Regards,
Star Guo

-邮件原件-
发件人: Darren Tang [mailto:darrentang...@gmail.com] 
发送时间: 2015年3月16日 16:48
收件人: users-cn@cloudstack.apache.org
主题: Re: cs网络的理解

一般来说,一个guest网络或者isolated网络,都会生成一个(一般情况下)vr提供服务。当然了,一个网络代表一个网段,也会占用一个vlan
id(某个网络中存在虚拟机时,才会分配vlan id,只创建网络,不在该网络中创建虚拟机,不会分配vlan id)。
如果你想减少vr的数量,那么就使用vpc吧。一个vpc可以分多个网络,而整个vpc只有一个vr(一般情况下)。



在 2015年3月16日 下午3:29,Zhong Qiang xiaoqiang3...@gmail.com写道:

 hi all:
 CS中的Virtual
 Router就是一台VM或兼容的网络设备,如果我网络中需要多个vlan,有的需要访问外网,有的需要之间通信,是不是每个vlan都需要一个Virtual
 Router即systemVM。有没有更好的解决方案,减少systemVM的数量,但又能满足网络服务要求,同时也可以释放更多资源来提供guest
 VM。刚研究CS,见谅。期待您的解答或提供相关参考资料。


  谢谢!



答复: 回复: 回复: vrouter的问题

2015-03-02 Thread Star Guo
非常感谢您的回复。
centos6.5 64位
Linux 2.6.32-431.el6.x86_6
服务器:dell r720
网卡: Broadcom Corporation NetXtreme BCM5720 Gigabit Ethernet PCIe
交换机:H3C s5120.

我建议如下:

A. 检查交换机配置,特别是VLAN设定(不过你说你手动配置可以互ping,查看一下手
册是否有其他设定);
B. 更换kvm host到ubuntu 14.04操作系统,尝试排查OS驱动问题引起(你的高级网络
是bridge还是ovs?),broadcom很难说;
C. 如果上述都不能解决问题,最后建议:换了交换机;

Best Regards,
Star Guo

-邮件原件-
发件人: Mr.博 [mailto:289254...@qq.com] 
发送时间: 2015年3月2日 16:25
收件人: users-cn
主题: 回复: 回复: vrouter的问题

那你交换机要配置啊,要不然vlan流量出不去




-- 原始邮件 --
发件人: jinyue@criwell.com;jinyue@criwell.com;
发送时间: 2015年3月2日(星期一) 下午4:11
收件人: users-cnusers-cn@cloudstack.apache.org; 

主题: 回复: 回复: vrouter的问题



交换机未设置。
host机未做bonding。


jinyue@criwell.com
 
发件人: Mr.博
发送时间: 2015-03-02 14:04
收件人: users-cn
主题: 回复: 答复: vrouter的问题
交换机是否设置trunk,是否允许对应vlan?host机网卡有没有做bonding?做了
bonding的话交换机有没有设置链路聚合?
 
 
 
 
-- 原始邮件 --
发件人: jinyue@criwell.com;jinyue@criwell.com;
发送时间: 2015年3月2日(星期一) 中午1:50
收件人: users-cnusers-cn@cloudstack.apache.org; 
 
主题: 回复: 答复: vrouter的问题
 
 
 
非常感谢您的回复。
centos6.5 64位
Linux 2.6.32-431.el6.x86_6
服务器:dell r720
网卡: Broadcom Corporation NetXtreme BCM5720 Gigabit Ethernet PCIe
交换机:H3C s5120.
 
 
 
 
jinyue@criwell.com
发件人: Star Guo
发送时间: 2015-03-02 13:37
收件人: users-cn@cloudstack.apache.org
主题: 答复: vrouter的问题
描述一下环境的操作系统(kernel version),服务器硬件(网卡),交换机型号。
Best Regards,
Star Guo
-邮件原件-
发件人: jinyue@criwell.com [mailto:jinyue@criwell.com] 
发送时间: 2015年3月2日 13:31
收件人: users-cn
主题: vrouter的问题
Dear all,
  我遇到了如下的问题:
  环境描述:高级网络  两台主机,都是基于KVM的。
  问题描述:隔离网络,第一台主机创建的实例可以ping通VR,运行在第二台基于
同网络的实例不能ping通VR。
  实验如下:
   1.强行给第二台主机的实例添加IP后,实例之间可以互相ping,而不能
pingVR。
   2.vr运行在第一台主机上,将vr迁移到第二台主机后,发现可以第二台主机上
的实例可以ping通VR,而第一天主机的实例则不能ping通VR。
 
  不明白产生以上现象的原因,非常感谢大家的帮助。


答复: vrouter的问题

2015-03-01 Thread Star Guo
描述一下环境的操作系统(kernel version),服务器硬件(网卡),交换机型号。

Best Regards,
Star Guo

-邮件原件-
发件人: jinyue@criwell.com [mailto:jinyue@criwell.com] 
发送时间: 2015年3月2日 13:31
收件人: users-cn
主题: vrouter的问题

Dear all,
  我遇到了如下的问题:
  环境描述:高级网络  两台主机,都是基于KVM的。
  问题描述:隔离网络,第一台主机创建的实例可以ping通VR,运行在第二台基于
同网络的实例不能ping通VR。
  实验如下:
   1.强行给第二台主机的实例添加IP后,实例之间可以互相ping,而不能
pingVR。
   2.vr运行在第一台主机上,将vr迁移到第二台主机后,发现可以第二台主机上
的实例可以ping通VR,而第一天主机的实例则不能ping通VR。
 
  不明白产生以上现象的原因,非常感谢大家的帮助。






Re: Cloud stack Upgradation

2015-02-20 Thread Star Guo
Kangkan,

This URL will help you: 
http://cloudstack-release-notes.readthedocs.org/en/latest/upgrade/upgrade-4.2.html

Best Regards,
Star Guo

-邮件原件-
发件人: kangkan mahanta [mailto:kangkan.maha...@gmail.com] 
发送时间: 2015年2月20日 18:07
收件人: users@cloudstack.apache.org
主题: Cloud stack Upgradation

Hi,

We are using cloudstack  private cloud infra. We want to upgrade from verion 
4.2.1 to 4.4. Please let me know the impact on running virtual machines during 
up-gradation.

Regards,
Kangkan Mahanta Kashyap



Live migration ip address with kvm

2015-02-12 Thread Star Guo
Hi, all,

 

  Can I create tags in physical host in CloudStack ? I see template and 
instance support tags.

  I want to add a tag like “livemigrationipaddress” on kvm host, and change the 
kvm hypervisor code support assign the live migration ip address (may be 
storage network with 10gbps ) while default is the management ip.

 

CloudMonkey

  help create tags

(createTags) Creates resource tag(s)

This API is asynchronous.

Required params are resourceids tags resourcetype

Parameters

==

customer = (string) identifies client specific tag. When the value is not null, 
the tag can't be used by cloudStack code internally

resourceids = (list) list of resources to create the tags for

tags = (map) Map of tags (key/value pairs)

resourcetype = (string) type of the resource

 

  Are there another good idea to do this ? Thanks.

 

Best Regards,

Star Guo



答复: 关于 ceph

2015-02-12 Thread Star Guo
CloudStack + KVM方案,支持ceph/rbd作为主存储,二级存储支持nfs,你可以通过rbd
- nfs提供(but not good idea).

Best Regards,
Star Guo


-邮件原件-
发件人: loveg...@126.com [mailto:loveg...@126.com] 
发送时间: 2015年2月12日 16:15
收件人: users-cn
主题: 关于 ceph

ceph 能否做为cloudstack的主存储和辅助存储呢?



loveg...@126.com



About Instance Storage Live Migration on VMware

2015-02-11 Thread Star Guo
Hi, All,

 

   My env is cloudstack 4.4.2 + VMware 5.5, and it works well. 

   I deploy an instance and try to migrate the ROOT disk to another vmfs
primary storage. After that I find the ROOT disk is in new vmfs primary
storage but the .vmx , .vmxf and .log etc still in the origin vmfs primary
storage.

   If I want to migrate the instance (all of the files in the floder of the
instance) to new vmfs primary storage, May CloudStack 4.4.2 Support to do
this ? Thanks.

 

Best Regards,

Star Guo

 



答复: Re: CloudStack和OpenStack的区别

2015-01-20 Thread Star Guo
+1

Best Regards,
Star Guo

-邮件原件-
发件人: cloudstackfqa2013 [mailto:cloudstackfqa2...@163.com] 
发送时间: 2015年1月21日 9:09
收件人: users-cn
主题: Re: Re: CloudStack和OpenStack的区别

Hello:

  个人从5 适用场景分析:
 需求:如果你碰到的是一个这样的项目,项目中会云计算的人很少,公司又不会投入大量的资源,且项目要求交付的时间很短。
 你就选择 cloudstack 是没错的,这一类公司一般都是以项目为主的集成类公司。
 
需求:如果公司老板很看好云计算,未来是以云计算为平台,发展以云计算为基础的业务(例如,搞公有云呀,搞SAAS服务等),且公司投入资源多(老板看好,当然投入就好),且有很长的时间来开发的话。
 你就选择 openstack 
是没错的。不过国内有这样的公司,基本上就是创业型公司或很有钱的公司了。那里搞集成,靠项目活着的公司就别想了,如果想,就是你自己在YY了。





cloudstackfqa2013

发件人: 适兕
发送时间: 2015-01-20 18:23
收件人: users-cn
主题: Re: CloudStack和OpenStack的区别
Hi:
  分析一个开源软件产品大体就几个可供参考的维度:
  0、技术架构
  1、社区活跃度
  2、易用性
  3、可维护性
  4、兼容性
  5、适用场景

 其实cloudstack和OpenStack,从最后一个维度来讲,解决的是不同的问题,所以,其实他俩比较起来,有意思的内容不是很多。

 比如常见的scale-up和scale-out,Cloudstack在scale-up明显要比OpenStack好很多。
 但是在诸如Database-as-a-service,Hadoop部署,Docker集成等,CloudStack有明显的先天不足。

所以,个人的意思是不要去做什么无谓的对比,找到自己适合的应用场景,让生态系统能够运转起来,无论是开发者,运维人员、测试、市场人员能够混口饭吃。其他一切都显得不那么重要。




在 2015年1月20日 下午5:18,linux...@gmail.com linux...@gmail.com写道:

 目前国内的媒体宣传中,大部分都是OpenStack的相关介绍,CloudStack的文章比较少。

 很多刚开始使用CloudStack的朋友都会问:“CloudStack和OpenStack有什么区别?”

 过去我们总会针对这个问题,列举一堆的功能对比,现在来看,比来比去,其实意义不大,因为大家最终会变得相似。就好像Apache和Nginx。

 我今年也就这个问题,回答了不少人的疑问。CloudStack到底和OpenStack有什么区别?

 shapeblue之前写过一篇文章,介绍CloudStack和OpenStack的区别,我认为特别好。和大家分享下。


 以汽车为例,云平台的各个组件就好像汽车的各个零部件。OpenStack的特点是,定义好了各个零件的接口,比如轮胎,你可以有各种各样的轮胎可以使用,如果你向要一部车子,你需要自己选择各个零部件,然后自己组装,自己做各个零件之间的磨合,自己做性能的优化等,总之,OpenStack提供了各种各样的零件,你可以任意组合搭配,一切都取决于你自己的技术水平。所以使用OpenStack意味着你必须有一个强大的技术团队做支撑。记得Ustack的发布会上,程辉曾经分享过一个数据,大概意思是你要玩转OpenStack,至少需要千万级的投入,团队人数最少20人,这还不能保证你能玩的好。由此可见,OpenStack的技术门槛其实挺高的。这也是Ustack等OpenStack的相关公司的价值所在。


 CloudStack就好像是一部已经组装调试好的车,你可以直接开走,也可以自己动手换个喜欢的轮胎,或者在汽车外面弄个喜欢的喷绘。总之,最复杂的工作社区已经帮你做好了,你只需要学会使用就行。而且CloudStack的学习成本低,开发成本低。Java的程序员在国内太多了。

 这是shapeblue的观点。那么我为什么看好CloudStack呢?


 我认为CloudStack最大优势在于apache基金会的管理,这是保证CloudStack能持续有生命力的关键。Apache基金会的管理中,很重要的一点是社区高于代码。Apache基金会关注社区的建设,项目本身的代码质量会因为社区的繁荣得到改善,社区也是项目有生命力的关键。


 现在我们来看看OpenStack的玩家,HP,IBM,RedHat,Novell,Oracle,huawei,VMWare等,五一不是有极强的研发能力,没有一个不是庞然大物。国内的OpenStack的小玩家未来基本会逐渐被边缘化。OpenStack现在基本是大公司博弈的场所,小公司是无法驾驭这样一个负责的系统的。OpenStack是巨头们包装自己商业产品的嫁衣。


 国内的中小企业如果选择了OpenStack,就会陷入一个怪圈,好不容易把各个模块调试稳定了,社区的版本升级了。这个时候是升,还是不升。升,所有的调试工作又得重新来过,不升,就会逐渐远离社区的版本,变成一个自己维护的孤儿版本,其代价是极其高昂的。


 从公司的运营成本来看,CloudStack是远远低于OpenStack的。从落地的商业案例看,CloudStack有大量的成熟案例。从长远来看,CloudStack会像Apache基金会下面的其他项目(例如Hadoop,Storm,Tomcat等),持续的发展下去。

 你是否愿意与我们同行呢?



 --
 白清杰 (Born Bai)

 Mail: linux...@gmail.com




-- 
独立之思想,自由之精神。
--陈寅恪


答复: VM showing half of the provisioned memory.

2015-01-14 Thread Star Guo
Dear Abdul,

If you set mem.overprovisioning.factor  != 1 in global settings,kvm agent will 
set instance currentMemory half of memory in libvirt. 
So you can edit /etc/cloudstack/agent/agent.properties and uncomment 
vm.memballoon.disable=true, and then restart kvm agent. When you { deploy new 
instance } or {shutdown instance then restart }, the currentMemory equals 
memory you view the instance .

Best Regards,
Star Guo

-邮件原件-
发件人: Abdul Rasool [mailto:rasool...@gmail.com] 
发送时间: 2015年1月15日 1:24
收件人: users@cloudstack.apache.org
主题: RE: VM showing half of the provisioned memory.

Thx Len for your suggestion. I am running kvm as a hypervisor I do remember 
while I creating  vm I used template which has dynamically scalable. may be I 
will try creating new vm without using dynamically scalable option and let you 
know.

Thx
AR.
On Jan 14, 2015 10:31 PM, len.bellem...@alternativenetworks.com  
len.bellem...@alternativenetworks.com wrote:

 Hi Abdul,

 Are you running XenServer with Dynamic Scaling enabled on your templates?

 I had this issue and the only way to fix it was to disable the 
 Dynamically Scalable option on my templates, then shut down my vms 
 (not
 restart) and then bring them up again.  After that they received all 
 of the memory. This was only on Linux machines. Windows vms are fine.

 I am using ACS 4.3. It sounds like a bug to me, but not sure.

 Len

 ---Original Message-
 From: Abdul Rasool [mailto:rasool...@gmail.com]
 Sent: 14 January 2015 16:28
 To: users@cloudstack.apache.org
 Subject: VM showing half of the provisioned memory.

 Hi,

 All the VM instances in ACS is showing half of the memory, actual 
 provision to this particulate VM is 2GB but instance is showing only 1GB.
 could you please explain me why is this happening ?


 free -m
  total   used   free sharedbuffers cached
 Mem:   986977  8  0  0 25
 -/+ buffers/cache:951 35
 Swap: 8001   3995   4005

 Regards,
 AR




[CloudStack 4.4] About UI Images

2015-01-14 Thread Star Guo
Are there anyone help me ? Thanks a lot :).

Best Regards,
Star Guo

-邮件原件-
发件人: Star Guo [mailto:st...@ceph.me] 
发送时间: 2015年1月13日 15:28
收件人: users@cloudstack.apache.org; d...@cloudstack.apache.org
主题: [CloudStack 4.4] About UI Images

Dear All,

I find some images in ui/images about CloudStack UI. Could I get the PSD
(Photoshop) format or XCF (GIMP) format?

I want to change the UI color for different Regions, then easy for
acknowledge . Thanks a lot :)

Best Regards,
Star Guo




答复: 咨询一下Dell MD3200 安装设置的一些问题

2015-01-12 Thread Star Guo
我直觉建议,使用单独一台机高可用连接到SAS存储并Export 
NFS提供ABCD使用。主存储和二级存储共享整个空间,然后使用CloudStack+Xenserver部署。

Best Regards,
Star Guo


-邮件原件-
发件人: Fan Lei [mailto:leifan8...@gmail.com] 
发送时间: 2015年1月12日 20:17
收件人: users-cn@cloudstack.apache.org; yuan-...@hbis.com.cn
主题: Re: 咨询一下Dell MD3200 安装设置的一些问题

那不是SAN口,是SAS口,高可用的情况下只能接4台服务器
1.普通网线口是管理口,不能数据传输
2.可以,性能不高
3.可以,不通过交换机
4.看你的hypervisor,各有不同


2015-01-12 12:28 GMT+08:00 YUAN, GUI -HBIS yuan-...@hbis.com.cn:

 大家好,

 公司有DELL MD3200存储一台,17TB,双控制器。两个普通网线接口,4个以上SAN口。
 服务器(A,B,C...)若干。

 现在问题是,怎么能让DELL MD3200作为主存储使用,连接到A,B,C等主机上。

 1. MD3200上的普通网线接口接公司局域网?
 是否需要管理员在自己电脑上安装对应的管理软件?
 普通网线接口能否当数据传输接口使用?
 2.如果用其中一台服务器,比如C,通过SAN直接MD3200,然后共享出来NFS服务,是否可以,性能有没有问题。
 3.可不可能ABC都直连MD3200?还是需要通过交换机?
 4.怎么能过CloudStack管理界面添加MD3200到对应集群的主存储?

 5.有没有人愿意提供现场帮助?北京,周末时间,报酬等再定。


 Disclaimer:
 The contents of this e-mail, and its attachments, if any, are 
 confidential and may be protected by law against any unauthorized use.  
 If you have received this e-mail by mistake or have reason to believe 
 that you are not the intended recipient, please notify the sender by 
 reply e-mail as soon as possible and delete it from your computer 
 system immediately thereafter.
 If you are not the intended recipient, you must not copy this e-mail 
 or attachment or disclose the contents to any other person.  While we 
 have made every effort to keep our network virus free, we take no 
 responsibility for any computer virus which might be transferred by 
 way of this e-mail


[CloudStack 4.4] About UI Images

2015-01-12 Thread Star Guo
Dear All,

 

I find some images in ui/images about CloudStack UI. Could I get the PSD
(Photoshop) format or XCF (GIMP) format?

I want to change the UI color for different Regions, then easy for
acknowledge . Thanks a lot :)

 

Best Regards,

Star Guo



答复: 关于cloudstack的高可用性

2014-12-18 Thread Star Guo
本人认为,高可用是一个理论与实践的话题。

实现高质量的高可用,可先参照VMware vCenter HA实现,“抄袭”其模型,然后代码实现(CS HA的代码有很多你可以指出的问题),最后严格测试。

Best Regards,
Star Guo

-邮件原件-
发件人: wangxiaohui [mailto:wangxiaohui2...@gmail.com] 
发送时间: 2014年12月18日 9:55
收件人: users-cn@cloudstack.apache.org
主题: 关于cloudstack的高可用性

我现在需要做一个关于ckoudstack高可用性的改进,但是我看现在官方资料上写的cloudstack的最新版本上已经支持host和vm的高可用性了,所以想问一下cloudstack高可用这方面还有哪些不足,哪些可以改进的?
 另外,老师说他们准备通过添加第三方api来改进解决问题,你们觉得可行吗


答复: 关于cloudstack的高可用性

2014-12-18 Thread Star Guo
Cloudstack 管理端,本质设计是通过Java实现跨平台,可惜后面发展,你懂的。
除了运行一个Tomcat,还有Python,shell,Perl,所以如果你要在其他平台运行完整的管理端,搞好这些脚本语言应该可以。

添加第三方API来实现HA,那先要分析什么是HA? 输入什么? 输出什么? 怎样检测? 怎样判断? 先理清这些问题,才开始实现。

Best Regards,
Star Guo

-邮件原件-
发件人: wangxiaohui [mailto:wangxiaohui2...@gmail.com] 
发送时间: 2014年12月18日 17:33
收件人: users-cn@cloudstack.apache.org
主题: Re: 关于cloudstack的高可用性

那您觉得可不可以只通过添加第三方api来解决这个问题 还有我有个新手问题 以前问过没人回我 这里冒昧的问一下 为什么 cloudstack 管理节点 
不能直接安装在windows或者mac下 但是可以通过mvn这种方式 运行呢 (至少是开发测试环境)  
 On Dec 18, 2014, at 4:11 PM, Star Guo st...@ceph.me wrote:
 
 本人认为,高可用是一个理论与实践的话题。
 
 实现高质量的高可用,可先参照VMware vCenter HA实现,“抄袭”其模型,然后代码实现(CS HA的代码有很多你可以指出的问题),最后严格测试。
 
 Best Regards,
 Star Guo
 
 -邮件原件-
 发件人: wangxiaohui [mailto:wangxiaohui2...@gmail.com] 
 发送时间: 2014年12月18日 9:55
 收件人: users-cn@cloudstack.apache.org
 主题: 关于cloudstack的高可用性
 
 我现在需要做一个关于ckoudstack高可用性的改进,但是我看现在官方资料上写的cloudstack的最新版本上已经支持host和vm的高可用性了,所以想问一下cloudstack高可用这方面还有哪些不足,哪些可以改进的?
  另外,老师说他们准备通过添加第三方api来改进解决问题,你们觉得可行吗



答复: unable to test Network Throttling.

2014-12-08 Thread Star Guo
Hi,

There is a priority: the network rate of compute offering  the network rate of 
global configuration. 
If you deploy on kvm host, you can use virsh command to dumpxml of the VM and 
focus on  interface ... /interface.

Best Regards,
Star Guo

-邮件原件-
发件人: raja sekhar [mailto:rajsekhar@gmail.com] 
发送时间: 2014年12月9日 14:28
收件人: d...@cloudstack.apache.org; users@cloudstack.apache.org
主题: unable to test Network Throttling.

Hi all,

i have created one compute offering(2 CPU , 4 GB) and given the Network Rate as 
1024 Mb/s, a VM is deployed from that compute offering and in global settings i 
didn't changed any Network Throttling Rate(default 200
Mb/s) and i'm unable to test the network bandwidth rate.

please suggest me how to test the bandwidth rate of the VM.



Regards,
Rajasekhar.



答复: cloudstack4.3.1+esxi5.5无法正常启动系统VM和虚拟路由器

2014-11-23 Thread Star Guo
你好,

INFO [c.c.c.ConfigurationManagerImpl] (catalina-exec-6:ctx-63e982f9
ctx-328d0287) No storage traffic type was specified by admin, create default
storage traffic on physical network 200 with same configure of management
traffic type
INFO [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:ctx-971a2b28) No
stopped console proxy is available, need to allocate a new console proxy
WARN [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:ctx-971a2b28) Exception
while trying to start console proxy
com.cloud.exception.InsufficientServerCapacityException: Unable to create a
deployment for VM[ConsoleProxy|v-1-VM]Scope=interface
com.cloud.dc.DataCenter; id=1

 

按照官方文档的描述,重新检查一次系统,同时检查nfs二级存储是否正常。

 

Best Regards,

Star Guo

 

发件人: gx.zhu [mailto:gx@beyonditsm.com] 
发送时间: 2014年11月22日 22:56
收件人: users-cn
主题: cloudstack4.3.1+esxi5.5无法正常启动系统VM和虚拟路由器

 

 

大家好,

我配置了cloudstack4.3.1,虚拟主机192.168.200.23使用esxi5.5,虚拟主机使用
自带硬盘和光纤连接的一个LUN,格式化为vmfs。vcenter主机配置在一台192.168.200.
20的虚拟机上,cs主机配置在192.168.200.21的虚拟机上,这两台虚拟机位于192.168.
200.25的物理主机上。网络均使用一个192.168.200.X网段互通.





现在是cs安装后,svvm无法启动,vroute未启动,辅助存储大小为0,主存储显示为虚
拟主机192.168.200.23全部存储大小。

我的困惑在于svvm、vroute和辅助存储相互的关系是什么?到底是因为哪个环节出现了
问题导致系统无法正常使用。

 

附件为相关日志,请大家帮忙看看,非常感谢!

下面为部分日志:





INFO [c.c.h.v.r.VmwareResource] (DirectAgent-2:ctx-4a1d9f3c 192.168.200.24)
Executing resource ReadyCommand: {dcId:1,hostId:1,wait:0}
INFO [c.c.h.v.u.VmwareContextPool] (DirectAgent-2:ctx-4a1d9f3c
192.168.200.24) Return a VmwareContext from the idle pool:
administrator@vsphere.local@192.168.200.20. current pool size: 0,
outstanding count: 1
INFO [c.c.h.v.u.VmwareContextPool] (DirectAgent-2:ctx-4a1d9f3c
192.168.200.24) Recycle VmwareContext into idle pool: administrator@vsphere.
local@192.168.200.20, current idle pool size: 1, outstanding count: 1
INFO [c.c.r.ResourceManagerImpl] (catalina-exec-3:ctx-d614db0a ctx-51eebb04)
External cluster has been successfully discovered by VMware Discover
INFO [c.c.h.v.r.VmwareResource] (DirectAgent-1:ctx-712d35e7 192.168.200.24)
Executing resource ModifyStoragePoolCommand:
{add:true,pool:{id:1,uuid:31f21f69-18ad-3926-92b2-a2ccf879bc96,ho
st:VMFS datastore:
/PC1/datastore24xiv,path:/PC1/datastore24xiv,port:0,type:VMFS},l
ocalPath:/mnt//92e92b85-4b93-33cc-981b-5adf070c2d00,wait:0}
INFO [c.c.h.v.u.VmwareContextPool] (DirectAgent-1:ctx-712d35e7
192.168.200.24) Return a VmwareContext from the idle pool:
administrator@vsphere.local@192.168.200.20. current pool size: 0,
outstanding count: 1
INFO [c.c.h.v.u.VmwareContextPool] (DirectAgent-1:ctx-712d35e7
192.168.200.24) Recycle VmwareContext into idle pool: administrator@vsphere.
local@192.168.200.20, current idle pool size: 1, outstanding count: 1
INFO [o.a.c.s.d.p.DefaultHostListener] (catalina-exec-25:ctx-601305d5
ctx-3fae7d27) Connection established between
org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@3536023a host +
1
INFO [o.a.c.s.d.l.CloudStackImageStoreLifeCycleImpl]
(catalina-exec-4:ctx-d2f11a56 ctx-52adde16) Trying to add a new data store
at nfs://192.168.200.21/export/secondary to data center 1
INFO [c.c.c.ConfigurationManagerImpl] (catalina-exec-6:ctx-63e982f9
ctx-328d0287) No storage traffic type was specified by admin, create default
storage traffic on physical network 200 with same configure of management
traffic type
INFO [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:ctx-971a2b28) No
stopped console proxy is available, need to allocate a new console proxy
WARN [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:ctx-971a2b28) Exception
while trying to start console proxy
com.cloud.exception.InsufficientServerCapacityException: Unable to create a
deployment for VM[ConsoleProxy|v-1-VM]Scope=interface
com.cloud.dc.DataCenter; id=1
at
com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManage
rImpl.java:922)
at
com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImp
l.java:761)
at
com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImp
l.java:745)
at
com.cloud.consoleproxy.ConsoleProxyManagerImpl.startProxy(ConsoleProxyManage
rImpl.java:555)
at
com.cloud.consoleproxy.ConsoleProxyManagerImpl.allocCapacity(ConsoleProxyMan
agerImpl.java:941)
at
com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManage
rImpl.java:1666)
at
com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManage
rImpl.java:157)
at com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:118)
at com.cloud.vm.SystemVmLoadScanner.access$100(SystemVmLoadScanner.java:35)
at com.cloud.vm.SystemVmLoadScanner$1.reallyRun(SystemVmLoadScanner.java:88)
at
com.cloud.vm.SystemVmLoadScanner$1.runInContext(SystemVmLoadScanner.java:79)
at
org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedCo
ntextRunnable.java:49)
at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(Defa
ultManagedContext.java:56)
at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithCon
text

答复: cloudstack添加主机问题

2014-11-06 Thread Star Guo
Hi,
由于Cloudstack+VMware vCenter采用是单独的数据库,而且暂时不明确通过在vmware
vsphere client添加主机到群集后,是否会让cloudstack主动发现主机信息,如果你验
证了步骤,那保持这个步骤。大致只能这样。

Best Regards,
Star Guo


-邮件原件-
发件人: 张仕博 [mailto:zhang...@neusoft.com] 
发送时间: 2014年11月6日 17:56
收件人: 'Star Guo'; users-cn@cloudstack.apache.org
主题: 答复: cloudstack添加主机问题

就是在虚拟化资源池中先把主机添加进去,这时候cloudstack是不知道资源池中多出一
台主机的,在cloudstack中再把这台主机加一次。

经过测试可以了



-邮件原件-
发件人: Star Guo [mailto:st...@ceph.me]
发送时间: 2014年11月6日 17:52
收件人: '张仕博'; users-cn@cloudstack.apache.org
主题: 答复: cloudstack添加主机问题

你好!
请你把问题详细描述清楚?

Best Regards,
Star Guo

-邮件原件-
发件人: 张仕博 [mailto:zhang...@neusoft.com]
发送时间: 2014年11月6日 16:49
收件人: users-cn
主题: cloudstack添加主机问题

有人试过先在虚拟化环境中把主机添加进集群,然后在cloudstack中把主机加进去么?

 


---
Confidentiality Notice: The information contained in this e-mail and any
accompanying attachment(s) is intended only for the use of the intended
recipient and may be confidential and/or privileged of Neusoft Corporation,
its subsidiaries and/or its affiliates. If any reader of this communication
is not the intended recipient, unauthorized use, forwarding, printing,
storing, disclosure or copying is strictly prohibited, and may be
unlawful.If you have received this communication in error,please immediately
notify the sender by return e-mail, and delete the original message and all
copies from your system. Thank you. 

---

---
Confidentiality Notice: The information contained in this e-mail and any
accompanying attachment(s) is intended only for the use of the intended
recipient and may be confidential and/or privileged of Neusoft Corporation,
its subsidiaries and/or its affiliates. If any reader of this communication
is not the intended recipient, unauthorized use, forwarding, printing,
storing, disclosure or copying is strictly prohibited, and may be
unlawful.If you have received this communication in error,please immediately
notify the sender by return e-mail, and delete the original message and all
copies from your system. Thank you. 

---


答复: About ACS with OVM

2014-10-20 Thread Star Guo
Thanks ! I just still wait for the newer version.

Best Regards,
Star Guo

-邮件原件-
发件人: sebgoa [mailto:run...@gmail.com] 
发送时间: 2014年10月20日 15:47
收件人: users@cloudstack.apache.org
主题: Re: About ACS with OVM

The OVM stuff should have been removed from the UI, I suppose this is what
you are seeing.

However there is work to reintroduce OVM support for OVM 3, but it's not yet
ready.



-sebastien

On Oct 19, 2014, at 5:37 PM, Star Guo st...@ceph.me wrote:

 Hello,
 
 
 
  I found that ACS support OVM as the physical host .However , I can't 
 find any document about ACS+OVM. Could Some one give me some suggestion?
 
  Thanks for help.
 
 
 
 Best Regards,
 
 Star Guo
 



About ACS with OVM

2014-10-19 Thread Star Guo
Hello, 

 

  I found that ACS support OVM as the physical host .However , I can't find
any document about ACS+OVM. Could Some one give me some suggestion?

  Thanks for help.

 

Best Regards,

Star Guo