On 23-Oct-2012, at 10:13 AM, Hieu Le <hieul...@gmail.com> wrote: > Hi Edison, > > I have try your method and the result is that I can't add devcloud node to > mgt server on my desktop. The log always say Unable to add host, unable to > find the server resources at HTTP://193.168.56.2 > > Can you solve this problem? Thank you so much.
Try to ping 192.168.56.1 and try to ssh into your vm, if you're not able to do it: Goto VirtualBox Manager; open settings of the vm, goto network, check what is the host-only adapter name (vboxnet0 is default) Now, open VBox Manager->Preferences->Network->select vboxnet0 (the default)->edit Check the IPv4 Address, the wiki guide [0] uses 192.168.56.1 as the gateway, set this IP in the IPv4 field and make sure you've no dhcp server on this network. On Windows, while installing VirtualBox, the guide assumes you had installed the network adapters and they were not disabled or removed (for the host-only adapter functionality). Make sure, you set the promiscuous mode to "allow all" (this petty setting ate [1] many hours of my life). [0] https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+devcloud+environment+setup [1] http://wiki.cloudstack.org/display/COMM/DIY+DevCloud+Setup#DIYDevCloudSetup-Networking Regards. > > Sent from my HTC© > On Oct 22, 2012 12:07 PM, "Edison Su" <edison...@citrix.com> wrote: > >> >> >> Sent from my iPhone >> >> On Oct 21, 2012, at 6:21 PM, "Hieu Le" <hieul...@gmail.com> wrote: >> >>> Thank you so much Edison, I will try this method. >>> >>> Anyway, in this wiki page, you said "start mgt server on your laptop" >>> including deploy DB in both my laptop and devcloud VM; and in step 8 you >>> also said "deploy in devcloud", so while deploy in devcloud, the mgt >> server >>> will still run on my laptop with its own DB and another mgt server will >> be >>> devcloud VM, do I understand right ? >> >> No, all the commands are running on your laptop. Mgt server will add >> devcloud vm as a hypervisor host. >> Btw, I updated the document: need to configure network in devcloud vm, >> otherwise mgt server can't connect to devcloud vm. >>> >>> I will try and give feedback. >>> >>> >>> On Sun, Oct 21, 2012 at 2:09 PM, Edison Su <edison...@citrix.com> wrote: >>> >>>> I created a wiki page: >>>> >> https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+devcloud+environment+setup >>>> >>>> Sent from my iPhone >>>> >>>> On Oct 20, 2012, at 9:49 AM, "Edison Su" <edison...@citrix.com> wrote: >>>> >>>>> I"l write a new wiki page about how to use devcloud and maven today. >>>>> >>>>> Sent from my iPhone >>>>> >>>>> On Oct 20, 2012, at 5:18 AM, "Donal Lafferty" < >> donal.laffe...@citrix.com> >>>> wrote: >>>>> >>>>>> I think that Hieu Le is having a problem with >>>> >> https://cwiki.apache.org/confluence/display/CLOUDSTACK/DIY+DevCloud+Setup >>>>>> >>>>>> >>>>>> The page states: >>>>>> >>>>>> To build, deploy-server and database: >>>>>> $ ant clean-all build-all deploy-server deploydb >>>>>> >>>>>> Type to run mgt server: >>>>>> $ ant debug >>>>>> >>>>>> >>>>>> Can someone update these instructions with their Maven equivalent? >>>>>> >>>>>> DL >>>>>> >>>>>> -----Original Message----- >>>>>> From: Hieu Le [mailto:hieul...@gmail.com] >>>>>> Sent: 20 October 2012 03:27 >>>>>> To: cloudstack-dev@incubator.apache.org >>>>>> Cc: Marcus Sorensen; jmar...@basho.com >>>>>> Subject: Re: Testing CloudStack with devcloud VM and MAVEN >>>>>> >>>>>> So, is there a way to deploy code and debug in devcloud with maven and >>>>>> eclipse ? >>>>>> >>>>>> On Sat, Oct 20, 2012 at 9:17 AM, David Nalley <da...@gnsa.us> wrote: >>>>>> >>>>>>> On Fri, Oct 19, 2012 at 9:45 PM, Alex Huang <alex.hu...@citrix.com> >>>> wrote: >>>>>>>> -1 >>>>>>>> >>>>>>>> devCloud also functions as an easy way to test out CloudStack. That >>>> can >>>>>>> only be done with the all-in-one concept. >>>>>>>> >>>>>>>> I like the idea of having management server on my laptop and use >>>>>>> devCloud only as the hypervisor but both format have to exist. >>>>>>>> >>>>>>> >>>>>>> Agreed - being able to let someone play with CloudStack is important. >>>>>>> Besides, with things like vagrant and veewee maintaining both >>>>>>> shouldn't be a big deal. >>>>>>> >>>>>>> --David >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> >>>>>> ------------------------------------ >>>>>> >>>>>> Le Quang Hieu >>>>>> >>>>>> Specialist - Core Cloud Computing Dept >>>>>> >>>>>> Cloud Computing Research Center >>>>>> >>>>>> Viettel Research and Development Institute >>>>>> >>>>>> No. 380 Lac Long Quan Str, Tay Ho Dist, Hanoi, Vietnam >>>>>> >>>>>> Mobile: (84) 974616850 >>>> >>> >>> >>> >>> -- >>> >>> ------------------------------------ >>> >>> Le Quang Hieu >>> >>> Specialist – Core Cloud Computing Dept >>> >>> Cloud Computing Research Center >>> >>> Viettel Research and Development Institute >>> >>> No. 380 Lac Long Quan Str, Tay Ho Dist, Hanoi, Vietnam >>> >>> Mobile: (84) 974616850 >>