Re: Management Server HA DB Replication
Thanks for the info as I planned to use mariadb cluster. I presume our only option is mysql with replication as perconadb also uses galera so presume that wont work either. Regards Ian On 24 Jun 2014, at 06:42, Damoder Reddy damoder.re...@citrix.com wrote: The problem with MariaDB/galera is it does not support explicit locking of tables etc.. which are used inside Cloudstack code.. https://mariadb.com/kb/en/mariadb-galera-cluster-known-limitations/ Thanks Regards Damodar/ -Original Message- From: Ian Marshall [mailto:i...@itlhosting.co.uk] Sent: Tuesday, June 24, 2014 10:25 AM To: users@cloudstack.apache.org Subject: Re: Management Server HA DB Replication Hi Tejas I suggest you try mariadb cluster v5.5. Although My only experience is using it for active-active db for openstack, it was quite easy to set up and can work with two installations. You can increase the nodes by using arbitrator if you wish. See the community website for mariadb and the galera website for more information. Regards Ian On 24 Jun 2014, at 05:23, Tejas Gadaria refond.g...@gmail.com wrote: Hi, I want to make MS on high availability, with automatic failover. I have MS DB on same server. planning to create slave DB on separate server. but if I create separate Slave MS for HA, how can point it to DB so command issued from any of MS will trigger to same infrastructure. Regards, Tejas
Cloud Stack | Unable to add KVM host
Hi, I have configured Cloud stack but unable to add KVM host both mangment and KVM hosted on Same VM (Vmwear ). Please see the log below. INFO [c.c.a.ApiServer] (catalina-exec-19:ctx-5d9e0c4a ctx-17cfe177) Unable to add the host INFO [c.c.r.ResourceManagerImpl] (catalina-exec-20:ctx-94e1f583 ctx-867ef602) Trying to add a new host at http://10.10.0.244 in data center 1 WARN [c.c.r.ResourceManagerImpl] (catalina-exec-20:ctx-94e1f583 ctx-867ef602) Unable to find the server resources at http://10.10.0.244 INFO [c.c.u.e.CSExceptionErrorCode] (catalina-exec-20:ctx-94e1f583 ctx-867ef602) Could not find exception: com.cloud.exception.DiscoveryException in error code list for exceptions WARN [o.a.c.a.c.a.h.AddHostCmd] (catalina-exec-20:ctx-94e1f583 ctx-867ef602) Exception: com.cloud.exception.DiscoveryException: Unable to add the host at com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:780) at com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:575) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy145.discoverHosts(Unknown Source) at org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:143) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:161) at com.cloud.api.ApiServer.queueCommand(ApiServer.java:531) at com.cloud.api.ApiServer.handleRequest(ApiServer.java:374) at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:323) at com.cloud.api.ApiServlet.access$000(ApiServlet.java:53) at com.cloud.api.ApiServlet$1.run(ApiServlet.java:115) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53) at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:112) at com.cloud.api.ApiServlet.doPost(ApiServlet.java:79) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889) at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2274) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) INFO [c.c.a.ApiServer] (catalina-exec-20:ctx-94e1f583 ctx-867ef602) Unable to add the host
RE: Management Server HA DB Replication
Yes, from 4.3 onwards we enabled DB-HA within cloudstack using mysql replication and connector configurations. https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=34838207 Thanks Regards Damodar/ -Original Message- From: Ian Marshall [mailto:i...@itlhosting.co.uk] Sent: Tuesday, June 24, 2014 11:31 AM To: users@cloudstack.apache.org Subject: Re: Management Server HA DB Replication Thanks for the info as I planned to use mariadb cluster. I presume our only option is mysql with replication as perconadb also uses galera so presume that wont work either. Regards Ian On 24 Jun 2014, at 06:42, Damoder Reddy damoder.re...@citrix.com wrote: The problem with MariaDB/galera is it does not support explicit locking of tables etc.. which are used inside Cloudstack code.. https://mariadb.com/kb/en/mariadb-galera-cluster-known-limitations/ Thanks Regards Damodar/ -Original Message- From: Ian Marshall [mailto:i...@itlhosting.co.uk] Sent: Tuesday, June 24, 2014 10:25 AM To: users@cloudstack.apache.org Subject: Re: Management Server HA DB Replication Hi Tejas I suggest you try mariadb cluster v5.5. Although My only experience is using it for active-active db for openstack, it was quite easy to set up and can work with two installations. You can increase the nodes by using arbitrator if you wish. See the community website for mariadb and the galera website for more information. Regards Ian On 24 Jun 2014, at 05:23, Tejas Gadaria refond.g...@gmail.com wrote: Hi, I want to make MS on high availability, with automatic failover. I have MS DB on same server. planning to create slave DB on separate server. but if I create separate Slave MS for HA, how can point it to DB so command issued from any of MS will trigger to same infrastructure. Regards, Tejas
Re: Cloud Stack | Unable to add KVM host
did you do agent install? http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/latest/hypervisor/kvm.html#install-and-configure-the-agent ~Rajani On 24-Jun-2014, at 11:32 am, Ali Ahsan ali.ah...@northbaysolutions.netmailto:ali.ah...@northbaysolutions.net wrote: Hi, I have configured Cloud stack but unable to add KVM host both mangment and KVM hosted on Same VM (Vmwear ). Please see the log below. INFO [c.c.a.ApiServer] (catalina-exec-19:ctx-5d9e0c4a ctx-17cfe177) Unable to add the host INFO [c.c.r.ResourceManagerImpl] (catalina-exec-20:ctx-94e1f583 ctx-867ef602) Trying to add a new host at http://10.10.0.244 in data center 1 WARN [c.c.r.ResourceManagerImpl] (catalina-exec-20:ctx-94e1f583 ctx-867ef602) Unable to find the server resources at http://10.10.0.244 INFO [c.c.u.e.CSExceptionErrorCode] (catalina-exec-20:ctx-94e1f583 ctx-867ef602) Could not find exception: com.cloud.exception.DiscoveryException in error code list for exceptions WARN [o.a.c.a.c.a.h.AddHostCmd] (catalina-exec-20:ctx-94e1f583 ctx-867ef602) Exception: com.cloud.exception.DiscoveryException: Unable to add the host at com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:780) at com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:575) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy145.discoverHosts(Unknown Source) at org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:143) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:161) at com.cloud.api.ApiServer.queueCommand(ApiServer.java:531) at com.cloud.api.ApiServer.handleRequest(ApiServer.java:374) at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:323) at com.cloud.api.ApiServlet.access$000(ApiServlet.java:53) at com.cloud.api.ApiServlet$1.run(ApiServlet.java:115) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53) at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:112) at com.cloud.api.ApiServlet.doPost(ApiServlet.java:79) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889) at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2274) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) INFO [c.c.a.ApiServer] (catalina-exec-20:ctx-94e1f583 ctx-867ef602) Unable to add the
Re: Cloud Stack | Unable to add KVM host
Yes I did, I followed Centos Quick Installation guide. Ali On 6/24/2014 11:49 AM, Rajani Karuturi wrote: did you do agent install? http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/latest/hypervisor/kvm.html#install-and-configure-the-agent ~Rajani On 24-Jun-2014, at 11:32 am, Ali Ahsan ali.ah...@northbaysolutions.netmailto:ali.ah...@northbaysolutions.net wrote: Hi, I have configured Cloud stack but unable to add KVM host both mangment and KVM hosted on Same VM (Vmwear ). Please see the log below. INFO [c.c.a.ApiServer] (catalina-exec-19:ctx-5d9e0c4a ctx-17cfe177) Unable to add the host INFO [c.c.r.ResourceManagerImpl] (catalina-exec-20:ctx-94e1f583 ctx-867ef602) Trying to add a new host at http://10.10.0.244 in data center 1 WARN [c.c.r.ResourceManagerImpl] (catalina-exec-20:ctx-94e1f583 ctx-867ef602) Unable to find the server resources at http://10.10.0.244 INFO [c.c.u.e.CSExceptionErrorCode] (catalina-exec-20:ctx-94e1f583 ctx-867ef602) Could not find exception: com.cloud.exception.DiscoveryException in error code list for exceptions WARN [o.a.c.a.c.a.h.AddHostCmd] (catalina-exec-20:ctx-94e1f583 ctx-867ef602) Exception: com.cloud.exception.DiscoveryException: Unable to add the host at com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:780) at com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:575) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy145.discoverHosts(Unknown Source) at org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:143) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:161) at com.cloud.api.ApiServer.queueCommand(ApiServer.java:531) at com.cloud.api.ApiServer.handleRequest(ApiServer.java:374) at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:323) at com.cloud.api.ApiServlet.access$000(ApiServlet.java:53) at com.cloud.api.ApiServlet$1.run(ApiServlet.java:115) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53) at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:112) at com.cloud.api.ApiServlet.doPost(ApiServlet.java:79) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889) at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2274) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at
Re: Cloud Stack | Unable to add KVM host
On Jun 24, 2014, at 9:21 AM, Ali Ahsan ali.ah...@northbaysolutions.net wrote: Yes I did, I followed Centos Quick Installation guide. Which version of cloudstack are you using ? Ali On 6/24/2014 11:49 AM, Rajani Karuturi wrote: did you do agent install? http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/latest/hypervisor/kvm.html#install-and-configure-the-agent ~Rajani On 24-Jun-2014, at 11:32 am, Ali Ahsan ali.ah...@northbaysolutions.netmailto:ali.ah...@northbaysolutions.net wrote: Hi, I have configured Cloud stack but unable to add KVM host both mangment and KVM hosted on Same VM (Vmwear ). Please see the log below. INFO [c.c.a.ApiServer] (catalina-exec-19:ctx-5d9e0c4a ctx-17cfe177) Unable to add the host INFO [c.c.r.ResourceManagerImpl] (catalina-exec-20:ctx-94e1f583 ctx-867ef602) Trying to add a new host at http://10.10.0.244 in data center 1 WARN [c.c.r.ResourceManagerImpl] (catalina-exec-20:ctx-94e1f583 ctx-867ef602) Unable to find the server resources at http://10.10.0.244 INFO [c.c.u.e.CSExceptionErrorCode] (catalina-exec-20:ctx-94e1f583 ctx-867ef602) Could not find exception: com.cloud.exception.DiscoveryException in error code list for exceptions WARN [o.a.c.a.c.a.h.AddHostCmd] (catalina-exec-20:ctx-94e1f583 ctx-867ef602) Exception: com.cloud.exception.DiscoveryException: Unable to add the host at com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:780) at com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:575) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy145.discoverHosts(Unknown Source) at org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:143) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:161) at com.cloud.api.ApiServer.queueCommand(ApiServer.java:531) at com.cloud.api.ApiServer.handleRequest(ApiServer.java:374) at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:323) at com.cloud.api.ApiServlet.access$000(ApiServlet.java:53) at com.cloud.api.ApiServlet$1.run(ApiServlet.java:115) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53) at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:112) at com.cloud.api.ApiServlet.doPost(ApiServlet.java:79) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889) at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721) at
Re: Cloud Stack | Unable to add KVM host
4.3 On 6/24/2014 12:32 PM, sebgoa wrote: On Jun 24, 2014, at 9:21 AM, Ali Ahsan ali.ah...@northbaysolutions.net wrote: Yes I did, I followed Centos Quick Installation guide. Which version of cloudstack are you using ? Ali On 6/24/2014 11:49 AM, Rajani Karuturi wrote: did you do agent install? http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/latest/hypervisor/kvm.html#install-and-configure-the-agent ~Rajani On 24-Jun-2014, at 11:32 am, Ali Ahsan ali.ah...@northbaysolutions.netmailto:ali.ah...@northbaysolutions.net wrote: Hi, I have configured Cloud stack but unable to add KVM host both mangment and KVM hosted on Same VM (Vmwear ). Please see the log below. INFO [c.c.a.ApiServer] (catalina-exec-19:ctx-5d9e0c4a ctx-17cfe177) Unable to add the host INFO [c.c.r.ResourceManagerImpl] (catalina-exec-20:ctx-94e1f583 ctx-867ef602) Trying to add a new host at http://10.10.0.244 in data center 1 WARN [c.c.r.ResourceManagerImpl] (catalina-exec-20:ctx-94e1f583 ctx-867ef602) Unable to find the server resources at http://10.10.0.244 INFO [c.c.u.e.CSExceptionErrorCode] (catalina-exec-20:ctx-94e1f583 ctx-867ef602) Could not find exception: com.cloud.exception.DiscoveryException in error code list for exceptions WARN [o.a.c.a.c.a.h.AddHostCmd] (catalina-exec-20:ctx-94e1f583 ctx-867ef602) Exception: com.cloud.exception.DiscoveryException: Unable to add the host at com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:780) at com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:575) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy145.discoverHosts(Unknown Source) at org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:143) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:161) at com.cloud.api.ApiServer.queueCommand(ApiServer.java:531) at com.cloud.api.ApiServer.handleRequest(ApiServer.java:374) at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:323) at com.cloud.api.ApiServlet.access$000(ApiServlet.java:53) at com.cloud.api.ApiServlet$1.run(ApiServlet.java:115) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53) at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:112) at com.cloud.api.ApiServlet.doPost(ApiServlet.java:79) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889) at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2274)
RE: Migrating existing VMs into Cloudstack
Hi John, You simply need to export the VMs from the existing XenServer, then import them into CloudStack by first adding them as a Template, then deploying a new VM based on the Template. 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: 24 June 2014 08:36 To: users@cloudstack.apache.org Subject: Migrating existing VMs into Cloudstack Good morning guys, What is the best process to follow for importing existing Xenserver Virtual Machines from their native hosts into apache cloudstack? I have a couple of VM’s running on some old Xenserver5 hosts that I would like to bring into the cloud, but struggling to find a documented process that I can attempt. Thanks guys John 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. 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 | Unable to add KVM host
Hi, Please check the agent.log on the hypervisor, it may contain useful clues as to why the operation has failed. -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro - Original Message - From: Ali Ahsan ali.ah...@northbaysolutions.net To: users@cloudstack.apache.org Sent: Tuesday, 24 June, 2014 8:34:33 AM Subject: Re: Cloud Stack | Unable to add KVM host 4.3 On 6/24/2014 12:32 PM, sebgoa wrote: On Jun 24, 2014, at 9:21 AM, Ali Ahsan ali.ah...@northbaysolutions.net wrote: Yes I did, I followed Centos Quick Installation guide. Which version of cloudstack are you using ? Ali On 6/24/2014 11:49 AM, Rajani Karuturi wrote: did you do agent install? http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/latest/hypervisor/kvm.html#install-and-configure-the-agent ~Rajani On 24-Jun-2014, at 11:32 am, Ali Ahsan ali.ah...@northbaysolutions.netmailto:ali.ah...@northbaysolutions.net wrote: Hi, I have configured Cloud stack but unable to add KVM host both mangment and KVM hosted on Same VM (Vmwear ). Please see the log below. INFO [c.c.a.ApiServer] (catalina-exec-19:ctx-5d9e0c4a ctx-17cfe177) Unable to add the host INFO [c.c.r.ResourceManagerImpl] (catalina-exec-20:ctx-94e1f583 ctx-867ef602) Trying to add a new host at http://10.10.0.244 in data center 1 WARN [c.c.r.ResourceManagerImpl] (catalina-exec-20:ctx-94e1f583 ctx-867ef602) Unable to find the server resources at http://10.10.0.244 INFO [c.c.u.e.CSExceptionErrorCode] (catalina-exec-20:ctx-94e1f583 ctx-867ef602) Could not find exception: com.cloud.exception.DiscoveryException in error code list for exceptions WARN [o.a.c.a.c.a.h.AddHostCmd] (catalina-exec-20:ctx-94e1f583 ctx-867ef602) Exception: com.cloud.exception.DiscoveryException: Unable to add the host at com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:780) at com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:575) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy145.discoverHosts(Unknown Source) at org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:143) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:161) at com.cloud.api.ApiServer.queueCommand(ApiServer.java:531) at com.cloud.api.ApiServer.handleRequest(ApiServer.java:374) at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:323) at com.cloud.api.ApiServlet.access$000(ApiServlet.java:53) at com.cloud.api.ApiServlet$1.run(ApiServlet.java:115) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53) at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:112) at com.cloud.api.ApiServlet.doPost(ApiServlet.java:79) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555) at
Re: [acs-4.4] cherry-pick
On Tue, Jun 24, 2014 at 7:44 AM, Damoder Reddy damoder.re...@citrix.com wrote: 24401e0b2b575d1aa151dbf5d4e0e0e1de4e9361 is in -- Daan
RE: Cloud Stack | Unable to add KVM host
Discovery exception comes generally when we don't set host FQDN. What is the output of # hostname --fqdn. Also check the agent log for exceptions .if you followed the instructions properly and still sees an issue ,please feel free to raise a bug using below https://issues.apache.org/ Regards Sadhu -Original Message- From: Nux! [mailto:n...@li.nux.ro] Sent: 24 June 2014 13:37 To: users@cloudstack.apache.org Subject: Re: Cloud Stack | Unable to add KVM host Hi, Please check the agent.log on the hypervisor, it may contain useful clues as to why the operation has failed. -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro - Original Message - From: Ali Ahsan ali.ah...@northbaysolutions.net To: users@cloudstack.apache.org Sent: Tuesday, 24 June, 2014 8:34:33 AM Subject: Re: Cloud Stack | Unable to add KVM host 4.3 On 6/24/2014 12:32 PM, sebgoa wrote: On Jun 24, 2014, at 9:21 AM, Ali Ahsan ali.ah...@northbaysolutions.net wrote: Yes I did, I followed Centos Quick Installation guide. Which version of cloudstack are you using ? Ali On 6/24/2014 11:49 AM, Rajani Karuturi wrote: did you do agent install? http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/latest/hypervisor/kvm.html#install-and-configure-the-agent ~Rajani On 24-Jun-2014, at 11:32 am, Ali Ahsan ali.ah...@northbaysolutions.netmailto:ali.ah...@northbaysolutions.net wrote: Hi, I have configured Cloud stack but unable to add KVM host both mangment and KVM hosted on Same VM (Vmwear ). Please see the log below. INFO [c.c.a.ApiServer] (catalina-exec-19:ctx-5d9e0c4a ctx-17cfe177) Unable to add the host INFO [c.c.r.ResourceManagerImpl] (catalina-exec-20:ctx-94e1f583 ctx-867ef602) Trying to add a new host at http://10.10.0.244 in data center 1 WARN [c.c.r.ResourceManagerImpl] (catalina-exec-20:ctx-94e1f583 ctx-867ef602) Unable to find the server resources at http://10.10.0.244 INFO [c.c.u.e.CSExceptionErrorCode] (catalina-exec-20:ctx-94e1f583 ctx-867ef602) Could not find exception: com.cloud.exception.DiscoveryException in error code list for exceptions WARN [o.a.c.a.c.a.h.AddHostCmd] (catalina-exec-20:ctx-94e1f583 ctx-867ef602) Exception: com.cloud.exception.DiscoveryException: Unable to add the host at com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:780) at com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:575) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy145.discoverHosts(Unknown Source) at org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:143) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:161) at com.cloud.api.ApiServer.queueCommand(ApiServer.java:531) at com.cloud.api.ApiServer.handleRequest(ApiServer.java:374) at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:323) at com.cloud.api.ApiServlet.access$000(ApiServlet.java:53) at com.cloud.api.ApiServlet$1.run(ApiServlet.java:115) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53) at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:112) at com.cloud.api.ApiServlet.doPost(ApiServlet.java:79) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at
Re: Cloud Stack | Unable to add KVM host
[root@srvr1 ~]# hostname srvr1.cloud.priv Getting following error in agent.log 2014-06-24 05:17:32,402 WARN [utils.nio.Task] (Agent-Handler-1:null) Caught the following exception but pushing on java.lang.NullPointerException at com.cloud.hypervisor.kvm.storage.LibvirtStorageAdaptor.createStoragePool(LibvirtStorageAdaptor.java:533) at com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.createStoragePool(KVMStoragePoolManager.java:289) at com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.createStoragePool(KVMStoragePoolManager.java:281) at com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.initialize(LibvirtComputingResource.java:4111) at com.cloud.agent.Agent.sendStartup(Agent.java:296) at com.cloud.agent.Agent$ServerHandler.doTask(Agent.java:825) at com.cloud.utils.nio.Task.run(Task.java:83) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) On 6/24/2014 1:47 PM, Suresh Sadhu wrote: Discovery exception comes generally when we don't set host FQDN. What is the output of # hostname --fqdn. Also check the agent log for exceptions .if you followed the instructions properly and still sees an issue ,please feel free to raise a bug using below https://issues.apache.org/ Regards Sadhu -Original Message- From: Nux! [mailto:n...@li.nux.ro] Sent: 24 June 2014 13:37 To: users@cloudstack.apache.org Subject: Re: Cloud Stack | Unable to add KVM host Hi, Please check the agent.log on the hypervisor, it may contain useful clues as to why the operation has failed. -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro - Original Message - From: Ali Ahsan ali.ah...@northbaysolutions.net To: users@cloudstack.apache.org Sent: Tuesday, 24 June, 2014 8:34:33 AM Subject: Re: Cloud Stack | Unable to add KVM host 4.3 On 6/24/2014 12:32 PM, sebgoa wrote: On Jun 24, 2014, at 9:21 AM, Ali Ahsan ali.ah...@northbaysolutions.net wrote: Yes I did, I followed Centos Quick Installation guide. Which version of cloudstack are you using ? Ali On 6/24/2014 11:49 AM, Rajani Karuturi wrote: did you do agent install? http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/latest/hypervisor/kvm.html#install-and-configure-the-agent ~Rajani On 24-Jun-2014, at 11:32 am, Ali Ahsan ali.ah...@northbaysolutions.netmailto:ali.ah...@northbaysolutions.net wrote: Hi, I have configured Cloud stack but unable to add KVM host both mangment and KVM hosted on Same VM (Vmwear ). Please see the log below. INFO [c.c.a.ApiServer] (catalina-exec-19:ctx-5d9e0c4a ctx-17cfe177) Unable to add the host INFO [c.c.r.ResourceManagerImpl] (catalina-exec-20:ctx-94e1f583 ctx-867ef602) Trying to add a new host at http://10.10.0.244 in data center 1 WARN [c.c.r.ResourceManagerImpl] (catalina-exec-20:ctx-94e1f583 ctx-867ef602) Unable to find the server resources at http://10.10.0.244 INFO [c.c.u.e.CSExceptionErrorCode] (catalina-exec-20:ctx-94e1f583 ctx-867ef602) Could not find exception: com.cloud.exception.DiscoveryException in error code list for exceptions WARN [o.a.c.a.c.a.h.AddHostCmd] (catalina-exec-20:ctx-94e1f583 ctx-867ef602) Exception: com.cloud.exception.DiscoveryException: Unable to add the host at com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:780) at com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:575) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy145.discoverHosts(Unknown Source) at org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:143) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:161) at com.cloud.api.ApiServer.queueCommand(ApiServer.java:531) at
Re: Cloud Stack | Unable to add KVM host
Getting following error in /var/log/cloudstack/management/apilog.log 2014-06-24 05:55:54,798 INFO [a.c.c.a.ApiServer] (catalina-exec-25:ctx-27372762 ctx-320dcf2a) (userId=2 accountId=2 sessionId=6BDD265F6DD8ED6CE0ACB61C30EEF74E) 10.10.10.54 -- GET command=listZonesresponse=jsonsessionkey=21XmVziBudhgCB4dQOQSoUP7GJQ%3Did=ed7e7f89-26a3-4daa-8596-a1a3cb4dea3a_=1403603754584 200 { listzonesresponse : { count:1 ,zone : [ {id:ed7e7f89-26a3-4daa-8596-a1a3cb4dea3a,name:nbs1,dns1:8.8.8.8,internaldns1:10.10.10.2,networktype:Basic,securitygroupsenabled:true,allocationstate:Enabled,zonetoken:dd3ede54-374b-325f-86e6-2a6a0f339b0a,dhcpprovider:VirtualRouter,localstorageenabled:false,tags:[]} ] } } 2014-06-24 05:55:54,802 INFO [a.c.c.a.ApiServer] (catalina-exec-17:ctx-dae12f6d ctx-67a17afc) (userId=2 accountId=2 sessionId=6BDD265F6DD8ED6CE0ACB61C30EEF74E) 10.10.10.54 -- GET command=listDomainslistAll=trueresponse=jsonsessionkey=21XmVziBudhgCB4dQOQSoUP7GJQ%3D_=1403603754637 200 { listdomainsresponse : { count:1 ,domain : [ {id:bf2312e0-fae0-11e3-92f2-000c2991c954,name:ROOT,level:0,haschild:false,path:ROOT} ] } } 2014-06-24 05:55:55,069 INFO [a.c.c.a.ApiServer] (catalina-exec-15:ctx-df60582a ctx-6980ce47) (userId=2 accountId=2 sessionId=6BDD265F6DD8ED6CE0ACB61C30EEF74E) 10.10.10.54 -- GET command=listPodszoneid=ed7e7f89-26a3-4daa-8596-a1a3cb4dea3aresponse=jsonsessionkey=21XmVziBudhgCB4dQOQSoUP7GJQ%3D_=1403603754820 200 { listpodsresponse : { count:1 ,pod : [ {id:7822e7bd-de80-44bb-9d63-381cab4c7f18,name:nbspod,zoneid:ed7e7f89-26a3-4daa-8596-a1a3cb4dea3a,zonename:nbs1,gateway:10.10.0.244,netmask:255.255.255.0,startip:10.10.0.20,endip:10.10.0.230,allocationstate:Enabled} ] } } 2014-06-24 05:55:55,242 INFO [a.c.c.a.ApiServer] (catalina-exec-21:ctx-80367283 ctx-88b5bc33) (userId=2 accountId=2 sessionId=6BDD265F6DD8ED6CE0ACB61C30EEF74E) 10.10.10.54 -- GET command=listClusterspodid=7822e7bd-de80-44bb-9d63-381cab4c7f18response=jsonsessionkey=21XmVziBudhgCB4dQOQSoUP7GJQ%3D_=1403603755201 200 { listclustersresponse : { count:1 ,cluster : [ {id:13ee3d9a-015f-4fe6-a428-e3bf5f42b153,name:cluster1,podid:7822e7bd-de80-44bb-9d63-381cab4c7f18,podname:nbspod,zoneid:ed7e7f89-26a3-4daa-8596-a1a3cb4dea3a,zonename:nbs1,hypervisortype:KVM,clustertype:CloudManaged,allocationstate:Enabled,managedstate:Managed,cpuovercommitratio:1.0,memoryovercommitratio:1.0} ] } } 2014-06-24 05:56:09,976 INFO [a.c.c.a.ApiServer] (catalina-exec-4:ctx-8f909718 ctx-e3f328d4) (userId=2 accountId=2 sessionId=6BDD265F6DD8ED6CE0ACB61C30EEF74E) 10.10.10.54 -- POST command=addHostresponse=jsonsessionkey=21XmVziBudhgCB4dQOQSoUP7GJQ%3D 530 Unable to add the host On 6/24/2014 2:52 PM, Ali Ahsan wrote: [root@srvr1 ~]# hostname srvr1.cloud.priv Getting following error in agent.log 2014-06-24 05:17:32,402 WARN [utils.nio.Task] (Agent-Handler-1:null) Caught the following exception but pushing on java.lang.NullPointerException at com.cloud.hypervisor.kvm.storage.LibvirtStorageAdaptor.createStoragePool(LibvirtStorageAdaptor.java:533) at com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.createStoragePool(KVMStoragePoolManager.java:289) at com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.createStoragePool(KVMStoragePoolManager.java:281) at com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.initialize(LibvirtComputingResource.java:4111) at com.cloud.agent.Agent.sendStartup(Agent.java:296) at com.cloud.agent.Agent$ServerHandler.doTask(Agent.java:825) at com.cloud.utils.nio.Task.run(Task.java:83) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) On 6/24/2014 1:47 PM, Suresh Sadhu wrote: Discovery exception comes generally when we don't set host FQDN. What is the output of # hostname --fqdn. Also check the agent log for exceptions .if you followed the instructions properly and still sees an issue ,please feel free to raise a bug using below https://issues.apache.org/ Regards Sadhu -Original Message- From: Nux! [mailto:n...@li.nux.ro] Sent: 24 June 2014 13:37 To: users@cloudstack.apache.org Subject: Re: Cloud Stack | Unable to add KVM host Hi, Please check the agent.log on the hypervisor, it may contain useful clues as to why the operation has failed. -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro - Original Message - From: Ali Ahsan ali.ah...@northbaysolutions.net To: users@cloudstack.apache.org Sent: Tuesday, 24 June, 2014 8:34:33 AM Subject: Re: Cloud Stack | Unable to add KVM host 4.3 On 6/24/2014 12:32 PM, sebgoa wrote: On Jun 24, 2014, at 9:21 AM, Ali Ahsan ali.ah...@northbaysolutions.net wrote: Yes I did, I followed Centos Quick Installation guide. Which version of cloudstack are you using ? Ali On
Re: Management Server HA DB Replication
MS will work in a cluster pointing to same DB. The DB can be configured as master-slave. https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=34838207 -abhi On 24/06/14 9:53 am, Tejas Gadaria refond.g...@gmail.com wrote: Hi, I want to make MS on high availability, with automatic failover. I have MS DB on same server. planning to create slave DB on separate server. but if I create separate Slave MS for HA, how can point it to DB so command issued from any of MS will trigger to same infrastructure. Regards, Tejas
Re: Management Server HA DB Replication
Hi abhi, My 1st MS DB Master running on : 10.1.1.2 2nd MS DB Slave running on : 10.1.1.3 MS will be in cluster so Both MS will be pointed to : 10.1.1.2 Is it correct ? If so, Which parameter should I change in db.properties to point MS cluster to db master? Regards, Tejas On Tue, Jun 24, 2014 at 3:54 PM, Abhinandan Prateek abhinandan.prat...@citrix.com wrote: MS will work in a cluster pointing to same DB. The DB can be configured as master-slave. https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=34838207 -abhi On 24/06/14 9:53 am, Tejas Gadaria refond.g...@gmail.com wrote: Hi, I want to make MS on high availability, with automatic failover. I have MS DB on same server. planning to create slave DB on separate server. but if I create separate Slave MS for HA, how can point it to DB so command issued from any of MS will trigger to same infrastructure. Regards, Tejas
Not able to deploy Ubuntu VM on xenserver 12.04
I was trying to create Ubuntu instance from ISO on xenserver 6.2 received below error.. 2014-06-24 17:28:38,600 DEBUG [c.c.a.ApiServlet] (catalina-exec-17:ctx-736ea19c ctx-d2da377e) ===END=== 192.168.160.192 -- GET command=queryAsyncJobResultjobId=06293d5e-1349-453c-a1c6-45646ff093d1response=jsonsessionkey=hRCT8eVG2WFHAM6sev8pPoXvpLs%3D_=140368528 2014-06-24 17:28:40,416 WARN [c.c.h.x.r.CitrixResourceBase] (DirectAgent-236:ctx-4a340f40) Task failed! Task record: uuid: becfe1fc-7bc9-7162-6bfc-afd9b7a9ddd0 nameLabel: Async.VM.start_on nameDescription: allowedOperations: [] currentOperations: {} created: Tue Jun 24 17:42:43 IST 2014 finished: Tue Jun 24 17:28:40 IST 2014 status: failure residentOn: com.xensource.xenapi.Host@3851c289 progress: 1.0 type: none/ result: errorInfo: [BOOTLOADER_FAILED, OpaqueRef:616ef71d-af09-2b86-3581-63c070f30519, INVALID_SOURCE Unable to access a required file in the specified repository: file:///tmp/cdrom-repo-LvMRCB/install/vmlinuz. ] otherConfig: {} subtaskOf: com.xensource.xenapi.Task@aaf13f6f subtasks: [] 2014-06-24 17:28:40,499 WARN [c.c.h.x.r.CitrixResourceBase] (DirectAgent-236:ctx-4a340f40) Unable to start VM(i-2-42-VM) on host(dc1d7e1c-b09b-45a5-a10e-5479f50aa16f) due to Task failed! Task record: uuid: becfe1fc-7bc9-7162-6bfc-afd9b7a9ddd0 nameLabel: Async.VM.start_on nameDescription: allowedOperations: [] currentOperations: {} created: Tue Jun 24 17:42:43 IST 2014 finished: Tue Jun 24 17:28:40 IST 2014 status: failure residentOn: com.xensource.xenapi.Host@3851c289 progress: 1.0 type: none/ result: errorInfo: [BOOTLOADER_FAILED, OpaqueRef:616ef71d-af09-2b86-3581-63c070f30519, INVALID_SOURCE Unable to access a required file in the specified repository: file:///tmp/cdrom-repo-LvMRCB/install/vmlinuz. ] otherConfig: {} subtaskOf: com.xensource.xenapi.Task@aaf13f6f subtasks: [] Task failed! Task record: uuid: becfe1fc-7bc9-7162-6bfc-afd9b7a9ddd0 nameLabel: Async.VM.start_on nameDescription: allowedOperations: [] currentOperations: {} created: Tue Jun 24 17:42:43 IST 2014 finished: Tue Jun 24 17:28:40 IST 2014 status: failure residentOn: com.xensource.xenapi.Host@3851c289 progress: 1.0 type: none/ result: errorInfo: [BOOTLOADER_FAILED, OpaqueRef:616ef71d-af09-2b86-3581-63c070f30519, INVALID_SOURCE Unable to access a required file in the specified repository: file:///tmp/cdrom-repo-LvMRCB/install/vmlinuz. ] otherConfig: {} subtaskOf: com.xensource.xenapi.Task@aaf13f6f subtasks: [] at com.cloud.hypervisor.xen.resource.CitrixResourceBase.checkForSuccess(CitrixResourceBase.java:3764) at com.cloud.hypervisor.xen.resource.CitrixResourceBase.startVM(CitrixResourceBase.java:3876) at com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:1721) at com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:545) at com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:59) at com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:106) at com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:216) at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53) at org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:679) 2014-06-24 17:28:40,505 WARN [c.c.h.x.r.CitrixResourceBase]
RE: Management Server HA DB Replication
IN a cluster management setup: ON Master MS you will install master db with deploy option Cloudstack-setup-databases cloud@10.1.1.2 --deploy-as=root On slave MS : you will point to master db Cloudstack-setup-databases cloud@10.1.1.2 ( here don't mention --deploy-as option on slave if you mention then it will overwrite the master db content) Once you ran the above command on slave you can see db.cloud.host point to master IP in db.properties file Note: always take a baclkup of your DB before doing cluster management setup .Due to any mistake if master db got overwritten and you can safely revert back using ur backup copy Regards Sadhu -Original Message- From: Tejas Gadaria [mailto:refond.g...@gmail.com] Sent: 24 June 2014 17:04 To: d...@cloudstack.apache.org Cc: users@cloudstack.apache.org Subject: Re: Management Server HA DB Replication Hi abhi, My 1st MS DB Master running on : 10.1.1.2 2nd MS DB Slave running on : 10.1.1.3 MS will be in cluster so Both MS will be pointed to : 10.1.1.2 Is it correct ? If so, Which parameter should I change in db.properties to point MS cluster to db master? Regards, Tejas On Tue, Jun 24, 2014 at 3:54 PM, Abhinandan Prateek abhinandan.prat...@citrix.com wrote: MS will work in a cluster pointing to same DB. The DB can be configured as master-slave. https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=34838 207 -abhi On 24/06/14 9:53 am, Tejas Gadaria refond.g...@gmail.com wrote: Hi, I want to make MS on high availability, with automatic failover. I have MS DB on same server. planning to create slave DB on separate server. but if I create separate Slave MS for HA, how can point it to DB so command issued from any of MS will trigger to same infrastructure. Regards, Tejas
Re: Not able to deploy Ubuntu VM on xenserver 12.04
Hi Tejas, I've seent his happen before when I use the netinstall ISO. Use the server or alternative one; they tend to have the file structure xen (install/vmlinuz) looks for. On 24 June 2014 13:03, Tejas Gadaria refond.g...@gmail.com wrote: I was trying to create Ubuntu instance from ISO on xenserver 6.2 received below error.. 2014-06-24 17:28:38,600 DEBUG [c.c.a.ApiServlet] (catalina-exec-17:ctx-736ea19c ctx-d2da377e) ===END=== 192.168.160.192 -- GET command=queryAsyncJobResultjobId=06293d5e-1349-453c-a1c6-45646ff093d1response=jsonsessionkey=hRCT8eVG2WFHAM6sev8pPoXvpLs%3D_=140368528 2014-06-24 17:28:40,416 WARN [c.c.h.x.r.CitrixResourceBase] (DirectAgent-236:ctx-4a340f40) Task failed! Task record: uuid: becfe1fc-7bc9-7162-6bfc-afd9b7a9ddd0 nameLabel: Async.VM.start_on nameDescription: allowedOperations: [] currentOperations: {} created: Tue Jun 24 17:42:43 IST 2014 finished: Tue Jun 24 17:28:40 IST 2014 status: failure residentOn: com.xensource.xenapi.Host@3851c289 progress: 1.0 type: none/ result: errorInfo: [BOOTLOADER_FAILED, OpaqueRef:616ef71d-af09-2b86-3581-63c070f30519, INVALID_SOURCE Unable to access a required file in the specified repository: file:///tmp/cdrom-repo-LvMRCB/install/vmlinuz. ] otherConfig: {} subtaskOf: com.xensource.xenapi.Task@aaf13f6f subtasks: [] 2014-06-24 17:28:40,499 WARN [c.c.h.x.r.CitrixResourceBase] (DirectAgent-236:ctx-4a340f40) Unable to start VM(i-2-42-VM) on host(dc1d7e1c-b09b-45a5-a10e-5479f50aa16f) due to Task failed! Task record: uuid: becfe1fc-7bc9-7162-6bfc-afd9b7a9ddd0 nameLabel: Async.VM.start_on nameDescription: allowedOperations: [] currentOperations: {} created: Tue Jun 24 17:42:43 IST 2014 finished: Tue Jun 24 17:28:40 IST 2014 status: failure residentOn: com.xensource.xenapi.Host@3851c289 progress: 1.0 type: none/ result: errorInfo: [BOOTLOADER_FAILED, OpaqueRef:616ef71d-af09-2b86-3581-63c070f30519, INVALID_SOURCE Unable to access a required file in the specified repository: file:///tmp/cdrom-repo-LvMRCB/install/vmlinuz. ] otherConfig: {} subtaskOf: com.xensource.xenapi.Task@aaf13f6f subtasks: [] Task failed! Task record: uuid: becfe1fc-7bc9-7162-6bfc-afd9b7a9ddd0 nameLabel: Async.VM.start_on nameDescription: allowedOperations: [] currentOperations: {} created: Tue Jun 24 17:42:43 IST 2014 finished: Tue Jun 24 17:28:40 IST 2014 status: failure residentOn: com.xensource.xenapi.Host@3851c289 progress: 1.0 type: none/ result: errorInfo: [BOOTLOADER_FAILED, OpaqueRef:616ef71d-af09-2b86-3581-63c070f30519, INVALID_SOURCE Unable to access a required file in the specified repository: file:///tmp/cdrom-repo-LvMRCB/install/vmlinuz. ] otherConfig: {} subtaskOf: com.xensource.xenapi.Task@aaf13f6f subtasks: [] at com.cloud.hypervisor.xen.resource.CitrixResourceBase.checkForSuccess(CitrixResourceBase.java:3764) at com.cloud.hypervisor.xen.resource.CitrixResourceBase.startVM(CitrixResourceBase.java:3876) at com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:1721) at com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:545) at com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:59) at com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:106) at com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:216) at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53) at org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165) at
RE: Cloud Stack | Unable to add KVM host
HI Ali, What is the MS OS Type..is it Ubuntu? ON Ubuntu we had faced similar issue and after disabling the AppArmor and it start discovering the host. Try below steps: Disable AppArmor: run this below command on your MS -- ln -s /etc/apparmor.d/usr.sbin.libvirtd /etc/apparmor.d/disable/ ln -s /etc/apparmor.d/usr.lib.libvirt.virt-aa-helper /etc/apparmor.d/disable/ apparmor_parser -R /etc/apparmor.d/usr.sbin.libvirtd apparmor_parser -R /etc/apparmor.d/usr.lib.libvirt.virt-aa-helper ref this link: http://www.greenhills.co.uk/2013/08/30/cloudstack-single-server-on-ubuntu-with-kvm.html Hope this will help. -sadhu -Original Message- From: Ali Ahsan [mailto:ali.ah...@northbaysolutions.net] Sent: 24 June 2014 15:27 To: users@cloudstack.apache.org Subject: Re: Cloud Stack | Unable to add KVM host Getting following error in /var/log/cloudstack/management/apilog.log 2014-06-24 05:55:54,798 INFO [a.c.c.a.ApiServer] (catalina-exec-25:ctx-27372762 ctx-320dcf2a) (userId=2 accountId=2 sessionId=6BDD265F6DD8ED6CE0ACB61C30EEF74E) 10.10.10.54 -- GET command=listZonesresponse=jsonsessionkey=21XmVziBudhgCB4dQOQSoUP7GJQ%3Did=ed7e7f89-26a3-4daa-8596-a1a3cb4dea3a_=1403603754584 200 { listzonesresponse : { count:1 ,zone : [ {id:ed7e7f89-26a3-4daa-8596-a1a3cb4dea3a,name:nbs1,dns1:8.8.8.8,internaldns1:10.10.10.2,networktype:Basic,securitygroupsenabled:true,allocationstate:Enabled,zonetoken:dd3ede54-374b-325f-86e6-2a6a0f339b0a,dhcpprovider:VirtualRouter,localstorageenabled:false,tags:[]} ] } } 2014-06-24 05:55:54,802 INFO [a.c.c.a.ApiServer] (catalina-exec-17:ctx-dae12f6d ctx-67a17afc) (userId=2 accountId=2 sessionId=6BDD265F6DD8ED6CE0ACB61C30EEF74E) 10.10.10.54 -- GET command=listDomainslistAll=trueresponse=jsonsessionkey=21XmVziBudhgCB4dQOQSoUP7GJQ%3D_=1403603754637 200 { listdomainsresponse : { count:1 ,domain : [ {id:bf2312e0-fae0-11e3-92f2-000c2991c954,name:ROOT,level:0,haschild:false,path:ROOT} ] } } 2014-06-24 05:55:55,069 INFO [a.c.c.a.ApiServer] (catalina-exec-15:ctx-df60582a ctx-6980ce47) (userId=2 accountId=2 sessionId=6BDD265F6DD8ED6CE0ACB61C30EEF74E) 10.10.10.54 -- GET command=listPodszoneid=ed7e7f89-26a3-4daa-8596-a1a3cb4dea3aresponse=jsonsessionkey=21XmVziBudhgCB4dQOQSoUP7GJQ%3D_=1403603754820 200 { listpodsresponse : { count:1 ,pod : [ {id:7822e7bd-de80-44bb-9d63-381cab4c7f18,name:nbspod,zoneid:ed7e7f89-26a3-4daa-8596-a1a3cb4dea3a,zonename:nbs1,gateway:10.10.0.244,netmask:255.255.255.0,startip:10.10.0.20,endip:10.10.0.230,allocationstate:Enabled} ] } } 2014-06-24 05:55:55,242 INFO [a.c.c.a.ApiServer] (catalina-exec-21:ctx-80367283 ctx-88b5bc33) (userId=2 accountId=2 sessionId=6BDD265F6DD8ED6CE0ACB61C30EEF74E) 10.10.10.54 -- GET command=listClusterspodid=7822e7bd-de80-44bb-9d63-381cab4c7f18response=jsonsessionkey=21XmVziBudhgCB4dQOQSoUP7GJQ%3D_=1403603755201 200 { listclustersresponse : { count:1 ,cluster : [ {id:13ee3d9a-015f-4fe6-a428-e3bf5f42b153,name:cluster1,podid:7822e7bd-de80-44bb-9d63-381cab4c7f18,podname:nbspod,zoneid:ed7e7f89-26a3-4daa-8596-a1a3cb4dea3a,zonename:nbs1,hypervisortype:KVM,clustertype:CloudManaged,allocationstate:Enabled,managedstate:Managed,cpuovercommitratio:1.0,memoryovercommitratio:1.0} ] } } 2014-06-24 05:56:09,976 INFO [a.c.c.a.ApiServer] (catalina-exec-4:ctx-8f909718 ctx-e3f328d4) (userId=2 accountId=2 sessionId=6BDD265F6DD8ED6CE0ACB61C30EEF74E) 10.10.10.54 -- POST command=addHostresponse=jsonsessionkey=21XmVziBudhgCB4dQOQSoUP7GJQ%3D 530 Unable to add the host On 6/24/2014 2:52 PM, Ali Ahsan wrote: [root@srvr1 ~]# hostname srvr1.cloud.priv Getting following error in agent.log 2014-06-24 05:17:32,402 WARN [utils.nio.Task] (Agent-Handler-1:null) Caught the following exception but pushing on java.lang.NullPointerException at com.cloud.hypervisor.kvm.storage.LibvirtStorageAdaptor.createStoragePool(LibvirtStorageAdaptor.java:533) at com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.createStoragePool(KVMStoragePoolManager.java:289) at com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.createStoragePool(KVMStoragePoolManager.java:281) at com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.initialize(LibvirtComputingResource.java:4111) at com.cloud.agent.Agent.sendStartup(Agent.java:296) at com.cloud.agent.Agent$ServerHandler.doTask(Agent.java:825) at com.cloud.utils.nio.Task.run(Task.java:83) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) On 6/24/2014 1:47 PM, Suresh Sadhu wrote: Discovery exception comes generally when we don't set host FQDN. What is the output of # hostname --fqdn. Also check the agent log for exceptions .if you followed the instructions properly and still sees an issue ,please feel free to
Re: Not able to deploy Ubuntu VM on xenserver 12.04
Comments inline. On 24-Jun-2014, at 5:38 pm, Ian Duffy i...@ianduffy.ie wrote: Hi Tejas, I've seent his happen before when I use the netinstall ISO. Use the server or alternative one; they tend to have the file structure xen (install/vmlinuz) looks for. I create Ubuntu 10.04 on a standalone XenServer and import it into ACS. http://shankerbalan.net/blog/cloudstack-ubuntu-10-04-xenserver-template/ -- @shankerbalan M: +91 98860 60539 | O: +91 (80) 67935867 shanker.ba...@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, Bangalore - 560 055 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: Not able to deploy Ubuntu VM on xenserver 12.04
Thanks Shanker! Ragards, Tejas On Tue, Jun 24, 2014 at 6:07 PM, Shanker Balan shanker.ba...@shapeblue.com wrote: Comments inline. On 24-Jun-2014, at 5:38 pm, Ian Duffy i...@ianduffy.ie wrote: Hi Tejas, I've seent his happen before when I use the netinstall ISO. Use the server or alternative one; they tend to have the file structure xen (install/vmlinuz) looks for. I create Ubuntu 10.04 on a standalone XenServer and import it into ACS. http://shankerbalan.net/blog/cloudstack-ubuntu-10-04-xenserver-template/ -- @shankerbalan M: +91 98860 60539 | O: +91 (80) 67935867 shanker.ba...@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, Bangalore - 560 055 Find out more about ShapeBlue and our range of CloudStack related services IaaS Cloud Design Build http://shapeblue.com/iaas-cloud-design-and-build// CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/ CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/ CloudStack Infrastructure Support http://shapeblue.com/cloudstack-infrastructure-support/ CloudStack Bootcamp Training Courses http://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: Management Server HA DB Replication
Thanks Suresh! Regards, Tejas On Tue, Jun 24, 2014 at 5:37 PM, Suresh Sadhu suresh.sa...@citrix.com wrote: IN a cluster management setup: ON Master MS you will install master db with deploy option Cloudstack-setup-databases cloud@10.1.1.2 --deploy-as=root On slave MS : you will point to master db Cloudstack-setup-databases cloud@10.1.1.2 ( here don't mention --deploy-as option on slave if you mention then it will overwrite the master db content) Once you ran the above command on slave you can see db.cloud.host point to master IP in db.properties file Note: always take a baclkup of your DB before doing cluster management setup .Due to any mistake if master db got overwritten and you can safely revert back using ur backup copy Regards Sadhu -Original Message- From: Tejas Gadaria [mailto:refond.g...@gmail.com] Sent: 24 June 2014 17:04 To: d...@cloudstack.apache.org Cc: users@cloudstack.apache.org Subject: Re: Management Server HA DB Replication Hi abhi, My 1st MS DB Master running on : 10.1.1.2 2nd MS DB Slave running on : 10.1.1.3 MS will be in cluster so Both MS will be pointed to : 10.1.1.2 Is it correct ? If so, Which parameter should I change in db.properties to point MS cluster to db master? Regards, Tejas On Tue, Jun 24, 2014 at 3:54 PM, Abhinandan Prateek abhinandan.prat...@citrix.com wrote: MS will work in a cluster pointing to same DB. The DB can be configured as master-slave. https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=34838 207 -abhi On 24/06/14 9:53 am, Tejas Gadaria refond.g...@gmail.com wrote: Hi, I want to make MS on high availability, with automatic failover. I have MS DB on same server. planning to create slave DB on separate server. but if I create separate Slave MS for HA, how can point it to DB so command issued from any of MS will trigger to same infrastructure. Regards, Tejas
non-OSS build required?
I was curious if you are planning on using Cloudstack in an environment that runs VMware and Netscalers if you still need to build from source. Also where can I get the latest files that need to be included in the build for VMware and Citrix Netscalers. Thanks in advance. This document is PROPRIETARY and CONFIDENTIAL and may not be duplicated, redistributed, or displayed to any other party without the expressed written permission of LPS Integration, Inc. If you are not the intended recipient and have received this email in error, please destroy the email and contact the LPS Integration Security Officer at 866-577-2902 (Phone), 615-349-9009 (Fax) or 230 Great Circle Rd. Suite 218 Nashville, TN 37228 (US Mail)
Re: Cloud Stack | Unable to add KVM host
Also the quick installation guide was referencing the cloud-client packages, I just fixed it. You should install cloudstack-management and cloudstack-agent packages. On Jun 24, 2014, at 2:29 PM, Suresh Sadhu suresh.sa...@citrix.com wrote: HI Ali, What is the MS OS Type..is it Ubuntu? ON Ubuntu we had faced similar issue and after disabling the AppArmor and it start discovering the host. Try below steps: Disable AppArmor: run this below command on your MS -- ln -s /etc/apparmor.d/usr.sbin.libvirtd /etc/apparmor.d/disable/ ln -s /etc/apparmor.d/usr.lib.libvirt.virt-aa-helper /etc/apparmor.d/disable/ apparmor_parser -R /etc/apparmor.d/usr.sbin.libvirtd apparmor_parser -R /etc/apparmor.d/usr.lib.libvirt.virt-aa-helper ref this link: http://www.greenhills.co.uk/2013/08/30/cloudstack-single-server-on-ubuntu-with-kvm.html Hope this will help. -sadhu -Original Message- From: Ali Ahsan [mailto:ali.ah...@northbaysolutions.net] Sent: 24 June 2014 15:27 To: users@cloudstack.apache.org Subject: Re: Cloud Stack | Unable to add KVM host Getting following error in /var/log/cloudstack/management/apilog.log 2014-06-24 05:55:54,798 INFO [a.c.c.a.ApiServer] (catalina-exec-25:ctx-27372762 ctx-320dcf2a) (userId=2 accountId=2 sessionId=6BDD265F6DD8ED6CE0ACB61C30EEF74E) 10.10.10.54 -- GET command=listZonesresponse=jsonsessionkey=21XmVziBudhgCB4dQOQSoUP7GJQ%3Did=ed7e7f89-26a3-4daa-8596-a1a3cb4dea3a_=1403603754584 200 { listzonesresponse : { count:1 ,zone : [ {id:ed7e7f89-26a3-4daa-8596-a1a3cb4dea3a,name:nbs1,dns1:8.8.8.8,internaldns1:10.10.10.2,networktype:Basic,securitygroupsenabled:true,allocationstate:Enabled,zonetoken:dd3ede54-374b-325f-86e6-2a6a0f339b0a,dhcpprovider:VirtualRouter,localstorageenabled:false,tags:[]} ] } } 2014-06-24 05:55:54,802 INFO [a.c.c.a.ApiServer] (catalina-exec-17:ctx-dae12f6d ctx-67a17afc) (userId=2 accountId=2 sessionId=6BDD265F6DD8ED6CE0ACB61C30EEF74E) 10.10.10.54 -- GET command=listDomainslistAll=trueresponse=jsonsessionkey=21XmVziBudhgCB4dQOQSoUP7GJQ%3D_=1403603754637 200 { listdomainsresponse : { count:1 ,domain : [ {id:bf2312e0-fae0-11e3-92f2-000c2991c954,name:ROOT,level:0,haschild:false,path:ROOT} ] } } 2014-06-24 05:55:55,069 INFO [a.c.c.a.ApiServer] (catalina-exec-15:ctx-df60582a ctx-6980ce47) (userId=2 accountId=2 sessionId=6BDD265F6DD8ED6CE0ACB61C30EEF74E) 10.10.10.54 -- GET command=listPodszoneid=ed7e7f89-26a3-4daa-8596-a1a3cb4dea3aresponse=jsonsessionkey=21XmVziBudhgCB4dQOQSoUP7GJQ%3D_=1403603754820 200 { listpodsresponse : { count:1 ,pod : [ {id:7822e7bd-de80-44bb-9d63-381cab4c7f18,name:nbspod,zoneid:ed7e7f89-26a3-4daa-8596-a1a3cb4dea3a,zonename:nbs1,gateway:10.10.0.244,netmask:255.255.255.0,startip:10.10.0.20,endip:10.10.0.230,allocationstate:Enabled} ] } } 2014-06-24 05:55:55,242 INFO [a.c.c.a.ApiServer] (catalina-exec-21:ctx-80367283 ctx-88b5bc33) (userId=2 accountId=2 sessionId=6BDD265F6DD8ED6CE0ACB61C30EEF74E) 10.10.10.54 -- GET command=listClusterspodid=7822e7bd-de80-44bb-9d63-381cab4c7f18response=jsonsessionkey=21XmVziBudhgCB4dQOQSoUP7GJQ%3D_=1403603755201 200 { listclustersresponse : { count:1 ,cluster : [ {id:13ee3d9a-015f-4fe6-a428-e3bf5f42b153,name:cluster1,podid:7822e7bd-de80-44bb-9d63-381cab4c7f18,podname:nbspod,zoneid:ed7e7f89-26a3-4daa-8596-a1a3cb4dea3a,zonename:nbs1,hypervisortype:KVM,clustertype:CloudManaged,allocationstate:Enabled,managedstate:Managed,cpuovercommitratio:1.0,memoryovercommitratio:1.0} ] } } 2014-06-24 05:56:09,976 INFO [a.c.c.a.ApiServer] (catalina-exec-4:ctx-8f909718 ctx-e3f328d4) (userId=2 accountId=2 sessionId=6BDD265F6DD8ED6CE0ACB61C30EEF74E) 10.10.10.54 -- POST command=addHostresponse=jsonsessionkey=21XmVziBudhgCB4dQOQSoUP7GJQ%3D 530 Unable to add the host On 6/24/2014 2:52 PM, Ali Ahsan wrote: [root@srvr1 ~]# hostname srvr1.cloud.priv Getting following error in agent.log 2014-06-24 05:17:32,402 WARN [utils.nio.Task] (Agent-Handler-1:null) Caught the following exception but pushing on java.lang.NullPointerException at com.cloud.hypervisor.kvm.storage.LibvirtStorageAdaptor.createStoragePool(LibvirtStorageAdaptor.java:533) at com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.createStoragePool(KVMStoragePoolManager.java:289) at com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.createStoragePool(KVMStoragePoolManager.java:281) at com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.initialize(LibvirtComputingResource.java:4111) at com.cloud.agent.Agent.sendStartup(Agent.java:296) at com.cloud.agent.Agent$ServerHandler.doTask(Agent.java:825) at com.cloud.utils.nio.Task.run(Task.java:83) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at
Re: non-OSS build required?
Not sure about netscaler, but for vmware you need non-oss version. There are probably someone that could share their builds. Erik 24. juni 2014 15:46 skrev Xerex Bueno xbu...@lpsintegration.com følgende: I was curious if you are planning on using Cloudstack in an environment that runs VMware and Netscalers if you still need to build from source. Also where can I get the latest files that need to be included in the build for VMware and Citrix Netscalers. Thanks in advance. This document is PROPRIETARY and CONFIDENTIAL and may not be duplicated, redistributed, or displayed to any other party without the expressed written permission of LPS Integration, Inc. If you are not the intended recipient and have received this email in error, please destroy the email and contact the LPS Integration Security Officer at 866-577-2902 (Phone), 615-349-9009 (Fax) or 230 Great Circle Rd. Suite 218 Nashville, TN 37228 (US Mail)
RE: non-OSS build required?
In the documentation it says to download the version 4.1 SDK which reflects that it works with 4.1 and 5.0. Does anyone know if it works with 5.5 as well, or do I need to use a different SDK? -Original Message- From: Erik Weber [mailto:terbol...@gmail.com] Sent: Tuesday, June 24, 2014 9:27 AM To: users@cloudstack.apache.org Subject: Re: non-OSS build required? Not sure about netscaler, but for vmware you need non-oss version. There are probably someone that could share their builds. Erik 24. juni 2014 15:46 skrev Xerex Bueno xbu...@lpsintegration.com følgende: I was curious if you are planning on using Cloudstack in an environment that runs VMware and Netscalers if you still need to build from source. Also where can I get the latest files that need to be included in the build for VMware and Citrix Netscalers. Thanks in advance. This document is PROPRIETARY and CONFIDENTIAL and may not be duplicated, redistributed, or displayed to any other party without the expressed written permission of LPS Integration, Inc. If you are not the intended recipient and have received this email in error, please destroy the email and contact the LPS Integration Security Officer at 866-577-2902 (Phone), 615-349-9009 (Fax) or 230 Great Circle Rd. Suite 218 Nashville, TN 37228 (US Mail) This document is PROPRIETARY and CONFIDENTIAL and may not be duplicated, redistributed, or displayed to any other party without the expressed written permission of LPS Integration, Inc. If you are not the intended recipient and have received this email in error, please destroy the email and contact the LPS Integration Security Officer at 866-577-2902 (Phone), 615-349-9009 (Fax) or 230 Great Circle Rd. Suite 218 Nashville, TN 37228 (US Mail)
unable to add host KVM
Hi all, I want to add host in my cloudstack with kvm basic networking. I follow this guide http://cloudstack-installation.readthedocs.org/en/latest/hypervisor/kvm.html but I'm unable to add host. this is my management-server.log anybody know how to solve this??? thanks. -8:ctx-af20f8f7 ctx-ce74c51b) can't setup agent, due to java.net.SocketTimeoutException: The kexTimeout (6 ms) expired. - The kexTimeout (6 ms) expired. 2014-06-25 00:20:14,035 WARN [c.c.r.ResourceManagerImpl] (catalina-exec-8:ctx-af20f8f7 ctx-ce74c51b) Unable to find the server resources at http://10.151.32.53 2014-06-25 00:20:14,035 INFO [c.c.u.e.CSExceptionErrorCode] (catalina-exec-8:ctx-af20f8f7 ctx-ce74c51b) Could not find exception: com.cloud.exception.DiscoveryException in error code list for exceptions com.cloud.exception.DiscoveryException: Unable to add the host at com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:780) at com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:575) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy145.discoverHosts(Unknown Source) at org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:143) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:161) at com.cloud.api.ApiServer.queueCommand(ApiServer.java:531) at com.cloud.api.ApiServer.handleRequest(ApiServer.java:374) at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:323) at com.cloud.api.ApiServlet.access$000(ApiServlet.java:53) at com.cloud.api.ApiServlet$1.run(ApiServlet.java:115) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53) at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:112) at com.cloud.api.ApiServlet.doPost(ApiServlet.java:79) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889) at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2274) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744)
Multiple IP in Guest VM
Hi, I have 2 diff VLAN created by default shared Network offering. I want to assign one ip from both VLAN to Linux guest VM. Is it possible ? I am using CS 4.3 with Xen 6.2 SP1. Regards, Tejas
Re: non-OSS build required?
Xerex Are you planning on building from source or using a pre-build non-oss rpm? If you are building from source, the INSTALL.md file has links to vmware site to download the proper SDK and extract the jar file that needs to go into deps directory before you build. Current NetScaler implementation lacks the ability of leveraging SSL and there may have to few external calls that have to be made or another process to handle SSL portion. Watch this video for more info: https://www.youtube.com/watch?v=t6rLY4M1x7slist=PLU2OcwpQkYCyPx_cwJxyOK0YKSM86Mj9nindex=26 Regards ilya On 6/24/14, 8:14 AM, Xerex Bueno wrote: In the documentation it says to download the version 4.1 SDK which reflects that it works with 4.1 and 5.0. Does anyone know if it works with 5.5 as well, or do I need to use a different SDK? -Original Message- From: Erik Weber [mailto:terbol...@gmail.com] Sent: Tuesday, June 24, 2014 9:27 AM To: users@cloudstack.apache.org Subject: Re: non-OSS build required? Not sure about netscaler, but for vmware you need non-oss version. There are probably someone that could share their builds. Erik 24. juni 2014 15:46 skrev Xerex Bueno xbu...@lpsintegration.com følgende: I was curious if you are planning on using Cloudstack in an environment that runs VMware and Netscalers if you still need to build from source. Also where can I get the latest files that need to be included in the build for VMware and Citrix Netscalers. Thanks in advance. This document is PROPRIETARY and CONFIDENTIAL and may not be duplicated, redistributed, or displayed to any other party without the expressed written permission of LPS Integration, Inc. If you are not the intended recipient and have received this email in error, please destroy the email and contact the LPS Integration Security Officer at 866-577-2902 (Phone), 615-349-9009 (Fax) or 230 Great Circle Rd. Suite 218 Nashville, TN 37228 (US Mail) This document is PROPRIETARY and CONFIDENTIAL and may not be duplicated, redistributed, or displayed to any other party without the expressed written permission of LPS Integration, Inc. If you are not the intended recipient and have received this email in error, please destroy the email and contact the LPS Integration Security Officer at 866-577-2902 (Phone), 615-349-9009 (Fax) or 230 Great Circle Rd. Suite 218 Nashville, TN 37228 (US Mail)
Re: Migrating existing VMs into Cloudstack
At this point, nothing other than inspecting how cloudstack handles its own VM and replicating the same in the DB (caution there). Another thing you can try, is deploy a VM through CloudStack, then replace the disk image file. Make sure to keep the original disk image name. Regards ilya On 6/24/14, 12:36 AM, John Muckley wrote: Good morning guys, What is the best process to follow for importing existing Xenserver Virtual Machines from their native hosts into apache cloudstack? I have a couple of VM’s running on some old Xenserver5 hosts that I would like to bring into the cloud, but struggling to find a documented process that I can attempt. Thanks guys John 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.
Re: Multiple IP in Guest VM
You have add network feature under NICs view of the VM. On 6/24/14, 8:19 PM, Tejas Gadaria wrote: Hi, I have 2 diff VLAN created by default shared Network offering. I want to assign one ip from both VLAN to Linux guest VM. Is it possible ? I am using CS 4.3 with Xen 6.2 SP1. Regards, Tejas
Re: Migrating existing VMs into Cloudstack
Geoff mentioned template solution, that will work as well and better than what i proposed. On 6/24/14, 8:32 PM, ilya musayev wrote: At this point, nothing other than inspecting how cloudstack handles its own VM and replicating the same in the DB (caution there). Another thing you can try, is deploy a VM through CloudStack, then replace the disk image file. Make sure to keep the original disk image name. Regards ilya On 6/24/14, 12:36 AM, John Muckley wrote: Good morning guys, What is the best process to follow for importing existing Xenserver Virtual Machines from their native hosts into apache cloudstack? I have a couple of VM’s running on some old Xenserver5 hosts that I would like to bring into the cloud, but struggling to find a documented process that I can attempt. Thanks guys John 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.
Re: Multiple IP in Guest VM
Hi liya, I tried with Add Network to VM by selecting other VLAN. On Cloudstack UI Its showing IP but in CentOS its not creating ifcfg-eth1 file. Xen-tools are installed on CentOS. Regards, Tejas On Wed, Jun 25, 2014 at 9:09 AM, ilya musayev ilya.mailing.li...@gmail.com wrote: You have add network feature under NICs view of the VM. On 6/24/14, 8:19 PM, Tejas Gadaria wrote: Hi, I have 2 diff VLAN created by default shared Network offering. I want to assign one ip from both VLAN to Linux guest VM. Is it possible ? I am using CS 4.3 with Xen 6.2 SP1. Regards, Tejas
RE: Multiple IP in Guest VM
You may need to stop/start the vm for the nic to be created. I am not sure whether nic hot-plugin is supported. -Sanjeev -Original Message- From: Tejas Gadaria [mailto:refond.g...@gmail.com] Sent: Wednesday, June 25, 2014 9:52 AM To: users@cloudstack.apache.org Subject: Re: Multiple IP in Guest VM Hi liya, I tried with Add Network to VM by selecting other VLAN. On Cloudstack UI Its showing IP but in CentOS its not creating ifcfg-eth1 file. Xen-tools are installed on CentOS. Regards, Tejas On Wed, Jun 25, 2014 at 9:09 AM, ilya musayev ilya.mailing.li...@gmail.com wrote: You have add network feature under NICs view of the VM. On 6/24/14, 8:19 PM, Tejas Gadaria wrote: Hi, I have 2 diff VLAN created by default shared Network offering. I want to assign one ip from both VLAN to Linux guest VM. Is it possible ? I am using CS 4.3 with Xen 6.2 SP1. Regards, Tejas
RE: Multiple IP in Guest VM
we have to manually configure on server side. Refer this : https://cwiki.apache.org/confluence/display/CLOUDSTACK/Multiple+IP+address+per+NIC JFYI: Cloudstack: User requests for the association/dissociation of the IP address for the guest VM NIC via CS API/UI. CS reserves an IP and gives to the User. One NIC can be associated with multiple IP address. Note: User can specify the IP address from the guest subnet if not CS picks the IP from the guest subnet. User Role: User need to manually configure the requested IP for the NIC in the VM. 2. Cloudstack will not configures the IP for VM. 3. User need to provide to which NIC, the IP should be associated. regards sadhu -Original Message- From: Sanjeev Neelarapu [mailto:sanjeev.neelar...@citrix.com] Sent: 25 June 2014 10:13 To: users@cloudstack.apache.org Subject: RE: Multiple IP in Guest VM You may need to stop/start the vm for the nic to be created. I am not sure whether nic hot-plugin is supported. -Sanjeev -Original Message- From: Tejas Gadaria [mailto:refond.g...@gmail.com] Sent: Wednesday, June 25, 2014 9:52 AM To: users@cloudstack.apache.org Subject: Re: Multiple IP in Guest VM Hi liya, I tried with Add Network to VM by selecting other VLAN. On Cloudstack UI Its showing IP but in CentOS its not creating ifcfg-eth1 file. Xen-tools are installed on CentOS. Regards, Tejas On Wed, Jun 25, 2014 at 9:09 AM, ilya musayev ilya.mailing.li...@gmail.com wrote: You have add network feature under NICs view of the VM. On 6/24/14, 8:19 PM, Tejas Gadaria wrote: Hi, I have 2 diff VLAN created by default shared Network offering. I want to assign one ip from both VLAN to Linux guest VM. Is it possible ? I am using CS 4.3 with Xen 6.2 SP1. Regards, Tejas
trying to upload a bootable VHD
I'm trying to use the .NET SDK to upload a bootable VHD to eventually use to deploy a VM. I assume the correct sequence is upload create template deploy VM. However, when I upload a volume, there seems to be no way to make that volume bootable (it's has the type DATADISK). Using it to create a template once it's uploaded does not work. An error is thrown stating that that image cannot be used to create a template. I've also tried registering a template, using a URL to the VHD file I want to upload in the process. Unfortunately, nothing seems to happen when I try that. Going through this process also makes me wonder what the difference of createTemplate registerTemplate are. I get create, but there's no way to register a created template. If register creates one, why bother with create? I feel like I'm missing something obvious when failing at this process :)
Re: Multiple IP in Guest VM
I'm not sure about Xen, but VMware suppots hot-add NICs. The behavior of not creating ifcfg-eth1 is linux and not cloudstack. If you add NICs before you power on guest vm for the first time, it will detect multiple nics and create ifcfg interface files. I have the same behavior on VMware with or without CloudStack. CloudStack (or vCenter without CloudStack) adds virtual nic, which is presented if you run dmesg or ifconfig -a - while VM is up and running. From there on, CloudStack has no insight into vm, its linux admins responsibility to script or add interface file manually. See if reboot helps. Regards ilya On 6/24/14, 9:21 PM, Tejas Gadaria wrote: Hi liya, I tried with Add Network to VM by selecting other VLAN. On Cloudstack UI Its showing IP but in CentOS its not creating ifcfg-eth1 file. Xen-tools are installed on CentOS. Regards, Tejas On Wed, Jun 25, 2014 at 9:09 AM, ilya musayev ilya.mailing.li...@gmail.com wrote: You have add network feature under NICs view of the VM. On 6/24/14, 8:19 PM, Tejas Gadaria wrote: Hi, I have 2 diff VLAN created by default shared Network offering. I want to assign one ip from both VLAN to Linux guest VM. Is it possible ? I am using CS 4.3 with Xen 6.2 SP1. Regards, Tejas
Re: trying to upload a bootable VHD
Chris, If you intend to boot from this VHD, it should be set as ROOT type. If you add a template through cloudstack UI or api - registerTemplate, it is set as type ROOT. If you use createTemplate, it will create a template from ROOT disk of existing VMs ROOT disk. If you are using upload volume, then its going to be a DATA disk. Try posting on d...@cloudstack.apache.org for better answer. Regards ilya On 6/24/14, 10:36 PM, chris wrote: I'm trying to use the .NET SDK to upload a bootable VHD to eventually use to deploy a VM. I assume the correct sequence is upload create template deploy VM. However, when I upload a volume, there seems to be no way to make that volume bootable (it's has the type DATADISK). Using it to create a template once it's uploaded does not work. An error is thrown stating that that image cannot be used to create a template. I've also tried registering a template, using a URL to the VHD file I want to upload in the process. Unfortunately, nothing seems to happen when I try that. Going through this process also makes me wonder what the difference of createTemplate registerTemplate are. I get create, but there's no way to register a created template. If register creates one, why bother with create? I feel like I'm missing something obvious when failing at this process :)