答复: ssvm 问题

2014-01-28 Thread Carlos Xue - Oneasia (SH)
INFO  [cloud.secstorage.PremiumSecondaryStorageManagerImpl] (secstorage-1:) 
Primary secondary storage is not even started, wait until next turn
INFO  [storage.endpoint.DefaultEndPointSelector] (StatsCollector-1:) No running 
ssvm is found, so command will be sent to LocalHostEndPoint
能解释下什么情况,该如何解决吗
OS:Cloudstack4.2.1 +xenserver6.0.2 CentOS6.3
发件人: Carlos Xue - Oneasia (SH) [mailto:carlos...@oneas1a.com]
发送时间: 2014年1月29日 15:34
收件人: users-cn@cloudstack.apache.org
主题: ssvm 问题

日志:
INFO  [storage.endpoint.DefaultEndPointSelector] (StatsCollector-3:) No running 
ssvm is found, so command will be sent to LocalHostEndPoint

Best Regards,
Carlos Xue
Engineer
Tel +86 3332 2375
www.oneas1a.comhttp://www.oneas1a.com
[说明: cid:_Foxmail.0@88C561A8-5412-41E8-A973-EFEBD826DD53]

OneAsia DISCLAIMER: This e-mail message (including any attachment) is intended 
only for the personal use of the recipient(s) named above. This message is 
confidential and may be legally privileged. If you are not an intended 
recipient, you may not review, copy or distribute this message. If you have 
received this communication in error, please notify us immediately by e-mail 
and delete the original message. Any views or opinions expressed in this 
message are those of the author only. Furthermore, this message (including any 
attachment) does not create any legally binding rights or obligations 
whatsoever, which may only be created by the exchange of hard copy documents 
signed by a duly authorized representative of OneAsia Network Limited.
OneAsia DISCLAIMER: This e-mail message (including any attachment) is intended 
only for the personal use of the recipient(s) named above. This message is 
confidential and may be legally privileged. If you are not an intended 
recipient, you may not review, copy or distribute this message. If you have 
received this communication in error, please notify us immediately by e-mail 
and delete the original message. Any views or opinions expressed in this 
message are those of the author only. Furthermore, this message (including any 
attachment) does not create any legally binding rights or obligations 
whatsoever, which may only be created by the exchange of hard copy documents 
signed by a duly authorized representative of OneAsia Network Limited.


successfully boot linux contianer in CloudStack 4.2

2014-01-28 Thread Du Jun
Hi all,
Recently, I successfully boot linux container in CloudStack 4.2.

But, I find CloudStack 4.2 does not support vnc for linux container.

Welcome to contact with me for discussing LXC's new features in CloudStack!


Regards,
DuJun


Re: Cloudstack advanced networking for development environment

2014-01-28 Thread chris snow
Hi Vadim,

I am trying to setup cloudstack in a single virtualbox virtual
machine.  My brief research suggested that it is possible to deploy
cloudstack like this for testing purposes.

I have been roughly following this article:

http://www.greenhills.co.uk/2013/08/30/cloudstack-single-server-on-ubuntu-with-kvm.html

I have been automating the setup using vagrant.  I am getting close to
completing, but there is still some distance to go.

My project is here: https://github.com/snowch/stratos-developer-tools.

It may be useful for you, but it will only get you so far in setting
up cloudstack.  I still have to figure out how to get the network
setup correctly.

Best regards,

Chris


On Tue, Jan 28, 2014 at 7:32 AM, Vadim Kimlaychuk
vadim.kimlayc...@elion.ee wrote:
 Hi all,

 We would like to setup small cloud to make tests before going to 
 production. This cloud supposed to have the same advanced networking 
 configuration deployed over plain network under 192.168.1.0/24 subnet.
 Roughly this:
 192.168.1.1 - external GW, DHCP, internet
 192.168.1.2-99 - guests
 192.168.1.101-199 - management, load balancer, VIP-s
 192.168.1.200-210 - storage

 Is it possible to make such a setup without using external L3 level switches? 
 I.e. is it possible to route internal traffic through some kind of virtual 
 switch? What it can be?

 Appreciate your thoughts,

 Vadim Kimlaychuk
 integratsiooni arhitekt
 tel. 640 2297
 mob. 5233474




-- 
Check out my professional profile and connect with me on LinkedIn.
http://lnkd.in/cw5k69


RE: Cloudstack advanced networking for development environment

2014-01-28 Thread Vadim Kimlaychuk
Chris,

Thanks for the fast reply. I have looked into your project. It is not 
exactly what we are looking for. Your project resembles http://devstack.org/ 
but for CS. We are looking basically the opposite - real set of VM-s but at 
smaller scale. We have one host full of management VM-s (db, 2xmanagement VM-s, 
storage VM, load balancer) and 3 hosts (for XEN guests). It is nearly 
production environment, but without L3 switch. 
I would say that basic network in CS works well and we have no problems 
setting it up.  But for advanced networking where traffic should be isolated 
and routed it is much more difficult. We often get No route to host and 
destination unreachable because of that.  

Vadim.

-Original Message-
From: chris snow [mailto:chsnow...@gmail.com] 
Sent: Tuesday, January 28, 2014 10:23 AM
To: users@cloudstack.apache.org
Subject: Re: Cloudstack advanced networking for development environment

Hi Vadim,

I am trying to setup cloudstack in a single virtualbox virtual machine.  My 
brief research suggested that it is possible to deploy cloudstack like this for 
testing purposes.

I have been roughly following this article:

http://www.greenhills.co.uk/2013/08/30/cloudstack-single-server-on-ubuntu-with-kvm.html

I have been automating the setup using vagrant.  I am getting close to 
completing, but there is still some distance to go.

My project is here: https://github.com/snowch/stratos-developer-tools.

It may be useful for you, but it will only get you so far in setting up 
cloudstack.  I still have to figure out how to get the network setup correctly.

Best regards,

Chris


On Tue, Jan 28, 2014 at 7:32 AM, Vadim Kimlaychuk vadim.kimlayc...@elion.ee 
wrote:
 Hi all,

 We would like to setup small cloud to make tests before going to 
 production. This cloud supposed to have the same advanced networking 
 configuration deployed over plain network under 192.168.1.0/24 subnet.
 Roughly this:
 192.168.1.1 - external GW, DHCP, internet
 192.168.1.2-99 - guests
 192.168.1.101-199 - management, load balancer, VIP-s
 192.168.1.200-210 - storage

 Is it possible to make such a setup without using external L3 level switches? 
 I.e. is it possible to route internal traffic through some kind of virtual 
 switch? What it can be?

 Appreciate your thoughts,

 Vadim Kimlaychuk
 integratsiooni arhitekt
 tel. 640 2297
 mob. 5233474




--
Check out my professional profile and connect with me on LinkedIn.
http://lnkd.in/cw5k69


Re: Cloudstack advanced networking for development environment

2014-01-28 Thread chris snow
Ah, no worries.  Thanks for the response Vadim.

On Tue, Jan 28, 2014 at 8:54 AM, Vadim Kimlaychuk
vadim.kimlayc...@elion.ee wrote:
 Chris,

 Thanks for the fast reply. I have looked into your project. It is not 
 exactly what we are looking for. Your project resembles http://devstack.org/ 
 but for CS. We are looking basically the opposite - real set of VM-s but at 
 smaller scale. We have one host full of management VM-s (db, 2xmanagement 
 VM-s, storage VM, load balancer) and 3 hosts (for XEN guests). It is nearly 
 production environment, but without L3 switch.
 I would say that basic network in CS works well and we have no 
 problems setting it up.  But for advanced networking where traffic should be 
 isolated and routed it is much more difficult. We often get No route to 
 host and destination unreachable because of that.

 Vadim.

 -Original Message-
 From: chris snow [mailto:chsnow...@gmail.com]
 Sent: Tuesday, January 28, 2014 10:23 AM
 To: users@cloudstack.apache.org
 Subject: Re: Cloudstack advanced networking for development environment

 Hi Vadim,

 I am trying to setup cloudstack in a single virtualbox virtual machine.  My 
 brief research suggested that it is possible to deploy cloudstack like this 
 for testing purposes.

 I have been roughly following this article:

 http://www.greenhills.co.uk/2013/08/30/cloudstack-single-server-on-ubuntu-with-kvm.html

 I have been automating the setup using vagrant.  I am getting close to 
 completing, but there is still some distance to go.

 My project is here: https://github.com/snowch/stratos-developer-tools.

 It may be useful for you, but it will only get you so far in setting up 
 cloudstack.  I still have to figure out how to get the network setup 
 correctly.

 Best regards,

 Chris


 On Tue, Jan 28, 2014 at 7:32 AM, Vadim Kimlaychuk vadim.kimlayc...@elion.ee 
 wrote:
 Hi all,

 We would like to setup small cloud to make tests before going to 
 production. This cloud supposed to have the same advanced networking 
 configuration deployed over plain network under 192.168.1.0/24 subnet.
 Roughly this:
 192.168.1.1 - external GW, DHCP, internet
 192.168.1.2-99 - guests
 192.168.1.101-199 - management, load balancer, VIP-s
 192.168.1.200-210 - storage

 Is it possible to make such a setup without using external L3 level 
 switches? I.e. is it possible to route internal traffic through some kind of 
 virtual switch? What it can be?

 Appreciate your thoughts,

 Vadim Kimlaychuk
 integratsiooni arhitekt
 tel. 640 2297
 mob. 5233474




 --
 Check out my professional profile and connect with me on LinkedIn.
 http://lnkd.in/cw5k69



-- 
Check out my professional profile and connect with me on LinkedIn.
http://lnkd.in/cw5k69


AWS api only for basic networking zones ?

2014-01-28 Thread Andrija Panic
Hi,

I'm looking into enabling the AWS compatible API on CS.

But from the docs:
http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html-single/Installation_Guide/index.html#aws-ec2-introduction

...it states that this is only supported in Basic Networking zones.

Since I'm using advanced networking zone, should I even try enabling the
AWS thing, or should I give up on this.

I'm on CS 4.2.1.

Thanks,

-

Andrija Panić


hyper-v agent not working

2014-01-28 Thread Tejas Gadaria
Hi,

I am using below link for hyperv agent,
http://jenkins.buildacloud.org/view/4.3/job/HyperVAgent4.3/

after installation log file 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 '.'.

Regards,
Tejas


RE: Internal DNS confusion

2014-01-28 Thread Sanjeev Neelarapu
Network domain does not require an entry in internal DNS. That will be taken 
care by VR.

-Original Message-
From: chris snow [mailto:chsnow...@gmail.com] 
Sent: Tuesday, January 28, 2014 12:48 PM
To: users@cloudstack.apache.org
Subject: Re: Internal DNS confusion

Thanks for the answers Shanker. Some more questions ...

Are internal DNS lookups performed only by the system vms?  If no, what other 
parts of cloudstack perform internal DNS lookups?  For example, does Management 
Server perform internal DNS lookups?

I'm trying to figure out 'when' I need to add new records to the internal DNS 
server.

I guess one way for me to understand when I need to add a host record to the 
internal DNS is by knowing what which parts of the Cloudstack admin interface 
have fields that require a corresponding internal DNS record.  For example:

   Network  Add Guest Network  Network Domain
   Domains  Add Domain  Network Domain

Does each network domain above require an entry to be added into the internal 
DNS?  Are there any other places in the admin UI that require records to be 
added to the internal DNS server?

On Tue, Jan 28, 2014 at 3:52 AM, Shanker Balan shanker.ba...@shapeblue.com 
wrote:
 Comments inline.

 On 28-Jan-2014, at 1:21 am, chris snow chsnow...@gmail.com wrote:

 When creating a new zone, I have to enter the address for Internal 
 DNS Servers.  Extract from the Cloudstack installation manual:

 Internal DNS 1 and Internal DNS 2. These are DNS servers for use by 
 system VMs in the zone (these are VMs used by CloudStack itself, such 
 as virtual routers, console proxies, and Secondary Storage VMs.).

 The internal DNS server is usually the corporate DNS servers that 
 provide internal DNS services for your LAN. Usually, these are 
 RFC1918 IPs which is why its hosted internally.


 Question 1: Who manages the Internal DNS? Is an Internal DNS server 
 setup and managed by me, or is it setup and managed by Cloudstack?

 You (or your IT team).


 Question 2: If Internal DNS is setup and managed by me, how should it be 
 setup?

 set it up any way you look. As long as the internal DNS server can 
 resolve the hostname to IP addresses, you should be fine.


 Question 3: If it is setup and managed by Cloudstack, when did it get 
 setup, and  how can I find out what address Cloudstack is using for 
 this server?

 Its not managed by cloudstack. Most of the time, your internal and 
 external DNS settings would be your corporate DNS server.

 If a public DNS server can resolve IP addresses for hosts in your LAN, 
 you can use any public DNS server as your internal and external DNS resolver.

 Hope that makes sense.


 --
 @shankerbalan

 M: +91 98860 60539 | O: +91 (80) 67935867 shanker.ba...@shapeblue.com 
 | www.shapeblue.com | Twitter:@shapeblue ShapeBlue Services India LLP, 
 22nd floor, Unit 2201A, World Trade Centre, Bangalore - 560 055

 Need Enterprise Grade Support for Apache CloudStack?
 Our CloudStack Infrastructure 
 Supporthttp://shapeblue.com/cloudstack-infrastructure-support/ offers the 
 best 24/7 SLA for CloudStack Environments.

 Apache CloudStack Bootcamp training courses

 **NEW!** CloudStack 4.2.1 
 traininghttp://shapeblue.com/cloudstack-training/
 18th-19th February 2014, Brazil. 
 Classroomhttp://shapeblue.com/cloudstack-training/
 17th-23rd March 2014, Region A. Instructor led, 
 On-linehttp://shapeblue.com/cloudstack-training/
 24th-28th March 2014, Region B. Instructor led, 
 On-linehttp://shapeblue.com/cloudstack-training/
 16th-20th June 2014, Region A. Instructor led, 
 On-linehttp://shapeblue.com/cloudstack-training/
 23rd-27th June 2014, Region B. Instructor led, 
 On-linehttp://shapeblue.com/cloudstack-training/

 This email and any attachments to it may be confidential and are intended 
 solely for the use of the individual to whom it is addressed. Any views or 
 opinions expressed are solely those of the author and do not necessarily 
 represent those of Shape Blue Ltd or related companies. If you are not the 
 intended recipient of this email, you must neither take any action based upon 
 its contents, nor copy or show it to anyone. Please contact the sender if you 
 believe you have received this email in error. Shape Blue Ltd is a company 
 incorporated in England  Wales. ShapeBlue Services India LLP is a company 
 incorporated in India and is operated under license from Shape Blue Ltd. 
 Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
 operated under license from Shape Blue Ltd. ShapeBlue is a registered 
 trademark.



--
Check out my professional profile and connect with me on LinkedIn.
http://lnkd.in/cw5k69


Fail to attach volume to LXC in CloudStack 4.2

2014-01-28 Thread Du Jun
Hi all,
Recently, I am stuck in attaching volumes to Linux Container using
CloudStack 4.2. But I got the error:Failed to attach volume: data-111 to
VM: lxc-111; org.libvirt.LibvirtException: unsupported configuration: Can't
setup disk for non-block device.

It seems that cause is libvirt, does libvirt has the API to attach volume
to LXC?

I really have no idea about that. Can anyone help me out? Thanks.

--
Best regards,
DuJun


Re: hyper-v agent building on cloudstack 4.3

2014-01-28 Thread Tejas Gadaria
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.

Regards,
Tejas


On Tue, Jan 28, 2014 at 12:14 PM, Tejas Gadaria refond.g...@gmail.comwrote:

 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+Creating+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.comwrote:

  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+Hyperv
  +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
 





CS4.2 monitor instance memory usage

2014-01-28 Thread motty cruz
Hello, I actually have two questions that am unable to find the solutions
in the documentation, perhaps I did not search correctly.

1. I would like to monitor the memory usage of a instance from the
Dashboard? is that possible?

2. I would like to add a 2nd management server. 2nd management server will
be a instance in CloudStack. I was not able to find the command to connect
instance to database server?

Thanks in advance.


Re: CS4.2 monitor instance memory usage

2014-01-28 Thread Rafael Weingartner
Hi,
For your first question, there is nothing built in that would enable you to
do that. However, if you really wish to have some functionality like that
you could implement it.

For your second question the answer is that it is possible. As a matter of
fact, the Cloud that I manage at the laboratory where I work, the whole
cloudstack structure (database and management servers) run over the cloud
they are managing (they can even manage their on VMs instance).

What do you mean with command to connect to database server?


Re: CS4.2 monitor instance memory usage

2014-01-28 Thread motty cruz
Thank you Rafael,
I apologize for not being specific, the command I was referring to:

cloudstack-setup-databases cloud:*dbpassword*@*dbhost* -e
*encryption_type* -m *management_server_key* -k *database_key* -i
*management_server_ip*


that command is for new installation, if i ran that command i will
wipe out my database, is there a similar command to connect new
management server to existing setup?


Thanks,



On Tue, Jan 28, 2014 at 8:10 AM, Rafael Weingartner 
rafaelweingart...@gmail.com wrote:

 Hi,
 For your first question, there is nothing built in that would enable you to
 do that. However, if you really wish to have some functionality like that
 you could implement it.

 For your second question the answer is that it is possible. As a matter of
 fact, the Cloud that I manage at the laboratory where I work, the whole
 cloudstack structure (database and management servers) run over the cloud
 they are managing (they can even manage their on VMs instance).

 What do you mean with command to connect to database server?



Re: CS4.2 monitor instance memory usage

2014-01-28 Thread motty cruz
Thank you very much!

I really appreciate your support!




On Tue, Jan 28, 2014 at 8:29 AM, Rafael Weingartner 
rafaelweingart...@gmail.com wrote:

 You are right, if you run that command it will wipe out you database.
 Sure there is another command.
 the is the following:
 #cloudstack-setup-databases cloud:*dbpassword*@*dbhost*



 On Tue, Jan 28, 2014 at 2:25 PM, motty cruz motty.c...@gmail.com wrote:

  Thank you Rafael,
  I apologize for not being specific, the command I was referring to:
 
  cloudstack-setup-databases cloud:*dbpassword*@*dbhost* -e
  *encryption_type* -m *management_server_key* -k *database_key* -i
  *management_server_ip*
 
 
  that command is for new installation, if i ran that command i will
  wipe out my database, is there a similar command to connect new
  management server to existing setup?
 
 
  Thanks,
 
 
 
  On Tue, Jan 28, 2014 at 8:10 AM, Rafael Weingartner 
  rafaelweingart...@gmail.com wrote:
 
   Hi,
   For your first question, there is nothing built in that would enable
 you
  to
   do that. However, if you really wish to have some functionality like
 that
   you could implement it.
  
   For your second question the answer is that it is possible. As a matter
  of
   fact, the Cloud that I manage at the laboratory where I work, the whole
   cloudstack structure (database and management servers) run over the
 cloud
   they are managing (they can even manage their on VMs instance).
  
   What do you mean with command to connect to database server?
  
 



 --
 Rafael Weingärtner



Re: CS4.2 monitor instance memory usage

2014-01-28 Thread Rafael Weingartner
You are right, if you run that command it will wipe out you database.
Sure there is another command.
the is the following:
#cloudstack-setup-databases cloud:*dbpassword*@*dbhost*



On Tue, Jan 28, 2014 at 2:25 PM, motty cruz motty.c...@gmail.com wrote:

 Thank you Rafael,
 I apologize for not being specific, the command I was referring to:

 cloudstack-setup-databases cloud:*dbpassword*@*dbhost* -e
 *encryption_type* -m *management_server_key* -k *database_key* -i
 *management_server_ip*


 that command is for new installation, if i ran that command i will
 wipe out my database, is there a similar command to connect new
 management server to existing setup?


 Thanks,



 On Tue, Jan 28, 2014 at 8:10 AM, Rafael Weingartner 
 rafaelweingart...@gmail.com wrote:

  Hi,
  For your first question, there is nothing built in that would enable you
 to
  do that. However, if you really wish to have some functionality like that
  you could implement it.
 
  For your second question the answer is that it is possible. As a matter
 of
  fact, the Cloud that I manage at the laboratory where I work, the whole
  cloudstack structure (database and management servers) run over the cloud
  they are managing (they can even manage their on VMs instance).
 
  What do you mean with command to connect to database server?
 




-- 
Rafael Weingärtner


cloudstack presenting wrong used memory values

2014-01-28 Thread Rafael Weingartner
Hi all,

I am mailing this to the dev and users list, since I am not sure which one
would be the best to make such question.


So, I deployed Zenoss to monitor my Cloud, and I noticed something weird on
a graph that it was generating about the Cloud's memory. The graph was
showing total memory as 26GB, allocated as 16GB and used as 19MB.

It was not making sense, so I was looking around and I noticed that this
19MB is the value that the Cloudstack presents as the memory used on
infrastructureHosts.


I think that this problem is related to this ticket opened last year.

https://issues.apache.org/jira/browse/CLOUDSTACK-3048
Sadly, it seems that no one has taken a look at it.


Does anyone know anything about this problem/bug?


-- 
Rafael Weingärtner


Re: Internal DNS confusion

2014-01-28 Thread Shanker Balan
Comments inline.

On 28-Jan-2014, at 12:47 pm, chris snow chsnow...@gmail.com wrote:

 Thanks for the answers Shanker. Some more questions …

Sure.


 Are internal DNS lookups performed only by the system vms?

Dont know.

 If no, what other parts of cloudstack perform internal DNS lookups?

Dunno. Never had a requirement/reason to worry about it as my DNS servers are
configured to resolve my RFC1918 assigned LAN devices and public records.

  For example, does Management Server perform internal DNS lookups?

The management server uses whichever nameservers you have
configured in /etc/resolv.conf.

I am not sure why you are digging deep into the DNS settings… its a very
simple step while adding a new Zone. Just specify the same DNS settings as
used by other devices in your network.

I am however aware that there are MANY networks which still use IP
addresses instead of hostnames. If your networks happens to rely on IP
addresses, now would be a good time to create a DNS system :)


 I'm trying to figure out 'when' I need to add new records to the
 internal DNS server.

If you plan to use hostnames instead of IP addresses for resources
like hypervisors, storage devices etc, then you need to create DNS records.

Alternatively, you can also add /etc/hosts entries.

Depending on your DNS topology, you might have private internal DNS servers
or public hosted DNS services (or both).


 I guess one way for me to understand when I need to add a host record
 to the internal DNS is by knowing what which parts of the Cloudstack
 admin interface have fields that require a corresponding internal DNS
 record.  For example:

   Network  Add Guest Network  Network Domain
   Domains  Add Domain  Network Domain

 Does each network domain above require an entry to be added into the
 internal DNS?  Are there any other places in the admin UI that require
 records to be added to the internal DNS server?


I believe Sanjeev already replied to this one. “network domains” are handled
internally by CloudStack virtual routers.

Regards.
@shankerbalan


 On Tue, Jan 28, 2014 at 3:52 AM, Shanker Balan
 shanker.ba...@shapeblue.com wrote:
 Comments inline.

 On 28-Jan-2014, at 1:21 am, chris snow chsnow...@gmail.com wrote:

 When creating a new zone, I have to enter the address for Internal DNS
 Servers.  Extract from the Cloudstack installation manual:

 Internal DNS 1 and Internal DNS 2. These are DNS servers for use by
 system VMs in the zone (these are VMs used by CloudStack itself, such
 as virtual routers, console proxies, and Secondary Storage VMs.).”

 The internal DNS server is usually the corporate DNS servers that
 provide “internal” DNS services for your LAN. Usually, these are RFC1918 IPs
 which is why its hosted “internally”.


 Question 1: Who manages the Internal DNS? Is an Internal DNS server
 setup and managed by me, or is it setup and managed by Cloudstack?

 You (or your IT team).


 Question 2: If Internal DNS is setup and managed by me, how should it be 
 setup?

 set it up any way you look. As long as the internal DNS server can
 resolve the hostname to IP addresses, you should be fine.


 Question 3: If it is setup and managed by Cloudstack, when did it get
 setup, and  how can I find out what address Cloudstack is using for
 this server?

 Its not managed by cloudstack. Most of the time, your internal and
 external DNS settings would be your corporate DNS server.

 If a public DNS server can resolve IP addresses for hosts in your LAN,
 you can use any public DNS server as your internal and external DNS resolver.

 Hope that makes sense.


 --
 @shankerbalan

 M: +91 98860 60539 | O: +91 (80) 67935867
 shanker.ba...@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
 ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, 
 Bangalore - 560 055

 Need Enterprise Grade Support for Apache CloudStack?
 Our CloudStack Infrastructure 
 Supporthttp://shapeblue.com/cloudstack-infrastructure-support/ offers the 
 best 24/7 SLA for CloudStack Environments.

 Apache CloudStack Bootcamp training courses

 **NEW!** CloudStack 4.2.1 traininghttp://shapeblue.com/cloudstack-training/
 18th-19th February 2014, Brazil. 
 Classroomhttp://shapeblue.com/cloudstack-training/
 17th-23rd March 2014, Region A. Instructor led, 
 On-linehttp://shapeblue.com/cloudstack-training/
 24th-28th March 2014, Region B. Instructor led, 
 On-linehttp://shapeblue.com/cloudstack-training/
 16th-20th June 2014, Region A. Instructor led, 
 On-linehttp://shapeblue.com/cloudstack-training/
 23rd-27th June 2014, Region B. Instructor led, 
 On-linehttp://shapeblue.com/cloudstack-training/

 This email and any attachments to it may be confidential and are intended 
 solely for the use of the individual to whom it is addressed. Any views or 
 opinions expressed are solely those of the author and do not necessarily 
 represent those of Shape Blue Ltd or related companies. If you are not the 
 intended recipient of this email, you must 

Re: Cloudstack advanced networking for development environment

2014-01-28 Thread Shanker Balan
Comments inline.

On 28-Jan-2014, at 1:02 pm, Vadim Kimlaychuk vadim.kimlayc...@elion.ee wrote:

 Hi all,

We would like to setup small cloud to make tests before going to 
 production. This cloud supposed to have the same “advanced networking” 
 configuration deployed over plain network under 192.168.1.0/24 subnet.
Roughly this:
192.168.1.1 – external GW, DHCP, internet
192.168.1.2-99 – guests
192.168.1.101-199 – management, load balancer, VIP-s
192.168.1.200-210 – storage


 Is it possible to make such a setup without using external L3 level switches? 
 I.e. is it possible to route internal traffic through some kind of virtual 
 switch? What it can be?

Unless you plan to use SDN, an L3 VLAN capable switch is a must
for Advanced Networking.

Regards.

--
@shankerbalan

M: +91 98860 60539 | O: +91 (80) 67935867
shanker.ba...@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, 
Bangalore - 560 055

Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/ offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 traininghttp://shapeblue.com/cloudstack-training/
18th-19th February 2014, Brazil. 
Classroomhttp://shapeblue.com/cloudstack-training/
17th-23rd March 2014, Region A. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
24th-28th March 2014, Region B. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
16th-20th June 2014, Region A. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
23rd-27th June 2014, Region B. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/

This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England  Wales. ShapeBlue Services India LLP is a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.


Re: CS4.2 monitor instance memory usage

2014-01-28 Thread Shanker Balan
Comments inline.

On 28-Jan-2014, at 9:31 pm, motty cruz motty.c...@gmail.com wrote:

 Hello, I actually have two questions that am unable to find the solutions
 in the documentation, perhaps I did not search correctly.

 1. I would like to monitor the memory usage of a instance from the
 Dashboard? is that possible?


No. I don’t believe there any plans to add such a feature either. Please
do feel free to file an RFE using the Jira tool.

 2. I would like to add a 2nd management server. 2nd management server will
 be a instance in CloudStack. I was not able to find the command to connect
 instance to database server?


What you are looking for is covered in the install guide.

http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Installation_Guide/management-server-install-flow.html#install-management-server-multi-nodes

Do let us know how it can be improved.

--
@shankerbalan

M: +91 98860 60539 | O: +91 (80) 67935867
shanker.ba...@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, 
Bangalore - 560 055

Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/ offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 traininghttp://shapeblue.com/cloudstack-training/
18th-19th February 2014, Brazil. 
Classroomhttp://shapeblue.com/cloudstack-training/
17th-23rd March 2014, Region A. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
24th-28th March 2014, Region B. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
16th-20th June 2014, Region A. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
23rd-27th June 2014, Region B. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/

This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England  Wales. ShapeBlue Services India LLP is a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.


RE: hyper-v agent building on cloudstack 4.3

2014-01-28 Thread Ram Ganesh
 -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.comwrote:
 
  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.comwrote:
 
   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
  
 
 
 


SolidFire storage plugin (cs4.2.1)

2014-01-28 Thread Pierre-Luc Dion
Hi,

We want to test the SolidFire storage plugin, we send the folllowing URL to
cloudstack api  and receive the following error message (in
management-server.log)

wget 
http://locahost:8096/client/api?command=createStoragePoolhypervisor=XenServerclusterId=2c94d3fb-0afb-4b59-83c4-97f8a3b8d9fazoneId=80261d3f-0677-468f-8165-cbd18c32947dname=EngSolidFireprovider=SolidFirecapacityIops=4capacityBytes=2251685248url=MVIP%3D172.30.0.60%3A443%3BSVIP%3D172.30.254.60%3BclusterAdminUsername%3Dadmin%3BclusterAdminPassword%3Dpassword%3BclusterDefaultMinIops%3D200%3BclusterDefaultMaxIops%3D300%3BclusterDefaultBurstIopsPercentOfMaxIops%3D2response=json



Got the following error message in management-server.log

2014-01-28 13:15:53,918 DEBUG [cloud.storage.StorageManagerImpl]
(ApiServer-5:null) Failed to add data store
java.lang.RuntimeException: Key not found in URL
at
org.apache.cloudstack.storage.datastore.lifecycle.SolidFirePrimaryDataStoreLifeCycle.getValue(SolidFirePrimaryDataStoreLifeCycle.java:289)
at
org.apache.cloudstack.storage.datastore.lifecycle.SolidFirePrimaryDataStoreLifeCycle.initialize(SolidFirePrimaryDataStoreLifeCycle.java:160)
at
com.cloud.storage.StorageManagerImpl.createPool(StorageManagerImpl.java:756)
at
com.cloud.storage.StorageManagerImpl.createPool(StorageManagerImpl.java:179)
at
org.apache.cloudstack.api.command.admin.storage.CreateStoragePoolCmd.execute(CreateStoragePoolCmd.java:168)
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158)
at com.cloud.api.ApiServer.queueCommand(ApiServer.java:514)
at com.cloud.api.ApiServer.handleRequest(ApiServer.java:372)
at com.cloud.api.ApiServer.handle(ApiServer.java:303)
at org.apache.http.protocol.HttpService.doService(HttpService.java:375)
at org.apache.http.protocol.HttpService.handleRequest(HttpService.java:290)
at com.cloud.api.ApiServer$WorkerTask.run(ApiServer.java:978)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:701)
2014-01-28 13:15:53,919 INFO  [cloud.api.ApiServer] (ApiServer-5:null)
Failed to add data store



I'm not sure what's wrong in the API call url, any idea?


Thanks


Pierre-Luc Dion
Architecte de Solution Cloud | Cloud Solutions Architect
514-447-3456, 1101
- - -

*CloudOps*420 rue Guy
Montréal QC  H3J 1S6
www.cloudops.com
@CloudOps_


Re: Internal DNS confusion

2014-01-28 Thread chris snow
Hi Shanker,

I'm trying to build a self contained cloudstack virtualbox
virtualmachine similar to devcloud.

I'm thinking that the virtualmachine will need to run its own internal
DNS server, but it probably only needs one entry, the hostname of the
virtualbox virtualmachine.

Sorry if these questions are basic, but I haven't seen any topology
examples that describe everything on a single node, so I'm confused
what is required.

Many thanks,

Chris



On Tue, Jan 28, 2014 at 5:07 PM, Shanker Balan
shanker.ba...@shapeblue.com wrote:
 Comments inline.

 On 28-Jan-2014, at 12:47 pm, chris snow chsnow...@gmail.com wrote:

 Thanks for the answers Shanker. Some more questions ...

 Sure.


 Are internal DNS lookups performed only by the system vms?

 Dont know.

 If no, what other parts of cloudstack perform internal DNS lookups?

 Dunno. Never had a requirement/reason to worry about it as my DNS servers are
 configured to resolve my RFC1918 assigned LAN devices and public records.

  For example, does Management Server perform internal DNS lookups?

 The management server uses whichever nameservers you have
 configured in /etc/resolv.conf.

 I am not sure why you are digging deep into the DNS settings... its a very
 simple step while adding a new Zone. Just specify the same DNS settings as
 used by other devices in your network.

 I am however aware that there are MANY networks which still use IP
 addresses instead of hostnames. If your networks happens to rely on IP
 addresses, now would be a good time to create a DNS system :)


 I'm trying to figure out 'when' I need to add new records to the
 internal DNS server.

 If you plan to use hostnames instead of IP addresses for resources
 like hypervisors, storage devices etc, then you need to create DNS records.

 Alternatively, you can also add /etc/hosts entries.

 Depending on your DNS topology, you might have private internal DNS servers
 or public hosted DNS services (or both).


 I guess one way for me to understand when I need to add a host record
 to the internal DNS is by knowing what which parts of the Cloudstack
 admin interface have fields that require a corresponding internal DNS
 record.  For example:

   Network  Add Guest Network  Network Domain
   Domains  Add Domain  Network Domain

 Does each network domain above require an entry to be added into the
 internal DNS?  Are there any other places in the admin UI that require
 records to be added to the internal DNS server?


 I believe Sanjeev already replied to this one. network domains are handled
 internally by CloudStack virtual routers.

 Regards.
 @shankerbalan


 On Tue, Jan 28, 2014 at 3:52 AM, Shanker Balan
 shanker.ba...@shapeblue.com wrote:
 Comments inline.

 On 28-Jan-2014, at 1:21 am, chris snow chsnow...@gmail.com wrote:

 When creating a new zone, I have to enter the address for Internal DNS
 Servers.  Extract from the Cloudstack installation manual:

 Internal DNS 1 and Internal DNS 2. These are DNS servers for use by
 system VMs in the zone (these are VMs used by CloudStack itself, such
 as virtual routers, console proxies, and Secondary Storage VMs.).

 The internal DNS server is usually the corporate DNS servers that
 provide internal DNS services for your LAN. Usually, these are RFC1918 IPs
 which is why its hosted internally.


 Question 1: Who manages the Internal DNS? Is an Internal DNS server
 setup and managed by me, or is it setup and managed by Cloudstack?

 You (or your IT team).


 Question 2: If Internal DNS is setup and managed by me, how should it be 
 setup?

 set it up any way you look. As long as the internal DNS server can
 resolve the hostname to IP addresses, you should be fine.


 Question 3: If it is setup and managed by Cloudstack, when did it get
 setup, and  how can I find out what address Cloudstack is using for
 this server?

 Its not managed by cloudstack. Most of the time, your internal and
 external DNS settings would be your corporate DNS server.

 If a public DNS server can resolve IP addresses for hosts in your LAN,
 you can use any public DNS server as your internal and external DNS 
 resolver.

 Hope that makes sense.


 --
 @shankerbalan

 M: +91 98860 60539 | O: +91 (80) 67935867
 shanker.ba...@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
 ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, 
 Bangalore - 560 055

 Need Enterprise Grade Support for Apache CloudStack?
 Our CloudStack Infrastructure 
 Supporthttp://shapeblue.com/cloudstack-infrastructure-support/ offers the 
 best 24/7 SLA for CloudStack Environments.

 Apache CloudStack Bootcamp training courses

 **NEW!** CloudStack 4.2.1 
 traininghttp://shapeblue.com/cloudstack-training/
 18th-19th February 2014, Brazil. 
 Classroomhttp://shapeblue.com/cloudstack-training/
 17th-23rd March 2014, Region A. Instructor led, 
 On-linehttp://shapeblue.com/cloudstack-training/
 24th-28th March 2014, Region B. Instructor led, 
 

Re: CS4.2 monitor instance memory usage

2014-01-28 Thread motty cruz
Hi, so I ran the command

#cloudstack-setup-databases cloud:mypassword@10.122.1.6

I'm unable to log in(after entering username and password):
DEBUG [cloud.user.AccountManagerImpl] (catalina-exec-11:null) User: admin
in domain 1 has successfully logged in

DEBUG [cloud.api.ApiServer] (catalina-exec-13:null) The given
command:listCapabilities does not exist or it is not available for user
with id:2

error messages I get,

any ideas?

Thanks,



On Tue, Jan 28, 2014 at 9:22 AM, Shanker Balan
shanker.ba...@shapeblue.comwrote:

 Comments inline.

 On 28-Jan-2014, at 9:31 pm, motty cruz motty.c...@gmail.com wrote:

  Hello, I actually have two questions that am unable to find the solutions
  in the documentation, perhaps I did not search correctly.
 
  1. I would like to monitor the memory usage of a instance from the
  Dashboard? is that possible?


 No. I don't believe there any plans to add such a feature either. Please
 do feel free to file an RFE using the Jira tool.

  2. I would like to add a 2nd management server. 2nd management server
 will
  be a instance in CloudStack. I was not able to find the command to
 connect
  instance to database server?


 What you are looking for is covered in the install guide.


 http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Installation_Guide/management-server-install-flow.html#install-management-server-multi-nodes

 Do let us know how it can be improved.

 --
 @shankerbalan

 M: +91 98860 60539 | O: +91 (80) 67935867
 shanker.ba...@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
 ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre,
 Bangalore - 560 055

 Need Enterprise Grade Support for Apache CloudStack?
 Our CloudStack Infrastructure Support
 http://shapeblue.com/cloudstack-infrastructure-support/ offers the best
 24/7 SLA for CloudStack Environments.

 Apache CloudStack Bootcamp training courses

 **NEW!** CloudStack 4.2.1 training
 http://shapeblue.com/cloudstack-training/
 18th-19th February 2014, Brazil. Classroom
 http://shapeblue.com/cloudstack-training/
 17th-23rd March 2014, Region A. Instructor led, On-line
 http://shapeblue.com/cloudstack-training/
 24th-28th March 2014, Region B. Instructor led, On-line
 http://shapeblue.com/cloudstack-training/
 16th-20th June 2014, Region A. Instructor led, On-line
 http://shapeblue.com/cloudstack-training/
 23rd-27th June 2014, Region B. Instructor led, On-line
 http://shapeblue.com/cloudstack-training/

 This email and any attachments to it may be confidential and are intended
 solely for the use of the individual to whom it is addressed. Any views or
 opinions expressed are solely those of the author and do not necessarily
 represent those of Shape Blue Ltd or related companies. If you are not the
 intended recipient of this email, you must neither take any action based
 upon its contents, nor copy or show it to anyone. Please contact the sender
 if you believe you have received this email in error. Shape Blue Ltd is a
 company incorporated in England  Wales. ShapeBlue Services India LLP is a
 company incorporated in India and is operated under license from Shape Blue
 Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil
 and is operated under license from Shape Blue Ltd. ShapeBlue is a
 registered trademark.



RE: AWS api only for basic networking zones ?

2014-01-28 Thread Chandan Purushothama
Hello Andrija,

AWSAPI feature can be tried on any type of zone. The feature makes more sense 
if it is used with Basic Zone with Security Groups and Advanced Zone with 
Security Groups. In case if you just want to try couple of ec2 apis against 
CloudStack, there is no harm in enabling it and playing with it. You might fail 
to execute couple of ec2 apis on using the feature against any zone other than 
the supported zones,

Thank you,
Chandan.

-Original Message-
From: Andrija Panic [mailto:andrija.pa...@gmail.com] 
Sent: Tuesday, January 28, 2014 1:10 AM
To: users@cloudstack.apache.org
Subject: AWS api only for basic networking zones ?

Hi,

I'm looking into enabling the AWS compatible API on CS.

But from the docs:
http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html-single/Installation_Guide/index.html#aws-ec2-introduction

...it states that this is only supported in Basic Networking zones.

Since I'm using advanced networking zone, should I even try enabling the AWS 
thing, or should I give up on this.

I'm on CS 4.2.1.

Thanks,

-

Andrija Panić


SSVM/CPVM Agent State Alert

2014-01-28 Thread Francois Gaudreault
Is there any reasons why my SSVM/CPVM agent state would stay in the 
alert state if I loose one management server from an active/active pair? 
Unless I restart the agent manually on each System VM, the state will 
stay to Alert. I tried to search the logs but didn't find clear 
evidences of the why.


Anyone has more thoughts about this? We are on 4.2.1.

Thanks!

--
Francois Gaudreault
Architecte de Solution Cloud | Cloud Solutions Architect
fgaudrea...@cloudops.com
514-629-6775
- - -
CloudOps
420 rue Guy
Montréal QC  H3J 1S6
www.cloudops.com
@CloudOps_



Enabling SSL in the CloudStack

2014-01-28 Thread Hollman Enciso R.
Hello.

How can i enable SSL on CS interface ?

I found that
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Enabling+SSL+in+the+CloudStack+UI

but it's for old versions :(

I have CS 4.2.1



-- 
Hollman Eduardo Enciso R.
http://nexxuz.com
http://algolibre.com http://www.hollmanenciso.com/
@hollman


re: Enabling SSL in the CloudStack

2014-01-28 Thread Kristoffer Sheather @ CloudCentral
Hi Hollman,

I'd recommend fronting your CloudStack installation with a load balancer 
and terminating the SSL sessions there.  This will work well even if you 
only have a single management server behind the load balancer.

You gain the added benefit of being able to scale your management cluster 
out without changing the front end IP address serving the portal / API.

Most load balancers like Citrix NetScaler will work well, or you could use 
an open source solution such as HAproxy - the latest development builds 
support native SSL termination.

Regards,

 Kristoffer Sheather
 Cloud Central
 Scale Your Data Center In The Cloud 

 Phone: 1300 144 007 | Mobile: +61 414 573 130 | Email: 
k...@cloudcentral.com.au
 LinkedIn:   | Skype: kristoffer.sheather | Twitter: 
http://twitter.com/kristofferjon


From: Hollman Enciso R. hollman.enc...@gmail.com
Sent: Wednesday, January 29, 2014 8:31 AM
To: users@cloudstack.apache.org
Subject: Enabling SSL in the CloudStack

Hello.

How can i enable SSL on CS interface ?

I found that
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Enabling+SSL+in+the+C
loudStack+UI

but it's for old versions :(

I have CS 4.2.1

-- 
Hollman Eduardo Enciso R.
http://nexxuz.com
http://algolibre.com http://www.hollmanenciso.com/
@hollman




Precision for Storage Motion

2014-01-28 Thread Francois Gaudreault

I'd like to get some precisions about the Storage XenMotion support.

While moving a VM from a shared SR to another shared SR works well, I 
cannot move a disk from a local storage to another. Is this expected? 
Cloudstack seems to allow local to local migration. When I try, I get a 
xen api exception with a VM_REQUIRES_NETWORK error.


--
Francois Gaudreault
Architecte de Solution Cloud | Cloud Solutions Architect
fgaudrea...@cloudops.com
514-629-6775
- - -
CloudOps
420 rue Guy
Montréal QC  H3J 1S6
www.cloudops.com
@CloudOps_



RE: Internal DNS confusion

2014-01-28 Thread Chandan Purushothama
Hello Chris,

The following link might help you with your efforts to deploy a Quick Cloud 
using a single machine.
https://cwiki.apache.org/confluence/display/CLOUDSTACK/QuickCloud 

Thank you,
Chandan.

-Original Message-
From: chris snow [mailto:chsnow...@gmail.com] 
Sent: Tuesday, January 28, 2014 10:19 AM
To: users@cloudstack.apache.org
Subject: Re: Internal DNS confusion

Hi Shanker,

I'm trying to build a self contained cloudstack virtualbox virtualmachine 
similar to devcloud.

I'm thinking that the virtualmachine will need to run its own internal DNS 
server, but it probably only needs one entry, the hostname of the virtualbox 
virtualmachine.

Sorry if these questions are basic, but I haven't seen any topology examples 
that describe everything on a single node, so I'm confused what is required.

Many thanks,

Chris



On Tue, Jan 28, 2014 at 5:07 PM, Shanker Balan shanker.ba...@shapeblue.com 
wrote:
 Comments inline.

 On 28-Jan-2014, at 12:47 pm, chris snow chsnow...@gmail.com wrote:

 Thanks for the answers Shanker. Some more questions ...

 Sure.


 Are internal DNS lookups performed only by the system vms?

 Dont know.

 If no, what other parts of cloudstack perform internal DNS lookups?

 Dunno. Never had a requirement/reason to worry about it as my DNS 
 servers are configured to resolve my RFC1918 assigned LAN devices and public 
 records.

  For example, does Management Server perform internal DNS lookups?

 The management server uses whichever nameservers you have configured 
 in /etc/resolv.conf.

 I am not sure why you are digging deep into the DNS settings... its a 
 very simple step while adding a new Zone. Just specify the same DNS 
 settings as used by other devices in your network.

 I am however aware that there are MANY networks which still use IP 
 addresses instead of hostnames. If your networks happens to rely on IP 
 addresses, now would be a good time to create a DNS system :)


 I'm trying to figure out 'when' I need to add new records to the 
 internal DNS server.

 If you plan to use hostnames instead of IP addresses for resources 
 like hypervisors, storage devices etc, then you need to create DNS records.

 Alternatively, you can also add /etc/hosts entries.

 Depending on your DNS topology, you might have private internal DNS 
 servers or public hosted DNS services (or both).


 I guess one way for me to understand when I need to add a host record 
 to the internal DNS is by knowing what which parts of the Cloudstack 
 admin interface have fields that require a corresponding internal DNS 
 record.  For example:

   Network  Add Guest Network  Network Domain
   Domains  Add Domain  Network Domain

 Does each network domain above require an entry to be added into the 
 internal DNS?  Are there any other places in the admin UI that 
 require records to be added to the internal DNS server?


 I believe Sanjeev already replied to this one. network domains are 
 handled internally by CloudStack virtual routers.

 Regards.
 @shankerbalan


 On Tue, Jan 28, 2014 at 3:52 AM, Shanker Balan 
 shanker.ba...@shapeblue.com wrote:
 Comments inline.

 On 28-Jan-2014, at 1:21 am, chris snow chsnow...@gmail.com wrote:

 When creating a new zone, I have to enter the address for Internal 
 DNS Servers.  Extract from the Cloudstack installation manual:

 Internal DNS 1 and Internal DNS 2. These are DNS servers for use 
 by system VMs in the zone (these are VMs used by CloudStack itself, 
 such as virtual routers, console proxies, and Secondary Storage VMs.).

 The internal DNS server is usually the corporate DNS servers that 
 provide internal DNS services for your LAN. Usually, these are 
 RFC1918 IPs which is why its hosted internally.


 Question 1: Who manages the Internal DNS? Is an Internal DNS server 
 setup and managed by me, or is it setup and managed by Cloudstack?

 You (or your IT team).


 Question 2: If Internal DNS is setup and managed by me, how should it be 
 setup?

 set it up any way you look. As long as the internal DNS server can 
 resolve the hostname to IP addresses, you should be fine.


 Question 3: If it is setup and managed by Cloudstack, when did it 
 get setup, and  how can I find out what address Cloudstack is using 
 for this server?

 Its not managed by cloudstack. Most of the time, your internal and 
 external DNS settings would be your corporate DNS server.

 If a public DNS server can resolve IP addresses for hosts in your 
 LAN, you can use any public DNS server as your internal and external DNS 
 resolver.

 Hope that makes sense.


 --
 @shankerbalan

 M: +91 98860 60539 | O: +91 (80) 67935867 
 shanker.ba...@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue 
 ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade 
 Centre, Bangalore - 560 055

 Need Enterprise Grade Support for Apache CloudStack?
 Our CloudStack Infrastructure 
 Supporthttp://shapeblue.com/cloudstack-infrastructure-support/ offers the 
 best 24/7 SLA for 

Re: Internal DNS confusion

2014-01-28 Thread chris snow
Thanks Chandan!

On Wed, Jan 29, 2014 at 12:23 AM, Chandan Purushothama
chandan.purushoth...@citrix.com wrote:
 Hello Chris,

 The following link might help you with your efforts to deploy a Quick Cloud 
 using a single machine.
 https://cwiki.apache.org/confluence/display/CLOUDSTACK/QuickCloud

 Thank you,
 Chandan.

 -Original Message-
 From: chris snow [mailto:chsnow...@gmail.com]
 Sent: Tuesday, January 28, 2014 10:19 AM
 To: users@cloudstack.apache.org
 Subject: Re: Internal DNS confusion

 Hi Shanker,

 I'm trying to build a self contained cloudstack virtualbox virtualmachine 
 similar to devcloud.

 I'm thinking that the virtualmachine will need to run its own internal DNS 
 server, but it probably only needs one entry, the hostname of the virtualbox 
 virtualmachine.

 Sorry if these questions are basic, but I haven't seen any topology examples 
 that describe everything on a single node, so I'm confused what is required.

 Many thanks,

 Chris



 On Tue, Jan 28, 2014 at 5:07 PM, Shanker Balan shanker.ba...@shapeblue.com 
 wrote:
 Comments inline.

 On 28-Jan-2014, at 12:47 pm, chris snow chsnow...@gmail.com wrote:

 Thanks for the answers Shanker. Some more questions ...

 Sure.


 Are internal DNS lookups performed only by the system vms?

 Dont know.

 If no, what other parts of cloudstack perform internal DNS lookups?

 Dunno. Never had a requirement/reason to worry about it as my DNS
 servers are configured to resolve my RFC1918 assigned LAN devices and public 
 records.

  For example, does Management Server perform internal DNS lookups?

 The management server uses whichever nameservers you have configured
 in /etc/resolv.conf.

 I am not sure why you are digging deep into the DNS settings... its a
 very simple step while adding a new Zone. Just specify the same DNS
 settings as used by other devices in your network.

 I am however aware that there are MANY networks which still use IP
 addresses instead of hostnames. If your networks happens to rely on IP
 addresses, now would be a good time to create a DNS system :)


 I'm trying to figure out 'when' I need to add new records to the
 internal DNS server.

 If you plan to use hostnames instead of IP addresses for resources
 like hypervisors, storage devices etc, then you need to create DNS records.

 Alternatively, you can also add /etc/hosts entries.

 Depending on your DNS topology, you might have private internal DNS
 servers or public hosted DNS services (or both).


 I guess one way for me to understand when I need to add a host record
 to the internal DNS is by knowing what which parts of the Cloudstack
 admin interface have fields that require a corresponding internal DNS
 record.  For example:

   Network  Add Guest Network  Network Domain
   Domains  Add Domain  Network Domain

 Does each network domain above require an entry to be added into the
 internal DNS?  Are there any other places in the admin UI that
 require records to be added to the internal DNS server?


 I believe Sanjeev already replied to this one. network domains are
 handled internally by CloudStack virtual routers.

 Regards.
 @shankerbalan


 On Tue, Jan 28, 2014 at 3:52 AM, Shanker Balan
 shanker.ba...@shapeblue.com wrote:
 Comments inline.

 On 28-Jan-2014, at 1:21 am, chris snow chsnow...@gmail.com wrote:

 When creating a new zone, I have to enter the address for Internal
 DNS Servers.  Extract from the Cloudstack installation manual:

 Internal DNS 1 and Internal DNS 2. These are DNS servers for use
 by system VMs in the zone (these are VMs used by CloudStack itself,
 such as virtual routers, console proxies, and Secondary Storage VMs.).

 The internal DNS server is usually the corporate DNS servers that
 provide internal DNS services for your LAN. Usually, these are
 RFC1918 IPs which is why its hosted internally.


 Question 1: Who manages the Internal DNS? Is an Internal DNS server
 setup and managed by me, or is it setup and managed by Cloudstack?

 You (or your IT team).


 Question 2: If Internal DNS is setup and managed by me, how should it be 
 setup?

 set it up any way you look. As long as the internal DNS server can
 resolve the hostname to IP addresses, you should be fine.


 Question 3: If it is setup and managed by Cloudstack, when did it
 get setup, and  how can I find out what address Cloudstack is using
 for this server?

 Its not managed by cloudstack. Most of the time, your internal and
 external DNS settings would be your corporate DNS server.

 If a public DNS server can resolve IP addresses for hosts in your
 LAN, you can use any public DNS server as your internal and external DNS 
 resolver.

 Hope that makes sense.


 --
 @shankerbalan

 M: +91 98860 60539 | O: +91 (80) 67935867
 shanker.ba...@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
 ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade
 Centre, Bangalore - 560 055

 Need Enterprise Grade Support for Apache CloudStack?
 Our CloudStack 

RE: [Doc] [4.3] Service Monitoring Tool for Virtual Router for Review [CLOUDSTACK-5292]

2014-01-28 Thread Radhika Puthiyetath
We have the UI item coming up for this feature: 
https://issues.apache.org/jira/browse/CLOUDSTACK-5966



-Original Message-
From: Sanjeev Neelarapu [mailto:sanjeev.neelar...@citrix.com] 
Sent: Tuesday, January 14, 2014 11:05 AM
To: d...@cloudstack.apache.org; users@cloudstack.apache.org
Subject: RE: [Doc] [4.3] Service Monitoring Tool for Virtual Router for Review 
[CLOUDSTACK-5292]

Hi David,

As you said the tool runs in the background and is not exposed to the 
administrator at-least in 4.3.

-Sanjeev

-Original Message-
From: David Nalley [mailto:da...@gnsa.us] 
Sent: Monday, January 13, 2014 7:59 PM
To: users@cloudstack.apache.org
Cc: d...@cloudstack.apache.org
Subject: Re: [Doc] [4.3] Service Monitoring Tool for Virtual Router for Review 
[CLOUDSTACK-5292]

Hi Radhika:

So I read this section and while the documentation is clear on what it does; 
it's not clear on how I use it. If it isn't intended to be exposed to the 
administrator and just runs in the background like so many things in CloudStack 
does already, why document it at all in the admin guide? Why I read that there 
is a monitoring tool it instantly makes me want to go check status, so that I 
know that I can verify status if something goes awry.

--David

On Mon, Jan 13, 2014 at 1:02 AM, Radhika Puthiyetath 
radhika.puthiyet...@citrix.com wrote:
 Hi,

 4.3 Documentation is getting ready to be reviewed. I have prepared the first 
 draft for the feature, Enhanced Upgrade for Virtual Router.

 Please see section 16.5.4. Service Monitoring Tool for Virtual Router, and 
 let me know your feedback.

 1.The documentation is uploaded at https://issues.apache.org/jira/browse/ 
 CLOUDSTACK-5292https://issues.apache.org/jira/browse/CLOUDSTACK-5292
 2.

 Regards
 -Radhika


Re: [Doc] [4.3] Service Monitoring Tool for Virtual Router for Review [CLOUDSTACK-5292]

2014-01-28 Thread Jayapal Reddy Uradi
Hi Radhika,

The configuration is from the global settings.

Thanks,
Jayapal
On 29-Jan-2014, at 9:56 AM, Radhika Puthiyetath radhika.puthiyet...@citrix.com
 wrote:

 We have the UI item coming up for this feature: 
 https://issues.apache.org/jira/browse/CLOUDSTACK-5966
 
 
 
 -Original Message-
 From: Sanjeev Neelarapu [mailto:sanjeev.neelar...@citrix.com] 
 Sent: Tuesday, January 14, 2014 11:05 AM
 To: d...@cloudstack.apache.org; users@cloudstack.apache.org
 Subject: RE: [Doc] [4.3] Service Monitoring Tool for Virtual Router for 
 Review [CLOUDSTACK-5292]
 
 Hi David,
 
 As you said the tool runs in the background and is not exposed to the 
 administrator at-least in 4.3.
 
 -Sanjeev
 
 -Original Message-
 From: David Nalley [mailto:da...@gnsa.us] 
 Sent: Monday, January 13, 2014 7:59 PM
 To: users@cloudstack.apache.org
 Cc: d...@cloudstack.apache.org
 Subject: Re: [Doc] [4.3] Service Monitoring Tool for Virtual Router for 
 Review [CLOUDSTACK-5292]
 
 Hi Radhika:
 
 So I read this section and while the documentation is clear on what it does; 
 it's not clear on how I use it. If it isn't intended to be exposed to the 
 administrator and just runs in the background like so many things in 
 CloudStack does already, why document it at all in the admin guide? Why I 
 read that there is a monitoring tool it instantly makes me want to go check 
 status, so that I know that I can verify status if something goes awry.
 
 --David
 
 On Mon, Jan 13, 2014 at 1:02 AM, Radhika Puthiyetath 
 radhika.puthiyet...@citrix.com wrote:
 Hi,
 
 4.3 Documentation is getting ready to be reviewed. I have prepared the first 
 draft for the feature, Enhanced Upgrade for Virtual Router.
 
 Please see section 16.5.4. Service Monitoring Tool for Virtual Router, and 
 let me know your feedback.
 
 1.The documentation is uploaded at 
 https://issues.apache.org/jira/browse/ 
 CLOUDSTACK-5292https://issues.apache.org/jira/browse/CLOUDSTACK-5292
 2.
 
 Regards
 -Radhika



RE: hyper-v agent building on cloudstack 4.3

2014-01-28 Thread Anshul Gangwar
Hi Tejas,

Can you look into following mail threads and see if that resolves your problem 

https://www.mail-archive.com/dev@cloudstack.apache.org/msg21392.html

https://www.mail-archive.com/dev@cloudstack.apache.org/msg20556.html

PS : Its Anshul not Anush

Regards,
Anshul


-Original Message-
From: Ram Ganesh 
Sent: Tuesday, January 28, 2014 11:02 PM
To: users@cloudstack.apache.org
Cc: Anshul Gangwar; Devdeep Singh; Rajesh Battala
Subject: RE: hyper-v agent building on cloudstack 4.3

 -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.comwrote:
 
  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.comwrote:
 
   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
  
 
 
 


RE: hyper-v agent building on cloudstack 4.3

2014-01-28 Thread Anshul Gangwar
Hi Tejas,

Can you verify weather dns suffix is set on host?

You can use ipconfig to verify that.

If it is blank you can use below command to set the dns suffix

netdom computername hostname.domain.com /add:newhostname.newdomain.com netdom 
computername hostname.domain.com /makeprimary:newhostname.newdomain.com

then uninstall the Agent 

AgentShell.exe --uninstall

And then reinstall the agent.

Regards,
Anshul


-Original Message-
From: Anshul Gangwar 
Sent: Wednesday, January 29, 2014 10:08 AM
To: Ram Ganesh; users@cloudstack.apache.org
Cc: Devdeep Singh; Rajesh Battala
Subject: RE: hyper-v agent building on cloudstack 4.3

Hi Tejas,

Can you look into following mail threads and see if that resolves your problem 

https://www.mail-archive.com/dev@cloudstack.apache.org/msg21392.html

https://www.mail-archive.com/dev@cloudstack.apache.org/msg20556.html

PS : Its Anshul not Anush

Regards,
Anshul


-Original Message-
From: Ram Ganesh
Sent: Tuesday, January 28, 2014 11:02 PM
To: users@cloudstack.apache.org
Cc: Anshul Gangwar; Devdeep Singh; Rajesh Battala
Subject: RE: hyper-v agent building on cloudstack 4.3

 -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.comwrote:
 
  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.comwrote:
 
   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,
  
  
  
 

RE: SSVM/CPVM Agent State Alert

2014-01-28 Thread Vadim Kimlaychuk
Hi,

Can you give more information about your network configuration? 
Did you run ssvm-check.sh script as described here? 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM,+templates,+Secondary+storage+troubleshooting
I guess the reason may be caused by incorrect host setting at your 
global config. Host should point to VIP and VIP should balance the load and in 
a case of one node failure forward all traffic to the active node. If host 
setting shows IP of the server that is down - SSVM will try to connect it 
directly and obviously fails

Vadim. 

-Original Message-
From: Francois Gaudreault [mailto:fgaudrea...@cloudops.com] 
Sent: Tuesday, January 28, 2014 11:10 PM
To: users@cloudstack.apache.org
Subject: SSVM/CPVM Agent State Alert

Is there any reasons why my SSVM/CPVM agent state would stay in the alert state 
if I loose one management server from an active/active pair? 
Unless I restart the agent manually on each System VM, the state will stay to 
Alert. I tried to search the logs but didn't find clear evidences of the why.

Anyone has more thoughts about this? We are on 4.2.1.

Thanks!

--
Francois Gaudreault
Architecte de Solution Cloud | Cloud Solutions Architect 
fgaudrea...@cloudops.com
514-629-6775
- - -
CloudOps
420 rue Guy
Montréal QC  H3J 1S6
www.cloudops.com
@CloudOps_