Welcome, Guest
Username: Password: Remember me
Archived CloudStack Forums for reference purposes please direct all future inquiries to the Apache CloudStack mailing lists.

incubator.apache.org/cloudstack/mailing-lists.html

TOPIC: Install Management Server as VM in existing XCS1.6

Install Management Server as VM in existing XCS1.6 8 months 2 weeks ago #13074

  • aschrijver
  • aschrijver's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
  • Karma: 0
I have a microserver up and running with a clean install of Xen Cloud Platform 1.6 (the XCP ISO install). The available 3 RAID arrays are all assigned to a Storage Repository.

Now I want to experiment with CloudStack and was wondering whether it is possible to install CloudStack on the existing XCP installation by creating a CentOS 6.3 VM for the Management Server.

I have a couple of questions regarding this setup:

- Is this even possible? The documentation states in the install manual 6.2.1 Basic Zone Configuration: "Note: When you add a hypervisor host to CloudStack, the host must not have any VMs already running.".

- If possible, can I configure the primary and secondary storage to point to the existing XCS Storage Repositories, instead of going through the NFS configuration?

- And finally, a bit unrelated: Do I need to install the CloudStack XenServer Support Package (CSP), or is that already included in XCS?
Regards,

Arnold Schrijver.
The administrator has disabled public write access.

Re: Install Management Server as VM in existing XCS1.6 8 months 2 weeks ago #13081

  • sebgoa
  • sebgoa's Avatar
  • OFFLINE
  • Administrator
  • Posts: 34
  • Thank you received: 7
  • Karma: 0
I'd recommend installing the cloudstack mgt server on a separate machine. But you can certainly setup your XCP hosts as a "host" in cloudstack.

XCP is open source and different than Xen Server. While I don't use them, I don't believe you would need the xenserver support package.

You can use xe sr to create storage repositories for your primary storage. You would set it up as a local storage type. For secondary I believe you can use NFS (indeed) or iscsi.
The administrator has disabled public write access.
The following user(s) said Thank You: aschrijver

Re: Install Management Server as VM in existing XCS1.6 8 months 2 weeks ago #13082

  • aschrijver
  • aschrijver's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
  • Karma: 0
Thanks, I will go ahead and try the install on the microserver. I'll let you know if it worked.
Regards,

Arnold Schrijver.
The administrator has disabled public write access.

Re: Install Management Server as VM in existing XCS1.6 8 months 2 weeks ago #13083

  • aschrijver
  • aschrijver's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
  • Karma: 0
Went ahead with the installation. Everything went fine until trying to add the XCP as Host in the CloudStack UI.

Issue seems to be similar to: issues.apache.org/jira/browse/CLOUDSTACK-369

From the logs:

2013-01-29 18:22:41,640 DEBUG [xen.resource.XenServerConnectionPool] (catalina-exec-6:null) Logging on as the master to 192.168.2.5
2013-01-29 18:22:41,950 DEBUG [xen.discoverer.XcpServerDiscoverer] (catalina-exec-6:null) Only support XCP 1.0.0, 1.1.0, 1.5 beta; XenServer 5.6, XenServer 5.6 FP1, XenServer 5.6 SP2, Xenserver 6.0, 6.0.2, 6.0.9 but this one is XCP 1.6.10
2013-01-29 18:22:41,951 DEBUG [xen.discoverer.XcpServerDiscoverer] (catalina-exec-6:null) other exceptions: java.lang.RuntimeException: Only support XCP 1.0.0, 1.1.0, 1.5 beta; XenServer 5.6, XenServer 5.6 FP1, XenServer 5.6 SP2, Xenserver 6.0, 6.0.2, 6.0.9 but this one is XCP 1.6.10
java.lang.RuntimeException: Only support XCP 1.0.0, 1.1.0, 1.5 beta; XenServer 5.6, XenServer 5.6 FP1, XenServer 5.6 SP2, Xenserver 6.0, 6.0.2, 6.0.9 but this one is XCP 1.6.10
at com.cloud.hypervisor.xen.discoverer.XcpServerDiscoverer.createServerResource(XcpServerDiscoverer.java:459)
at com.cloud.hypervisor.xen.discoverer.XcpServerDiscoverer.find(XcpServerDiscoverer.java:278)
at com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:687)
at com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:544)
at com.cloud.api.commands.AddHostCmd.execute(AddHostCmd.java:140)
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:138)
at com.cloud.api.ApiServer.queueCommand(ApiServer.java:543)
at com.cloud.api.ApiServer.handleRequest(ApiServer.java:422)
at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:304)
at com.cloud.api.ApiServlet.doGet(ApiServlet.java:63)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
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:2268)
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)

Is there a way to trick this version checking, or is my XCP version too new and should I wait for the next release?
Regards,

Arnold Schrijver.
The administrator has disabled public write access.
Time to create page: 0.271 seconds

Open@Citrix

Citrix supports the open source community via developer support and evangeslism. We have a number of developers and evangelists that participate actively in the open source community in Apache Cloudstack, OpenDaylight, Xen Project and XenServer. We also conduct educational activities via the Build A Cloud events held all over the world. 

Connect