RE: Persisting Source IP on Load Balancers

2016-03-19 Thread Len Bellemore
OK, thanks everyone.

-Original Message-
From: S. Brüseke - proIO GmbH [mailto:s.brues...@proio.com] 
Sent: 17 March 2016 08:32
To: Bellemore, Len - Data Analytics; users@cloudstack.apache.org
Subject: AW: Persisting Source IP on Load Balancers

Hi Len,

I am not aware of a solutions for ssl traffic for this. 
A workaround would be to delete loadbalancing for ssl on the VR and create a 
nginx instance running ssl lb.

Mit freundlichen Grüßen / With kind regards,

Swen


-Ursprüngliche Nachricht-
Von: Len Bellemore [mailto:len.bellem...@alternativenetworks.com]
Gesendet: Mittwoch, 16. März 2016 18:22
An: S. Brüseke - proIO GmbH; users@cloudstack.apache.org
Betreff: RE: Persisting Source IP on Load Balancers

Thanks Swen,

OK, then I suppose my next question would be, could I then terminate the SSL on 
the virtual router, and then follow your suggestion?

Thanks
Len

-Original Message-
From: S. Brüseke - proIO GmbH [mailto:s.brues...@proio.com]
Sent: 16 March 2016 16:53
To: users@cloudstack.apache.org
Cc: Bellemore, Len - Data Analytics
Subject: AW: Persisting Source IP on Load Balancers

Hi Len,

you need to change the LogFormat on the target servers behind the LB.

If you are using apache2 do the this:

1. open your apache2 conf file
2. add "LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %O" common_lb" to 
the LogFormat section 3. open your vhost file and swap "common" to "common_lb" 
in your CustomLog line.
4. Restart apache2

Now you can see the client IP in the log.

This will only work with http and not with https traffic because LB cannot open 
https traffic.

Mit freundlichen Grüßen / With kind regards,

Swen


-Ursprüngliche Nachricht-
Von: Len Bellemore [mailto:len.bellem...@alternativenetworks.com]
Gesendet: Mittwoch, 16. März 2016 16:15
An: users@cloudstack.apache.org
Betreff: Persisting Source IP on Load Balancers

Hi Guys,

Does anyone know if it is possible to preserve the source IP that is coming in 
to servers behind the virtual router load balancer?

In my web servers logs, every connection is from the virtual router.

Thanks
Len


- proIO GmbH -
Geschäftsführer: Swen Brüseke
Sitz der Gesellschaft: Frankfurt am Main

USt-IdNr. DE 267 075 918
Registergericht: Frankfurt am Main - HRB 86239

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. 
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten 
haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. 
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht 
gestattet. 

This e-mail may contain confidential and/or privileged information. 
If you are not the intended recipient (or have received this e-mail in error) 
please notify the sender immediately and destroy this e-mail.  
Any unauthorized copying, disclosure or distribution of the material in this 
e-mail is strictly forbidden. 




- proIO GmbH -
Geschäftsführer: Swen Brüseke
Sitz der Gesellschaft: Frankfurt am Main

USt-IdNr. DE 267 075 918
Registergericht: Frankfurt am Main - HRB 86239

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. 
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten 
haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. 
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht 
gestattet. 

This e-mail may contain confidential and/or privileged information. 
If you are not the intended recipient (or have received this e-mail in error) 
please notify the sender immediately and destroy this e-mail.  
Any unauthorized copying, disclosure or distribution of the material in this 
e-mail is strictly forbidden. 




Persisting Source IP on Load Balancers

2016-03-19 Thread Len Bellemore
Hi Guys,

Does anyone know if it is possible to preserve the source IP that is coming in 
to servers behind the virtual router load balancer?

In my web servers logs, every connection is from the virtual router.

Thanks
Len


CoreOS images http://dl.openvm.eu/

2015-06-30 Thread Len Bellemore
Hi Guys,

Has anyone used the CoreOS Cloudstack templates on http://dl.openvm.eu/?

It seems like CoreOS access is only via SSH keys, but since these are 
templates, how do I log in?

Am I missing something?

Cheers
Len



RE: CoreOS images http://dl.openvm.eu/

2015-06-30 Thread Len Bellemore
Nice one. I'll check this out.

Len

-Original Message-
From: Jeff Moody [mailto:j...@fifthecho.com] 
Sent: 30 June 2015 15:16
To: users@cloudstack.apache.org
Subject: Re: CoreOS images http://dl.openvm.eu/

You would need to register an SSH key and then deploy the VM with the keypair 
option to have the Router VM offer the SSH key to the instance when it boots.
http://cloudstack.apache.org/api/apidocs
-4.5/user/deployVirtualMachine.html

On Tue, 2015-06-30 at 14:02 +, Len Bellemore wrote:
 Hi Guys,
 
 Has anyone used the CoreOS Cloudstack templates on 
 http://dl.openvm.eu/?
 
 It seems like CoreOS access is only via SSH keys, but since these are 
 templates, how do I log in?
 
 Am I missing something?
 
 Cheers
 Len
 


RE: Cloudstack 4.3.1

2014-07-23 Thread Len Bellemore
Cheers Sebastien.

-Original Message-
From: Sebastien Goasguen [mailto:run...@gmail.com]
Sent: 22 July 2014 19:55
To: users@cloudstack.apache.org
Subject: Re: Cloudstack 4.3.1


On Jul 22, 2014, at 9:41 AM, Len Bellemore len.bellem...@controlcircle.com 
wrote:

 Hi Guys,

 Anyone know when the 4.3.1 release is due to come out?  I'm really interested 
 in the bugfix for listUsageRecords throwing a null pointer exception:
 https://issues.apache.org/jira/browse/CLOUDSTACK-6472


Len, I am going to try to create a release and send a VOTE thread on dev@ this 
week.

You can find the latest 4.3 source at:
https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/heads/4.3

If you could test it and check that everything you need is in there, that would 
be awesome.
I can still cherry pick some bug fixes if folks give me the commit ids (from 
master or 4.4 branch) and that they apply cleanly.

-sebastien

 Thanks
 Len

 
 IMPORTANT NOTICE. This electronic message contains information from 
 ControlCircle Ltd, which may be privileged or confidential. The information 
 is intended for use only by the individual(s) or entity named above. If you 
 are not the intended recipient, be aware that any disclosure, copying, 
 distribution or use of the contents of this information is strictly 
 prohibited. If you have received this electronic message in error, please 
 notify me by telephone or email (to the number or email address above) 
 immediately. Activity and use of the ControlCircle e-mail system is monitored 
 to secure its effective operation and for other lawful business purposes. 
 Communications using this system will also be monitored and may be recorded 
 to secure effective operation and for other lawful business purposes



IMPORTANT NOTICE. This electronic message contains information from 
ControlCircle Ltd, which may be privileged or confidential. The information is 
intended for use only by the individual(s) or entity named above. If you are 
not the intended recipient, be aware that any disclosure, copying, distribution 
or use of the contents of this information is strictly prohibited. If you have 
received this electronic message in error, please notify me by telephone or 
email (to the number or email address above) immediately. Activity and use of 
the ControlCircle e-mail system is monitored to secure its effective operation 
and for other lawful business purposes. Communications using this system will 
also be monitored and may be recorded to secure effective operation and for 
other lawful business purposes


Cloudstack 4.3.1

2014-07-22 Thread Len Bellemore
Hi Guys,

Anyone know when the 4.3.1 release is due to come out?  I'm really interested 
in the bugfix for listUsageRecords throwing a null pointer exception:
https://issues.apache.org/jira/browse/CLOUDSTACK-6472

Thanks
Len


IMPORTANT NOTICE. This electronic message contains information from 
ControlCircle Ltd, which may be privileged or confidential. The information is 
intended for use only by the individual(s) or entity named above. If you are 
not the intended recipient, be aware that any disclosure, copying, distribution 
or use of the contents of this information is strictly prohibited. If you have 
received this electronic message in error, please notify me by telephone or 
email (to the number or email address above) immediately. Activity and use of 
the ControlCircle e-mail system is monitored to secure its effective operation 
and for other lawful business purposes. Communications using this system will 
also be monitored and may be recorded to secure effective operation and for 
other lawful business purposes


RE: Xenserver 6.2 SP1 Hotfix 4

2014-06-19 Thread Len Bellemore
Cheers Tim.

I mean Hotfix 4 for SP1.  http://support.citrix.com/article/CTX140417

Len

-Original Message-
From: Tim Mackey [mailto:tmac...@gmail.com]
Sent: 17 June 2014 15:48
To: users@cloudstack.apache.org
Subject: Re: Xenserver 6.2 SP1 Hotfix 4

Len,

6.2 SP1 rolls up all previous hotfixes, plus adds a few of its own.  I'd expect 
if you attempted to install HF004, that it would error out with a message about 
being already applied.

-tim


On Tue, Jun 17, 2014 at 8:39 AM, Len Bellemore  
len.bellem...@controlcircle.com wrote:

 Hi Guys,

 I've recently upgraded to XenServer 6.2 with CS 4.3.

 I've also applied XenServer 6.2 SP1.   Do I need to apply Hotfix 4 as well?

 I read that it has some enhancements for CS built into the hotfix, but
 the release notes also state that I need to set up a dedicated SR for
 High Availability, which seems a bit odd.

 Do I need the hotfix?  If so, do I really need to set up a dedicated HA SR?

 Cheers
 Len

 
 IMPORTANT NOTICE. This electronic message contains information from
 Control Circle Ltd, which may be privileged or confidential. The
 information is intended for use only by the individual(s) or entity
 named above. If you are not the intended recipient, be aware that any
 disclosure, copying, distribution or use of the contents of this
 information is strictly prohibited. If you have received this
 electronic message in error, please notify me by telephone or email
 (to the number or email address
 above) immediately. Activity and use of the ControlCircle e-mail
 system is monitored to secure its effective operation and for other
 lawful business purposes. Communications using this system will also
 be monitored and may be recorded to secure effective operation and for
 other lawful business purposes



IMPORTANT NOTICE. This electronic message contains information from Control 
Circle Ltd, which may be privileged or confidential. The information is 
intended for use only by the individual(s) or entity named above. If you are 
not the intended recipient, be aware that any disclosure, copying, distribution 
or use of the contents of this information is strictly prohibited. If you have 
received this electronic message in error, please notify me by telephone or 
email (to the number or email address above) immediately. Activity and use of 
the ControlCircle e-mail system is monitored to secure its effective operation 
and for other lawful business purposes. Communications using this system will 
also be monitored and may be recorded to secure effective operation and for 
other lawful business purposes


RE: Xenserver 6.2 SP1 Hotfix 4

2014-06-19 Thread Len Bellemore
Cool, thanks Tim

-Original Message-
From: Tim Mackey [mailto:tmac...@gmail.com]
Sent: 19 June 2014 10:39
To: users@cloudstack.apache.org
Subject: Re: Xenserver 6.2 SP1 Hotfix 4

Len,

That release note was written from the perspective of a XenServer feature set 
which includes an HA capability.  CloudStack doesn't use the native XenServer 
HA capability, and if you're using CloudStack you shouldn't enable the native 
XenServer HA environment lest it conflicts with the CloudStack HA service 
offering.  Net of this, shared storage is required for native XenServer HA, but 
CloudStack has its own method.

-tim


On Thu, Jun 19, 2014 at 5:26 AM, Len Bellemore  
len.bellem...@controlcircle.com wrote:

 Cheers Tim.

 I mean Hotfix 4 for SP1.  http://support.citrix.com/article/CTX140417

 Len

 -Original Message-
 From: Tim Mackey [mailto:tmac...@gmail.com]
 Sent: 17 June 2014 15:48
 To: users@cloudstack.apache.org
 Subject: Re: Xenserver 6.2 SP1 Hotfix 4

 Len,

 6.2 SP1 rolls up all previous hotfixes, plus adds a few of its own.
 I'd expect if you attempted to install HF004, that it would error out
 with a message about being already applied.

 -tim


 On Tue, Jun 17, 2014 at 8:39 AM, Len Bellemore 
 len.bellem...@controlcircle.com wrote:

  Hi Guys,
 
  I've recently upgraded to XenServer 6.2 with CS 4.3.
 
  I've also applied XenServer 6.2 SP1.   Do I need to apply Hotfix 4 as
 well?
 
  I read that it has some enhancements for CS built into the hotfix,
  but the release notes also state that I need to set up a dedicated
  SR for High Availability, which seems a bit odd.
 
  Do I need the hotfix?  If so, do I really need to set up a dedicated
  HA
 SR?
 
  Cheers
  Len
 
  
  IMPORTANT NOTICE. This electronic message contains information from
  Control Circle Ltd, which may be privileged or confidential. The
  information is intended for use only by the individual(s) or entity
  named above. If you are not the intended recipient, be aware that
  any disclosure, copying, distribution or use of the contents of this
  information is strictly prohibited. If you have received this
  electronic message in error, please notify me by telephone or email
  (to the number or email address
  above) immediately. Activity and use of the ControlCircle e-mail
  system is monitored to secure its effective operation and for other
  lawful business purposes. Communications using this system will also
  be monitored and may be recorded to secure effective operation and
  for other lawful business purposes
 

 
 IMPORTANT NOTICE. This electronic message contains information from
 Control Circle Ltd, which may be privileged or confidential. The
 information is intended for use only by the individual(s) or entity
 named above. If you are not the intended recipient, be aware that any
 disclosure, copying, distribution or use of the contents of this
 information is strictly prohibited. If you have received this
 electronic message in error, please notify me by telephone or email
 (to the number or email address
 above) immediately. Activity and use of the ControlCircle e-mail
 system is monitored to secure its effective operation and for other
 lawful business purposes. Communications using this system will also
 be monitored and may be recorded to secure effective operation and for
 other lawful business purposes



IMPORTANT NOTICE. This electronic message contains information from Control 
Circle Ltd, which may be privileged or confidential. The information is 
intended for use only by the individual(s) or entity named above. If you are 
not the intended recipient, be aware that any disclosure, copying, distribution 
or use of the contents of this information is strictly prohibited. If you have 
received this electronic message in error, please notify me by telephone or 
email (to the number or email address above) immediately. Activity and use of 
the ControlCircle e-mail system is monitored to secure its effective operation 
and for other lawful business purposes. Communications using this system will 
also be monitored and may be recorded to secure effective operation and for 
other lawful business purposes


RE: CloudStack Volume Life Cycle

2014-06-17 Thread Len Bellemore
Hi Suneel,

I've had this where I restarted the management servers while the volumes or vms 
were expunging.
Bear in mind that the volumes might still actually be expunging and can take a 
bit of time to finally disappear.

If you're absolutely sure that the volumes are stuck in that state, you can 
edit the database to force CS into  thinking the volumes have been deleted.

First back up the cloud database:
 mysqldump -u root -p cloud /tmp/cloud_dbdump.sql

Log into mysql:
mysql -u root -p

use the Cloud database:
use cloud;

Verify which volumes are in the incorrect state:
select id, name, instance_id, uuid, folder from volumes where removed is null 
and state='Expunged'\G
update volumes set removed=now() where id=id of volume ;

This will remove the volume from the UI, the sytem will believe that the volume 
has been removed, but you must still manually remove the volume from the NFS 
share if need be.

-Original Message-
From: Venkata Suneel Babu Mallela [mailto:sunee...@simplifydc.com]
Sent: 17 June 2014 10:01
To: users@cloudstack.apache.org
Subject: CloudStack Volume Life Cycle

Hi All,

I tried to delete a volume from CloudStack UI, but it is struck at Expunging 
state. Manually I've changed volume state from Expunging to Destroy in 
cloud.volumes table. After 60 seconds the state becomes Expunging. I tried 
lot of times but still the state is at Expunging. Is there any recommended 
way to remove the volumes from CloudStack UI and Physically.

Thank you,
Suneel Mallela


IMPORTANT NOTICE. This electronic message contains information from Control 
Circle Ltd, which may be privileged or confidential. The information is 
intended for use only by the individual(s) or entity named above. If you are 
not the intended recipient, be aware that any disclosure, copying, distribution 
or use of the contents of this information is strictly prohibited. If you have 
received this electronic message in error, please notify me by telephone or 
email (to the number or email address above) immediately. Activity and use of 
the ControlCircle e-mail system is monitored to secure its effective operation 
and for other lawful business purposes. Communications using this system will 
also be monitored and may be recorded to secure effective operation and for 
other lawful business purposes


Xenserver 6.2 SP1 Hotfix 4

2014-06-17 Thread Len Bellemore
Hi Guys,

I've recently upgraded to XenServer 6.2 with CS 4.3.

I've also applied XenServer 6.2 SP1.   Do I need to apply Hotfix 4 as well?

I read that it has some enhancements for CS built into the hotfix, but the 
release notes also state that I need to set up a dedicated SR for High 
Availability, which seems a bit odd.

Do I need the hotfix?  If so, do I really need to set up a dedicated HA SR?

Cheers
Len


IMPORTANT NOTICE. This electronic message contains information from Control 
Circle Ltd, which may be privileged or confidential. The information is 
intended for use only by the individual(s) or entity named above. If you are 
not the intended recipient, be aware that any disclosure, copying, distribution 
or use of the contents of this information is strictly prohibited. If you have 
received this electronic message in error, please notify me by telephone or 
email (to the number or email address above) immediately. Activity and use of 
the ControlCircle e-mail system is monitored to secure its effective operation 
and for other lawful business purposes. Communications using this system will 
also be monitored and may be recorded to secure effective operation and for 
other lawful business purposes


loading ACL List Rules is slow

2014-05-29 Thread Len Bellemore
Hi Guys,

When I try to view a list of ACL rules in a VPC, and I have more than say, 10 
rules, it can take up to a minute to load.  Chrome even asks if I want to kill 
the unresponsive page. Firefox handles the delay a little bit better, but it's 
still a long wait.

I've recently upgraded to ACS 4.3, which seems a bit faster than 4.2, but it's 
still slow.

Anyone else seeing this?

Thanks
Len


IMPORTANT NOTICE. This electronic message contains information from Control 
Circle Ltd, which may be privileged or confidential. The information is 
intended for use only by the individual(s) or entity named above. If you are 
not the intended recipient, be aware that any disclosure, copying, distribution 
or use of the contents of this information is strictly prohibited. If you have 
received this electronic message in error, please notify me by telephone or 
email (to the number or email address above) immediately. Activity and use of 
the ControlCircle e-mail system is monitored to secure its effective operation 
and for other lawful business purposes. Communications using this system will 
also be monitored and may be recorded to secure effective operation and for 
other lawful business purposes


OpenSSL Flaw

2014-04-09 Thread Len Bellemore
Hi Guys,

Does anyone know which version of ACS are affected by the Hearbleed OpenSSL 
flaw?
- http://heartbleed.com/

Thanks
Len


IMPORTANT NOTICE. This electronic message contains information from Control 
Circle Ltd, which may be privileged or confidential. The information is 
intended for use only by the individual(s) or entity named above. If you are 
not the intended recipient, be aware that any disclosure, copying, distribution 
or use of the contents of this information is strictly prohibited. If you have 
received this electronic message in error, please notify me by telephone or 
email (to the number or email address above) immediately. Activity and use of 
the ControlCircle e-mail system is monitored to secure its effective operation 
and for other lawful business purposes. Communications using this system will 
also be monitored and may be recorded to secure effective operation and for 
other lawful business purposes


RE: CloudStack DR Approach (not HA)

2014-03-26 Thread Len Bellemore
+1

-Original Message-
From: Suresh Sadhu [mailto:suresh.sa...@citrix.com]
Sent: 25 March 2014 06:14
To: users@cloudstack.apache.org; k...@cloudcentral.com.au
Subject: RE: CloudStack DR Approach (not HA)

+1

-Original Message-
From: Kristoffer Sheather @ CloudCentral 
[mailto:kristoffer.sheat...@cloudcentral.com.au]
Sent: 25 March 2014 02:34
To: users@cloudstack.apache.org
Subject: RE: CloudStack DR Approach (not HA)

+1 for this feature! We get questions from end-users about this
functionality all the time.

 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: Geoff Higginbottom geoff.higginbot...@shapeblue.com
Sent: Tuesday, March 25, 2014 7:57 AM
To: users@cloudstack.apache.org users@cloudstack.apache.org, 
k...@cloudcentral.com.au k...@cloudcentral.com.au
Subject: RE: CloudStack DR Approach (not HA)
ShapeBlue are currently working on a solution for Zone Failover of VMs, I 
cannot confirm which version it will be included in, but 4.5 is a possibility.

With regards to the replication of volume snapshots, that is effectively 
available today using the S3 backed secondary storage feature.

Regards

Geoff Higginbottom

D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

geoff.higginbot...@shapeblue.com

-Original Message-
From: Kristoffer Sheather @ CloudCentral 
[mailto:kristoffer.sheat...@cloudcentral.com.au]
Sent: 24 March 2014 20:53
To: users@cloudstack.apache.org
Subject: re: CloudStack DR Approach (not HA)

Hi Jim,

Very good questions and I am keen to see the answers as well. CloudStack 
definitely needs to support this scenario (I don't believe it currently does). 
Cross zone replication of snapshots with the ability to bring up VM's from 
those snapshots is something I'd like to see too.

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: Jim Jones cloudfanatic...@gmail.com
Sent: Tuesday, March 25, 2014 6:11 AM
To: users@cloudstack.apache.org
Subject: CloudStack DR Approach (not HA) Hello,

I am interested to know what everyone is using to provide disaster recovery for 
VMs running in CloudStack?

Note, I am talking about true DR to another data center, not HA. I have seen 
the previous thread where someone asked about DR, but the answer provided only 
talked about HA of VMs within the same Cluster or Zone. This is not my question.

I am looking for a method to maintain an up-to-date copy of a running VM, 
including its data, in another Zone or Region, such that if the first Zone is 
destroyed, the VM can be brought up in the other Zone and continue production.

Before cloud, DR for virtualized environments was typically handled using SAN 
replication. The VMs would be quiesced and snapshotted at regular intervals 
(e.g. hourly), and the SAN LUNs would be continuously replicated 
asynchronously. Following this approach, if the primary site was destroyed, the 
SAN LUNs would be enabled for read-write at the secondary location, and the VMs 
could then be started there, using the last successful snapshot (the last 
consistency point).

I have looked at what Amazon and Rackspace provide for their Clouds, and the 
approach seems to be user-initiated quiesced cloud snapshots, combined with 
Secondary Storage that is automatically replicated and available throughout 
their Clouds. Therefore, if the site where the VM is running gets destroyed, 
the latest VM snapshot can be deployed from Secondary Storage to any other Zone.

I would like to know if anybody has experience/insights using this approach on 
CloudStack, particularly using XenServer hosts.

Is there a mechanism available for end-users to create quiesced CloudStack 
snapshots of running production VMs, such that applications and filesystems are 
put into a consistent state prior to the snapshot being created?

Also, can anybody offer insight into how to automatically or continuously 
replicate Secondary Storage across Zones or Regions, using NFS-based Secondary 
Storage (not object storage), such that CloudStack users will see any be able 
to deploy their Snapshots in any other Zone or Region?

If what I am describing is not yet possible with CloudStack, I would be like to 
be pointed towards the part of the CloudStack roadmap that discusses the 
planned architecture.

Thanks,
JJ

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!** 

RE: vmware cluster dedicated storage network

2014-03-20 Thread Len Bellemore
Hi Ilya,

So, it looks like the SSVM is establishing a HTTPS connection to the management 
IP of my ESX server. Obviously the management ip of the SSVM is on the same 
network as the management IP of my ESX host so there are no firewalls in 
between.

It fails with the following error:

Unable to copy template to primary storage due to exception:Exception: 
java.io.IOException
Message: Error writing request body to server

But it looks like the path it is trying to write to doesn't actually exist.  
It's made a connection to:

https://192.168.0.36/nfc/52c9914d-220c-abdc-f154-cc9af8a9bbd3/disk-0.vmdk

but that UUID doesn't exist as  a folder in my datastore in vcenter.

The folder I have is:
b0985bce673b37a1b2192b1ce333baa6
and this is where vmware has started to provision the vmdk containers, but at 
the moment they are all on 0kb.

Len

-Original Message-
From: ilya musayev [mailto:ilya.mailing.li...@gmail.com]
Sent: 19 March 2014 20:18
To: users@cloudstack.apache.org
Subject: Re: vmware cluster dedicated storage network

Here is how i would troubleshoot to find out.

CloudStack Storage System VM (SSVM), checks if template exists on primary 
datastore, if it does, it will link clone, if not, it will deploy to primary 
storage and then link clone (or full clone, depending if you have it enabled or 
not).

This is the part where it fails. To understand where the problems is, SSH into 
SSVM, and view the output of /var/log/cloud/some-filename.log

Also, try running this command on SSVM to see if issues are firewall or routing 
related watch 'netstat -antup'  - look for time_wait and other non-established 
attempts to your vcenter

I would suspect a firewall related issue.

Regards
ilya




On 3/19/14, 2:16 PM, Len Bellemore wrote:
 Sure.

 vSwitch0  (used for management)
 portgroup called cloud-management with the mgmt ip address of the esx
 host

 vSwitch2 (used for Storage)
 portgroup called cloud-storage with the ip address of the storage nic
 used to access nfs storage

 dvSwitch0 (used for public and guest traffic)

 as near as I can tell management and public/guest work ok.  I'm having 
 trouble with my first vm - I get a message in my vmware client that says 
 Deploying OVF Template when I first try to spin the vm.  This eventually 
 times out.
 Cloudstack has downloaded the vmware Centos template automatically and
 this is what I am trying to use

 Oddly, I am able to build a vm from an ISO.

 Any ideas?

 Len


 -Original Message-
 From: ilya musayev [mailto:ilya.mailing.li...@gmail.com]
 Sent: 19 March 2014 17:40
 To: users@cloudstack.apache.org
 Subject: Re: vmware cluster dedicated storage network

 Len

 Perhaps you can give us an example on how network is layed out as well as 
 vswitches and portgroups.

 Thanks
 ilya


 On 3/19/14, 1:37 PM, Len Bellemore wrote:
 hi Guys,

 I'm trying to set up a vmware cluster with a dedicated storage network.

 Is this possible?

 What I can't get my head around is in the zone settings in the UI for
 storage, I can put the vSwitch number in the entry for vmware.  Ie.
 vSwitch2

 However, in vcenter, the ip address that accesses my nfs storage is tied to 
 the port group ie.  cloud-storage

 Which entry do I need to enter in the zone settings?

 Cheers
 Len


 
 IMPORTANT NOTICE. This electronic message contains information from
 Control Circle Ltd, which may be privileged or confidential. The
 information is intended for use only by the individual(s) or entity
 named above. If you are not the intended recipient, be aware that any
 disclosure, copying, distribution or use of the contents of this
 information is strictly prohibited. If you have received this
 electronic message in error, please notify me by telephone or email
 (to the number or email address above) immediately. Activity and use
 of the ControlCircle e-mail system is monitored to secure its
 effective operation and for other lawful business purposes.
 Communications using this system will also be monitored and may be
 recorded to secure effective operation and for other lawful business
 purposes


 
 IMPORTANT NOTICE. This electronic message contains information from
 Control Circle Ltd, which may be privileged or confidential. The
 information is intended for use only by the individual(s) or entity
 named above. If you are not the intended recipient, be aware that any
 disclosure, copying, distribution or use of the contents of this
 information is strictly prohibited. If you have received this
 electronic message in error, please notify me by telephone or email
 (to the number or email address above) immediately. Activity and use
 of the ControlCircle e-mail system is monitored to secure its
 effective operation and for other lawful business purposes.
 Communications using this system will also be monitored and may be
 recorded to secure effective operation and for other lawful business
 purposes

migrate virtual load balancer to new Primary Storage

2014-03-19 Thread Len Bellemore
Hi Guys,

I'm trying to decom a primary storage volume, but there's a virtual load 
balancer vm that is residing on that volume and I can't work out how to migrate 
it.

I had a virtual router in there, and I just deleted it and the system recreated 
it elsewhere (not a great solution, I have to say, but it worked) but I can't 
find the virtual load balancers anywhere in the UI  (they show up as 
b-1234-VM on my hypervisors.

Could I just delete it from the hypervisor and hope it gets recreated?

I would like to be able to simply storage-motion the virtual routers/lb's to a 
new primary storage like any other vm.

Cheers
Len



IMPORTANT NOTICE. This electronic message contains information from Control 
Circle Ltd, which may be privileged or confidential. The information is 
intended for use only by the individual(s) or entity named above. If you are 
not the intended recipient, be aware that any disclosure, copying, distribution 
or use of the contents of this information is strictly prohibited. If you have 
received this electronic message in error, please notify me by telephone or 
email (to the number or email address above) immediately. Activity and use of 
the ControlCircle e-mail system is monitored to secure its effective operation 
and for other lawful business purposes. Communications using this system will 
also be monitored and may be recorded to secure effective operation and for 
other lawful business purposes


vmware cluster dedicated storage network

2014-03-19 Thread Len Bellemore
hi Guys,

I'm trying to set up a vmware cluster with a dedicated storage network.

Is this possible?

What I can't get my head around is in the zone settings in the UI for storage, 
I can put the vSwitch number in the entry for vmware.  Ie.  vSwitch2

However, in vcenter, the ip address that accesses my nfs storage is tied to the 
port group ie.  cloud-storage

Which entry do I need to enter in the zone settings?

Cheers
Len



IMPORTANT NOTICE. This electronic message contains information from Control 
Circle Ltd, which may be privileged or confidential. The information is 
intended for use only by the individual(s) or entity named above. If you are 
not the intended recipient, be aware that any disclosure, copying, distribution 
or use of the contents of this information is strictly prohibited. If you have 
received this electronic message in error, please notify me by telephone or 
email (to the number or email address above) immediately. Activity and use of 
the ControlCircle e-mail system is monitored to secure its effective operation 
and for other lawful business purposes. Communications using this system will 
also be monitored and may be recorded to secure effective operation and for 
other lawful business purposes


RE: vmware cluster dedicated storage network

2014-03-19 Thread Len Bellemore
Sure.

vSwitch0  (used for management)
portgroup called cloud-management with the mgmt ip address of the esx host

vSwitch2 (used for Storage)
portgroup called cloud-storage with the ip address of the storage nic used to 
access nfs storage

dvSwitch0 (used for public and guest traffic)

as near as I can tell management and public/guest work ok.  I'm having trouble 
with my first vm - I get a message in my vmware client that says Deploying OVF 
Template when I first try to spin the vm.  This eventually times out.
Cloudstack has downloaded the vmware Centos template automatically and this is 
what I am trying to use

Oddly, I am able to build a vm from an ISO.

Any ideas?

Len


-Original Message-
From: ilya musayev [mailto:ilya.mailing.li...@gmail.com]
Sent: 19 March 2014 17:40
To: users@cloudstack.apache.org
Subject: Re: vmware cluster dedicated storage network

Len

Perhaps you can give us an example on how network is layed out as well as 
vswitches and portgroups.

Thanks
ilya


On 3/19/14, 1:37 PM, Len Bellemore wrote:
 hi Guys,

 I'm trying to set up a vmware cluster with a dedicated storage network.

 Is this possible?

 What I can't get my head around is in the zone settings in the UI for
 storage, I can put the vSwitch number in the entry for vmware.  Ie.
 vSwitch2

 However, in vcenter, the ip address that accesses my nfs storage is tied to 
 the port group ie.  cloud-storage

 Which entry do I need to enter in the zone settings?

 Cheers
 Len


 
 IMPORTANT NOTICE. This electronic message contains information from
 Control Circle Ltd, which may be privileged or confidential. The
 information is intended for use only by the individual(s) or entity
 named above. If you are not the intended recipient, be aware that any
 disclosure, copying, distribution or use of the contents of this
 information is strictly prohibited. If you have received this
 electronic message in error, please notify me by telephone or email
 (to the number or email address above) immediately. Activity and use
 of the ControlCircle e-mail system is monitored to secure its
 effective operation and for other lawful business purposes.
 Communications using this system will also be monitored and may be
 recorded to secure effective operation and for other lawful business
 purposes




IMPORTANT NOTICE. This electronic message contains information from Control 
Circle Ltd, which may be privileged or confidential. The information is 
intended for use only by the individual(s) or entity named above. If you are 
not the intended recipient, be aware that any disclosure, copying, distribution 
or use of the contents of this information is strictly prohibited. If you have 
received this electronic message in error, please notify me by telephone or 
email (to the number or email address above) immediately. Activity and use of 
the ControlCircle e-mail system is monitored to secure its effective operation 
and for other lawful business purposes. Communications using this system will 
also be monitored and may be recorded to secure effective operation and for 
other lawful business purposes


Cloudstack and VMWare

2014-03-18 Thread Len Bellemore
Hi Guys,

Does anyone know definitively if Cloudstack works with vCenter version 5.5?

Also, what's the latest version of ESXi that is supported?

Thanks
Len




IMPORTANT NOTICE. This electronic message contains information from Control 
Circle Ltd, which may be privileged or confidential. The information is 
intended for use only by the individual(s) or entity named above. If you are 
not the intended recipient, be aware that any disclosure, copying, distribution 
or use of the contents of this information is strictly prohibited. If you have 
received this electronic message in error, please notify me by telephone or 
email (to the number or email address above) immediately. Activity and use of 
the ControlCircle e-mail system is monitored to secure its effective operation 
and for other lawful business purposes. Communications using this system will 
also be monitored and may be recorded to secure effective operation and for 
other lawful business purposes


Access Denied on Console Proxy

2014-03-14 Thread Len Bellemore
Hi Guys

I get random access denied errors when trying to access the console window to 
some of my instances.  I am seeing the following errors in the cloud.log file 
on the console proxy vm:


2014-03-14 08:19:54,741 DEBUG [cloud.consoleproxy.ConsoleProxyAjaxImageHandler] 
(Thread-11837:null) 
/ajaximg?token=FfKTKoGlyQcbuuhf01iQ4J5YgvnNCMuAvbCMSfXE9X3S5ptynRckLW8_zDR9R_QGXa8EiujaW7GsNk6M0JPkztEKqfz-wmOIu_lbwpA1HrknBDUbFHuUY0gJUYmfS_GQPA-lydFOHTDq8pxbDkb_uQ40uy-Al3P0IBScWzug2mtdEh0mAur6c6M4DLUrbP4Ss5qh1Nowe6Rlput_Qe-RHnxP3sMZnsDFhNFP8a_hGKCq7ba-g8eLYtn5ofb4eIqB4aZ1nfU6BrBex1pgaUxzPJzNWtZxttKM5D-m76wol1ugWe5VLD6en8pHhM7tM_dWZufjicYH0Ioz9jz_mmoXBySAahjkx19pW3lyIq05cuhSTonj8PjglHTbXjL--W5Eb6xNBsAzBkrIvoEN-XiyBmrjl5ypC1vCeDysYSkWCfm-NiSt38a11N0ipekR84cUfUP2mC3FqzwtjmqsM_tskM1dba9VA5XGgNjxVnO8Atokey=125ts=1394785194374Process
 time 3 ms
2014-03-14 08:19:56,881 ERROR [consoleproxy.vnc.VncServerPacketReceiver] 
(Thread-11432:null) Unexpected exception:
java.io.EOFException
at java.io.DataInputStream.readUnsignedByte(DataInputStream.java:290)
at 
com.cloud.consoleproxy.vnc.VncServerPacketReceiver.run(VncServerPacketReceiver.java:61)
at com.cloud.consoleproxy.vnc.VncClient.doConnect(VncClient.java:184)
at com.cloud.consoleproxy.vnc.VncClient.connectTo(VncClient.java:143)
at 
com.cloud.consoleproxy.ConsoleProxyVncClient$1.run(ConsoleProxyVncClient.java:90)
at java.lang.Thread.run(Thread.java:679)
2014-03-14 08:19:56,882 INFO  [consoleproxy.vnc.VncServerPacketReceiver] 
(Thread-11432:null) Receiving thread exit processing, shutdown connection
2014-03-14 08:19:56,994 ERROR [consoleproxy.vnc.VncClientPacketSender] 
(Thread-11434:null) Unexpected exception:
java.net.SocketException: Socket is closed
at sun.security.ssl.SSLSocketImpl.checkEOF(SSLSocketImpl.java:1354)
at sun.security.ssl.SSLSocketImpl.checkWrite(SSLSocketImpl.java:1375)
at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:62)
at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:133)
at java.io.DataOutputStream.writeByte(DataOutputStream.java:153)
at 
com.cloud.consoleproxy.vnc.packet.client.MouseEventPacket.write(MouseEventPacket.java:36)
at 
com.cloud.consoleproxy.vnc.VncClientPacketSender.run(VncClientPacketSender.java:72)
at java.lang.Thread.run(Thread.java:679)
2014-03-14 08:19:56,994 INFO  [consoleproxy.vnc.VncClientPacketSender] 
(Thread-11434:null) Sending thread exit processing, shutdown connection
2014-03-14 08:19:57,008 DEBUG [cloud.consoleproxy.ConsoleProxyAjaxImageHandler] 
(Thread-11841:null) AjaxImageHandler 
/ajaximg?token=FfKTKoGlyQcbuuhf01iQ4J5YgvnNCMuAvbCMSfXE9X3S5ptynRckLW8_zDR9R_QGXa8EiujaW7GsNk6M0JPkztEKqfz-wmOIu_lbwpA1HrknBDUbFHuUY0gJUYmfS_GQPA-lydFOHTDq8pxbDkb_uQ40uy-Al3P0IBScWzug2mtdEh0mAur6c6M4DLUrbP4Ss5qh1Nowe6Rlput_Qe-RHnxP3sMZnsDFhNFP8a_hGKCq7ba-g8eLYtn5ofb4eIqB4aZ1nfU6BrBex1pgaUxzPJzNWtZxttKM5D-m76wol1ugWe5VLD6en8pHhM7tM_dWZufjicYH0Ioz9jz_mmoXBySAahjkx19pW3lyIq05cuhSTonj8PjglHTbXjL--W5Eb6xNBsAzBkrIvoEN-XiyBmrjl5ypC1vCeDysYSkWCfm-NiSt38a11N0ipekR84cUfUP2mC3FqzwtjmqsM_tskM1dba9VA5XGgNjxVnO8Atokey=126ts=1394785196726

Anyone seen this before?

Len


IMPORTANT NOTICE. This electronic message contains information from Control 
Circle Ltd, which may be privileged or confidential. The information is 
intended for use only by the individual(s) or entity named above. If you are 
not the intended recipient, be aware that any disclosure, copying, distribution 
or use of the contents of this information is strictly prohibited. If you have 
received this electronic message in error, please notify me by telephone or 
email (to the number or email address above) immediately. Activity and use of 
the ControlCircle e-mail system is monitored to secure its effective operation 
and for other lawful business purposes. Communications using this system will 
also be monitored and may be recorded to secure effective operation and for 
other lawful business purposes


Netscaler Network Offering

2013-11-06 Thread Len Bellemore
Hi Guys,

Has anyone had any luck applying a Netscaler-based Network Offering to a VPC 
tier?

I've managed to get the Netscaler registered as a Network Service Provider, and 
it's enabled without issue.

Unfortunately when we try to apply the network offering to the VPC tier, we get 
an error as follows:
Service/provider combination Lb/Netscaler is not supported by VPC [VPC 
[14-len-vpc]

I have a feeling that the offering that I created has an incorrect combination 
of services, but I can't tell what it might be. My offering looks like this:

mycloudmonkey listNetworkOfferings name=VPC - Netscaler (External) Load 
Balancing
count = 1
networkoffering:
name = VPC - Netscaler (External) Load Balancing
id = 608c95d2-79b0-4c8d-ac57-75c888713f18
availability = Optional
conservemode = False
displaytext = VPC - External Netscaler Load Balancing: Can be used on a single 
tier only.
egressdefaultpolicy = True
forvpc = True
guestiptype = Isolated
isdefault = False
ispersistent = False
networkrate = 200
service:
name = StaticNat
capability:
name = ElasticIp
canchooseservicecapability = False
value = true

name = AssociatePublicIP
canchooseservicecapability = False
value = false

provider:
name = Netscaler

name = SourceNat
capability:
name = SupportedSourceNatTypes
canchooseservicecapability = False
value = peraccount

name = RedundantRouter
canchooseservicecapability = False
value = false

provider:
name = VpcVirtualRouter

name = Dhcp
provider:
name = VpcVirtualRouter

name = UserData
provider:
name = VpcVirtualRouter

name = Lb
capability:
name = SupportedLBIsolation
canchooseservicecapability = False
value = dedicated

name = ElasticLb
canchooseservicecapability = False
value = false

name = InlineMode
canchooseservicecapability = False
value = false

provider:
name = Netscaler

name = Vpn
provider:
name = VpcVirtualRouter

name = PortForwarding
provider:
name = VpcVirtualRouter

name = NetworkACL
provider:
name = VpcVirtualRouter

name = Dns
provider:
name = VpcVirtualRouter

serviceofferingid = a8f44914-d9cd-4f71-9b26-e93c4913c3b2
specifyipranges = False
specifyvlan = False
state = Enabled
tags = cloud-guest
traffictype = Guest


Any help would be appreciated.



IMPORTANT NOTICE. This electronic message contains information from Control 
Circle Ltd, which may be privileged or confidential. The information is 
intended for use only by the individual(s) or entity named above. If you are 
not the intended recipient, be aware that any disclosure, copying, distribution 
or use of the contents of this information is strictly prohibited. If you have 
received this electronic message in error, please notify me by telephone or 
email (to the number or email address above) immediately. Activity and use of 
the ControlCircle e-mail system is monitored to secure its effective operation 
and for other lawful business purposes. Communications using this system will 
also be monitored and may be recorded to secure effective operation and for 
other lawful business purposes


RE: CS 4.2 VM snapshot is not enabled for hypervisor type: KVM

2013-11-06 Thread Len Bellemore
I stumbled upon this feature yesterday on my XenServer cluster - I too thought 
that it would only work on VMWare.
I'm using XenServer 6.1 and can verify that the vm snapshot works.  I'm not 
running the Enterprise edition, so memory snapshots fail with a licensing error.

With this feature enabled, what I would love to see is the old style snapshots 
renamed to backups because they aren't really snapshots in the modern 
vmware/XenServer sense.  You can't really roll back to them, and a snapshot 
indicates quick point in time image of the vm, something that the old style 
snapshots do not do.

Well done for getting true snapshots sorted out.  This is a feature my users 
are very happy about.

Len



-Original Message-
From: Geoff Higginbottom [mailto:geoff.higginbot...@shapeblue.com]
Sent: 06 November 2013 09:16
To: users@cloudstack.apache.org
Subject: RE: CS 4.2 VM snapshot is not enabled for hypervisor type: KVM

Ryan is correct, XenServer does support VM Snapshots when using CloudStack 4.2. 
 Like Ryan I have been using it with XenServer 6.2 but I cannot see why it 
would not work with earlier versions of XenServer as long as they are licensed 
Enterprise versions (6.2 is now opensource)

https://cwiki.apache.org/confluence/display/CLOUDSTACK/VM+Snapshots does state 
that XenServer supports 'Memory-Disk' snapshots, but this was written prior to 
the release of OpenSource Citrix XenServer 6.2 which includes features 
previously only available in the Enterprise version.

FYI

Regards

Geoff Higginbottom

D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

geoff.higginbot...@shapeblue.com

-Original Message-
From: ryanlei750...@gmail.com [mailto:ryanlei750...@gmail.com] On Behalf Of 
Ryan Lei
Sent: 06 November 2013 05:12
To: users@cloudstack.apache.org
Subject: Re: CS 4.2 VM snapshot is not enabled for hypervisor type: KVM

https://cwiki.apache.org/confluence/display/CLOUDSTACK/VM+Snapshots

From my experience, though, VM snapshot also supports XenServer (mine is 6.2).
It also facilitates XenServer's native snapshot capibility, and works 
flawlessly.
I have no idea why the release notes and admin guide ONLY mention VMware, as 
opposed to the wiki. :(


---
Yu-Heng (Ryan) Lei, Associate Researcher Chunghwa Telecom Laboratories / Cloud 
Computing Laboratory 
ryan...@cht.com.twhttps://email.cht.com.tw/owa/redir.aspx?C=-wE1FEC3G0SWYpVkiWo8SsDdf3ZqO9AIuAPTzRnFYCUi-z4YljtI_hyVKkNHfn9F1Bn-vUWJnQ4.URL=mailto%3aryanlei%40cht.com.tw
 or ryanlei750...@gmail.com



On Wed, Nov 6, 2013 at 1:02 PM, Sanjeev Neelarapu  
sanjeev.neelar...@citrix.com wrote:

 Hi,

 Instance Snapshot is only supported on VMWare. It uses VMWare native
 snapshot facility.
 Please refer
 http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/A
 dmin_Guide/vm-snapshots.html

 Thanks,
 Sanjeev

 -Original Message-
 From: motty cruz [mailto:motty.c...@gmail.com]
 Sent: Tuesday, November 05, 2013 9:56 PM
 To: users@cloudstack.apache.org
 Subject: Re: CS 4.2 VM snapshot is not enabled for hypervisor type:
 KVM

 Hi Sebastien,

 I was not able to solve the snapshot issue, I can take a snapshot of a
 disk but not of the instance,  I still get the VM snapshot is not
 enabled for hypervisor type: KVM

 I enabled KVM snapshot in Global Settings, someone suggested to turn
 off the instance, which I did but no success,

 Thanks,



 On Mon, Nov 4, 2013 at 11:42 PM, Sebastien Goasguen run...@gmail.com
 wrote:

 
  On Oct 31, 2013, at 6:40 PM, motty cruz motty.c...@gmail.com wrote:
 
   2013-10-31 13:03:50,030 DEBUG [agent.manager.AgentAttache]
   (AgentManager-Handler-9:null) Seq 5-1100677197: No more commands
   found
   2013-10-31 13:03:50,056 DEBUG
   [storage.snapshot.SnapshotManagerImpl]
   (Job-Executor-3:job-128 = [ 4f046198-2bf6-4fac-9a80-9debb05ee76b
   ])
  Failed
   to create snapshot
   com.cloud.utils.exception.CloudRuntimeException:   clvmd not running on
   node kvm2.fqdn.comDisk
  /dev/hitachi-2/ff599482-7bcf-41e6-9ca4-738f4fb94bc9
   has no snapshot called 71bb6af455688c8d1de850551fad31c3.
  at
  
  org.apache.cloudstack.storage.snapshot.SnapshotServiceImpl.backupSna
  ps
  hot(Sn
  
 
  Motty, did you get that solved ?
  It seemed to be a CLVM error. Marcuse Sorensen is the expert in CLVM
  :)
 
  -sebastien
 
  
   On Thu, Oct 31, 2013 at 1:01 PM, Sebastien Goasguen
  run...@gmail.com
  wrote:
  
   Anything in the management server logs ?
  
   On Oct 31, 2013, at 3:53 PM, motty cruz motty.c...@gmail.com wrote:
  
   yes I did restart the management server, twice. but not
   successful,
  
  
   On Thu, Oct 31, 2013 at 12:47 PM, Sebastien Goasguen
   run...@gmail.com
   wrote:
  
  
   On Oct 31, 2013, at 3:32 PM, motty cruz motty.c...@gmail.com
 wrote:
  
   Hello,
   I'm having issues with snapshot, when trying to take a
   snapshot I get
   the
   following error: VM snapshot is not enabled 

copying template to new zone

2013-10-31 Thread Len Bellemore
Hi Guys,

I'm running Cloudstack 4.2 on XenServer 6.1.

I have recently created a new zone.  I'm having an issue with the system vms 
being created and I wanted some clarification on how exactly the system vm 
template gets sent across to my new zone.  It looks like CS is realising that 
the template is already in my first zone, so rather than downloading it again, 
it is trying to copy it across to the new zone.

The problem I have with that is that I am using a specific storage network that 
is not directly mountable from my Management Servers.  When I initially set up 
my first zone, I had to temporarily give my management server a second NIC on 
my storage network in order for the system vm to be downloaded and then moved 
to my secondary storage.

However, in my new zone, the networking is set up in such a way that although I 
can temporarily connect my management server to the storage network in the new 
zone, I am unable to connect it to the storage network in my original zone.

So, am I right in thinking that the management server in my new zone is trying 
to mount secondary storage in my original zone to copy the system vm template 
across?  If so, is there a way around this?  Can I get it to download direct 
from the internet again?

Thanks
Len


IMPORTANT NOTICE. This electronic message contains information from Control 
Circle Ltd, which may be privileged or confidential. The information is 
intended for use only by the individual(s) or entity named above. If you are 
not the intended recipient, be aware that any disclosure, copying, distribution 
or use of the contents of this information is strictly prohibited. If you have 
received this electronic message in error, please notify me by telephone or 
email (to the number or email address above) immediately. Activity and use of 
the ControlCircle e-mail system is monitored to secure its effective operation 
and for other lawful business purposes. Communications using this system will 
also be monitored and may be recorded to secure effective operation and for 
other lawful business purposes


Bug and Solution when upgrading to 4.2

2013-10-29 Thread Len Bellemore
Hi All,

I recently upgraded Cloudplatform 3.07 to Cloudplatform 4.2 - yes I know this 
is the opensource mailing list, but it probably applies to Cloudstack as well - 
and I ran into this bug which caused my upgrade to fail:

After upgrading, when I tried to restart the system vms, they would not start 
and I got loads of SQL errors in my management server logs such as:


used by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an 
error in your SQL syntax; check the manual that corresponds to your MySQL 
server version for the right syntax to use near '((total_capacity * 
cluster.value ) - used_capacity + reserved_capacity) = 500 A' at line 1



After a while (with help from Citrix) we found this solution:



There is a bug in 4.2 release where CloudPlatform fails to start the system 
VM's when the global configuration parameter apply.allocation.algorithm.to.pods 
is set to true.



To resolve the issue set the global configuration parameter 
apply.allocation.algorithm.to.pods to false and then restart the management 
servers.



See this JIRA page for more details:

https://issues.apache.org/jira/browse/CLOUDSTACK-4947



Hopefully this helps someone!

Thanks
Len


IMPORTANT NOTICE. This electronic message contains information from Control 
Circle Ltd, which may be privileged or confidential. The information is 
intended for use only by the individual(s) or entity named above. If you are 
not the intended recipient, be aware that any disclosure, copying, distribution 
or use of the contents of this information is strictly prohibited. If you have 
received this electronic message in error, please notify me by telephone or 
email (to the number or email address above) immediately. Activity and use of 
the ControlCircle e-mail system is monitored to secure its effective operation 
and for other lawful business purposes. Communications using this system will 
also be monitored and may be recorded to secure effective operation and for 
other lawful business purposes


question about snapshots and Windows Volume Shadow Copy

2013-10-07 Thread Len Bellemore
Hi Guys,

I've been asked if Cloudstack snapshots integrate in any way with Windows 
Volume Shadow Copy.  I guess the question is really about what type of backup 
does cloudstack actually provide. Is it only crash consistent?  I know with 4.2 
we have VMWare snapshot support, which is a really great feature addition, but 
with XenServer, what are my options?

Thanks
Len


IMPORTANT NOTICE. This electronic message contains information from Control 
Circle Ltd, which may be privileged or confidential. The information is 
intended for use only by the individual(s) or entity named above. If you are 
not the intended recipient, be aware that any disclosure, copying, distribution 
or use of the contents of this information is strictly prohibited. If you have 
received this electronic message in error, please notify me by telephone or 
email (to the number or email address above) immediately. Activity and use of 
the ControlCircle e-mail system is monitored to secure its effective operation 
and for other lawful business purposes. Communications using this system will 
also be monitored and may be recorded to secure effective operation and for 
other lawful business purposes


cannot delete primary storage

2013-10-02 Thread Len Bellemore
Hi Guys,

I've got an iSCSI-based Primary Storage pool that I am unable to delete.  I'm 
running XenServer 6.1 and have created the storage pool via the PreSetup option 
in CS.

I've had other pools set up exactly the same way and they have removed without 
problems.

When I try to delete the pool (via the GUI or the API) the state of the storage 
pool goes to Removed and throws an error:

errorcode530/errorcodecserrorcode/cserrorcodeerrortextFailed to 
finish storage pool removal. The storage pool will not be used but cleanup is 
needed/errortext/deletestoragepoolresponse

Anyone seen this before?

thanks

Len



IMPORTANT NOTICE. This electronic message contains information from Control 
Circle Ltd, which may be privileged or confidential. The information is 
intended for use only by the individual(s) or entity named above. If you are 
not the intended recipient, be aware that any disclosure, copying, distribution 
or use of the contents of this information is strictly prohibited. If you have 
received this electronic message in error, please notify me by telephone or 
email (to the number or email address above) immediately. Activity and use of 
the ControlCircle e-mail system is monitored to secure its effective operation 
and for other lawful business purposes. Communications using this system will 
also be monitored and may be recorded to secure effective operation and for 
other lawful business purposes


RE: cloud-management Service not running

2013-08-12 Thread Len Bellemore
Hi Chitra,

Depends what version you are using, but it was a bug in one of the releases - 
if you do any upgrades, you might need to change the permissions on one of the 
log files:

Try this and see what happens:

chmod 777 /usr/share/cloud/management/logs/catalina.out

Len

-Original Message-
From: Chitra Manjunath [mailto:chitra_manjun...@infosys.com]
Sent: 12 August 2013 12:06
To: users@cloudstack.apache.org
Subject: cloud-management Service not running

Hi All,

I changed the default system offerings for System VM's. I followed the guide 
http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.1/html/Admin_Guide/sys-offering-sysvm.html
After restarting the cloud-management service .
Getting below error
cloud-management dead but pid file exists The pid file locates at 
/var/run/cloud-management.pid and lock file at 
/var/lock/subsys/cloud-management.
Starting cloud-management will take care of them or you can manually 
clean up.

I followed the below steps:

1.  rm /var/run/cloud-management.pid

2.  rm / var/lock/subsys/cloud-management.

3.  Service cloud-management restart
But no help, it's not working. If anyone faced this error. Suggest the solution.


Thanks
Chitra.M

 CAUTION - Disclaimer * This e-mail contains 
PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the 
addressee(s). If you are not the intended recipient, please notify the sender 
by e-mail and delete the original message. Further, you are not to copy, 
disclose, or distribute this e-mail or its contents to any other person and any 
such actions are unlawful. This e-mail may contain viruses. Infosys has taken 
every reasonable precaution to minimize this risk, but is not liable for any 
damage you may sustain as a result of any virus in this e-mail. You should 
carry out your own virus checks before opening the e-mail or attachment. 
Infosys reserves the right to monitor and review the content of all messages 
sent to or from this e-mail address. Messages sent to or from this e-mail 
address may be stored on the Infosys e-mail system.
***INFOSYS End of Disclaimer INFOSYS***


IMPORTANT NOTICE. This electronic message contains information from Control 
Circle Ltd, which may be privileged or confidential. The information is 
intended for use only by the individual(s) or entity named above. If you are 
not the intended recipient, be aware that any disclosure, copying, distribution 
or use of the contents of this information is strictly prohibited. If you have 
received this electronic message in error, please notify me by telephone or 
email (to the number or email address above) immediately. Activity and use of 
the ControlCircle e-mail system is monitored to secure its effective operation 
and for other lawful business purposes. Communications using this system will 
also be monitored and may be recorded to secure effective operation and for 
other lawful business purposes


RE: storage overprovisioning

2013-07-24 Thread Len Bellemore
Hi Geoff,

That's a really great explanation. Thanks.

One option then is to still use thin provisioning on  the storage array, but 
not put in any kind of overprovisioning factor in Cloudstack.  We could then 
give ourselves a fairly large volume on the array, and defer the monitoring of 
real used space to storage monitoring tools.  This would take away the 
confusion around how storage is displayed in the Cloudstack UI, as it would be 
displaying actual space available, and it would take away any guess work 
around by which factor I should be overprovisioning in Cloudstack.

I would still see the benefits of thin provisioning to my array as a whole, but 
what is actually available to my Cloudstack users would be a lot more clearly 
defined.   I would not have CS administrators looking at the display in the UI 
and thinking, well it says I've got 200GB available, but how much have I 
really got

Len



-Original Message-
From: Geoff Higginbottom [mailto:geoff.higginbot...@shapeblue.com]
Sent: 24 July 2013 09:23
To: users@cloudstack.apache.org
Subject: RE: storage overprovisioning

Hi Len,

Some Background:

There are two Storage 'measures', the actual storage 'used', and the storage 
'allocated'.

As an example let's assume you are using NFS, have 100GB of Primary Storage, 
and have set storage.overprovisioning.factor to 4

Because of the Over Provisioning Factor, your system will report that you have 
0GB / 400GB of Primary Storage 'Allocated' and 0GB /100GB 'used'

If you now deploy 5 VMs, based on a Template with a 10GB ROOT disk, your 
'allocated' storage would now be reporting as 50GB / 400GB of Primary Storage 
Allocated or 12.5%

However, due to the wonders of Thin Provisioning, the ROOT disks for each of 
the VMs are only currently using 2GB of actual storage, so your 'used' Storage 
will be reported as 10GB / 100GB or 10 %

Now as the VMs get used, data gets added, updates installed etc, the thin 
provisioned disks will grow, and may now be consuming 6GB of disk space each, 
and so the 'used' Storage will now be reported as 30GB / 100GB or 35% but the 
'allocated' will still be 12.5%

As a Service Provider, the 'Allocated' setting is what you bill your clients 
for, as they have effectively reserved this amount of space, but you need to 
monitor the 'allocated' to make sure it does get too close to your limits.  But 
from an IT management perspective it's the 'used' Storage amount, which is the 
real data on disk value which may be more important as this will tell you when 
you disks are about to fill up.

The two Global Settings you originally asked about

pool.storage.allocated.capacity.disablethreshold
pool.storage.capacity.disablethreshold

They simply prevent any more Volumes from being allocated to the Primary 
Storage when the disable threshold is exceeded, and is measured as a 
percentage, with 85% expressed as 0.85

They allow you to decide which counter will disable the allocation of new 
Volumes, 'Allocated' or 'Used'

Regards

Geoff Higginbottom

D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

geoff.higginbot...@shapeblue.com

-Original Message-
From: Len Bellemore [mailto:len.bellem...@controlcircle.com]
Sent: 23 July 2013 18:06
To: users@cloudstack.apache.org
Subject: storage overprovisioning

Hi Guys,

Was wondering if someone could explain to me the difference between the 
following Global Settings:

pool.storage.allocated.capacity.disablethreshold
pool.storage.capacity.disablethreshold

Many thanks!
Len


IMPORTANT NOTICE. This electronic message contains information from Control 
Circle Ltd, which may be privileged or confidential. The information is 
intended for use only by the individual(s) or entity named above. If you are 
not the intended recipient, be aware that any disclosure, copying, distribution 
or use of the contents of this information is strictly prohibited. If you have 
received this electronic message in error, please notify me by telephone or 
email (to the number or email address above) immediately. Activity and use of 
the ControlCircle e-mail system is monitored to secure its effective operation 
and for other lawful business purposes. Communications using this system will 
also be monitored and may be recorded to secure effective operation and for 
other lawful business purposes 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 
operated under license from

MuleSoft

2013-07-23 Thread Len Bellemore
Hi Guys,

Anyone tried integrating Cloudstack with MuleSoft?

Cheers
Len



















IMPORTANT NOTICE. This electronic message contains information from Control 
Circle Ltd, which may be privileged or confidential. The information is 
intended for use only by the individual(s) or entity named above. If you are 
not the intended recipient, be aware that any disclosure, copying, distribution 
or use of the contents of this information is strictly prohibited. If you have 
received this electronic message in error, please notify me by telephone or 
email (to the number or email address above) immediately. Activity and use of 
the ControlCircle e-mail system is monitored to secure its effective operation 
and for other lawful business purposes. Communications using this system will 
also be monitored and may be recorded to secure effective operation and for 
other lawful business purposes


storage overprovisioning

2013-07-23 Thread Len Bellemore
Hi Guys,

Was wondering if someone could explain to me the difference between the 
following Global Settings:

pool.storage.allocated.capacity.disablethreshold
pool.storage.capacity.disablethreshold

Many thanks!
Len


IMPORTANT NOTICE. This electronic message contains information from Control 
Circle Ltd, which may be privileged or confidential. The information is 
intended for use only by the individual(s) or entity named above. If you are 
not the intended recipient, be aware that any disclosure, copying, distribution 
or use of the contents of this information is strictly prohibited. If you have 
received this electronic message in error, please notify me by telephone or 
email (to the number or email address above) immediately. Activity and use of 
the ControlCircle e-mail system is monitored to secure its effective operation 
and for other lawful business purposes. Communications using this system will 
also be monitored and may be recorded to secure effective operation and for 
other lawful business purposes


Virtual Router Firewall Logs

2013-07-05 Thread Len Bellemore
Hi Guys,

Does anyone know where the virtual router logs firewall access requests?  I 
guess it would be an iptables log of some sort.

I don't see much in /var/log/messages other than rules being applied.

Many Thanks

Len


IMPORTANT NOTICE. This electronic message contains information from Control 
Circle Ltd, which may be privileged or confidential. The information is 
intended for use only by the individual(s) or entity named above. If you are 
not the intended recipient, be aware that any disclosure, copying, distribution 
or use of the contents of this information is strictly prohibited. If you have 
received this electronic message in error, please notify me by telephone or 
email (to the number or email address above) immediately. Activity and use of 
the ControlCircle e-mail system is monitored to secure its effective operation 
and for other lawful business purposes. Communications using this system will 
also be monitored and may be recorded to secure effective operation and for 
other lawful business purposes


RE: Multiple Storage Interfaces

2013-07-02 Thread Len Bellemore
Hi Geoff,

Thanks for this.

So does that mean I could only have multiple Primary Storage networks and not 
multiple Secondary Storage networks?  The Physical Network 'storage' maps to a 
Xenserver network of the same name - My thinking is that if I create a second 
secondary storage volume on a different vlan, I would have to then add in a 
Cloudstack Management CIDR on the new network, and then in XenServer, ensure 
that both of the storage networks have the same name.

So, on Xenserver I have:
Cloud-storage network on Bond0+1 with IP address 192.168.10.1
Cloud-storage network on Bond2+3 with IP address 172.27.100.1

In Cloudstack I would have a single Physical Network called Cloud-storage
With the IP Range:
192.168.10.10-192.168.10.20
172.27.100.10-172.27.100.20

And then based on the IP ranges above, my SSVM would be able to talk to both 
secondary storage devices in both networks.




I also thought that you could not vlan tag a storage network in XenServer, but 
the Administration Guide for XenServer 6.1 seems to say otherwise:

4.3.3.3. Using VLANs with Dedicated Storage NICs
Dedicated storage NICs (also known as IP-enabled NICs or simply management 
interfaces) can be configured to
use native VLAN / access mode ports as described above for management 
interfaces, or with trunk ports and
XenServer VLANs as described above for virtual machines. To configure dedicated 
storage NICs, see
Section 4.4.7, Configuring a Dedicated Storage NIC

http://support.citrix.com/servlet/KbServlet/download/32307-102-691300/reference.pdf

I'll give it a go anyway, and see what happens.

Len



-Original Message-
From: Geoff Higginbottom [mailto:geoff.higginbot...@shapeblue.com]
Sent: 02 July 2013 14:57
To: users@cloudstack.apache.org
Subject: RE: Multiple Storage Interfaces

Hi Len,

What you are trying to do is perfectly possible, however confusingly it has 
nothing to do with the CloudStack Physical Network 'storage'.  The CloudStack 
Storage Network is only used when accessing Secondary Storage, and is something 
which causes lots of confusion.  (re-writing the official docs in relation to 
this is on my very long list of things to do)

All you need to do is create two networks mapped to two different Bonds on your 
XenServer (assuming you want to use Bonding) then add a two new IPs, mapped to 
these networks.  As XenServer cannot VLAN TAG the traffic for Storage or 
Management Networks, you will need to set the Switch Ports to Access Ports and 
let your switch add the appropriate VLAN Tags.  This also highlights the need 
for dedicated NICs, one for each Storage Network, which is advisable in order 
to get optimum performance.  If you are using Jumbo Frames, remember to set the 
MTU on the Bond, before mapping an IP to the Network.

As longs as these CIDRs are unique, and do not overlap your CloudStack 
Management CIDR, when you add Primary Storage via CloudStack, your XenServers 
will simply use the appropriate Bond when they communicate with the Storage.  
Traffic routing is handled automatically by the XenServers based on the 
destination IPs.

Regards

Geoff Higginbottom

D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

geoff.higginbot...@shapeblue.com


-Original Message-
From: Len Bellemore [mailto:len.bellem...@controlcircle.com]
Sent: 02 July 2013 14:02
To: users@cloudstack.apache.org
Subject: Multiple Storage Interfaces

Hi Guys,

Here's my scenario:

I am using XenServer as my hypervisor and I have two separate storage networks 
set up (in Xenserver) One network set up on vlan 100, one network set up on 
vlan 200 Each network goes to a separate storage device

Is it possible, when I create my Zone (advanced) to have multiple Physical 
Storage Networks?

Through the gui it doesn't seem to let me add multiple storage networks, but 
maybe through the API?

Thanks
Len




IMPORTANT NOTICE. This electronic message contains information from Control 
Circle Ltd, which may be privileged or confidential. The information is 
intended for use only by the individual(s) or entity named above. If you are 
not the intended recipient, be aware that any disclosure, copying, distribution 
or use of the contents of this information is strictly prohibited. If you have 
received this electronic message in error, please notify me by telephone or 
email (to the number or email address above) immediately. Activity and use of 
the ControlCircle e-mail system is monitored to secure its effective operation 
and for other lawful business purposes. Communications using this system will 
also be monitored and may be recorded to secure effective operation and for 
other lawful business purposes 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

load balancing in a VPC

2013-06-17 Thread Len Bellemore
Hi Guys,

I'm having trouble getting Load Balancing working on a  VPC.  I've created a 
network offering with the following services enabled:

Vpn, UserData, StaticNat, NetworkACL, Dns, Dhcp, Lb, SourceNat, PortForwarding

I then created a vpc, 2 tiers, instances, etc.  I can create Port Forwarding 
rules, and I get the option to create Load Balancing rules, but in the tier 
dropdown it's empty.  Any idea why this would be?

Thanks
Len



RE: load balancing in a VPC

2013-06-17 Thread Len Bellemore
Got it...

I didn't realize that when I created the tiers, they are auto-assigned a 
network offering. The offering that they were assigned was not one that had the 
LB service enabled.

Thanks anyway!

Len

-Original Message-
From: Len Bellemore [mailto:len.bellem...@controlcircle.com] 
Sent: 17 June 2013 14:43
To: users@cloudstack.apache.org
Subject: load balancing in a VPC

Hi Guys,

I'm having trouble getting Load Balancing working on a  VPC.  I've created a 
network offering with the following services enabled:

Vpn, UserData, StaticNat, NetworkACL, Dns, Dhcp, Lb, SourceNat, PortForwarding

I then created a vpc, 2 tiers, instances, etc.  I can create Port Forwarding 
rules, and I get the option to create Load Balancing rules, but in the tier 
dropdown it's empty.  Any idea why this would be?

Thanks
Len



RE: Port Forwarding and Source NAT

2013-06-13 Thread Len Bellemore
That's it!  thanks

-Original Message-
From: Sanjeev Neelarapu [mailto:sanjeev.neelar...@citrix.com] 
Sent: 13 June 2013 11:55
To: users@cloudstack.apache.org
Subject: RE: Port Forwarding and Source NAT

Hi Len,

While creating network offering we have an option to enable/disable conserver 
mode.
If conserver mode is on we can use the source NAT ip address for port 
forwarding.

Thanks,
Sanjeev

-Original Message-
From: Len Bellemore [mailto:len.bellem...@controlcircle.com] 
Sent: Thursday, June 13, 2013 4:16 PM
To: users@cloudstack.apache.org
Subject: Port Forwarding and Source NAT

Hi Guys,

I have configured an Advanced Zone without Security Groups.

I've set up a network offering with a virtual router with the following 
services:
UserData, PortForwarding, Vpn, Dhcp, Dns, Firewall, SourceNat, Lb, StaticNat

When I create a network, I get a public IP address with (source NAT) appended 
to the IP Address and I am only able to create Firewall rules.  I can't set up 
port forwarding.

If I want to configure port forwarding so that I can serve web pages from my 
vms, I need to allocated more public IP addresses.

Is there a way to set up port forwarding on a source-nat IP address?

Am I going about this the wrong way?

Thanks
Len


Password Reset Utility on Windows

2013-06-13 Thread Len Bellemore
Hi Guys,

Anyone used the password reset utility on a Windows server?

It works great if I don't sysprep my servers.  The problem is Windows forces 
you to reset the Administrator password after sysprep runs and I think this 
clashes with the password reset script.

I reset my password at the prompt after my instance boots up, and then the next 
time the server reboots, the password reset utility kicks in and resets the 
password back to the one that is displayed after my instance is created.

Anyone seen this?

Thanks
Len


RE: unable to add nfs primary storage with xenserver hosts

2013-06-03 Thread Len Bellemore
That's exactly right, Geoff. We've got ESX servers set up this way and it cause 
us a lot of headache. On the Netapp the vms are using almost no space because 
they are thin provisioned, but in Cloudstack, my volumes are showing as 
practically full. This means that we have to massively overprovision storage 
just so Cloudstack can tell itself that there's adequate space on the storage 
array.

Len

-Original Message-
From: Geoff Higginbottom [mailto:geoff.higginbot...@shapeblue.com] 
Sent: 31 May 2013 17:25
To: users@cloudstack.apache.org
Subject: RE: unable to add nfs primary storage with xenserver hosts

The Netapp will indeed thin provision, but CloudStack will be assume there is 
not thin provisioning taking place so will report all 'allocated' space as 
'used'

Regards

Geoff Higginbottom

D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

geoff.higginbot...@shapeblue.com

-Original Message-
From: Todd Pigram [mailto:t...@toddpigram.com]
Sent: 31 May 2013 17:22
To: users@cloudstack.apache.org
Subject: Re: unable to add nfs primary storage with xenserver hosts

When I setup the exports on my Netapp, they were set to thin provisioned prior 
to adding to XS. Just like if this was a regular implementation without 
CCP/ACS. Just letting my NetApp Edge T appliances handle the Thin provisioning 
and snap mirror.  Interesting though, I will look into it, but it seems to be 
working correctly. Thanks


On May 31, 2013, at 12:08 PM, Geoff Higginbottom 
geoff.higginbot...@shapeblue.com wrote:

 The problem with this approach is that it does not support thin provisioning 
 so you cannot use the storage-overprovisioning settings meaning you will not 
 use your storage efficiently.

 Regards

 Geoff Higginbottom

 D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

 geoff.higginbot...@shapeblue.com


 -Original Message-
 From: Len Bellemore [mailto:len.bellem...@controlcircle.com]
 Sent: 31 May 2013 16:46
 To: users@cloudstack.apache.org
 Subject: RE: unable to add nfs primary storage with xenserver hosts

 Nice one. I'll give that a go

 Thanks a bunch for your help

 -Original Message-
 From: Todd Pigram [mailto:t...@toddpigram.com]
 Sent: 31 May 2013 16:40
 To: users@cloudstack.apache.org
 Subject: Re: unable to add nfs primary storage with xenserver hosts

 Yes. Works with basic or advanced zones. Setup the storage via XenCenter as a 
 NFS VHD. Also works with ISCI. I have done it both ways.




 On Fri, May 31, 2013 at 11:36 AM, Len Bellemore  
 len.bellem...@controlcircle.com wrote:

 Interesting.  Is that even for NFS?

 -Original Message-
 From: Todd Pigram [mailto:t...@toddpigram.com]
 Sent: 31 May 2013 16:31
 To: users@cloudstack.apache.org
 Subject: Re: unable to add nfs primary storage with xenserver hosts

 Len,

 I have found that it is better to presetup the primary storage on
 XS6.1 then while adding in the via CCP UI, select PreSteup and 
 provide the storage tag. Works like a champ. This how i have my Prod 
 and test environments going to NetApp and Dev environments going to a 
 Whiptail.


 On May 31, 2013, at 10:11 AM, Len Bellemore 
 len.bellem...@controlcircle.com wrote:

 Fair enough.  I might have an answer anyway, which I will post when 
 I
 confirm whether it worked or not.

 Thanks guys

 -Original Message-
 From: Chip Childers [mailto:chip.child...@sungard.com]
 Sent: 31 May 2013 14:36
 To: users@cloudstack.apache.org
 Subject: Re: unable to add nfs primary storage with xenserver hosts

 On Fri, May 31, 2013 at 12:35:59PM +, Len Bellemore wrote:
 Actually I'm using CloudPlatform 3.06, so according to the docs 
 that
 I've seen, it should work...

 It's best to ask Citrix support then.  This is the user list for the
 Apache CloudStack project.  CCP is a distro of this project, but we 
 aren't all aware of the bits that go into it.



 -Original Message-
 From: Kirk Jantzer [mailto:kirk.jant...@gmail.com]
 Sent: 31 May 2013 13:29
 To: Cloudstack users mailing list
 Subject: Re: unable to add nfs primary storage with xenserver hosts

 XS 6.1 doesn't work with the current releases (4.0.x); you'll have 
 to
 use XS 6.0.1.


 On Fri, May 31, 2013 at 8:11 AM, Len Bellemore 
 len.bellem...@controlcircle.com wrote:

 Hi Guys,

 I've got two XenServer 6.1 hosts and I am trying to add some 
 Primary Storage to them.

 When I add the Primary Storage via the cloudstack interface, the 
 SR is created in my XenPool, but the process bombs out in 
 Cloudstack with the following error:

 Add host failed due to ModifyStoragePoolCommand 
 failedModifyStoragePoolCommand add XenAPIException:Unable to setup 
 heartbeat file entry on SR a9795bae-81bf-9e0c-e657-4d432fd7518d
 due to #6# heartbeat file
 /var/run/sr-mount/a9795bae-81bf-9e0c-e657-4d432fd7518d/hb-43190217
 -d
 65
 d-48ea-a17a-06cd48a357a6 doesn't exist
 host:43190217-d65d-48ea-a17a-06cd48a357a6 pool:
 192.168.0.1/vol/nfs_volume

 The SR is still available on my XenPool

unable to add nfs primary storage with xenserver hosts

2013-05-31 Thread Len Bellemore
Hi Guys,

I've got two XenServer 6.1 hosts and I am trying to add some Primary Storage to 
them.

When I add the Primary Storage via the cloudstack interface, the SR is created 
in my XenPool, but the process bombs out in Cloudstack with the following error:

Add host failed due to ModifyStoragePoolCommand failedModifyStoragePoolCommand 
add XenAPIException:Unable to setup heartbeat file entry on SR 
a9795bae-81bf-9e0c-e657-4d432fd7518d due to #6# heartbeat file 
/var/run/sr-mount/a9795bae-81bf-9e0c-e657-4d432fd7518d/hb-43190217-d65d-48ea-a17a-06cd48a357a6
 doesn't exist host:43190217-d65d-48ea-a17a-06cd48a357a6 pool: 
192.168.0.1/vol/nfs_volume

The SR is still available on my XenPool and it looks like it's set up properly, 
just not visible in Cloudstack.,

Any ideas?

Thanks
Len


RE: unable to add nfs primary storage with xenserver hosts

2013-05-31 Thread Len Bellemore
Interesting.  Is that even for NFS?

-Original Message-
From: Todd Pigram [mailto:t...@toddpigram.com] 
Sent: 31 May 2013 16:31
To: users@cloudstack.apache.org
Subject: Re: unable to add nfs primary storage with xenserver hosts

Len,

I have found that it is better to presetup the primary storage on XS6.1 then 
while adding in the via CCP UI, select PreSteup and provide the storage tag. 
Works like a champ. This how i have my Prod and test environments going to 
NetApp and Dev environments going to a Whiptail. 


On May 31, 2013, at 10:11 AM, Len Bellemore len.bellem...@controlcircle.com 
wrote:

 Fair enough.  I might have an answer anyway, which I will post when I confirm 
 whether it worked or not.
 
 Thanks guys
 
 -Original Message-
 From: Chip Childers [mailto:chip.child...@sungard.com]
 Sent: 31 May 2013 14:36
 To: users@cloudstack.apache.org
 Subject: Re: unable to add nfs primary storage with xenserver hosts
 
 On Fri, May 31, 2013 at 12:35:59PM +, Len Bellemore wrote:
 Actually I'm using CloudPlatform 3.06, so according to the docs that I've 
 seen, it should work...
 
 It's best to ask Citrix support then.  This is the user list for the Apache 
 CloudStack project.  CCP is a distro of this project, but we aren't all aware 
 of the bits that go into it.
 
 
 
 -Original Message-
 From: Kirk Jantzer [mailto:kirk.jant...@gmail.com]
 Sent: 31 May 2013 13:29
 To: Cloudstack users mailing list
 Subject: Re: unable to add nfs primary storage with xenserver hosts
 
 XS 6.1 doesn't work with the current releases (4.0.x); you'll have to use XS 
 6.0.1.
 
 
 On Fri, May 31, 2013 at 8:11 AM, Len Bellemore  
 len.bellem...@controlcircle.com wrote:
 
 Hi Guys,
 
 I've got two XenServer 6.1 hosts and I am trying to add some Primary 
 Storage to them.
 
 When I add the Primary Storage via the cloudstack interface, the SR 
 is created in my XenPool, but the process bombs out in Cloudstack 
 with the following error:
 
 Add host failed due to ModifyStoragePoolCommand 
 failedModifyStoragePoolCommand add XenAPIException:Unable to setup 
 heartbeat file entry on SR a9795bae-81bf-9e0c-e657-4d432fd7518d due 
 to #6# heartbeat file 
 /var/run/sr-mount/a9795bae-81bf-9e0c-e657-4d432fd7518d/hb-43190217-d
 65
 d-48ea-a17a-06cd48a357a6 doesn't exist
 host:43190217-d65d-48ea-a17a-06cd48a357a6 pool:
 192.168.0.1/vol/nfs_volume
 
 The SR is still available on my XenPool and it looks like it's set 
 up properly, just not visible in Cloudstack.,
 
 Any ideas?
 
 Thanks
 Len
 
 
 
 
 --
 Regards,
 
 Kirk Jantzer
 c: (678) 561-5475
 http://about.met/kirkjantzer
 





Todd Pigram
t...@toddpigram.com




RE: unable to add nfs primary storage with xenserver hosts

2013-05-31 Thread Len Bellemore
Nice one. I'll give that a go

Thanks a bunch for your help

-Original Message-
From: Todd Pigram [mailto:t...@toddpigram.com] 
Sent: 31 May 2013 16:40
To: users@cloudstack.apache.org
Subject: Re: unable to add nfs primary storage with xenserver hosts

Yes. Works with basic or advanced zones. Setup the storage via XenCenter as a 
NFS VHD. Also works with ISCI. I have done it both ways.




On Fri, May 31, 2013 at 11:36 AM, Len Bellemore  
len.bellem...@controlcircle.com wrote:

 Interesting.  Is that even for NFS?

 -Original Message-
 From: Todd Pigram [mailto:t...@toddpigram.com]
 Sent: 31 May 2013 16:31
 To: users@cloudstack.apache.org
 Subject: Re: unable to add nfs primary storage with xenserver hosts

 Len,

 I have found that it is better to presetup the primary storage on 
 XS6.1 then while adding in the via CCP UI, select PreSteup and provide 
 the storage tag. Works like a champ. This how i have my Prod and test 
 environments going to NetApp and Dev environments going to a Whiptail.


 On May 31, 2013, at 10:11 AM, Len Bellemore 
 len.bellem...@controlcircle.com wrote:

  Fair enough.  I might have an answer anyway, which I will post when 
  I
 confirm whether it worked or not.
 
  Thanks guys
 
  -Original Message-
  From: Chip Childers [mailto:chip.child...@sungard.com]
  Sent: 31 May 2013 14:36
  To: users@cloudstack.apache.org
  Subject: Re: unable to add nfs primary storage with xenserver hosts
 
  On Fri, May 31, 2013 at 12:35:59PM +, Len Bellemore wrote:
  Actually I'm using CloudPlatform 3.06, so according to the docs 
  that
 I've seen, it should work...
 
  It's best to ask Citrix support then.  This is the user list for the
 Apache CloudStack project.  CCP is a distro of this project, but we 
 aren't all aware of the bits that go into it.
 
 
 
  -Original Message-
  From: Kirk Jantzer [mailto:kirk.jant...@gmail.com]
  Sent: 31 May 2013 13:29
  To: Cloudstack users mailing list
  Subject: Re: unable to add nfs primary storage with xenserver hosts
 
  XS 6.1 doesn't work with the current releases (4.0.x); you'll have 
  to
 use XS 6.0.1.
 
 
  On Fri, May 31, 2013 at 8:11 AM, Len Bellemore 
 len.bellem...@controlcircle.com wrote:
 
  Hi Guys,
 
  I've got two XenServer 6.1 hosts and I am trying to add some 
  Primary Storage to them.
 
  When I add the Primary Storage via the cloudstack interface, the 
  SR is created in my XenPool, but the process bombs out in 
  Cloudstack with the following error:
 
  Add host failed due to ModifyStoragePoolCommand 
  failedModifyStoragePoolCommand add XenAPIException:Unable to setup 
  heartbeat file entry on SR a9795bae-81bf-9e0c-e657-4d432fd7518d 
  due to #6# heartbeat file 
  /var/run/sr-mount/a9795bae-81bf-9e0c-e657-4d432fd7518d/hb-43190217
  -d
  65
  d-48ea-a17a-06cd48a357a6 doesn't exist
  host:43190217-d65d-48ea-a17a-06cd48a357a6 pool:
  192.168.0.1/vol/nfs_volume
 
  The SR is still available on my XenPool and it looks like it's set 
  up properly, just not visible in Cloudstack.,
 
  Any ideas?
 
  Thanks
  Len
 
 
 
 
  --
  Regards,
 
  Kirk Jantzer
  c: (678) 561-5475
  http://about.met/kirkjantzer
 





 Todd Pigram
 t...@toddpigram.com





creating ESX instances with the vmxnet3 adapter

2013-05-10 Thread Len Bellemore
Hi Guys,

Anyone know how to specify a different network adapter type when creating ESX 
based instances?

By default the vms are being created in my ESX cluster with E1000 adapters and 
what I want is for them to be created with vmxnet3 adapters.

Thanks
Len


RE: baremetal / pxe booting of instances

2013-04-26 Thread Len Bellemore
Hi Geoff,

Thanks for that. 

What is also influencing my thinking is the way that the usage engine tracks 
which operating system the customer is using.  If I want to charge more for a 
Windows Datacenter edition vs Windows Standard, don't I need to make sure that 
the customer is deploying from a Datacenter vs Standard template so that the 
usage engine knows which OS they are using?

If I deploy a base template, and then configure it after the fact, the usage 
engine doesn't have a view on which template (and associated OS) they are 
using.  

Cheers
Len

-Original Message-
From: Geoff Higginbottom [mailto:geoff.higginbot...@shapeblue.com] 
Sent: 26 April 2013 14:46
To: users@cloudstack.apache.org
Subject: RE: baremetal / pxe booting of instances

Hi Len,

A 'better' way if doing this is to use a base template, which just consists of 
the OS, say CentOS, then use Puppet to tell each VM what it will be and 
configure any additional software etc.

Oliver Leach gave a talk at the last CloudStack European User Group on this 
very topic, and his slide deck can be found here 
http://www.shapeblue.com/2013/04/16/cloudstack-european-user-group-meeting/

Regards

Geoff Higginbottom

D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

geoff.higginbot...@shapeblue.com


-Original Message-
From: Len Bellemore [mailto:len.bellem...@controlcircle.com]
Sent: 26 April 2013 14:17
To: users@cloudstack.apache.org
Subject: baremetal / pxe booting of instances

Hi Guys,

Anyone know if it's possible to do baremetal/pxe booting of instances?

Say, I have a dummy template that calls a pxe server when it boots.  It would 
then pull down a server image depending on some criteria (actually not sure how 
I would do this bit.)

This would save me from having to maintain a template for every different OS 
type that I want to offer to my users

Thanks
Len
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 operated under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.



RE: Domain and Account organisation

2013-04-15 Thread Len Bellemore
Fair point.  Thanks a lot for you input.

Len

-Original Message-
From: Kristoffer Sheather @ CloudCentral 
[mailto:kristoffer.sheat...@cloudcentral.com.au] 
Sent: 15 April 2013 11:22
To: users@cloudstack.apache.org
Subject: RE: Domain and Account organisation

IMHO these are questions that only you are going to be able to answer.  
Firstly you need to decide how you want your business to operate, then to map 
that to the technical implementation, not the other way around.

The answer is that you need to look at your business first, document the 
requirements, then implement and test the technical solution.

There is no easy answer.

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: Len Bellemore len.bellem...@controlcircle.com
Sent: Monday, April 15, 2013 7:59 PM
To: users@cloudstack.apache.org users@cloudstack.apache.org, 
k...@cloudcentral.com.au k...@cloudcentral.com.au
Subject: RE: Domain and Account organisation

OK.

I was also thinking about the Accounts structure under my domain.

From what I understand, I can have a normal user account and a 
Domain-Admin account. Each account can of course have users under it.

Should I be creating two accounts per customer?  One with Users (including the 
customer users) and one with Domain-Admins (with my company's engineers and 
maybe the Admin from among the customer's userbase?)

Cheers
Len

-Original Message-
From: Kristoffer Sheather @ CloudCentral 
[mailto:kristoffer.sheat...@cloudcentral.com.au]
Sent: 15 April 2013 10:21
To: users@cloudstack.apache.org
Subject: re: Domain and Account organisation

Domains are simply a way to structure groups of accounts and other domains. 

How you map this to your business  customer requirements is completely up to 
you.

For ultimate flexibility, I recommend creating a domain for each customer 
account, then create an account within that domain.  That provides you the 
flexibility of being able to create a sub-domain under the domain if you ever 
need to.

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: Len Bellemore len.bellem...@controlcircle.com
Sent: Monday, April 15, 2013 7:18 PM
To: users@cloudstack.apache.org users@cloudstack.apache.org
Subject: Domain and Account organisation

Hi Guys,

I've got a question about how to organise my Domain and Accounts

I've got two types of customers.  Managed and Non-Managed.

Managed customers pay for monitoring and proactive administration of vms. 
They also get us to create VMs for them from time to time.
Non-Managed customers  are completely self-service.

I'm not sure if the managed / non-managed things is relevent in this case, but 
I thought I'd mention it anyway.

My thinking thus far is to create a domain per customer, an account per 
customer (or more accounts if there are departments within that company) and 
then users under each account.

It was also suggested to me to create a domain for Managed and one for 
Non-Managed and then start creating sub-domains under those.

At the moment I can't really understand 100% what domains are used for - same 
goes for the domain-admin.  Could anyone explain it in simple terms?

Thanks
Len




Windows Product Activation and KMS Server

2013-04-05 Thread Len Bellemore
Hi Guys,

Anyone have a solution for activating Windows instances using a KMS server?

Given that the KMS server needs to be publicly available to Cloud users, but 
not to general internet traffic, we need to make the KMS server available in a 
semi-secure area.  How do I get the instances to activate against my KMS?

Are people informing customers that they need to configure outbound internet 
access on their virtual routers so that they can activate against Microsoft's 
servers?   How can I get them to authenticate on my KMS server that is on my 
network?

Thanks
Len


RE: Windows Product Activation and KMS Server

2013-04-05 Thread Len Bellemore
That's kind of what I was thinking, but what about the fact that the virtual 
router blocks outbound internet by default?

Thanks
Len

-Original Message-
From: Oliver Leach [mailto:oliver.le...@tatacommunications.com] 
Sent: 05 April 2013 12:14
To: users@cloudstack.apache.org
Subject: RE: Windows Product Activation and KMS Server

You could write a script that runs once on boot, say after sysprep has 
completed, that registers the Windows instance with a public facing KMS server 
that is only accessible in your environment, for example, the public IP ranges 
supplied in Cloudstack that your instances use as a source NAT to access the 
internet. The lock down would be done on your firewall.

The script could be a batch file or a vbs script and the command would look 
like this:

c:\windows\slmgr.vbs -skms public-ip-address-of-kms-server

HTH

Oliver Leach
Platform Architect
InstaCompute
Mobile +44 (0) 7787 690 607



-Original Message-
From: Len Bellemore [mailto:len.bellem...@controlcircle.com] 
Sent: Friday, April 05, 2013 11:44 AM
To: users@cloudstack.apache.org
Subject: Windows Product Activation and KMS Server

Hi Guys,

Anyone have a solution for activating Windows instances using a KMS server?

Given that the KMS server needs to be publicly available to Cloud users, but 
not to general internet traffic, we need to make the KMS server available in a 
semi-secure area.  How do I get the instances to activate against my KMS?

Are people informing customers that they need to configure outbound internet 
access on their virtual routers so that they can activate against Microsoft's 
servers?   How can I get them to authenticate on my KMS server that is on my 
network?

Thanks
Len