Re: win7+cygwin+cloudstack启动异常

2013-09-10 Thread Tao Lin
cygwin下?还是好好到linux下折腾吧。


On Tue, Sep 10, 2013 at 1:38 PM, 黑洞 heids...@sina.com wrote:

 按照github cloudstack源码中 INSTANL.md文件配置好相关环境
 1、cygwin环境已配置好
 2、数据库初始化成功
 3、mvn -pl :cloud-client-ui jetty:run 启动后报异常
 具体异常为:
  lassPostProcessor$ImportAwareBeanPostProcessor#0]; root of factory
 hierarchy
 ERROR [web.context.ContextLoader] (main:) Context initialization failed
 org.springframework.beans.factory.BeanCreationException: Error creating
 bean with name 'niciraNvpDaoImpl' defined in class path resource
 [componentContext.xml]: BeanPostProcessor before instantiation of bean
 failed; nested exception is net.sf.cglib.core.CodeGenerationException:
 java.lang.reflect.InvocationTargetException--null
 at
 org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:452)
 at
 org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
 at
 org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
 at
 org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
 at
 org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
 at
 org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:609)
 at
 org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)



 云计算基础架构师
 Github:https://github.com/heidsoft
 Weibo: http://weibo.com/liuganbin
 研究方向:云计算(云安全)、大数据(数据处理分析)
 主要学习: Linux / C / C++ / JAVA /Python
 Email:heids...@sina.com
 Tell:18601706743



Re: CloudStack使用KVM+本地存储时丢数据的问题

2013-08-21 Thread Tao Lin
你直接断电,任何操作系统都没法保证不丢数据。


在 2013年8月22日上午11:46,helloqiner helloqi...@163.com写道:

 我使用 CloudStack4.1 + CentOS6.4 KVM + 本地存储 建立了一套测试环境,并在其上创建了一个 Win2008
 的虚拟机安装SQL Server2008数据库。

 现在发现当数据库虚拟机所在的宿主机断电后重启,虚拟机有严重的丢失数据问题!我在机器上创建的几个程序目录,以及多个库都不见了!这么严重的问题,我都不敢使了。不知各位遇到过这样的问题吗?有没有解决办法?




 qinerg


Re: 资源不足,无法创建虚拟机

2013-08-19 Thread Tao Lin
你发现还有资源指的是什么资源?


在 2013年8月19日下午6:18,许叁征 x...@chinanetcenter.com写道:

  ** **

 Hi all

 发现CS系统机器还有资源,可是却无法再创建虚拟机了,

 当删除了一台机器后,再创建一台机器,就可以。

 请问,在哪边可以修改配置,让系统接着创建虚拟机。

 如希望内存达到28GB的时候无法再创建。

 ** **

 ** **

 ** **

 

 ** **

 ** **

 ** **

 许叁征

 网宿科技股份有限公司  厦门分公司 运营技术支持部

 [image: line1]

 Tel: 021-6487117713860125907  

 E-mail:x...@chinanetcenter.com
 http://www.chinanetcenter.com

 [image: cid:__1@Foxmail.net]

 分公司:北京-上海-广州-深圳   

 免费咨询热线:800-820-0001

 网宿科技 --卓越的互联网业务平台提供商

  
  --

 ** **



How to limit network's throughput?

2013-08-01 Thread Tao Lin
Hi,all:
  I tried to limit VMs' network throughput but failed to do so.I first set
the global setting of vm.network.throttling.rate to 8 (it means 8 Mb/s,
1MB/s )and restarted management-server,  then created an service offering
in which the Network-Rate option was limited to 1MB.Finally I started a new
VM.However, the settings seemed not work because the VM's network
throughput was able to  reach to 11MB/s which is the maximum value of my
switch.
I'm working with CS4.1,CentOS6.4, and using KVM as the hypervisor.All the
machines including VMs are located on a single subnet of 192.168.1.0/24.


How to migrate instances of OpenStack to Cloudstack.

2013-07-13 Thread Tao Lin
Hi,all:
   Is there any method to move instances from Openstack to Cloudstack? Both
OS and CS are using KVM as hypervisor.


Best regards.


Re: Problem logging in for the first time : Invalid username or password

2013-07-11 Thread Tao Lin
I had ran into the same problem too,and what I did is wait for a little
while.CS is somewhat confused because it allows you to log in while it's
not really ready to do so. Just wait for a little while until the log says
something like User admin is ready.


2013/7/12 Anton Rubets plejik@gmail.com

 I have some problems, because I don't check if my mysql base start. And
 check your mysql config :-)
 On Jul 11, 2013 11:34 PM, Davide Blasi davide.bl...@infracom.it wrote:

 
 
  Hi all,
 
  I'm trying to setup cloudstack 4.1.
 
  I'm using a debian wheezy with ubuntu packages from : deb
  http://cloudstack.apt-get.eu/ubuntu precise 4.1
 
  I think I have followed all steps in the html guide,
  but when I try to login as admin/password for the first time it says:
  invalid username or password
 
  This is what I can see in the log file :
 
  2013-07-11 22:23:40,203 DEBUG [cloud.api.ApiServlet]
  (catalina-exec-9:null) ===START===  192.168.56.1 -- POST  null
  2013-07-11 22:23:40,238 DEBUG [cloud.user.AccountManagerImpl]
  (catalina-exec-9:null) Attempting to log in user: admin in domain 1
  2013-07-11 22:23:40,238 DEBUG [server.auth.MD5UserAuthenticator]
  (catalina-exec-9:null) Retrieving user: admin
  2013-07-11 22:23:40,257 DEBUG [server.auth.MD5UserAuthenticator]
  (catalina-exec-9:null) Password does not match
  2013-07-11 22:23:40,258 DEBUG [server.auth.LDAPUserAuthenticator]
  (catalina-exec-9:null) Retrieving user: admin
  2013-07-11 22:23:40,275 DEBUG [server.auth.LDAPUserAuthenticator]
  (catalina-exec-9:null) LDAP authenticator is not configured.
  2013-07-11 22:23:40,276 DEBUG [server.auth.PlainTextUserAuthenticator]
  (catalina-exec-9:null) Retrieving user: admin
  2013-07-11 22:23:40,281 DEBUG [server.auth.PlainTextUserAuthenticator]
  (catalina-exec-9:null) Password does not match
  2013-07-11 22:23:40,281 DEBUG [cloud.user.AccountManagerImpl]
  (catalina-exec-9:null) Unable to authenticate user with username admin in
  domain 1
  2013-07-11 22:23:40,286 INFO  [cloud.user.AccountManagerImpl]
  (catalina-exec-9:null) User admin is disabled/locked
  2013-07-11 22:23:40,286 DEBUG [cloud.user.AccountManagerImpl]
  (catalina-exec-9:null) User: admin in domain 1 has failed to log in
  2013-07-11 22:23:40,299 DEBUG [cloud.api.ApiServlet]
  (catalina-exec-9:null) ===END===  192.168.56.1 -- POST  null
 
  I tried to drop both cloud database and run again :
 
  * cloudstack-setup-databases cloud:stack@localhost --deploy-as=root
  and
  * cloudstack-setup-management
 
  But I receive the same error.
 
  What I'm  wrong ?
 
  ( sorry for my bad eng )
 
  Dave
 
 
 
 
 
 



Re: Does cloudstack support memory-overcommitting?

2013-07-10 Thread Tao Lin
Thanks for your reply, Salvatore. I do notice that there is a option
relates to over-commit.And I now want to know that if cloudstack will
automatic balloon memory amount VMs, so that a busy VM can borrow memory
from another VM which is mostly idle by ballooning memory?


Best regard.


2013/7/8 Salvatore Sciacco scia...@iperweb.com

 There is a global setting parameter afaik...
 Il giorno 08/lug/2013 11:45, Tao Lin linba...@gmail.com ha scritto:

  Hi,there:
 Does cloudstack support memory-overcommitting so that memory resource
  can be scheduled among VMs using the balloon device of the KVM? And how
  cloudstack handle this?
 
 
  Best regards.
 



Re: Does cloudstack support memory-overcommitting?

2013-07-10 Thread Tao Lin
These links are quite useful, very appreciate, Kirk.


Best regards.


2013/7/11 Kirk Kosinski kirkkosin...@gmail.com

 Hi, I don't believe RAM over-provisioning is implemented yet.  There has
 been some discussion about it [1] and a functional spec was written [2],
 but AFAIK that is all that has been completed so far.

 The mem.overprovisioning.factor parameter doesn't do what it sounds like
 it does.  IIRC it only modifies the amount of host RAM that CloudStack
 will use so you can run non-CloudStack VMs on the host.  It won't
 actually let you run any extra VMs through CloudStack.  Also, I think it
 only has an effect with vSphere clusters.

 Best regards,
 Kirk

 [1] http://markmail.org/message/u6i5mdwyf42icsff
 [2] https://cwiki.apache.org/CLOUDSTACK/cpu-and-ram-overcommit.html

 On 07/10/2013 08:13 PM, Tao Lin wrote:
  Thanks for your reply, Salvatore. I do notice that there is a option
  relates to over-commit.And I now want to know that if cloudstack will
  automatic balloon memory amount VMs, so that a busy VM can borrow memory
  from another VM which is mostly idle by ballooning memory?
 
 
  Best regard.
 
 
  2013/7/8 Salvatore Sciacco scia...@iperweb.com
 
  There is a global setting parameter afaik...
  Il giorno 08/lug/2013 11:45, Tao Lin linba...@gmail.com ha scritto:
 
  Hi,there:
 Does cloudstack support memory-overcommitting so that memory
 resource
  can be scheduled among VMs using the balloon device of the KVM? And how
  cloudstack handle this?
 
 
  Best regards.
 
 
 



Does cloudstack support memory-overcommitting?

2013-07-08 Thread Tao Lin
Hi,there:
   Does cloudstack support memory-overcommitting so that memory resource
can be scheduled among VMs using the balloon device of the KVM? And how
cloudstack handle this?


Best regards.