Hi Ram Ganesh,

I have created a user in AD with Domain Admin and Administrator privileges,
Also it is Hyper-V Administrator and and local Administrator group. As I am
working with one host I have not checked for inherit rights for migrating
VM till now .

Regards,
Tejas


On Tue, Jan 28, 2014 at 11:02 PM, Ram Ganesh <ram.gan...@citrix.com> wrote:

> > -----Original Message-----
> > From: Tejas Gadaria [mailto:refond.g...@gmail.com]
> > Sent: 28 January 2014 21:29
> > To: users@cloudstack.apache.org
> > Subject: Re: hyper-v agent building on cloudstack 4.3
> >
> > Hi Anush,
> >
> > I was trying to add hyper-v host to the Zone, and log was indicating
> agent is
> > not running on hyper-v host.
> > I checked on hyper-v host but I could not find any service running in
> > *services.msc* named Cloudstack Agent.
> > Execution of AgentShell.exe is not logged in *Windows Event log*.
> >
> > Also I tried to re-install the Agent, and indicates,
> >
> > 2014-01-28 18:43:05,288 [1] DEBUG CloudStack.Plugin.AgentShell.Program
> > [(null)] - CloudStack Hyper-V Agent arg is
> > 2014-01-28 18:43:05,427 [1] INFO  CloudStack.Plugin.AgentShell.Program
> > [(null)] - Installing and running CloudStack Hyper-V Agent
> > 2014-01-28 18:43:05,519 [1] ERROR CloudStack.Plugin.AgentShell.Program
> > [(null)] -  Error occured in starting service Cannot start service
> CloudStack
> > Hyper-V Agent on computer '.'.
> >
> > AgentShell.exe --install -u <username> -p <password>
> >
> > I have tried executed this command where username is domainuser and
> > localadministrator both, but didn't work this time.
>
> [RamG] I think the user should be a domain admin and also belong to
> HyperV-Admin group as well to inherit rights around migrating a VM from one
> host to another. Can you check on that?
>
>
> >
> > Regards,
> > Tejas
> >
> >
> > On Tue, Jan 28, 2014 at 12:14 PM, Tejas Gadaria
> > <refond.g...@gmail.com>wrote:
> >
> > > Hi Anush,
> > >
> > > Thanks It worked for me, I have installed Certificate also.
> > > Log file indicates Cloudstack hyper v agent  is running on windows
> > > system.
> > >
> > > Regards,
> > > Tejas
> > >
> > >
> > > On Tue, Jan 28, 2014 at 11:22 AM, Anshul Gangwar <
> > > anshul.gang...@citrix.com> wrote:
> > >
> > >> Yes that exe will install everything except the certificate. To
> > >> install the ssl certificate you can follow the link
> > >>
> > https://cwiki.apache.org/confluence/display/CLOUDSTACK/Manually+Creat
> > >>
> > ing+and+installing+self+signed+certificate+for+CloudStack+Management+
> > >> Server+communication+with+Hyper-V+agent
> > >> .
> > >>
> > >> You have to execute AgentShell.exe as follows
> > >>
> > >> *AgentShell.exe --install -u <username> -p <password>
> > >>
> > >>               where username is of form domain\username or username
> > >> for example Administrator or blr\Administrator
> > >>
> > >>               This user should be part of local Administrators and
> > >> Hyper-V Administrators group on the host
> > >>
> > >> I have updated the wiki with above details
> > >>
> > >> Regards,
> > >> Anshul
> > >>
> > >> -----Original Message-----
> > >> From: Tejas Gadaria [mailto:refond.g...@gmail.com]
> > >> Sent: Tuesday, January 28, 2014 10:49 AM
> > >> To: users@cloudstack.apache.org
> > >> Subject: Re: hyper-v agent building on cloudstack 4.3
> > >>
> > >> Hi Anshul,
> > >>
> > >> I had not clone repo from git, So I don't have buildagent.sh
> available.
> > >> I am going to follow this now, by the way this Jenkins job hyper v
> > >> agent lokks like polished form of agent for hyper v , Will it install
> > >> everything from .exe ?
> > >>
> > >> Regards,
> > >> Tejas
> > >>
> > >>
> > >> On Tue, Jan 28, 2014 at 10:30 AM, Anshul Gangwar
> > >> <anshul.gang...@citrix.com>wrote:
> > >>
> > >> > Have you cloned the asf cloudstack git repo
> > >> > https://git-wip-us.apache.org/repos/asf/cloudstack.git ?. The
> > >> > (cloudstack src folder) is pointing to root of the git repo.
> > >> >
> > >> > Have you tried giving executable permissions(chmod +x
> > >> > buildagent.sh) to buildagent.sh if file is already there?
> > >> >
> > >> > If you want you can build the agent zip using Jenkins job
> > >> > http://jenkins.buildacloud.org/view/4.3/job/HyperVAgent4.3/ .
> > >> >
> > >> > Regards,
> > >> > Anshul
> > >> >
> > >> > -----Original Message-----
> > >> > From: Tejas Gadaria [mailto:refond.g...@gmail.com]
> > >> > Sent: Tuesday, January 28, 2014 10:11 AM
> > >> > To: users@cloudstack.apache.org
> > >> > Subject: hyper-v agent building on cloudstack 4.3
> > >> >
> > >> > I am trying to build hyper-v agent and following below link,
> > >> >
> > >> >
> > >> >
> > https://cwiki.apache.org/confluence/display/CLOUDSTACK/Creating+Hyp
> > >> > erv
> > >> > +Agent+Installer
> > >> >
> > >> > I have executed "mozroots --import --ask-remove" successfully
> > >> >
> > >> > now i am trying to execute buildagent.sh script through Cygwin, but
> > >> > link says script is located on (cloudstack src
> > >> > folder)/plugins/hypervisors/hyperv/ but I could not find this path
> > >> > on Cygwin or on Management server.
> > >> >
> > >> > I don't understand where I am missing.
> > >> >
> > >> > Regards,
> > >> > Tejas
> > >> >
> > >>
> > >
> > >
>

Reply via email to