Sent from my iPhone
On Jul 20, 2012, at 7:20 PM, "Gautam Sampathkumar" <[email protected]> wrote: > Thanks for your answer Edison. I was able to fix the issues with the > missing JAR files and run the Agent. However I get a missing guid problem > and it stops. This is on a machine that was running a release version of > the cloud-agent previously. Not sure if that has any bearing on this > problem. > > 2012-07-20 18:51:42,199 INFO [utils.component.ComponentLocator] > (main:null) Config file found at > /root/apache-tomcat-6.0.33/conf/components.xml. Configuring agent > 2012-07-20 18:51:42,205 INFO [cloud.agent.AgentShell] (main:null) > Implementation Version is 3.0.3.2012-07-21T00:42:59Z > 2012-07-20 18:51:42,206 ERROR [cloud.agent.AgentShell] (main:null) Unable > to start agent: Unable to find the guid > Need to create an uuid in agent.properties: guid=a-uuid-generated-by-uuidgen Also need to config guest/private/public.network.device = a-bridge-create-by-your-self, and zone/cluster/pod=the-id-of-which-zone/cluster/pod-you-want-to-add-into > > Any idea what's causing this? > > thanks, > Gautam > > On Fri, Jul 20, 2012 at 5:50 PM, Edison Su <[email protected]> wrote: > >> Using "ant package-agent", which will create agent.zip under dist/, then >> copy and unzip agent.zip on kvm host or inside system vm. >> Modify conf/agent.properties, if it's kvm agent, resource = >> *LibvirtResource*, if it's secondary agent, resource = *NfsSecondary* >> Execute './run.sh', will start agent. >> But I remember there has bug in run.sh though, the some jar files are >> missing. >> >>> -----Original Message----- >>> From: Gautam Sampathkumar [mailto:[email protected]] >>> Sent: Friday, July 20, 2012 5:37 PM >>> To: [email protected] >>> Subject: Building and deploying Cloud Agent from source >>> >>> Hi all, >>> Could someone let me know the steps to build Cloudstack agent >>> from >>> source and deploy. Unable to really find any documentation on this. >>> >>> thanks in advance. >>> >>> --Gautam >>
