Hi GopalaKrishnan, Thank your reply,
I did find the script at "/usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/cloud-setup-bonding.sh" Now I'm able to add the host. Thank you, Suneel Mallela. -----Original Message----- From: GopalaKrishnan [mailto:go...@assistanz.com] Sent: Monday, August 18, 2014 5:46 PM To: users@cloudstack.apache.org Subject: Re: Unble to Add Second XenServer to a Cluster Hi Sadhu, With all hosts added to the XenServer pool, run the cloud-setup-bond script. This script will complete the configuration and setup of the bonds on the new hosts in the cluster. Copy the script from the Management Server in /usr/lib64/cloud/common/scripts/vm/hypervisor/xenserver/cloud-setup-bonding.sh to the master xen host server and ensure it is executable. Run the script: # ./cloud-setup-bonding.sh After that try to add host. Thank You. GopalaKrishnan.S Cloud Architect at FogPanel. ----- Original Message ----- From: "Suresh Sadhu" <suresh.sa...@citrix.com> To: <users@cloudstack.apache.org> Sent: Monday, August 18, 2014 5:24 PM Subject: RE: Unble to Add Second XenServer to a Cluster Before adding the additional host in cs, You have to add the host in existing xen pool . Regards sadhu -----Original Message----- From: Venkata Suneel Babu Mallela [mailto:sunee...@simplifydc.com] Sent: 18 August 2014 17:16 To: users@cloudstack.apache.org Subject: Unble to Add Second XenServer to a Cluster Hi All, Recently I've upgraded ACS from 4.3.0 to 4.4.0 on CentOS 6.2. Successfully launched Advanced Zone with two XenServers (6.2 SP1) in one cluster. Then created second cluster and added one XenServer (6.2 SP1) with separate NFS primary storage. When I tried to add the second node to second cluster it gives "Unable to add the host". Can anyone please suggest why this is happening and how to fix it? The log file is below, 2014-08-18 15:42:58,476 DEBUG [c.c.a.ApiServlet] (catalina-exec-2:ctx-c5ca649a) ===START=== 10.0.1.100 -- POST command=addHost&response=json&sessionkey=T6UD6I3eZgkq93LhGHZE%2FTM7cyQ%3D 2014-08-18 15:42:58,486 WARN [c.c.a.d.ParamGenericValidationWorker] (catalina-exec-2:ctx-c5ca649a ctx-d087511c) Received unknown parameters for command addHost. Unknown parameters : clustertype 2014-08-18 15:42:58,491 INFO [c.c.r.ResourceManagerImpl] (catalina-exec-2:ctx-c5ca649a ctx-d087511c) Trying to add a new host at http://10.0.0.135 in data center 1 2014-08-18 15:42:58,570 DEBUG [c.c.h.x.d.XcpServerDiscoverer] (catalina-exec-2:ctx-c5ca649a ctx-d087511c) host 10.0.0.135 does have 996dd2e7-ad95-49cc-a0be-2c9adc4dfb0b Hotfix. 2014-08-18 15:42:58,573 WARN [c.c.h.x.d.XcpServerDiscoverer] (catalina-exec-2:ctx-c5ca649a ctx-d087511c) Please join the host 10.0.0.135 to XS pool e1a470e6-7deb-f4c6-75f1-57b8fbcd59be through XC/XS before adding it through CS UI 2014-08-18 15:42:58,574 INFO [c.c.u.e.CSExceptionErrorCode] (catalina-exec-2:ctx-c5ca649a ctx-d087511c) Could not find exception: com.cloud.exception.DiscoveryException in error code list for exceptions 2014-08-18 15:42:58,574 DEBUG [c.c.h.x.d.XcpServerDiscoverer] (catalina-exec-2:ctx-c5ca649a ctx-d087511c) other exceptions: com.cloud.exception.DiscoveryException: Please join the host 10.0.0.135 to XS pool e1a470e6-7deb-f4c6-75f1-57b8fbcd59be through XC/XS before adding it through CS UI com.cloud.exception.DiscoveryException: Please join the host 10.0.0.135 to XS pool e1a470e6-7deb-f4c6-75f1-57b8fbcd59be through XC/XS before adding it through CS UI at com.cloud.hypervisor.xen.discoverer.XcpServerDiscoverer.find(XcpServerDiscoverer.java:245) at com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:735) at com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:586) 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.$Proxy147.discoverHosts(Unknown Source) at org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:142) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:141) at com.cloud.api.ApiServer.queueCommand(ApiServer.java:682) at com.cloud.api.ApiServer.handleRequest(ApiServer.java:511) at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:330) at com.cloud.api.ApiServlet.access$000(ApiServlet.java:54) at com.cloud.api.ApiServlet$1.run(ApiServlet.java:118) 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:115) at com.cloud.api.ApiServlet.doPost(ApiServlet.java:82) 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:745) 2014-08-18 15:42:58,574 WARN [c.c.r.ResourceManagerImpl] (catalina-exec-2:ctx-c5ca649a ctx-d087511c) Unable to find the server resources at http://10.0.0.135 2014-08-18 15:42:58,575 INFO [c.c.u.e.CSExceptionErrorCode] (catalina-exec-2:ctx-c5ca649a ctx-d087511c) Could not find exception: com.cloud.exception.DiscoveryException in error code list for exceptions 2014-08-18 15:42:58,575 WARN [o.a.c.a.c.a.h.AddHostCmd] (catalina-exec-2:ctx-c5ca649a ctx-d087511c) Exception: com.cloud.exception.DiscoveryException: Unable to add the host at com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:791) at com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:586) 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.$Proxy147.discoverHosts(Unknown Source) at org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:142) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:141) at com.cloud.api.ApiServer.queueCommand(ApiServer.java:682) at com.cloud.api.ApiServer.handleRequest(ApiServer.java:511) at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:330) at com.cloud.api.ApiServlet.access$000(ApiServlet.java:54) at com.cloud.api.ApiServlet$1.run(ApiServlet.java:118) 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:115) at com.cloud.api.ApiServlet.doPost(ApiServlet.java:82) 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:745) 2014-08-18 15:42:58,576 INFO [c.c.a.ApiServer] (catalina-exec-2:ctx-c5ca649a ctx-d087511c) Unable to add the host 2014-08-18 15:42:58,576 DEBUG [c.c.a.ApiServlet] (catalina-exec-2:ctx-c5ca649a ctx-d087511c) ===END=== 10.0.1.100 -- POST command=addHost&response=json&sessionkey=T6UD6I3eZgkq93LhGHZE%2FTM7cyQ%3D Thank you, Suneel Mallela --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com