Re: Using ssh keys for authentication

2014-10-01 Thread Shanker Balan
Comments inline.

On 30-Sep-2014, at 5:14 pm, Asanka sanjaya Herath 
angal...@gmail.commailto:angal...@gmail.com wrote:

Hi,

I followed this 
http://shankerbalan.net/blog/ssh-keys-on-cloudstack-guest-instances-using-cloud-init/
 and I'm stuck in last part.

When I try to connect to my instance using this command It is asking a 
passphrase.

$ ssh -l root  -i ~/ssh/adminKey/keypair.pem 192.168.56.135
Enter passphrase for key '/home/sanjaya/ssh/adminKey/keypair.pem':

Any ideas?

It looks to me that you have created your SSH keypair with “passphrases” using 
the ssh-keygen tool. IMHO,
this is the right way to “Secure” your keys.

You have 2 choices:

1) Create key pairs with empty passphrases (insecure)

2) Use “ssh-add” tool to add private key identities to the authentication agent 
(secure)


Regards.
@shankerbalan


--
@shankerbalan

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

Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design  Buildhttp://shapeblue.com/iaas-cloud-design-and-build//
CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/
CloudStack Bootcamp Training Courseshttp://shapeblue.com/cloudstack-training/

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


Re: question about security group

2014-08-08 Thread Shanker Balan
Hi Clement,

Comments inline.

On 08-Aug-2014, at 12:18 am, clement mutz c.m...@servitics.fr wrote:

 Thanks you for your reply. I already trying to configure the firewall Rules 
 (ex : http://i.imgur.com/oiGMMle.png).
 not access at my instances.

From the VM instance, are you able to ICMP ping the virtual router? If you 
cant,
then please check your network VLAN assignments and traffic label configurations


 I haven't access system vm (console, secondary storage).

If you are not able to access the system VMs, then I would first
make sure my Zone network configuration and the hypervisor
network traffic types are configured correctly.


 My network is ok because when I configure my zone with security groups I have 
 access
 system vm and at my instances.

Basic network and Advanced Networks work very differently. Advanced network 
uses VLANs
which if configured incorrectly can lead to issues like the one you are facing.

 What's wrong with my configuration ? I forgot something ?

Start by running tcpdump along the network path and try to isolate
the faulty network configuration.


 Sorry my bad english. I learning ;)

 Thanks you very much.


No problems.




 Clément




 Comments inline.

 On 07-Aug-2014, at 6:24 pm, clement mutz c.m...@servitics.fr wrote:

 Hi Shanker,

 Look under Network - Select View - Security Groups.

 Thanks you, but the problem appear when I choose a advanced zone without 
 security group. So I can't see  Security 
 Groups(http://i.imgur.com/WR18PPl.png) ;)


 Advanced zones you dont have security groups by default. Only EGRESS and 
 INGRESS rules.

 How I can to configure the different access without security group ?

 Looking at your screenshot, go to Network - Isolated Network (vl400) - 
 Egress Rules and
 Network - Isolated Network (vl400) - Source NAT - Configuration - 
 Firewall Rules.


 The ML strips out attachment. You can use http://imgur.com to share images.

 Thanks for your information :)

 I can't choose Security group, when I created a zone with public network (I 
 mean with nic public)  (http://i.imgur.com/52bjasU.png and 
 http://i.imgur.com/UN9RXR2.png)...
 I don't understand why.
 When I created a zone with security group no problem, I can use ACC Ingress 
 and Egress rules but I haven't public interface 
 (http://i.imgur.com/EhBAbvC.png and http://i.imgur.com/GjhFOZD.png).





 - Mail original -
 De: Shanker Balan shanker.ba...@shapeblue.com
 À: CloudStack-Users users@cloudstack.apache.org
 Envoyé: Jeudi 7 Août 2014 13:49:40
 Objet: Re: question about security group

 Comments inline.

 On 07-Aug-2014, at 3:44 pm, clement mutz c.m...@servitics.fr wrote:

 Hi Tejas,

 I cannot see the security group in network tab.

 Look under Network - Select View - Security Groups.


 I can't choose Security group, when I created a zone with public network (I 
 mean with nic public)  (picture 1 and 2)... I don't understand why.
 When I created a zone with security group no problem, I can use ACC Ingress 
 and Egress rules but I haven't public interface (picture 3 and 4).


 The ML strips out attachment. You can use http://imgur.com to share images.

 --
 @shankerbalan

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

 Find out more about ShapeBlue and our range of CloudStack related services

 IaaS Cloud Design  Buildhttp://shapeblue.com/iaas-cloud-design-and-build//
 CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
 CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
 CloudStack Infrastructure 
 Supporthttp://shapeblue.com/cloudstack-infrastructure-support/
 CloudStack Bootcamp Training 
 Courseshttp://shapeblue.com/cloudstack-training/

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

 --
 @shankerbalan

 M: +91 98860 60539 | O: +91 (80) 67935867
 shanker.ba...@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
 ShapeBlue Services India LLP

Re: FreeBSD

2014-08-08 Thread Shanker Balan
Hi Mo,

Comments inline...

On 07-Aug-2014, at 9:27 pm, mo m...@daoenix.commailto:m...@daoenix.com 
wrote:

I am using Cloudstack 4.4 | FreeBSD 9.3, however, choosing other 64-bit and 
installing the 64-bit of FreeBSD 10 or 9.3 hangs at boot.

FreeBSD 9 32bit ad 64bit are also working locally for me. See 
http://imgur.com/OSvXVpX,RcHuF26#0 and
http://imgur.com/OSvXVpX,RcHuF26#1.

Environment: ACS 4.3
XenServer 6.2
OS Type: Other 32bit and Other 64bit
ISO Used:  FreeBSD-9.3-RELEASE-amd64-bootonly.iso and 
FreeBSD-9.3-RELEASE-i386-bootonly.iso

For optimum performance, you could use XENHVM also.

http://svnweb.freebsd.org/base/stable/9/sys/amd64/conf/XENHVM?view=markup
http://svnweb.freebsd.org/base/stable/9/sys/i386/conf/XENHVM?view=markup

--
@shankerbalan

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

Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design  Buildhttp://shapeblue.com/iaas-cloud-design-and-build//
CSForge - rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/
CloudStack Bootcamp Training Courseshttp://shapeblue.com/cloudstack-training/

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


Re: FreeBSD

2014-08-08 Thread Shanker Balan
Hi Mo,

comments inline.

On 09-Aug-2014, at 12:04 am, mo m...@daoenix.commailto:m...@daoenix.com 
wrote:

Shanker,

The issue I encountered, was of course user error. I did not realize, I only 
had to utilize the boot-only FreeBSD ISO. After reviewing your update, I 
replicated it  was able to easily boot into FreeBSD 64-bit, so this issue is 
resolved.

Glad to hear its fixed. Please remember to rebuild kernel with XENHVM for 
better performance.


Thanks to everyone who assisted with this, I do have a question; how easily is 
it to remove system template of CentOS 5.5. As I would not at all utilize this, 
but is this a change in the database? Or?

I think you would need to do it via the DB. But I suggest you leave it there as 
its a known good template
to test when you run into issues.



- Mo


On August 8, 2014 at 7:45:08 AM, Shanker Balan 
(shanker.ba...@shapeblue.commailto:shanker.ba...@shapeblue.com) wrote:

Hi Mo,

Comments inline...

On 07-Aug-2014, at 9:27 pm, mo 
m...@daoenix.commailto:m...@daoenix.commailto:m...@daoenix.com wrote:

I am using Cloudstack 4.4 | FreeBSD 9.3, however, choosing other 64-bit and 
installing the 64-bit of FreeBSD 10 or 9.3 hangs at boot.

FreeBSD 9 32bit ad 64bit are also working locally for me. See 
http://imgur.com/OSvXVpX,RcHuF26#0 and
http://imgur.com/OSvXVpX,RcHuF26#1.

Environment: ACS 4.3
XenServer 6.2
OS Type: Other 32bit and Other 64bit
ISO Used: FreeBSD-9.3-RELEASE-amd64-bootonly.iso and 
FreeBSD-9.3-RELEASE-i386-bootonly.iso

For optimum performance, you could use XENHVM also.

http://svnweb.freebsd.org/base/stable/9/sys/amd64/conf/XENHVM?view=markup
http://svnweb.freebsd.org/base/stable/9/sys/i386/conf/XENHVM?view=markup

--
@shankerbalan

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

Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design  Buildhttp://shapeblue.com/iaas-cloud-design-and-build//
CSForge - rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/
CloudStack Bootcamp Training Courseshttp://shapeblue.com/cloudstack-training/

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

--
@shankerbalan

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

Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design  Buildhttp://shapeblue.com/iaas-cloud-design-and-build//
CSForge - rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/
CloudStack Bootcamp Training Courseshttp://shapeblue.com/cloudstack-training/

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

Re: CloudStack 4.3 error while addin device

2014-07-03 Thread Shanker Balan
Comments inline.

On 04-Jul-2014, at 2:06 am, taufique shaikh 
tauf_...@hotmail.commailto:tauf_...@hotmail.com wrote:

Attach is the error messae I am havin while addin Netscaler device..!
Can you confirm how and where I can collect log...

My Cloustack IP is : 10.0.0.10/24
Netscaler VM Installed with SSL OFFLoadin License : Accessible on 10.0.0.158/24

While addin am followin below process
Infrastructure -- Zone -- ZoneName -- Physical Network -- Network Service 
Provider -- Netscaler -- Add Device
IP : 10.0.0.158
user: nsroot
pass : nsroot
Type : Netscaler VPX LoadBalancer
Interface Public : 1/1
Interface Private : 1/1

When I say create after few secs I have attach error every time..!

Shouldn’t your Public and Private interfaces be different?

Regards.
@shankerbalan


Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design  Buildhttp://shapeblue.com/iaas-cloud-design-and-build//
CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/
CloudStack Bootcamp Training Courseshttp://shapeblue.com/cloudstack-training/

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


Re: Bandwidth Utilisation.

2014-06-30 Thread Shanker Balan
Comments inline.

On 30-Jun-2014, at 6:04 pm, Kaushal Shriyan kaushalshri...@gmail.com wrote:

 Hi,

 Is there a way to measure bandwidth utilisation between two regions. For
 example singapore
 and tokyo datacenter where apache cloudstack is installed. Do let me know
 if you need any additional details.


Do you have a MPLS or a VPN tunnel between the two? If so, you can enable
SNMP on the physical router and run MRTG to create graphs.

Can CloudStack do this for you? No, It only tracks usage data at the VM
level AFAIK.


--
@shankerbalan

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

Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design  Buildhttp://shapeblue.com/iaas-cloud-design-and-build//
CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/
CloudStack Bootcamp Training Courseshttp://shapeblue.com/cloudstack-training/

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


Re: Not able to deploy Ubuntu VM on xenserver 12.04

2014-06-24 Thread Shanker Balan
Comments inline.

On 24-Jun-2014, at 5:38 pm, Ian Duffy i...@ianduffy.ie wrote:

 Hi Tejas,

 I've seent his happen before when I use the netinstall ISO.

 Use the server or alternative one; they tend to have the file structure xen
 (install/vmlinuz) looks for.


I create Ubuntu 10.04 on a standalone XenServer and import it into ACS.

http://shankerbalan.net/blog/cloudstack-ubuntu-10-04-xenserver-template/


--
@shankerbalan

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

Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design  Buildhttp://shapeblue.com/iaas-cloud-design-and-build//
CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/
CloudStack Bootcamp Training Courseshttp://shapeblue.com/cloudstack-training/

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


Re: Additional nics fails to get ip for ubuntu guest vm

2014-06-20 Thread Shanker Balan
Comments inline.

On 20-Jun-2014, at 7:25 pm, Saurav Lahiri saurav.lah...@sungardas.com wrote:

 Hello Shanker,
 Appreciate ur inputs. Also I would like to know whats the best practice in
 pre-populating the interfaces file given that it is not known how many
 additional nics users might want to create on their vms. If we pre-populate
 eth0 to eth4 with dhcp method in the template will that break anything?

Running DHCP on multiple interfaces can cause the default gateway
to switch. This has caused me a lot of PITA on AWS EC2 instances.

I now statically assign the IP Addressed on the non primary interfaces. As far
as template creation goes, I only check for eth0. Its upto the end user
to decide how he wants to get his additional interfaces up.

If you can, check a AWS CentOS/Ubuntu template on how they handle it.






 Thanks
 Saurav


 On Fri, Jun 20, 2014 at 9:33 AM, Shanker Balan shanker.ba...@shapeblue.com
 wrote:

 Comments inline.

 On 19-Jun-2014, at 7:55 pm, Saurav Lahiri saurav.lah...@sungardas.com
 wrote:

 Hello,
 We are running an ubuntu 13.10 vm. In addition to the default network,
 another nic has been added to the vm.  Now when the vm boots up, the new
 interface eth1 is seen inside the guest but does not have an ip address.
 Executing a dhclient eth1 does get the correct IP.

 A look at  the /etc/network/interaces file  shows an entry
 corresponding
 to the eth0.  There is no entry for eth1. On adding an entry for eth1,
 the
 problems appears to get fixed.

 Is this manual step to add the additional nics in the interfaces file
 missing in the documentation or is this a bug ?

 ===
 auto eth0
 iface eth0 inet dhcp
 ==


 This is change that needs to be done by the creator of the template.
 CloudStack
 does not make any changes internal to the template as it does not (should
 not)
 have access to it.


 --
 @shankerbalan

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

 Find out more about ShapeBlue and our range of CloudStack related services

 IaaS Cloud Design  Build
 http://shapeblue.com/iaas-cloud-design-and-build//
 CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
 CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
 CloudStack Infrastructure Support
 http://shapeblue.com/cloudstack-infrastructure-support/
 CloudStack Bootcamp Training Courses
 http://shapeblue.com/cloudstack-training/

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


--
@shankerbalan

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

Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design  Buildhttp://shapeblue.com/iaas-cloud-design-and-build//
CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/
CloudStack Bootcamp Training Courseshttp://shapeblue.com/cloudstack-training/

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


Re: Additional nics fails to get ip for ubuntu guest vm

2014-06-19 Thread Shanker Balan
Comments inline.

On 19-Jun-2014, at 7:55 pm, Saurav Lahiri saurav.lah...@sungardas.com wrote:

 Hello,
 We are running an ubuntu 13.10 vm. In addition to the default network,
 another nic has been added to the vm.  Now when the vm boots up, the new
 interface eth1 is seen inside the guest but does not have an ip address.
 Executing a dhclient eth1 does get the correct IP.

 A look at  the /etc/network/interaces file  shows an entry corresponding
 to the eth0.  There is no entry for eth1. On adding an entry for eth1, the
 problems appears to get fixed.

 Is this manual step to add the additional nics in the interfaces file
 missing in the documentation or is this a bug ?

 ===
 auto eth0
 iface eth0 inet dhcp
 ==


This is change that needs to be done by the creator of the template. CloudStack
does not make any changes internal to the template as it does not (should not)
have access to it.


--
@shankerbalan

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

Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design  Buildhttp://shapeblue.com/iaas-cloud-design-and-build//
CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/
CloudStack Bootcamp Training Courseshttp://shapeblue.com/cloudstack-training/

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


Re: Kemp load balancers

2014-06-19 Thread Shanker Balan
Comments inline.

On 20-Jun-2014, at 10:29 am, Ian Marshall i...@itlhosting.co.uk wrote:

 Hi Ilya

 I might of not been specific enough in my original email, I want to use the
 Kemps as load balancers/ssl termination for the VMs and not for the
 Cloudstack system. Yes, it would be great to have them integrated into
 Cloudstack like the Netscallers and F5 but I don't have the time and
 resource to consider using my java development team to write a plugin at
 this stage.

 My plan based on my Openstack scenario, is the Kemps which are clustered
 have VIPs set tot he front end web servers which are running on VMs inside
 the cloud.

Since the vendor or the ACS community has not integrated ACS with Kemps, you
can workaround the situation as below:

1) Spin up your VMs
2) Note down the IPs of the VMs
3) Run the Kemps in the same network or atleast ensure that the Kemp can
route traffic to the VM subnet
4) Configure your VIP on the Kemp and add the VMs are reals
5) Modify VM’s ACLs to allow inbound traffic from the VIP


With the Kemp integration into cloudstack, all of this should be doable
from the ACS UI itself but that will have to wait.




 My setup is 2 management servers which would be running mariadb cluster and
 two KVM hosts and a Dell EQLX SAN for running the VMs [to replicate the
 'running VMs from SAN - block storage' in Openstack.

 Is this workable and is there any potential issues with this setup?

Looks straightforward enough to get started on ACS.

Regards.
@shankerbalan


--
@shankerbalan

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

Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design  Buildhttp://shapeblue.com/iaas-cloud-design-and-build//
CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/
CloudStack Bootcamp Training Courseshttp://shapeblue.com/cloudstack-training/

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


Re: Floating IP for use between 2 VMs

2014-06-18 Thread Shanker Balan
Comments inline.

On 18-Jun-2014, at 4:56 pm, Daan Hoogland daan.hoogl...@gmail.com wrote:

 Brent,

 Sounds like you are assigning the same IP to two guest vms. Cloudstack
 will guard against that. It will allow for the redundancy in guest
 networks on the router and we are looking into implementing this on
 vpc routers as well. There are no plans for allowing this on regular
 vms.

 Am I understanding your query correctly?

To the OP: Is there some limitation to using cloudstack’s
ELB features for your use case?


--
@shankerbalan

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

Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design  Buildhttp://shapeblue.com/iaas-cloud-design-and-build//
CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/
CloudStack Bootcamp Training Courseshttp://shapeblue.com/cloudstack-training/

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


Re: Subject: Re: Floating IP for use between 2 VMs

2014-06-18 Thread Shanker Balan
Comments inline.

On 19-Jun-2014, at 1:07 am, Brent Clark bcl...@tendrilinc.com wrote:

 I want to thank all of you for your feedback. To answer some questions.

 Q What kind of environment do you have?
 A Basic networking is what we are using

Ok.


 Q Is there some limitation to using cloudstack’s ELB features for your use
 case?
 A I am unsure. I am new to Cloudstack coming from a VMWare environment and
 trying to build VMs and services like we currently have. I am unfamiliar
 with ELB, would this be a way of accomplishing what I am wanting to do? If
 so, where can I find info on setting it up, etc?

http://docs.cloudstack.apache.org/projects/cloudstack-administration/en/latest/networking_and_traffic.html#external-firewalls-and-load-balancers

Please note that CloudStack’s builtin load balancing features provided
by the “Virtual Router” only work in an Advanced Zone.






 --
 Brent S. Clark
 Senior Cloud  Infrastructure Systems Engineer

 2580 55th St.  |  Boulder, Colorado 80301
 www.tendrilinc.com  |  blog http://www.tendrilinc.com/news-room/blog/
 http://www.tendrilinc.com/


 This email and any files transmitted with it are confidential and intended 
 solely for the use of the individual or entity to whom they are addressed.
 If you have received this email in error please notify the sender.
 Please note that any views or opinions presented in this email are solely 
 those of the author and do not necessarily represent those of the company.
 Finally, the recipient should check this email and any attachments for the 
 presence of viruses.
 The company accepts no liability for any damage caused by any virus 
 transmitted by this email.


--
@shankerbalan

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

Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design  Buildhttp://shapeblue.com/iaas-cloud-design-and-build//
CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/
CloudStack Bootcamp Training Courseshttp://shapeblue.com/cloudstack-training/

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


Re: Cloudstack/Xenserver/GPU support

2014-06-17 Thread Shanker Balan
Hi Vijay,

Comments inline:

On 17-Jun-2014, at 9:28 pm, Vijay Ramadoss vramad...@nvidia.com wrote:

 Hi - I have setup a cloudstack management server and managing two xenserver 
 6.2 based hosts with NVIDIA GRID k2 gpus on them. I added the host to the 
 pod/cluster but cloudstack is not detecting the gpu on it and showing it.  
 How do I make gpu be available so that cloudstack could use it ? I created a 
 service offering for gpu but I am not able to associate an instance with that 
 service offering and it fails as cloudstack cant see the gpu. Please help.

The last time I had a requirement to enable passthru of devices to the VMs,
CloudStack didnt have support for this. While the XenServer itself can
do passthru, CloudStack service offerings could not be taught to expose
these to the VMs created via CloudStack.

In short, someone will need to add this feature to ACS. The developer list
might be a better place to ask this question.

Regards.

--
@shankerbalan

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

Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design  Buildhttp://shapeblue.com/iaas-cloud-design-and-build//
CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/
CloudStack Bootcamp Training Courseshttp://shapeblue.com/cloudstack-training/

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


Re: Cloudstack/Xenserver/GPU support

2014-06-17 Thread Shanker Balan
Hi Kaushik,

On 18-Jun-2014, at 9:52 am, Koushik Das koushik@citrix.com wrote:

 Note that GPU/vGPU support is available from 4.4 onwards. Refer FS at 
 https://cwiki.apache.org/confluence/display/CLOUDSTACK/GPU+and+vGPU+support+for+CloudStack+Guest+VMs


This is fantastic news. Thanks to Citrix for this awesome feature.


--
@shankerbalan

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

Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design  Buildhttp://shapeblue.com/iaas-cloud-design-and-build//
CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/
CloudStack Bootcamp Training Courseshttp://shapeblue.com/cloudstack-training/

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


Re: NFS storage

2014-06-13 Thread Shanker Balan
Hi John,

Comments inline.

On 14-Jun-2014, at 4:08 am, John Muckley j.muck...@databax.com wrote:

 Hi all,

 Can someone give me an overview of how the NFS storage works? Like what 
 servers should have an NFS share mounted once a zone is enabled?

There is no requirement to “manually” mount primary or secondary
storage. CloudStack would do the mount automatically as per your
zone configuration settings.


 I’m using NFS for my secondary storage.

The SSVM would mount your secondary storage over NFS.

 During deployment I mount the nfs share as /mnt/secondary and seed the 
 template to the secondary storage.
 This works fine, If I log onto my NFS server, I can see the ‘template’ folder 
 appears and contains the template. All is good at this point.

Ok. This is about the only “manual” mount you require before
the Zone is enabled. Once the seeding is complete, the mgmt
server no longer requires the NFS mount.


 The installation guide goes on to say…

 “If you are using a separate NFS server, perform this step. If you are using 
 the Management
 Server as the NFS server, you MUST NOT perform this step.
 When the script has finished, unmount secondary storage and remove the 
 created directory.
 # umount /mnt/secondary
 # rmdir /mnt/secondary”

Ok.


 As I am indeed using a separate NFS server, I go ahead and unmount the NFS 
 share and remove the mount point from the management server.

 When I create my zone through the UI, I add the NFS share details in to the 
 secondary storage bit and it accepts it and adds the secondary storage, but 
 once my zone is enabled, the system VMs do not come up and I cannot see the 
 NFS share mounted on either of my hosts nor on the management server.

This is most likely to be a incorrect configuration issue that prevents
CloudStack from spinning off the system VMs.

Have you had a chance to check the management server logs?


 I kind of assumed that the management-server would mount this NFS share on 
 the appropriate hosts and anywhere else it is required once the zone is 
 enabled, but this doesn’t seem to happen.


Yeah, CloudStack would mount the NFS share on one of the hosts and
then create the SSVM. There are many things that can go wrong here
but usually its an Incorrect network configuration like label mismatch,
NFS permissions etc

 Has anyone else experienced this?

SSVM not spinning up is the #1 FAQ actually and the usual answer is
“Have you checked your management server logs?. :)

Hth

--
@shankerbalan

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

Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design  Buildhttp://shapeblue.com/iaas-cloud-design-and-build//
CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/
CloudStack Bootcamp Training Courseshttp://shapeblue.com/cloudstack-training/

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


Re: System VM not starting in my cloudstack configuration.

2014-06-09 Thread Shanker Balan
Comments inline.

On 09-Jun-2014, at 2:15 pm, Naval saini naval.sa...@snet.in wrote:

 Hello Team,

 Nice to work with apache cloudstack.

 I have configured cloud stack on my 3 server.
 One server as a management server/primary storage also with ip 103.255.100.18
 which uses subnet 103.255.100.17/29.

 Second server as host server with ip 103.255.100.180  which uses subnet
 103.255.100.128/26

 3rd server which is secondary storage ip 103.255.100.186  which uses subnet
 103.255.100.128/26

 I am facing issue in secondary storage in cloud zone and systemvm's not
 running showing stopped.

Have you checked the management server logs for any errors while
starting the system VMs?

--
@shankerbalan

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

Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design  Buildhttp://shapeblue.com/iaas-cloud-design-and-build//
CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/
CloudStack Bootcamp Training Courseshttp://shapeblue.com/cloudstack-training/

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


Re: can I run CloudStack without IPtables?

2014-06-09 Thread Shanker Balan
Comments inline.

On 10-Jun-2014, at 3:58 am, Yiping Zhang yzh...@marketo.com wrote:

 Ilya:

 Thanks for quick clarification.I¹ll check out defining my own network
 offerings.


I use a shared network with a pfSense based firewall at home for all
my VMs.

The VMs spun on the shared network have a dedicated VLAN and a default gateway
set to the pfSense firewall. Security Groups policies have no affect for Vms on
a shared network.

http://shankerbalan.net/blog/create-a-shared-network-with-public-ips-in-cloudstack/
should be helpful.

Hth.

@shankerbalan




 Yiping

 On 6/9/14, 1:21 PM, ilya musayev ilya.mailing.li...@gmail.com wrote:

 Yiping,

 Yes you can have non-iptables setup. Most of the enterprise
 installations don't rely on cloudstack's iptables, routing or vpc
 features and prefer to use existing physical firewalls and vlan isolation.

 If you have VLANs, but dont want to use iptables that comes thru virtual
 router, look into CloudStack Advanced Zone Setup with Shared Network
 Functionality.

 In this case, you only leverage dhcp, userdata and dns(optional). You
 can create your own network offerings and bind the network to non-vpc
 shared network offering.  DHCP at this point in time is a required.
 Userdata and DNS can be optional. You can choose to use your own
 in-house DNS dont route DNS queries through CloudStack virtual router
 (you would need to create custom network offering, which is few clicks
 in UI).

 You can also bypass userdata and serve your own userdata through
 external userdata services, you would need to write something on your
 end to support it.

 Regards
 ilya
 On 6/9/14, 12:02 PM, Yiping Zhang wrote:
 Hi,all:

 I am trying different network setups in my CloudStack eval effort,  and
 I am wondering if  CS can be configured to not use iptables at all ,
 giving that my intended goal is for a private cloud dedicated to my own
 company, in our own datacenter and all our networks are behind our own
 hardware based firewalls already?

 If I can stop iptables on all system VM¹s, hypervisors and management
 servers, then it would  be much easier to trouble shoot my setups and
 accelerate the eval process.

 Thanks,

 Yiping

--
@shankerbalan

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

Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design  Buildhttp://shapeblue.com/iaas-cloud-design-and-build//
CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/
CloudStack Bootcamp Training Courseshttp://shapeblue.com/cloudstack-training/

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


Re: SSVM CPVM Public IP not pinging

2014-06-05 Thread Shanker Balan
Hi Tejas,

comments inline.

On 04-Jun-2014, at 1:09 pm, Tejas Gadaria refond.g...@gmail.com wrote:

 Hi,

 I am trying to create setup with xenserver, where Storage,public,Guest 
 Management traffic will be carried by 4 diff. nics  all are in different
 VLAN.
 After assigning the name-label in xen. System vm's are created but I am not
 able ping to SSVM  CPVM public IP .

 root@s-1-VM:~# route
 Kernel IP routing table
 Destination Gateway Genmask Flags Metric RefUse
 Iface
 default 10.129.152.10.0.0.0 UG0  00 eth2
 google-public-d 10.129.151.1255.255.255.255 UGH   0  00 eth1
 10.129.151.0*   255.255.255.0   U 0  00 eth1
 10.129.152.0*   255.255.255.0   U 0  00 eth2
 10.129.155.0*   255.255.255.0   U 0  00 eth3
 link-local  *   255.255.0.0 U 0  00 eth0

 root@s-1-VM:~# ping 8.8.8.8
 PING 8.8.8.8 (8.8.8.8): 48 data bytes
 56 bytes from 8.8.8.8: icmp_seq=0 ttl=46 time=64.948 ms
 ^C--- 8.8.8.8 ping statistics ---
 1 packets transmitted, 1 packets received, 0% packet loss
 round-trip min/avg/max/stddev = 64.948/64.948/64.948/0.000 ms

You are able to reach Google DNS because there is a static
route to 8.8.8.8 via the management subnet.


 I am not able to ping to Storage from SSVM either.

 Following below link right now.
 https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM%2C+templates%2C+Secondary+storage+troubleshooting


Can share the full output of ssvm-check.sh?

Can you ping the gateway? If not, it could be that:

1) 10.129.152.0 subnet is not routable or cant reach 10.129.152.1
2) eth2 is bridged to the interfaces labeled for public traffic

I would check if each of the virtual interfaces are bridged to the right
physical interface on the XenServer labeled interfaces.

tcpdump on all the interfaces on the SSVM and on the physical
interfaces will also help identify the issue.

Regards.

--
@shankerbalan

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

Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design  Buildhttp://shapeblue.com/iaas-cloud-design-and-build//
CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/
CloudStack Bootcamp Training Courseshttp://shapeblue.com/cloudstack-training/

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


Re: Netscaler Loadbalancing Hardware Appliance Alternatives

2014-06-05 Thread Shanker Balan
Hi Ilya,

Comments inline.

On 30-May-2014, at 4:07 am, ilya musayev ilya.mailing.li...@gmail.com wrote:

 Apache Traffic Server is trying to rival netscaler.


Apache Traffic Server is more focused on being a forward and reverse proxy
rather than a load balancer. The typical deployment architecture for ATS
or more specifically YTS (Yahoo Traffic Server) at Yahoo which I managed
was as below:

GSLB - Hardware LB - YTS Cluster - Hardware LB - App Cluster

Regards.


--
@shankerbalan

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

Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design  Buildhttp://shapeblue.com/iaas-cloud-design-and-build//
CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/
CloudStack Bootcamp Training Courseshttp://shapeblue.com/cloudstack-training/

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


Re: SSVM CPVM Public IP not pinging

2014-06-05 Thread Shanker Balan
Comments inline.

On 05-Jun-2014, at 3:02 pm, Tejas Gadaria refond.g...@gmail.com wrote:

 Hi Shanker,

 1) Also I am not able to ping to gateway.


Not good.

 2) Here is the ssvm-check output..

 root@s-1-VM:/usr/local/cloud/systemvm# sh ssvm-check.sh
 
 First DNS server is  8.8.8.8
 PING 8.8.8.8 (8.8.8.8): 48 data bytes
 56 bytes from 8.8.8.8: icmp_seq=0 ttl=46 time=62.104 ms
 56 bytes from 8.8.8.8: icmp_seq=1 ttl=46 time=62.306 ms
 --- 8.8.8.8 ping statistics ---
 2 packets transmitted, 2 packets received, 0% packet loss
 round-trip min/avg/max/stddev = 62.104/62.205/62.306/0.101 ms
 Good: Can ping DNS server
 
 Good: DNS resolves download.cloud.com
 
 nfs is currently mounted
 Mount point is /mnt/SecStorage/fde1faee-5559-3165-82a8-0078c7b99c08
 Good: Can write to mount point
 
 Management server is 10.129.151.55. Checking connectivity.
 Good: Can connect to management server port 8250
 
 Good: Java process is running
 
 Tests Complete. Look for ERROR or WARNING above.


 But in ssvm /var/log/cloud/cloud.out i found below logs.

 06:41:01,502  INFO NioClient:81 - Connected to 10.129.151.55:8250
 06:41:01,681  INFO Agent:421 - Proccess agent startup answer, agent id = 0
 06:41:01,681  INFO Agent:267 - Set agent id 0
 06:41:01,699  INFO Agent:431 - Startup Response Received: agent id = 0
 06:41:01,741  INFO NfsSecondaryStorageResource:2482 - Determined host
 10.129.155.101 corresponds to IP 10.129.155.101
 06:41:01,742  INFO NfsSecondaryStorageResource:2482 - Determined host
 10.129.155.101 corresponds to IP 10.129.155.101
 06:41:03,954  INFO NfsSecondaryStorageResource:2482 - Determined host
 10.129.155.101 corresponds to IP 10.129.155.101
 06:43:12,830 ERROR NfsSecondaryStorageResource:2396 - Unable to mount
 10.129.155.101:/vol/secondary at
 /mnt/SecStorage/548477a5-73f6-3dd6-9179-93e4c92a3329 due to mount.nfs:
 Connection timed out



ssvm-check and logs dont seem to agree on the secondary storage.

 nfs is currently mounted
 Mount point is /mnt/SecStorage/fde1faee-5559-3165-82a8-0078c7b99c08
 Good: Can write to mount point

ssvm-check says it can write to the mount point.

 06:43:12,830 ERROR NfsSecondaryStorageResource:2396 - Unable to mount
 10.129.155.101:/vol/secondary at
 /mnt/SecStorage/548477a5-73f6-3dd6-9179-93e4c92a3329 due to mount.nfs:
 Connection timed out


And here the log shows timeouts.


 Also on public interface  Storage interface,are not trunk.Only inter-vlan
 routing is enable.


Have you checked if the SSVM’s virtual interfaces got bridged to the physical
interfaces as per your label scheme? Have you run tcpdump to see if the
packets are going over the right interface? Can you snoop on the switch end to
see if the packets are indeed making it out the interface? Are the switches
configured with VLANs correctly?




 Regards,
 Tejas



 On Thu, Jun 5, 2014 at 11:40 AM, Shanker Balan shanker.ba...@shapeblue.com
 wrote:

 Hi Tejas,

 comments inline.

 On 04-Jun-2014, at 1:09 pm, Tejas Gadaria refond.g...@gmail.com wrote:

 Hi,

 I am trying to create setup with xenserver, where Storage,public,Guest 
 Management traffic will be carried by 4 diff. nics  all are in different
 VLAN.
 After assigning the name-label in xen. System vm's are created but I am
 not
 able ping to SSVM  CPVM public IP .

 root@s-1-VM:~# route
 Kernel IP routing table
 Destination Gateway Genmask Flags Metric RefUse
 Iface
 default 10.129.152.10.0.0.0 UG0  00
 eth2
 google-public-d 10.129.151.1255.255.255.255 UGH   0  00
 eth1
 10.129.151.0*   255.255.255.0   U 0  00
 eth1
 10.129.152.0*   255.255.255.0   U 0  00
 eth2
 10.129.155.0*   255.255.255.0   U 0  00
 eth3
 link-local  *   255.255.0.0 U 0  00
 eth0

 root@s-1-VM:~# ping 8.8.8.8
 PING 8.8.8.8 (8.8.8.8): 48 data bytes
 56 bytes from 8.8.8.8: icmp_seq=0 ttl=46 time=64.948 ms
 ^C--- 8.8.8.8 ping statistics ---
 1 packets transmitted, 1 packets received, 0% packet loss
 round-trip min/avg/max/stddev = 64.948/64.948/64.948/0.000 ms

 You are able to reach Google DNS because there is a static
 route to 8.8.8.8 via the management subnet.


 I am not able to ping to Storage from SSVM either.

 Following below link right now.

 https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM%2C+templates%2C+Secondary+storage+troubleshooting


 Can share the full output of ssvm-check.sh?

 Can you ping the gateway? If not, it could be that:

 1) 10.129.152.0 subnet is not routable or cant reach 10.129.152.1
 2) eth2 is bridged to the interfaces labeled for public traffic

 I would

Re: SSVM CPVM Public IP not pinging

2014-06-05 Thread Shanker Balan
Hi Tejas,


On 05-Jun-2014, at 5:04 pm, Tejas Gadaria refond.g...@gmail.com wrote:

 Hi Shanker,

 Aww.. VLAN ID information for Public network provided to me was
 incorrected.

Sounds very familiar. While you are at it, make sure the guest VLANs
are also configured correctly across the switch ports.

I just put some screenshots together for the next time someone
has SSVM issues with XenServer.

http://shankerbalan.net/blog/cloudstack-ssvm-network-topology-with-xenserver/

 Just for Information..

 I have xen setup to isolate primary storage traffic, where Cloudstack MS 
 Secondary storage is on same NIC  primary storage is on separate NIC,
 secondary storage traffic is moving from management NIC.

Cool. If you have the luxury, you could also bond NICs to increase
the bandwidth.


 For testing purpose I am planning to implement swift as secondary sorage,
 So is there any way i can isolate secondary storage traffic from management
 NIC.


The Storage network is actually meant for secondary storage. If you want to
route primary storage traffic also over the storage network, make sure that
the primary storage device is also on the same subnet as the secondary storage.

Linux networking will take care of pushing both pri/sec storage traffic
over the right interface.


 Regards,
 Tejas


 Regards,
 Tejas



 On Thu, Jun 5, 2014 at 3:48 PM, Shanker Balan shanker.ba...@shapeblue.com
 wrote:

 Comments inline.

 On 05-Jun-2014, at 3:02 pm, Tejas Gadaria refond.g...@gmail.com wrote:

 Hi Shanker,

 1) Also I am not able to ping to gateway.


 Not good.

 2) Here is the ssvm-check output..

 root@s-1-VM:/usr/local/cloud/systemvm# sh ssvm-check.sh
 
 First DNS server is  8.8.8.8
 PING 8.8.8.8 (8.8.8.8): 48 data bytes
 56 bytes from 8.8.8.8: icmp_seq=0 ttl=46 time=62.104 ms
 56 bytes from 8.8.8.8: icmp_seq=1 ttl=46 time=62.306 ms
 --- 8.8.8.8 ping statistics ---
 2 packets transmitted, 2 packets received, 0% packet loss
 round-trip min/avg/max/stddev = 62.104/62.205/62.306/0.101 ms
 Good: Can ping DNS server
 
 Good: DNS resolves download.cloud.com
 
 nfs is currently mounted
 Mount point is /mnt/SecStorage/fde1faee-5559-3165-82a8-0078c7b99c08
 Good: Can write to mount point
 
 Management server is 10.129.151.55. Checking connectivity.
 Good: Can connect to management server port 8250
 
 Good: Java process is running
 
 Tests Complete. Look for ERROR or WARNING above.


 But in ssvm /var/log/cloud/cloud.out i found below logs.

 06:41:01,502  INFO NioClient:81 - Connected to 10.129.151.55:8250
 06:41:01,681  INFO Agent:421 - Proccess agent startup answer, agent id =
 0
 06:41:01,681  INFO Agent:267 - Set agent id 0
 06:41:01,699  INFO Agent:431 - Startup Response Received: agent id = 0
 06:41:01,741  INFO NfsSecondaryStorageResource:2482 - Determined host
 10.129.155.101 corresponds to IP 10.129.155.101
 06:41:01,742  INFO NfsSecondaryStorageResource:2482 - Determined host
 10.129.155.101 corresponds to IP 10.129.155.101
 06:41:03,954  INFO NfsSecondaryStorageResource:2482 - Determined host
 10.129.155.101 corresponds to IP 10.129.155.101
 06:43:12,830 ERROR NfsSecondaryStorageResource:2396 - Unable to mount
 10.129.155.101:/vol/secondary at
 /mnt/SecStorage/548477a5-73f6-3dd6-9179-93e4c92a3329 due to mount.nfs:
 Connection timed out



 ssvm-check and logs dont seem to agree on the secondary storage.

 nfs is currently mounted
 Mount point is /mnt/SecStorage/fde1faee-5559-3165-82a8-0078c7b99c08
 Good: Can write to mount point

 ssvm-check says it can write to the mount point.

 06:43:12,830 ERROR NfsSecondaryStorageResource:2396 - Unable to mount
 10.129.155.101:/vol/secondary at
 /mnt/SecStorage/548477a5-73f6-3dd6-9179-93e4c92a3329 due to mount.nfs:
 Connection timed out


 And here the log shows timeouts.


 Also on public interface  Storage interface,are not trunk.Only
 inter-vlan
 routing is enable.


 Have you checked if the SSVM’s virtual interfaces got bridged to the
 physical
 interfaces as per your label scheme? Have you run tcpdump to see if the
 packets are going over the right interface? Can you snoop on the switch
 end to
 see if the packets are indeed making it out the interface? Are the switches
 configured with VLANs correctly?




 Regards,
 Tejas



 On Thu, Jun 5, 2014 at 11:40 AM, Shanker Balan 
 shanker.ba...@shapeblue.com
 wrote:

 Hi Tejas,

 comments inline.

 On 04-Jun-2014, at 1:09 pm, Tejas Gadaria refond.g...@gmail.com
 wrote:

 Hi,

 I am trying to create setup with xenserver, where Storage,public,Guest
 
 Management traffic will be carried by 4 diff. nics  all are in
 different
 VLAN.
 After assigning the name-label in xen. System vm's are created but I am
 not
 able ping to SSVM  CPVM public IP .

 root

Re: is there any tutorials for setting up CS using advanced network and KVM hypervisor?

2014-06-04 Thread Shanker Balan
Comments inline.

On 05-Jun-2014, at 3:00 am, Yiping Zhang yzh...@marketo.com wrote:

 Hi,

 I have followed this run book to set up my first CS instance successfully 
 with basic networking: http://people.apache.org/%7Eke4qqq/runbook/index.html .



 Now I want to try advanced networking with kvm hypervisor where CS management 
 server and kvm hypervisor are running on two separate physical nodes. Does 
 any one know a good and accurate tutorial or run book for such a setup ?

Like Sanjeev already mentioned, the Install+Admin guide should help you with 
the setup.
Alternatively, I have a step-by-step guide at 
http://shankerbalan.net/blog/cloudstack-simple-advanced-network-example/ which 
could use.

Hth.


--
@shankerbalan

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

Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design  Buildhttp://shapeblue.com/iaas-cloud-design-and-build//
CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/
CloudStack Bootcamp Training Courseshttp://shapeblue.com/cloudstack-training/

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


Re: Frequent NFS not responding, timed out issue

2014-04-29 Thread Shanker Balan
Hi,

Comments inline.

On 28-Apr-2014, at 1:45 pm, Hung Nguyen The hung...@saobacdau.vn wrote:

 Thanks Shanker. I don't have total control on the system and it lacks a 
 proper monitoring system.

Do give collectd + SNMP a try. Works very well for me.

 After some more investigations we believe the high latency is due to to 
 openvswitch, and some VMs are flooding packets.

Ouch.

You could have a separate storage network to isolate VM traffic from storage
traffic.


 Some tunings have done like increase Flow-Eviction-thresthold and the network 
 is now much more stable.
 That would be greate if someone can guide me somewhere with information 
 regarding improve performance of open vswitch on Xenserver 6.2
 Btw, OVS is 1.4.6 version.

Have you considered upgrading openvswitch to a newer version? I personally
have not tried updating openvswitch on xenserver but should be possible
using the DDK. YMMV!

http://git.openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=blob_plain;f=INSTALL.XenServer;hb=HEAD


--
@shankerbalan

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

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

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 traininghttp://shapeblue.com/cloudstack-training/
28th-29th May 2014, Bangalore. 
Classrommhttp://shapeblue.com/cloudstack-training/
16th-20th June 2014, Region A. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
23rd-27th June 2014, Region B. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
15th-20th September 2014, Region A. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
22nd-27th September 2014, Region B. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
1st-6th December 2014, Region A. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
8th-12th December 2014, Region B. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/

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


Re: Frequent NFS not responding, timed out issue

2014-04-26 Thread Shanker Balan
Comments inline.

On 26-Apr-2014, at 3:06 pm, Hung Nguyen The 
hung...@saobacdau.vnmailto:hung...@saobacdau.vn wrote:

Hi Shanker,
Thanks for your comment. I am trying to figure out why the network latency is 
high.

I would like to know how you determined that the network latency is high. Did 
you do some
kind of ping test? If so, does the latency change during peak / non-peak times?

Real metrics would be useful to identify patterns.

It is good to know if the issue with 10Gbps is no longer the case.

Goes back to the availability of metrics. :)

I am not sure whether there is a problem with the physical switch (IBM Flex 
switch) or something has to do with the driver of network card.

At the risk of sounding like a broken record, do you have metrics for your 
network?

I usually deploy a central collectd poller to pull SNMP information for all 
devices and XenServers.

I attached with the NIC info and driver version. I don’t know if this is the 
latest version or not.

You will need to check XenServer site / Citrix for the details I guess.

Regards.
@shankerbalan




With thanks,
Nguyễn Thế Hùng



-Original Message-
From: Shanker Balan [mailto:shanker.ba...@shapeblue.com]
Sent: Friday, April 25, 2014 12:27 PM
To: CloudStack-Users
Subject: Re: Frequent NFS not responding, timed out issue

Hi Hung,

Comments inline.

On 25-Apr-2014, at 2:14 am, Hùng Nguyễn Thế 
thehung.ngu...@live.commailto:thehung.ngu...@live.com wrote:

 Hi all,
 We experience an intermittent NFS connection from our Xenserver 6.2 Sp1 
 latest patch.
 /var/log/kern.log shows the exact messages as in the known issues from 
 Xenserver 6.0 Release Notes [1]:
 kernel: nfs: server 10.0.0.1 not responding, timed out
 Our enviroment is indeed 10Gbps, storage is IBM Storwize v7000.
 Hope someone can give us some hints on this matter.


Would you have any monitoring running of the network itself? SNMP information 
collected from the switches and the physical network interfaces of the various 
devices on the network would be helpful to narrow down the issue.

Most likely there is saturation somewhere.



 Buying Citrix support subscription is on the way.
 Some addtional information:
 nfsstat -m:
 rw,relatime,vers=3,rsize=1048576,wsize=1048576,namlen=255,acregmin=0,
 acregmax=0,acdirmin=0,acdirmax=0,soft,proto=tcp,port=65535,timeo=133,r
 etrans=0, sec=sys,mountport=65535,local_lock=none,addr=192.168.x.x

 I have captured tcpdump and seen some symtomps like TCP retransmission, tcp 
 acked unseen segment.
 Network seems okay, the only unusual thing is the latency from xenserver to 
 the storage is fluctuating, from 1ms to several XX ms.

Try to get access to the network level metrics to debug further.

Regards.


--
@shankerbalan

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

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

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 traininghttp://shapeblue.com/cloudstack-training/
28th-29th May 2014, Bangalore. 
Classrommhttp://shapeblue.com/cloudstack-training/
16th-20th June 2014, Region A. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
23rd-27th June 2014, Region B. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
15th-20th September 2014, Region A. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
22nd-27th September 2014, Region B. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
1st-6th December 2014, Region A. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
8th-12th December 2014, Region B. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/

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


Re: Frequent NFS not responding, timed out issue

2014-04-24 Thread Shanker Balan
Hi Hung,

Comments inline.

On 25-Apr-2014, at 2:14 am, Hùng Nguyễn Thế thehung.ngu...@live.com wrote:

 Hi all,
 We experience an intermittent NFS connection from our Xenserver 6.2 Sp1 
 latest patch.
 /var/log/kern.log shows the exact messages as in the known issues from 
 Xenserver 6.0 Release Notes [1]:
 kernel: nfs: server 10.0.0.1 not responding, timed out
 Our enviroment is indeed 10Gbps, storage is IBM Storwize v7000.
 Hope someone can give us some hints on this matter.


Would you have any monitoring running of the network itself? SNMP information
collected from the switches and the physical network interfaces of the various
devices on the network would be helpful to narrow down the issue.

Most likely there is saturation somewhere.



 Buying Citrix support subscription is on the way.
 Some addtional information:
 nfsstat -m:
 rw,relatime,vers=3,rsize=1048576,wsize=1048576,namlen=255,acregmin=0,
 acregmax=0,acdirmin=0,acdirmax=0,soft,proto=tcp,port=65535,timeo=133,retrans=0,
 sec=sys,mountport=65535,local_lock=none,addr=192.168.x.x

 I have captured tcpdump and seen some symtomps like TCP retransmission, tcp 
 acked unseen segment.
 Network seems okay, the only unusual thing is the latency from xenserver to 
 the storage is fluctuating, from 1ms to several XX ms.

Try to get access to the network level metrics to debug further.

Regards.


--
@shankerbalan

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

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

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 traininghttp://shapeblue.com/cloudstack-training/
28th-29th May 2014, Bangalore. 
Classrommhttp://shapeblue.com/cloudstack-training/
16th-20th June 2014, Region A. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
23rd-27th June 2014, Region B. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
15th-20th September 2014, Region A. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
22nd-27th September 2014, Region B. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
1st-6th December 2014, Region A. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
8th-12th December 2014, Region B. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/

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


Re: SSVM cannot ping DNS

2014-04-22 Thread Shanker Balan
Hi Ameen,

NOTE: Reply is addressed to the users@ list.

On 21-Apr-2014, at 11:49 pm, Ameen Ali 
rootam...@gmail.commailto:rootam...@gmail.com wrote:

Thank you for your reply Mr. Balan

Let me clearify a few things about my setup.

1. All my setup is happening inside vMware Workstation. That includes my 
management server and my hosts.

I am not familiar with a vmware workstation environment.

2. My setup was a basic zone not an advanced zone, but I can switch if 
nessecary,

No, lets get basic working first.

3. My Xen host had 1 interface only (eth0 although when I ifconfig it I have 
xenbr0 as well). I tried adding another interface but it doesn't show up on the 
console.

xenbr0 is the bridge to eth0.


4. I tried adding the traffic labels, I am not entirely sure if I did them the 
right way or not:

a) First, I added the labels in the zone.
b) I used the command: xe network-list on my XenServer host, I took the uuid of 
xenbr0 and set it to cloud-public using the command xe network-param-set and 
adding the uuid and label. Then I added xenapi add cloud-private but after I 
ran the cloud and I got the ssvm to run I had something new called xapi1 as  
link local network so I switched cloud-private to it.

5. Since I'm using vMware's network. I had the following setup in my zone:

Guest CIDR: 172.16.96.0/24http://172.16.96.0/24
cloud-private traffic type Management: 172.16.96.150-200
cloud-public: 172.16.96.120-140


I am not familiar with vmWare workstation so I cant offer any specific 
solutions.
However, in order for nested VMs to work correctly, you might require
the networks settings on the vmware/virtualbox platform to allow promiscous 
mode.

Can you find such an option (or similar) option? Allowing promiscous mode
might just get the network working.

Regards.

--
@shankerbalan

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

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

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 traininghttp://shapeblue.com/cloudstack-training/
28th-29th May 2014, Bangalore. 
Classrommhttp://shapeblue.com/cloudstack-training/
16th-20th June 2014, Region A. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
23rd-27th June 2014, Region B. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
15th-20th September 2014, Region A. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
22nd-27th September 2014, Region B. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
1st-6th December 2014, Region A. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
8th-12th December 2014, Region B. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/

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


Re: SSVM cannot ping DNS

2014-04-21 Thread Shanker Balan
Hi Ameen,

comments inline.

On 19-Apr-2014, at 11:02 pm, Ameen Ali rootam...@gmail.com wrote:

 Dear CloudStackers,

 I've been having this issue for quite a while. My SSVM is not able to ping
 the Management Server or  DNS or resolve download.cloud.com Therefor I am
 not able to download any template even if I'm hosting them inside the
 Management Server itself. I tried disabling iptables on both management
 server and host but still nothing is happening.

Ok.

 Notice the following:
 172.16.96.2 is my gateway
 172.16.96.10 is my management server (Cloudstack 4.0.2)
 172.16.96.40 is my host (XenServer 6.0)

Is this an advanced Zone? If so,

1) How many physical interfaces does your hypervisor have?
2) Since you are using Xen, what traffic labels have you assigned
 while creating the Zone?
3) Have you created the traffic labels on the XenServer hosts?
4) What subnet have you used as the public range?



 The following is the output of ssvm_check.sh.

 ​
 First DNS server is  8.8.8.8
 PING 8.8.8.8 (8.8.8.8): 56 data bytes
 64 bytes from 172.16.96.46: Destination Host Unreachable
 Vr HL TOS  Len   ID Flg  off TTL Pro  cks  Src  Dst Data
 4  5  00 5400    0 0040  40  01 5b1e 172.16.96.46  8.8.8.8
 64 bytes from 172.16.96.46: Destination Host Unreachable
 Vr HL TOS  Len   ID Flg  off TTL Pro  cks  Src  Dst Data
 4  5  00 5400    0 0040  40  01 5b1e 172.16.96.46  8.8.8.8
 --- 8.8.8.8 ping statistics ---
 2 packets transmitted, 0 packets received, 100% packet loss
 WARNING: cannot ping DNS server
 route follows
 Kernel IP routing table
 Destination Gateway Genmask Flags Metric RefUse
 Iface
 8.8.4.4 172.16.96.2 255.255.255.255 UGH   0  00 eth1
 8.8.8.8 172.16.96.2 255.255.255.255 UGH   0  00 eth1
 172.16.96.0 0.0.0.0 255.255.255.0   U 0  00 eth1
 172.16.96.0 0.0.0.0 255.255.255.0   U 0  00 eth2
 172.16.96.0 0.0.0.0 255.255.255.0   U 0  00 eth3
 169.254.0.0 0.0.0.0 255.255.0.0 U 0  00 eth0
 0.0.0.0 172.16.96.2 0.0.0.0 UG0  00 eth2


According to your routing table, the DNS servers is expected to
be reachable via 172.16.96.2 gateway IP using the eth1 Interface
on the SSVM.

Are you able to ping 172.16.96.2 from the SSVM at all?

If ping to 172.16.96.2 is failing, can you double check your traffic labels
against the physical interfaces. For the network to work correctly,
the SSVM’s interfaces has to be bridged to the correct physical interface
on the hypervisor. CloudStack does this mapping using the traffic labels
which you specified at the time of zone creation.


 
 ERROR: DNS not resolving download.cloud.com
 resolv.conf follows
 nameserver 8.8.8.8
 nameserver 8.8.4.4
 nameserver 8.8.8.8
 nameserver 8.8.4.4
 ​​
 ​
 ​
 ​



 ​The following is part of the output of the following command: grep -i -E
 'exc|unable|fail|invalid|leak|invalid|warn'
 /var/log/cloud/management/management-server.log ​:
 ​
 ​
 ​
 ​
 2014-04-17 05:51:09,356 WARN  [xen.resource.CitrixResourceBase]
 (DirectAgent-4:null) Failed to program default network rules for s-4-VM
 2014-04-17 05:51:14,782 WARN  [network.element.VpcVirtualRouterElement]
 (consoleproxy-1:null) Network Ntwk[204|Guest|6] is not associated with any
 VPC
 2014-04-17 05:51:14,799 WARN  [network.element.VpcVirtualRouterElement]
 (consoleproxy-1:null) Network Ntwk[202|Control|3] is not associated with
 any VPC
 2014-04-17 05:51:14,819 WARN  [network.element.VpcVirtualRouterElement]
 (consoleproxy-1:null) Network Ntwk[201|Management|2] is not associated with
 any VPC
 2014-04-17 05:51:56,275 WARN  [xen.resource.CitrixResourceBase]
 (DirectAgent-163:null) Ignoring VM v-5-VM in transition state starting.
 2014-04-17 05:51:58,387 WARN  [xen.resource.CitrixResourceBase]
 (DirectAgent-96:null) Failed to program default network rules for v-5-VM
 2014-04-17 06:24:51,091 DEBUG [xen.resource.XenServerConnectionPool]
 (DirectAgent-235:null) XmlRpcException for method: host.get_by_uuid due to
 Failed to read server's response: connect timed out.  Reconnecting...retry=1
 2014-04-17 06:24:51,092 DEBUG [xen.resource.XenServerConnectionPool]
 (DirectAgent-235:null) connect through IP(172.16.96.40 for
 pool(e024bf43-7efc-daed-3644-6b7c9a5a6ceb) is broken due to
 org.apache.xmlrpc.XmlRpcException: Failed to read server's response:
 connect timed out
 2014-04-17 06:52:47,943 DEBUG [xen.resource.XenServerConnectionPool]
 (DirectAgent-276:null) XmlRpcException for method: SR.scan due to Failed to
 create input stream: Read timed out.  Reconnecting...retry=1
 2014-04-17 06:52:47,943 WARN  [xen.resource.CitrixResourceBase]
 (DirectAgent-276:null) GetStorageStats 

Re: Upgrade 4.2.1 -- 4.3. After the upgrade does not work console VM

2014-04-21 Thread Shanker Balan
Hi Yuriy,

Comments inline.

On 21-Apr-2014, at 12:09 pm, Юрий Карпель yu...@karpel.su wrote:

 I am currently using cloudstack 4.3 with Citrix XenServer 6.2
 After the upgrade 4.2.1 to 4.3, does not restart console VM :

 cloudstack-sysvmadm -a

 Stopping and starting 1 secondary storage vm(s)...
 Done stopping and starting secondary storage vm(s)

 Stopping and starting 1 console proxy vm(s)...
 ERROR: Failed to start console proxy vm with id 2

 Done stopping and starting console proxy vm(s) .

 ConsoleVM is running but the console does not work:

I ran into the same issue. In ACS 4.3+, the way
console proxy sessions works has changed.

This is fixed by setting consoleproxy.url.domain to empty
and secstorage.encrypt.copy to false followed by a SSVM and CPVM stop/start
cycle and a management-server restart.

Plea see http://shankerbalan.net/blog/apache-cloudstack-4-3-0-released/
and 
http://mail-archives.apache.org/mod_mbox/cloudstack-dev/201404.mbox/%3ccf71bb25.f2fd%25amogh.vase...@citrix.com%3e
 for the earlier
discussion on the same.



--
@shankerbalan

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

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

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 traininghttp://shapeblue.com/cloudstack-training/
28th-29th May 2014, Bangalore. 
Classrommhttp://shapeblue.com/cloudstack-training/
16th-20th June 2014, Region A. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
23rd-27th June 2014, Region B. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
15th-20th September 2014, Region A. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
22nd-27th September 2014, Region B. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
1st-6th December 2014, Region A. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
8th-12th December 2014, Region B. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/

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


Re: SSVM output, Why the default centos system doesnt gets loaded?

2014-04-16 Thread Shanker Balan
Hi Sandeep,

Comments inline.

On 16-Apr-2014, at 12:00 pm, sandeep khandekar cloudstack.sand...@gmail.com 
wrote:

 Yesterday I sent a wrong output

 Please find the exact output of my ssvm and help me out

 Link Local IP address
 # ssh -i /var/lib/cloudstack/management/.ssh/id_rsa -p 3922 root@
 169.254.3.199
 The authenticity of host '[169.254.3.199]:3922 ([169.254.3.199]:3922)'
 can't be established.
 ECDSA key fingerprint is 49:e9:95:ab:c6:34:fb:88:f6:c1:8b:14:31:6b:50:ca.
 Are you sure you want to continue connecting (yes/no)? yes
 Warning: Permanently added '[169.254.3.199]:3922' (ECDSA) to the list of
 known hosts.
 Linux s-1-VM 3.2.0-4-686-pae #1 SMP Debian 3.2.41-2 i686
 .
 root@s-1-VM:~# /usr/local/cloud/systemvm/ssvm-check.sh

 
 First DNS server is  10.4.21.4
 PING 10.4.21.4 (10.4.21.4): 56 data bytes
 64 bytes from 10.4.6.68: Destination Host Unreachable
 Vr HL TOS  Len   ID Flg  off TTL Pro  cks  Src  Dst Data
 4  5  00 5400    0 0040  40  01 5a0b 10.4.6.68  10.4.21.4
 64 bytes from 10.4.6.68: Destination Host Unreachable
 Vr HL TOS  Len   ID Flg  off TTL Pro  cks  Src  Dst Data
 4  5  00 5400    0 0040  40  01 5a0b 10.4.6.68  10.4.21.4
 --- 10.4.21.4 ping statistics ---
 2 packets transmitted, 0 packets received, 100% packet loss
 WARNING: cannot ping DNS server
 route follows
 Kernel IP routing table
 Destination Gateway Genmask Flags Metric RefUse
 Iface
 0.0.0.0 10.4.6.10.0.0.0 UG0  00 eth2
 10.4.6.00.0.0.0 255.255.255.128 U 0  00 eth1
 10.4.6.00.0.0.0 255.255.255.128 U 0  00 eth2
 10.4.6.00.0.0.0 255.255.255.128 U 0  00 eth3
 10.4.21.4   10.4.6.1255.255.255.255 UGH   0  00 eth1
 103.15.60.4 10.4.6.1255.255.255.255 UGH   0  00 eth1
 169.254.0.0 0.0.0.0 255.255.0.0 U 0  00 eth0
 
 ERROR: DNS not resolving download.cloud.com
 resolv.conf follows
 nameserver 10.4.21.4
 nameserver 103.15.60.4
 nameserver 10.4.21.4
 nameserver 103.15.60.4
 root@s-1-VM:~#

 If I use private IP it throws an error.  to connect to ssvm
 #ssh -i /var/lib/cloudstack/management/.ssh/id_rsa -p 3922 root@10.4.6.68
 ssh: connect to host 10.4.6.68 port 3922: No route to host

 How to enable dns server?


Sandeep,

This looks like a network configuration issue to me. Looking at your routing
table, the 2 DNS servers having the IPs 10.4.21.4 and 103.15.60.4 have a
host specific route using the eth1 device:

 10.4.21.4   10.4.6.1255.255.255.255 UGH   0  00 eth1
 103.15.60.4 10.4.6.1255.255.255.255 UGH   0  00 eth1



Would you know which physical interface on the hypervisor is bridged to
SSVM’s eth1? You can run the “brctl show” command on the hypervisor to get this
information.


 If I ping from my machine it is working properly,

 root@cloudstack# ping 10.4.21.4

 PING 10.4.21.4 (10.4.21.4) 56(84) bytes of data.
 64 bytes from 10.4.21.4: icmp_req=1 ttl=127 time=32.3 ms
 64 bytes from 10.4.21.4: icmp_req=2 ttl=127 time=0.824 ms
 64 bytes from 10.4.21.4: icmp_req=3 ttl=127 time=4.08 ms
 ^C

 --- 10.4.21.4 ping statistics ---
 3 packets transmitted, 3 received, 0% packet loss, time 2000ms
 rtt min/avg/max/mdev = 0.824/12.420/32.350/14.155 ms

 Troublesome to understand now.

A Virtual Machine’s networking is very different from the physical
hosts networking. A physical bridge has to configured with the
right label to assist cloudstack in mapping a VMs interface(s)
to the right physical interface.

If the mapping is incorrect, then networking will generally fail.

Hth.




--
@shankerbalan

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

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

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 traininghttp://shapeblue.com/cloudstack-training/
28th-29th May 2014, Bangalore. 
Classrommhttp://shapeblue.com/cloudstack-training/
16th-20th June 2014, Region A. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
23rd-27th June 2014, Region B. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
15th-20th September 2014, Region A. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
22nd-27th September 2014, Region B. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
1st-6th December 2014, Region A. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
8th-12th December 2014, Region B. Instructor 

Re: local storage ?

2014-04-15 Thread Shanker Balan
Comments inline.

On 07-Apr-2014, at 10:38 pm, Zack Payton zpay...@gmail.com wrote:

 Damn, was hoping for JBOD.
 Additionally, I don't have a raid controller.

 Thanks anyhow.



Zack, you can use Linux software RAID to create your RAID10 stripe
and mount the volume under /var/lib/libvirt.

http://www.tldp.org/HOWTO/Software-RAID-HOWTO.html

Hth.

--
@shankerbalan

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

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

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 traininghttp://shapeblue.com/cloudstack-training/
28th-29th May 2014, Bangalore. 
Classrommhttp://shapeblue.com/cloudstack-training/
16th-20th June 2014, Region A. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
23rd-27th June 2014, Region B. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
15th-20th September 2014, Region A. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
22nd-27th September 2014, Region B. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
1st-6th December 2014, Region A. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
8th-12th December 2014, Region B. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/

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


Re: local storage ?

2014-04-15 Thread Shanker Balan
Hi Zack,

Comments inline.

On 15-Apr-2014, at 9:24 pm, Zack zpay...@gmail.com wrote:

 Issue being that ideally, I'd like to take advantage of the logic built into 
 Hadoop and Kafka to leverage JBOD for parallel I/O.  My worry is that zfs 
 drivers won't be as clever with application specific I/O optimizations.
 Z

The only IO optimisation I can think of would be parallization of reads/writes
across the spindles.

Looking at how AWS EMR works, it uses S3 instead of HDFS for its storage 
requirements.
The ephemeral disk(s) are only used during a job run. I feel this is a superior
scaling design when compared to using local disks.

Advantages:

(1) Save storage space by eliminating the need for HDFS 3x replication factor. 
Rather
than have 3 copies of each log, let the storage system handle dedup and 
striping across
the JBODs.
(2) Save on bandwidth between TOR switches
(3) Application lifecycle management becomes simple as there is no statefull 
data on
compute nodes. I can blow the data on the local disk without worrying about 
data loss
(4) Scale storage independent of compute nodes
(5) Parallel object PUT/GET requests is possible with object storage

(3) and (4) are really the deal clincher for me. One node going down should not 
bring
hadoop to a standstill and I should be able to manage storage requirements 
without
investing in additional compute nodes (hypervisors) or vice versa.

You can consider building a distributed storage service using your JBOD. These 
days,
most distributed storage systems (Gluster, RiakCS) provide an S3 interface and
stock hadoop (?) seems to support S3 natively now. Let Gluster/Riak handle
striping across the JBODs.

http://basho.com/riak-cloud-storage/
http://gluster.org/community/documentation/index.php/Hadoop
https://ceph.com/docs/master/cephfs/hadoop/

As for Kafka, its been a while since I tracked the project. I am not certain if 
it
supports object storage. Please do check.

On the whole, I would opt for a object storage as a service for your different
workloads than a app specific cloud.

Also given the adoption of EMR + S3 on AWS, object storage seems to be the way
to go forward.

YMMV.


--
@shankerbalan

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

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

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 traininghttp://shapeblue.com/cloudstack-training/
28th-29th May 2014, Bangalore. 
Classrommhttp://shapeblue.com/cloudstack-training/
16th-20th June 2014, Region A. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
23rd-27th June 2014, Region B. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
15th-20th September 2014, Region A. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
22nd-27th September 2014, Region B. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
1st-6th December 2014, Region A. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
8th-12th December 2014, Region B. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/

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


Re: local storage ?

2014-04-15 Thread Shanker Balan

On 15-Apr-2014, at 6:52 pm, Nux! n...@li.nux.ro wrote:

 On 15.04.2014 14:03, Shanker Balan wrote:
 Comments inline.
 On 07-Apr-2014, at 10:38 pm, Zack Payton zpay...@gmail.com wrote:
 Damn, was hoping for JBOD.
 Additionally, I don't have a raid controller.
 Thanks anyhow.
 Zack, you can use Linux software RAID to create your RAID10 stripe
 and mount the volume under /var/lib/libvirt.
 http://www.tldp.org/HOWTO/Software-RAID-HOWTO.html

 Yes, good, also LVM over the disks would work, too.

Good that you mentioned LVM.

LVM is certainly the way to go if you prefer Linux ext3/XFS.
My Linux NAS does LVM over md raid devices and managing the devices
and space has been really smooth.

/volume1/homes/shanu $ sudo pvdisplay
  --- Physical volume ---
  PV Name   /dev/md2
  VG Name   vg1000
  PV Size   4.08 TB / not usable 1.75 MB
  Allocatable   yes (but full)
  PE Size (KByte)   4096
  Total PE  1069631
  Free PE   0
  Allocated PE  1069631
  PV UUID   sEKkNg-uHGs-wrIn-Ycfd-t6zW-CQY0-Dm2J7X

  --- Physical volume ---
  PV Name   /dev/md3
  VG Name   vg1000
  PV Size   2.73 TB / not usable 3.56 MB
  Allocatable   yes (but full)
  PE Size (KByte)   4096
  Total PE  715389
  Free PE   0
  Allocated PE  715389
  PV UUID   Q43L0L-qDH4-51x6-SBrB-WviH-3gxw-KXLBMQ

/volume1/homes/shanu $ cat /proc/mdstat
Personalities : [raid1] [linear] [raid0] [raid10] [raid6] [raid5] [raid4]
md3 : active raid5 sdd6[0] sda6[2] sdb6[1]
  2930237568 blocks super 1.2 level 5, 64k chunk, algorithm 2 [3/3] [UUU]

md2 : active raid5 sda5[6] sdd5[3] sdc5[5] sdb5[4]
  4381210944 blocks super 1.2 level 5, 64k chunk, algorithm 2 [4/4] []

md1 : active raid1 sda2[0] sdb2[1] sdc2[2] sdd2[3]
  2097088 blocks [4/4] []

md0 : active raid1 sda1[0] sdb1[1] sdc1[2] sdd1[3]
  2490176 blocks [4/4] []

unused devices: none



--
@shankerbalan

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

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

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 traininghttp://shapeblue.com/cloudstack-training/
28th-29th May 2014, Bangalore. 
Classrommhttp://shapeblue.com/cloudstack-training/
16th-20th June 2014, Region A. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
23rd-27th June 2014, Region B. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
15th-20th September 2014, Region A. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
22nd-27th September 2014, Region B. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
1st-6th December 2014, Region A. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
8th-12th December 2014, Region B. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/

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


Re: help: any body maintaining cloud blogs...???

2014-03-31 Thread Shanker Balan
Top posting.

http://planet.apache.org/cloudstack/

On 01-Apr-2014, at 3:19 am, Hollman Enciso R. hollman.enc...@gmail.com wrote:

 i have one in spanish :P

 http://algolibre.com/tag/cloudstack/


--
@shankerbalan

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

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

Apache CloudStack Bootcamp training courses

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

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


Re: No running ssvm is found

2014-03-28 Thread Shanker Balan
Comments inline.

On 26-Mar-2014, at 4:12 pm, sandeep khandekar cloudstack.sand...@gmail.com 
wrote:

 Dear All,
 How to remove these error?
 No running ssvm is found

 why do we get these error?

There could be any number of reasons why your SSVM is failing to start. The
below link should help you trouble shoot:

https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM,+templates,+Secondary+storage+troubleshooting

Regards.


--
@shankerbalan

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

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

Apache CloudStack Bootcamp training courses

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

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


Re: custom DNS entry for secondary IP address

2014-03-28 Thread Shanker Balan
Comments inline.

On 27-Mar-2014, at 2:16 pm, Jochim, Ingo ingo.joc...@bautzen-it.de wrote:

 Hi Jayapal,

 I don't think that is a good idea. In case of a rebuild of the VR all changes 
 will get lost.
 Also non administrative users in a subdomain won't see the VR's at all.

I agree.

It would be best to use an external DNS providers like Route 53’s update 
services
to create records.


--
@shankerbalan

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

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

Apache CloudStack Bootcamp training courses

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

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


Re: How to allow others systems on my network to access vms

2014-03-23 Thread Shanker Balan
Comments inline.

On 24-Mar-2014, at 10:49 am, Sugandh S s.suga...@rocketmail.com wrote:

 Hi

 I have set up CS 4.2 and I have done a basic install. I can create vm 
 instances and they can communicate with other systems on my network but other 
 systems on my network can't ping or access the vms. Is there any way I can 
 achieve this.

Have you updated the VM firewall settings to allow traffic? You can find the 
firewall settings
under the Network tab.

http://docs.cloudstack.apache.org/projects/cloudstack-administration/en/latest/networking2.html#ip-forwarding-and-firewalling

Regards.
@shankerbalan



--
@shankerbalan

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

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

Apache CloudStack Bootcamp training courses

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

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


Re: Reserving IP address in DHCP range

2014-03-21 Thread Shanker Balan

On 21-Mar-2014, at 11:00 am, Sanjeev Neelarapu sanjeev.neelar...@citrix.com 
wrote:

 I think in the same guest network we can't have few VMs with dynamic
 IP addresses and others with static.

CloudStack does allow you to use an external DHCP server via custom network
offering. You should be able to make reservations on the external
DHCP server as per requirement.

PS: I have not used this feature so cant comment on the implementation

--
@shankerbalan

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

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

Apache CloudStack Bootcamp training courses

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

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


Re: Virtual Router VM issues

2014-03-20 Thread Shanker Balan
Comments inline.

On 19-Mar-2014, at 3:38 pm, Laurent Steff laurent.st...@inria.fr wrote:

 Hi,

 Thanks for your response, answers below.

 - Mail original -

 From what I know and have read on the Internet, this usually
 happens when your Linux NAT box hits the IPtables connection
 tracking limit. This limit is set via /proc.

 A quick search on the web reveals many sites that tell
 you how to increase the conntrack limits.

 Yes, but every tunning I'll do will be lost when VirtualRouter VM
 will be re-instanciated.

You can stick in your tunable into rc.local. You will need
to re-add it in case the VR is recreated.

 As all monitoring we could manually had on this VM.
 I've heard there's are request for enhancement concerning VirtualRouter VM
 real-life monitoring (and not juste, it's ok, I'm running :)).
 I will try to +1 them.

Yes, I think 64bit VRs will give a larger address space. Not sure if
the conntrack limits would be enhanced in the process as well.



 However, what would be interesting to know why you hit the limit
 in the first place. Any signs of network abuse? Lots of connections
 in TIME_WAIT state?

 Yes, and the only way to find it was to tcpdump on VirtualRouter VM.
 2 hosts were making accidentaly to much DNS requests (hundred by seconds).


Are the VMs directly queries any external DNS server? If so, reconfigure
them to use the internal DNS server and block all external DNS traffic
using the egress firewall settings.


 As soon as the DoS on the VirtualRouter VM was stopped, we could again
 create/start virtual machines on cloudstack.


I think you should be able to clean up the network by filtering egress traffic.

Hth.


--
@shankerbalan

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

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

Apache CloudStack Bootcamp training courses

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

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


Re: Virtual Router VM issues

2014-03-18 Thread Shanker Balan
Comments inline.

On 18-Mar-2014, at 7:52 pm, Laurent Steff laurent.st...@inria.fr wrote:

 Hi,

 As we are since one full week in big issues with our cloudstack 
 implementation (unable to create vm, start a
 vm, ..., see Unable to create a deployment for vm from Pierre Benard on 
 this list),
 we are investigating our VirtualRouter Vm and it appears that :

 - it appears as a great green on cloudstack web interface (running)
 - there's full on it's /var (due to below)
 - it's /var/log/kern.log is filled with thoses messages :

 ---
 Mar 18 14:11:57 r-3452-VM kernel: [   78.384476] nf_conntrack: table full, 
 dropping packet.
 Mar 18 14:11:57 r-3452-VM kernel: [   78.422114] nf_conntrack: table full, 
 dropping packet.
 Mar 18 14:11:57 r-3452-VM kernel: [   78.453980] nf_conntrack: table full, 
 dropping packet.
 Mar 18 14:11:58 r-3452-VM kernel: [   79.506306] nf_conntrack: table full, 
 dropping packet.
 Mar 18 14:11:58 r-3452-VM kernel: [   79.509123] nf_conntrack: table full, 
 dropping packet.
 Mar 18 14:11:58 r-3452-VM kernel: [   79.522540] nf_conntrack: table full, 
 dropping packet.
 ---

 What could we do (and how ?)

 - Increase RAM of the VirtualRouter VM ?
 - Scale out on the services provided by the VirtualRouter VM ?

From what I know and have read on the Internet, this usually
happens when your Linux NAT box hits the IPtables connection
tracking limit. This limit is set via /proc.

A quick search on the web reveals many sites that tell
you how to increase the conntrack limits.

However, what would be interesting to know why you hit the limit
in the first place. Any signs of network abuse? Lots of connections
in TIME_WAIT state?


Hth.

--
@shankerbalan

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

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

Apache CloudStack Bootcamp training courses

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

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


Re: Disk IO on Cloudstack VMs

2014-03-05 Thread Shanker Balan
Comments inline.

On 05-Mar-2014, at 12:50 pm, Suresh Sadhu suresh.sa...@citrix.com wrote:

 HI Nishan,

 Its nfs mount and it has to pass through your network.

 I see for guest vms ,QOS limit set to 25600kbytes/s .I think increase this 
 value will give better throughput.

 Also while you mount nfs  storage ,you can set the rsize and wsize  
 parameters for better  I/O.


Suresh, I think the OP is testing the ROOT disk and not a manual NFS mount.
The VR should not come into the picture in this case.

--
@shankerbalan

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

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

Apache CloudStack Bootcamp training courses

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

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


Re: Disk IO on Cloudstack VMs

2014-03-04 Thread Shanker Balan
Comments inline.

On 05-Mar-2014, at 10:01 am, Nishan Sanjeewa Gunasekara 
nishan.sanje...@gmail.com wrote:

 Hi,

 I'm running CS 4.2.1 on XenServer 6.2 hosts.

 My primary storage is a ZFS file system provided via NFS.

 When I do a dd test directly from one of the hosts on the NFS mount I get a
 write speed of about 150MBps

 dd if=/dev/zero of=test.dmp bs=1M conv=fdatasync count=1000
 1000+0 records in
 1000+0 records out
 1048576000 bytes (1.0 GB) copied, 6.99829 seconds, 150 MB/s

 But when I do the same test on a Cloudstack VM running on the same host
 (root disk on the same nfs mount ofcourse) I get a very low write speed.
 20MBps.

 dd if=/dev/zero of=test.dmp bs=1M conv=fdatasync count=1000
 1000+0 records in
 1000+0 records out
 1048576000 bytes (1.0 GB) copied, 44.6171 s, 23.5 MB/s

 Any ideas how I can improve this ?


Is this a PV VM?

I just did a unscientific test in my lab on a PV VM. Results below:

On the XenServer:

[root@vxen1-1 ebb66062-d46f-7b3a-07be-b9ec583ec1a9]# dd if=/dev/zero 
of=test.dmp bs=1M conv=fdatasync count=1000
1000+0 records in
1000+0 records out
1048576000 bytes (1.0 GB) copied, 26.1396 seconds, 40.1 MB/s

On a VM:

[root@scan1 ~]# dd if=/dev/zero of=test.dmp bs=1M conv=fdatasync count=1000
1000+0 records in
1000+0 records out
1048576000 bytes (1.0 GB) copied, 29.4688 s, 35.6 MB/s


I guess 10% is the virtual disk overhead.




--
@shankerbalan

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

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

Apache CloudStack Bootcamp training courses

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

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


Re: TCP migration in CloudStack

2014-02-12 Thread Shanker Balan
Hi Hoang,

Comments inline.

On 13-Feb-2014, at 8:37 am, Hoang Minh minhho...@resl.kaist.ac.kr wrote:

 Hello,

 I'm currently interested in using some TCP migration techniques together
 with CloudStack.

 What I want to do is basically like this:
 - An application is connecting to client using TCP connection

Ok

 - I make the same application in a different host (server)

Ok

 - Thus I want to somehow migrate the current TCP connection to this ‘new’
 application

You cant really “migrate” current connections to another host unless the
state table is maintained by the OS and the application itself can resume.

I doubt if there are apps out there which can resume the same session. TCP level
HA is difficult and usually very expensive.

 Is there anyone out there who may have some information on this? Thanks.

What you can however easily achieve is fault tolerance using CloudStack’s load
balancer (or any external load balancer.

http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html-single/Admin_Guide/index.html#external-firewalls-and-load-balancers


Hth.


--
@shankerbalan

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

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

Apache CloudStack Bootcamp training courses

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

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


Re: NFS machine not responding, timed out issue

2014-02-11 Thread Shanker Balan
Comments inline.

On 12-Feb-2014, at 9:09 am, Umair Azam ua...@i2cinc.com wrote:

 I am also getting following in hypervisor logs. Do you think its the issue 
 with NIC of primary storage, well i can mount that filesystem manually

 /var/log/messages:Feb 11 08:16:40 xenserver-Host1 kernel: [ 3103.098811] 
 e1000e: eth0 NIC Link is Down
 /var/log/messages:Feb 11 08:21:31 xenserver-Host1 kernel: [ 3393.829579] 
 e1000e: eth0 NIC Link is Up 100 Mbps Full Duplex, Flow Control: None
 /var/log/messages:Feb 11 08:21:31 xenserver-Host1 kernel: [ 3393.829687] 
 e1000e :00:19.0: eth0: 10/100 speed: disabling TSO
 /var/log/messages:Feb 11 08:23:50 xenserver-Host1 kernel: [ 3533.528756] 
 e1000e: eth0 NIC Link is Down
 /var/log/messages:Feb 11 08:23:20 xenserver-Host1 kernel: [ 23.231541] e1000e 
 :00:19.0: eth0: (PCI Express:2.5GT/s:Width x1) 00:1e:4f:fb:81:16
 /var/log/messages:Feb 11 08:23:20 xenserver-Host1 kernel: [ 23.231544] e1000e 
 :00:19.0: eth0: Intel(R) PRO/1000 Network Connection
 /var/log/messages:Feb 11 08:23:20 xenserver-Host1 kernel: [ 23.231562] e1000e 
 :00:19.0: eth0: MAC: 7, PHY: 6, PBA No: 1051FF-0FF


Your NIC link is flapping way too often and thats possibly whats causing
NFS to freak out. Try to narrow down the cause of the link flaps:

1) Force link speed settings
2) Change patch cords
3) Replace physical NIC
4) Try patching to another switch port
5) Check switch port speed settings


Hth.


--
@shankerbalan

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

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

Apache CloudStack Bootcamp training courses

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

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


Re: dom0 configuration of Xenserver

2014-02-10 Thread Shanker Balan
Hi Umair,

Citrix Xen related questions should probably be asked on the Citrix Xen mailing 
lists :)


On 11-Feb-2014, at 12:02 am, Umair Azam ua...@i2cinc.com wrote:

 Hi,

 I have x86 Core2Duo machine with 4GB RAM, what should be the dom0 memory cpu 
 configurations for Citrix xen? i want my SSVM and proxy VM to run on 
 hypervisor of these specs.


By default, XenServer automatically tunes the dom0 settings during
installation. IIRC, on a 4G system, ~768MB gets allocated to dom0.

The defaults should work just fine for you.

Regards.
@shankerbalan


--
@shankerbalan

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

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

Apache CloudStack Bootcamp training courses

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

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


Re: CloudStack question on guests

2014-02-10 Thread Shanker Balan
Comments inline.

On 10-Feb-2014, at 11:15 pm, Brent Clark bcl...@tendrilinc.com wrote:

 I have a CS 3.0 install with 2x KVM hosts. I recenlty built a new shiny CS
 4.2 install with 3x KVM hosts. I am wondering what the process I should
 follow to easly migrate guests from one CS version to the other.

Each release of ACS has an upgrade guide. See below link for upgrading
from 3.0.x to 4.2.1:

http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.1/html-single/Release_Notes/index.html#upgrade-from-3.0.x-to-4.2.1

The upgrade process would be transparent to the guests.


 It is as easy as removing the KVM host from the old version, slapping the
 new agent onto it and adding it to the new CS?

According to 
http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.1/html-single/Release_Notes/index.html#upgrade-from-3.0.x-to-4.2.1,
 you don’t require
to remove and add the KVM host back again. Only a package upgrade and some
settings update to environment.properties should suffice.

I would first try the upgrade on a non-production setup to be safe. :)

HTH.
@shankerbalan


--
@shankerbalan

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

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

Apache CloudStack Bootcamp training courses

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

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


Re: Ubuntu-10.04.4 - kernel panic not syncing fatal exception in interrupt

2014-02-10 Thread Shanker Balan
Comments inline.


On 10-Feb-2014, at 9:09 pm, iliyas shirol iliyas.shi...@gmail.com wrote:

 Greetings!

 I'm trying to install Ubuntu-10.04.4 on ACS-4.2 with XenServer-6.2 as the
 hypervisor. I'm encountering the following issue when I'm trying to boot a
 new instance with the downloaded iso,

 *kernel panic not syncing fatal exception in interrupt*

 Is there any limitation / known issues with the compatibility of
 Ubuntu-10.04.4 and XenServer-6.2 ?

Have you tried setting the OS type to ‘other?

http://shankerbalan.net/blog/cloudstack-ubuntu-10-04-xenserver-template/ could
also help.

Regards.

--
@shankerbalan

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

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

Apache CloudStack Bootcamp training courses

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

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


Re: SSVM and CPVM on Cloudstack 4.3

2014-02-10 Thread Shanker Balan
Comments inline.

On 10-Feb-2014, at 3:30 pm, Tejas Gadaria refond.g...@gmail.com wrote:

 Hi,

 I have SSVM and CPVM in running State.
 When I am taking console of any of this, On console

 CPVM displays : sd 2:0:0:0 rejecting i/o to offline device
   cannot execute /sbin/getty

 SSVM displays : sd 2:0:0:0 rejecting i/o to offline device

 Logs are as below..

I have seen IO failures occur when the primary storage is degraded. This
can happen due to NFS issues or a lossy network.

See if everything is OK with your NFS and network.

HTH


--
@shankerbalan

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

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

Apache CloudStack Bootcamp training courses

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

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


Re: What is your setup?

2014-02-05 Thread Shanker Balan
On 06-Feb-2014, at 9:01 am, Umair Azam ua...@i2cinc.com wrote:

 VMware= Lamborghini
 Xen= BMW
 KVM= Motor Bike

 :D

Bare Metal!!!

--
@shankerbalan

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

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

Apache CloudStack Bootcamp training courses

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

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


Re: Enabling SSL in the CloudStack

2014-01-29 Thread Shanker Balan
Comments inline.

On 29-Jan-2014, at 3:01 am, Hollman Enciso R. hollman.enc...@gmail.com wrote:

 Hello.

 How can i enable SSL on CS interface ?

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

 but it's for old versions :(

 I have CS 4.2.1


I prefer using Apache HTTP + SSL server for terminating SSL
locally on the management server.

http://shankerbalan.net/blog/securing-cloudstack-management-ui-with-apache-ssl/



--
@shankerbalan

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

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

Apache CloudStack Bootcamp training courses

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

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


Re: Enabling SSL in the CloudStack

2014-01-29 Thread Shanker Balan
Comments inline.

On 29-Jan-2014, at 6:56 pm, Hollman Enciso R. hollman.enc...@gmail.com wrote:

 On Tue, Jan 28, 2014 at 4:35 PM, Kristoffer Sheather @ CloudCentral 
 kristoffer.sheat...@cloudcentral.com.au wrote:

 Hi Hollman,

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

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

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



 yeap. you're right

 I'm on testing enviroment.

 At this moment I have not a netscaler. but thanks for the recomendation


The opensource Zen Load balancer is a viable option for LB. The UI is a
little tricky but you quickly get used to it.

http://www.zenloadbalancer.com



--
@shankerbalan

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

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

Apache CloudStack Bootcamp training courses

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

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


Re: Internal DNS confusion

2014-01-28 Thread Shanker Balan
Comments inline.

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

 Thanks for the answers Shanker. Some more questions …

Sure.


 Are internal DNS lookups performed only by the system vms?

Dont know.

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

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

  For example, does Management Server perform internal DNS lookups?

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

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

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


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

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

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

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


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

   Network  Add Guest Network  Network Domain
   Domains  Add Domain  Network Domain

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


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

Regards.
@shankerbalan


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

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

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

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

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


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

 You (or your IT team).


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

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


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

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

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

 Hope that makes sense.


 --
 @shankerbalan

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

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

 Apache CloudStack Bootcamp training courses

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

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

Re: Cloudstack advanced networking for development environment

2014-01-28 Thread Shanker Balan
Comments inline.

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

 Hi all,

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


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

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

Regards.

--
@shankerbalan

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

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

Apache CloudStack Bootcamp training courses

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

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


Re: CS4.2 monitor instance memory usage

2014-01-28 Thread Shanker Balan
Comments inline.

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

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

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


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

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


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

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

Do let us know how it can be improved.

--
@shankerbalan

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

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

Apache CloudStack Bootcamp training courses

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

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


Re: Internal DNS confusion

2014-01-27 Thread Shanker Balan
Comments inline.

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

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

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

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


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

You (or your IT team).


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

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


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

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

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

Hope that makes sense.


--
@shankerbalan

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

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

Apache CloudStack Bootcamp training courses

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

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


Re: Internal DNS confusion

2014-01-27 Thread Shanker Balan
Comments inline.

On 28-Jan-2014, at 9:49 am, Abhisek Basu abhisekb...@msn.com wrote:

 In scenarios where internal DNS server does not exist, can we skip putting
 internal DNS while setting up the zone? Does cloudstack enforce to use 
 internal DNS?

Absolutely - just use the same values for internal and external DNS. You must 
specify atleast one internal and one external DNS.

The reason why internal + external exists because companiesrun “split” DNS.

I use Google DNS (8.8.8.8) for both internal and external DNS settings.


Regards.
@shankerbalan

--
@shankerbalan

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

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

Apache CloudStack Bootcamp training courses

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

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


Re: Purpose of cloudbr0 and cloudbr1 bridges

2014-01-27 Thread Shanker Balan
Comments inline.

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

 The Cloudstack installation guide walks through setting up cloudbr0 and
 cloudbr1 bridges for KVM and lxc hypervisors.  What is the purpose of these
 bridges, why does cloudstack need them?


http://shapeblue.com/cloudstack/understanding-cloudstacks-physical-networking-architecture/
 should help.

--
@shankerbalan

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

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

Apache CloudStack Bootcamp training courses

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

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


Re: Connect to a MySQL Galera Cluster

2014-01-26 Thread Shanker Balan
Comments inline.

On 26-Jan-2014, at 11:14 am, Shanker Balan shanker.ba...@shapeblue.com wrote:

 Comments inline.

 On 26-Jan-2014, at 10:10 am, Francois Gaudreault fgaudrea...@cloudops.com 
 wrote:

 Yes, we tried with a NetScaler, but as soon as one MySQL dies, both 
 management servers fence themselves on DB exceptions :S


 Does Galera maintain client connection state across the failover?

I was not able to get much information but Looks like it does not manage 
sessions
across the cluster. So if a node fails, all sessions currently handled by
the node will eventually timeout and fail.

It is up to the client now to open new connections.

One way to work around the session handling issue would be to use a
L7 proxy that can talk MySQL. I think mysql-proxy can do that but
its alpha(?) s/w. Also, mysql-proxy itself is not HA.

The other way would be to make the whole fault tolerance an app problem. If
the app could automagically reconfigure itself to do round robin writes
across the galera cluster based on health checks, we will get “HA” 
automatically.
A failed node would end up being blacklisted by the app.

As of now, I don’t see any other way other than to force a CloudStack restart
in response to a galera node failure.

Hoping someone with more db-foo can tell us more.

--
@shankerbalan

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

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

Apache CloudStack Bootcamp training courses

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

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


Re: Cloudstack 4.2 on XenServer vs KVM

2014-01-25 Thread Shanker Balan
Comments inline.

On 26-Jan-2014, at 8:35 am, Nux! n...@li.nux.ro wrote:

 On 26.01.2014 00:39, John Mancuso wrote:
 So, I am planning on setting up a brand new cloud infrastructure
 using Cloudstack 4.2 on RHEL6. Cloudstack is hypervisor agnostic- I
 got that... However there are some differences and features that are
 available on XenServer that are not available on KVM. This is from a
 Citrix salesperson:
 Here is some feedback on the following benefits of using Citrix
 XenServer over KVM:
  1.  Recurring Volume Snapshots with delta - Citrix XenServer is the
 only hypervisor where recurring snapshots will be deltas (in other
 hypervisors every volume snapshot is full) - this provides significant
 space savings on secondary storage
  2.  VM snapshots (taking a snapshot of a VM volumes including
 memory state - not possible with KVM which supports only volume
 snapshots)
  3.  Live Storage Migration is only possible on Citrix XenServer
 (not supported on KVM)
  4.  Live CPU and Memory Scaling for running instances (not supported on 
 KVM)
 On the Redhat side they have made it very clear that while Xen is
 still available, KVM is the hypervisor technology they are pushing 
 supporting going forward.
 On the Apache/Citrix side, I get the feeling that from a QA
 perspective CloudStack (and CloudPlatform) is based and tested on
 XenServer and would be preferable in a stable  reliable  Production
 environment.

 Hello,

 You are mostly correct, those points seem valid and right now Xenserver is 
 the better supported hypervisor, it is quite mature and with loads of nice 
 features. I'm seriously considering it myself.

 Having said that, many clouds deployed nowadays are on KVM; yes it is missing 
 some features but it has a huge user base, it's very stable and the 
 performance is great; for me the killer feature is that I got a real OS as 
 hypervisor, an OS that I have used extensively and am quite familiar with, 
 for which we have deployment and monitoring infra in place etc etc. 
 Additionally, if you want to use more exotic stuff, such as GlusterFS, Ceph 
 or whatever crazy thing (CLVM over multiple mpath devices?) can run in 
 RHEL/CentOS proper KVM is again the best choice. If you want VXLAN you are 
 again limited to KVM afaik.

 So it kind of depends on your needs, luckily there are good quality options 
 to satisfy most of them.

What I personally find most relevant for choosing a hypervisor is guest OS
support. Not all hypervisors are created equal when it comes to supporting
a wide mix of operating systems.

Given that XenServer and KVM are both open source, I would recommend running
both. It gives you OS flexibility and spreads risks.

If you can afford, add VMware also. Enterprises love VMware.

Regards.

--
@shankerbalan

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

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

Apache CloudStack Bootcamp training courses

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

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


Re: Connect to a MySQL Galera Cluster

2014-01-25 Thread Shanker Balan
Comments inline.

On 26-Jan-2014, at 10:10 am, Francois Gaudreault fgaudrea...@cloudops.com 
wrote:

 Yes, we tried with a NetScaler, but as soon as one MySQL dies, both 
 management servers fence themselves on DB exceptions :S


Does Galera maintain client connection state across the failover?


--
@shankerbalan

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

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

Apache CloudStack Bootcamp training courses

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

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


Re: New to CloudStack // Questions

2014-01-23 Thread Shanker Balan
On 24-Jan-2014, at 3:59 am, Chad c...@logicweb.com wrote:

 Thanks Shanker.

 Does that link tutorial you gave me also apply for any other o/s? I have yet
 to try the demo/live interface hence why I ask. Just prepping.

The create template from instance volume would be the same for any OS.
However, the install from ISO and the “customisation steps would
vary slightly depending on OS variants.

But overall, the flow is largely same and I don’t see any issues.

Hth.


--
@shankerbalan

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

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

Apache CloudStack Bootcamp training courses

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

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


Re: CS 4.2 KVM Centos 6.5 FreeBSD 64bit unable to install instance

2014-01-22 Thread Shanker Balan
Comments inline.

On 22-Jan-2014, at 10:22 am, Sanjeev Neelarapu sanjeev.neelar...@citrix.com 
wrote:

 Also make sure that the compute offering you use for deploying a vm has
 sufficient RAM and CPU to boot.

I am able to boot and install FreeBSD 10-RELEASE (32bit and 64bit) on
CentOS 6.5 KVM + ACS 4.2.1.

The service offering is a 512MB 1vCPU one.

Regards.

--
@shankerbalan

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

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

Apache CloudStack Bootcamp training courses

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

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


Re: CS 4.2 KVM Centos 6.5 FreeBSD 64bit unable to install instance

2014-01-22 Thread Shanker Balan

On 22-Jan-2014, at 4:31 pm, Shanker Balan shanker.ba...@shapeblue.com wrote:

 Comments inline.

 On 22-Jan-2014, at 10:22 am, Sanjeev Neelarapu sanjeev.neelar...@citrix.com 
 wrote:

 Also make sure that the compute offering you use for deploying a vm has
 sufficient RAM and CPU to boot.

 I am able to boot and install FreeBSD 10-RELEASE (32bit and 64bit) on
 CentOS 6.5 KVM + ACS 4.2.1.

 The service offering is a 512MB 1vCPU one.

 Regards.


FreeBSD 9.2-RELEASE amd64 also installs and boots on a 512MB 1vCPU instance.

@motty: Do try changing the instance offering like Sanjeev suggested.



--
@shankerbalan

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

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

Apache CloudStack Bootcamp training courses

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

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


Re: CS 4.2 KVM Centos 6.5 FreeBSD 64bit unable to install instance

2014-01-22 Thread Shanker Balan
On 22-Jan-2014, at 8:36 pm, motty cruz motty.c...@gmail.com wrote:

 Thank you all for your support on this matter. I was able to install
 FreeBSD 8.4 i386 and FreeBSD 9.2 i386 but not success installing 64bit
 version. any ideas what should I change? as mentioned before I installed
 CentOS from template and from ISO 64bit version.

 FreeBSD 10 boots from the ISO but stall just after show options for single
 user mode, it says booting .. / 

 Thanks,

I have some details here:

http://shankerbalan.net/blog/freebsd-10-on-cloudstack-kvm/

--
@shankerbalan

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

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

Apache CloudStack Bootcamp training courses

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

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


Re: CS 4.2 KVM Centos 6.5 FreeBSD 64bit unable to install instance

2014-01-22 Thread Shanker Balan
Comments inline.

On 23-Jan-2014, at 3:49 am, motty cruz motty.c...@gmail.com wrote:

 Hi Shanker,
 do you mind telling me version of Libvirt you're running?

 I'm running the following version:
 qemu-img-0.12.1.2-2.415.el6_5.3.x86_64

[root@kvm1-2 ~]# rpm -q qemu-img libvirt
qemu-img-0.12.1.2-2.415.el6_5.3.x86_64
libvirt-0.10.2-29.el6_5.2.x86_64
[root@kvm1-2 ~]# lsb_release -a
LSB Version::base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch
Distributor ID:CentOS
Description:CentOS release 6.5 (Final)
Release:6.5
Codename:Final
[root@kvm1-2 ~]#


--
@shankerbalan

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

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

Apache CloudStack Bootcamp training courses

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

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


Re: New to CloudStack // Questions

2014-01-21 Thread Shanker Balan
On 21-Jan-2014, at 3:22 pm, Peter Jönsson peter.jons...@klarna.com wrote:

 Well, I wrote that library so I’m using it. :)

 I will try to make that library more agnostic to packer, that the plugin will 
 be in a more releasable state. We are testing a version of packer with 
 cloudstack support internally at work. That moving target is here: 
 https://github.com/mindjiver/packer


Brilliant. Looking forward to Packer+cloudstack.

Thanks.

--
@shankerbalan

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

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

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2 traininghttp://shapeblue.com/cloudstack-training/
08/09 January 2014, Londonhttp://shapeblue.com/cloudstack-training/
13-17 January 2014, GLOBAL. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
20-24 January 2014, GLOBAL. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/

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


Re: CloudStack 4.2 Advance networking setup

2014-01-21 Thread Shanker Balan
Comments inline.

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

 Thanks again, I apologize for pushing this further but can I get by without
 using bonding?

What exactly are you trying to get by” here?

There are 4 traffic types in CloudStack - management, storage, guest and 
public. So,
if you had four physical network interfaces, your bridging would be as below:

eth0 - cloudbr0 - management
eth1 - cloudbr1 - storage
eth2 - cloudbr2 - guest
eth3 - cloudbr3 - public

If you had 8 physical interfaces:

eth0+eth4 - bond0 - cloudbr0 - management
eth1+eth5 - bond1 - cloudbr1 - storage
eth2+eth6 - bond2 - cloudbr2 - guest
eth3+eth7 - bond3 - cloudbr3 - public

And if you had 12 interfaces:

eth0+eth4+eth8 - bond0 - cloudbr0 - management
eth1+eth5+eth9 - bond1 - cloudbr1 - storage
eth2+eth6+eth10 - bond2 - cloudbr2 - guest
eth3+eth7+eth11 - bond3 - cloudbr3 - public


If you dont want to do bonding and had 3 NICs, then:

eth0 - cloudbr0 - management
eth1 - cloudbr1 - guest
eth2 - cloudbr2 - public

Next, if you had only 2 physical network interfaces, then...

eth0 - cloudbr0 - management
eth1 - cloudbr1 - guest+public

Finally, if you had only ONE physical interface...

eth0 - cloudbr0 - management+guest+public

There is no bonding involved anywhere. Bonding is required only if you require
to double your bandwidth requirements and/or build in fault tolerance 
(LAGG/LACP).


 at this moment I have two bridges management(cloudbr1) and
 public/guest(cloudbr0) in CS when I try to create a network under Network
 Offering is blank and am unable to select anything.

AFAIK, creating a new network offering via ‘Service Offering - Network 
Offerings
- Add network offering’ is unrelated to your physical networking setup.

 any idea?

Bug in ACS maybe? Someone from the dev team might know more
(or open a Jira ticket for the same).


Also, you can always use the API to create network offerings.




 On Mon, Jan 20, 2014 at 7:33 AM, Shanker Balan
 shanker.ba...@shapeblue.comwrote:

 Yeesh, wonder how steps (1) and (2) got deleted. Adding them now. :D

 On 20-Jan-2014, at 8:50 pm, Shanker Balan shanker.ba...@shapeblue.com
 wrote:

 Comments inline.

 On 20-Jan-2014, at 8:27 pm, motty cruz motty.c...@gmail.com wrote:

 Thanks for your support,
 I would like to create two public subnets, both facing public without
 routers involved. my questions was how to configure bridge for three
 interfaces, is it same bridge, am a bit confuse.

 The actual steps:

 (1) Map ethernet interfaces to bond0
 (2) Map bond0 to bridge interface cloudbr0 (or cloudbr1 depending on your
 environment)


 Any decent Linux bridging HOWTo would help you do steps (1) and (2),
 there
 is nothing cloudstack specific about creating bonds+bridge. Just make
 sure
 your bridge interface has a prefix of cloudbr

 Alternatively,
 http://shankerbalan.net/blog/network-bonding-with-cloudstack-and-linux-kvm/
 could also be helpful.



 [root@kvm1 network-scripts]# less ifcfg-eth0
 DEVICE=eth0
 HWADDR=00:25:90:CA:70:66
 TYPE=Ethernet
 ONBOOT=yes
 BRIDGE=cloudbr0

 [root@kvm1 network-scripts]# less ifcfg-eth2
 DEVICE=eth2
 TYPE=Ethernet
 HWADD=90:E2:BA:54:DF:9A
 ONBOOT=yes
 BRIDGE=cloudbr0

 [root@kvm1 network-scripts]# less ifcfg-eth3
 DEVICE=eth3
 HWADDR=90:E2:BA:54:DF:9B
 TYPE=Ethernet
 ONBOOT=yes
 BRIDGE=cloudbr0

 The above configs wont create bonds.

 Please see

 https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/sec-Using_Channel_Bonding.html

 --
 @shankerbalan

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

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

 Apache CloudStack Bootcamp training courses

 **NEW!** CloudStack 4.2 training
 http://shapeblue.com/cloudstack-training/
 08/09 January 2014, Londonhttp://shapeblue.com/cloudstack-training/
 13-17 January 2014, GLOBAL. Instructor led, On-line
 http://shapeblue.com/cloudstack-training/
 20-24 January 2014, GLOBAL. Instructor led, On-line
 http://shapeblue.com/cloudstack-training/

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

Re: CloudStack 4.2 Advance networking setup

2014-01-21 Thread Shanker Balan
On 21-Jan-2014, at 8:35 pm, motty cruz motty.c...@gmail.com wrote:

 Thank you, it clear out the confusing in my mind.

:)


--
@shankerbalan

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

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

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2 traininghttp://shapeblue.com/cloudstack-training/
08/09 January 2014, Londonhttp://shapeblue.com/cloudstack-training/
13-17 January 2014, GLOBAL. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
20-24 January 2014, GLOBAL. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/

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


Re: CS 4.2 KVM Centos 6.5 FreeBSD 64bit unable to install instance

2014-01-21 Thread Shanker Balan
Comments inline.

On 22-Jan-2014, at 3:48 am, motty cruz motty.c...@gmail.com wrote:

 Thank you Lucian, but I tried FreeBSD 9.2 64bit and FreeBSD 10 64bit,
 either ISO did not worked for me.


I will try FreeBSD 10 + KVM later today and let you know. I can confirm that
FreeBSD 10 works wonderfully well on XenServer 6.2 with Os Type as
“other” (Thanks to Citrix/Roger)


http://blog.xen.org/index.php/2014/01/21/improved-xen-support-in-freebsd/


--
@shankerbalan

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

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

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2 traininghttp://shapeblue.com/cloudstack-training/
08/09 January 2014, Londonhttp://shapeblue.com/cloudstack-training/
13-17 January 2014, GLOBAL. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
20-24 January 2014, GLOBAL. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/

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


Re: CloudStack 4.2 Advance networking setup

2014-01-20 Thread Shanker Balan
Comments inline.

On 20-Jan-2014, at 8:27 pm, motty cruz motty.c...@gmail.com wrote:

 Thanks for your support,
 I would like to create two public subnets, both facing public without
 routers involved. my questions was how to configure bridge for three
 interfaces, is it same bridge, am a bit confuse.

Any decent Linux bridging HOWTo would help you do steps (1) and (2), there
is nothing cloudstack specific about creating bonds+bridge. Just make sure
your bridge interface has a prefix of cloudbr

Alternatively, 
http://shankerbalan.net/blog/network-bonding-with-cloudstack-and-linux-kvm/
could also be helpful.



 [root@kvm1 network-scripts]# less ifcfg-eth0
 DEVICE=eth0
 HWADDR=00:25:90:CA:70:66
 TYPE=Ethernet
 ONBOOT=yes
 BRIDGE=cloudbr0

 [root@kvm1 network-scripts]# less ifcfg-eth2
 DEVICE=eth2
 TYPE=Ethernet
 HWADD=90:E2:BA:54:DF:9A
 ONBOOT=yes
 BRIDGE=cloudbr0

 [root@kvm1 network-scripts]# less ifcfg-eth3
 DEVICE=eth3
 HWADDR=90:E2:BA:54:DF:9B
 TYPE=Ethernet
 ONBOOT=yes
 BRIDGE=cloudbr0

The above configs wont create bonds.

Please see
https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/sec-Using_Channel_Bonding.html

--
@shankerbalan

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

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

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2 traininghttp://shapeblue.com/cloudstack-training/
08/09 January 2014, Londonhttp://shapeblue.com/cloudstack-training/
13-17 January 2014, GLOBAL. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
20-24 January 2014, GLOBAL. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/

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


Re: CloudStack 4.2 Advance networking setup

2014-01-20 Thread Shanker Balan
Yeesh, wonder how steps (1) and (2) got deleted. Adding them now. :D

On 20-Jan-2014, at 8:50 pm, Shanker Balan shanker.ba...@shapeblue.com wrote:

 Comments inline.

 On 20-Jan-2014, at 8:27 pm, motty cruz motty.c...@gmail.com wrote:

 Thanks for your support,
 I would like to create two public subnets, both facing public without
 routers involved. my questions was how to configure bridge for three
 interfaces, is it same bridge, am a bit confuse.

The actual steps:

(1) Map ethernet interfaces to bond0
(2) Map bond0 to bridge interface cloudbr0 (or cloudbr1 depending on your 
environment)


 Any decent Linux bridging HOWTo would help you do steps (1) and (2), there
 is nothing cloudstack specific about creating bonds+bridge. Just make sure
 your bridge interface has a prefix of cloudbr

 Alternatively, 
 http://shankerbalan.net/blog/network-bonding-with-cloudstack-and-linux-kvm/
 could also be helpful.



 [root@kvm1 network-scripts]# less ifcfg-eth0
 DEVICE=eth0
 HWADDR=00:25:90:CA:70:66
 TYPE=Ethernet
 ONBOOT=yes
 BRIDGE=cloudbr0

 [root@kvm1 network-scripts]# less ifcfg-eth2
 DEVICE=eth2
 TYPE=Ethernet
 HWADD=90:E2:BA:54:DF:9A
 ONBOOT=yes
 BRIDGE=cloudbr0

 [root@kvm1 network-scripts]# less ifcfg-eth3
 DEVICE=eth3
 HWADDR=90:E2:BA:54:DF:9B
 TYPE=Ethernet
 ONBOOT=yes
 BRIDGE=cloudbr0

 The above configs wont create bonds.

 Please see
 https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/sec-Using_Channel_Bonding.html

 --
 @shankerbalan

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

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

 Apache CloudStack Bootcamp training courses

 **NEW!** CloudStack 4.2 traininghttp://shapeblue.com/cloudstack-training/
 08/09 January 2014, Londonhttp://shapeblue.com/cloudstack-training/
 13-17 January 2014, GLOBAL. Instructor led, 
 On-linehttp://shapeblue.com/cloudstack-training/
 20-24 January 2014, GLOBAL. Instructor led, 
 On-linehttp://shapeblue.com/cloudstack-training/

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

--
@shankerbalan

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

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


Re: New to CloudStack // Questions

2014-01-20 Thread Shanker Balan
On 21-Jan-2014, at 5:10 am, Chad c...@logicweb.com wrote:

 Thanks Erik.

 I've installed O/S on dedicated servers over the years using USB method,
 easily done as you boot off the USB.

I personally use PXE boot to install OS on bare-metal hardware. Running around
in cold colos with a USB stick would be fun though. :)

 But I've never done it on a virtual
 machine. Can you explain how an o/s installed in a VM that is already
 created with Centos for example? I've used pre-made templates provided by
 OpenVZ / KVM communities over the years for traditional non-cloud VPS’.

I would not trust pre-made template from 3rd parties for security reasons. YMMV.


--
@shankerbalan

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

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

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2 traininghttp://shapeblue.com/cloudstack-training/
08/09 January 2014, Londonhttp://shapeblue.com/cloudstack-training/
13-17 January 2014, GLOBAL. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
20-24 January 2014, GLOBAL. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/

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


Re: CloudStack 4.2 Advance networking setup

2014-01-19 Thread Shanker Balan
Comments inline.

On 20-Jan-2014, at 8:56 am, motty cruz motty.c...@gmail.com wrote:

 Thanks Shanker, I would like to create two different network, both network
 facing the public, two different public network that is, can this be
 achieve with bonding the interfaces?

I am trying to guess what you mean here:

(1) Are you looking to assign multiple public IP ranges?

Yes, you can assign multiple subnets as public IP ranges which will
carry public Internet traffic.

(2) Are you looking to assign multiple public IP ranges when your
hypervisor hosts have a bond configuration?

Yes, multiple physical NICs can be configured as logical bonds to carry public 
traffic.

Regards.
@shankerbalan



 Thanks,



 On Fri, Jan 17, 2014 at 5:44 PM, Shanker Balan
 shanker.ba...@shapeblue.comwrote:

 On 18-Jan-2014, at 3:56 am, motty cruz motty.c...@gmail.com wrote:

 Hi all,

 this question is about advance zone networking, I would like to have
 three
 interfaces dedicate to guest networks, do I have to create a bridge for
 each interface? I hope is not a foolish questions.

 You will require to create a bond.


 (eth1+eth2+eth3) - bond0 - bridge0 - Traffic Label


 --
 @shankerbalan

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

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

 Apache CloudStack Bootcamp training courses

 **NEW!** CloudStack 4.2 traininghttp://shapeblue.com/cloudstack-training/

 08/09 January 2014, Londonhttp://shapeblue.com/cloudstack-training/
 13-17 January 2014, GLOBAL. Instructor led, On-line
 http://shapeblue.com/cloudstack-training/
 20-24 January 2014, GLOBAL. Instructor led, On-line
 http://shapeblue.com/cloudstack-training/

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


--
@shankerbalan

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

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


Re: Communication between Management Server and guest vm deployed by root admin user

2014-01-13 Thread Shanker Balan
Comments inline. PS: I am moving this discussison to the user’s list
which I feel is a more appropriate place to discuss this query.

On 13-Jan-2014, at 1:10 pm, Saurav Lahiri saurav.lah...@sungard.com wrote:

 Hi,
 Would anybody know if  there is a way that guest vms deployed by root admin
 can be included in the system management network or routing configured to
 allow traffic flow between the management server and this guest vm.

I have a shared network called “Admin where I run my admin services like
logstash, Nagios, collectd, remote syslog server etc.


L3 routes are also in place to ensure that Vms on the Public subnet can
reach the admin VMs on the shared Admin network.

All VMs are configured to push data to the log server, mon servers etc.

 What I am trying to achieve is push the management server logs to a guest
 vm(deployed by the root admin user)  which will parse/index the log files.
 It appears that since the guest vm is not part of the system management
 network, the cloudstack management server is unable to reach it.


As long as you have routes in place (and proper firewall rules to allow 
traffic),
you would be able to push your logs from guest VMs (or physical hosts like
hypervisors) to the designated log collection server(s)

buffy:~ shanu$ traceroute log1.prod.internal
traceroute to log1.prod.internal (192.168.65.102), 64 hops max, 52 byte packets
 1  gw (192.168.44.1)  1.499 ms  1.260 ms *
 2  gw2-1 (192.168.44.251)  4.906 ms  1.512 ms  10.242 ms
 3  192.168.65.102 (192.168.65.102)  3.961 ms  3.597 ms  4.418 ms

192.168.44.1 is my edge router which has routes to reach my shared
admin network 192.168.65.0/24 via 192.168.44.251.

Hth.


--
@shankerbalan

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

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

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2 traininghttp://shapeblue.com/cloudstack-training/
08/09 January 2014, Londonhttp://shapeblue.com/cloudstack-training/
13-17 January 2014, GLOBAL. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
20-24 January 2014, GLOBAL. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/

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


Re: just 2 questions

2014-01-09 Thread Shanker Balan
Hi Hollman,

comments inline.

On 09-Jan-2014, at 8:19 pm, Hollman Enciso R. hollman.enc...@gmail.com wrote:

 Hello All. i have 2 small questions.


 1. it's possible expand the hard drive for an instance? how ?

You can’t resize the “root” disk as of now. A data disk can be resized.

http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Admin_Guide/working-with-volumes.html



 2. It's possible change the service to an instance resource increase and
 decrease with the instance running ? how ?

The feature is called dynamic scaling.

http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Admin_Guide/changing-service-offering-for-vm.html#change-cpu-ram-for-vm

Hth.


--
@shankerbalan

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

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

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2 traininghttp://shapeblue.com/cloudstack-training/
08/09 January 2014, Londonhttp://shapeblue.com/cloudstack-training/
13-17 January 2014, GLOBAL. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
20-24 January 2014, GLOBAL. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/

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


Re: issue creating a template with some service offering

2014-01-08 Thread Shanker Balan
Comments inline.

On 08-Jan-2014, at 8:40 pm, Hollman Enciso R. hollman.enc...@gmail.com wrote:

 On Wed, Jan 8, 2014 at 10:05 AM, Erik Weber terbol...@gmail.com wrote:

 As Daan said, check that your hypervisors report the CPUs are 3.00GHz or
 more and not something like 2.99GHz.

 I had a similar issue where 2.0GHz CPUs actually reported with a speed of
 1.99GHz and subsequently my 2GHz offerings didn't work.

 Regards,
 Eri


 yeap.

 that's the problem.

 my hypervisor it's 2.4GHZ and i made a service offering with 3GHz.

Specifying the CPU speed with CPU cap becomes problematic if you have
different clusters with different speed ratings.

Am not sure whats the right way to deal with this issue but I leave
cpu cap unset while creating compute service offerings.

Hth.

--
@shankerbalan

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

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

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2 traininghttp://shapeblue.com/cloudstack-training/
08/09 January 2014, Londonhttp://shapeblue.com/cloudstack-training/
13-17 January 2014, GLOBAL. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
20-24 January 2014, GLOBAL. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/

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


Re: issue creating a template with some service offering

2014-01-08 Thread Shanker Balan
On 08-Jan-2014, at 9:43 pm, Hollman Enciso R. hollman.enc...@gmail.com wrote:

 On Wed, Jan 8, 2014 at 10:49 AM, Shanker Balan
 shanker.ba...@shapeblue.comwrote:


 Specifying the CPU speed with CPU cap becomes problematic if you have
 different clusters with different speed ratings.

 Am not sure whats the right way to deal with this issue but I leave
 cpu cap unset while creating compute service offerings.


 But. creating a new service offering this field it's required

Or you can edit the db directly.


--
@shankerbalan

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

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

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2 traininghttp://shapeblue.com/cloudstack-training/
08/09 January 2014, Londonhttp://shapeblue.com/cloudstack-training/
13-17 January 2014, GLOBAL. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
20-24 January 2014, GLOBAL. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/

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


Re: how to find or prevent customers using cs for spam and Brute-force attack purpose?

2014-01-08 Thread Shanker Balan
Comments inline.

On 09-Jan-2014, at 2:49 am, Steven Liang 
stevenli...@yesup.commailto:stevenli...@yesup.com wrote:

basic zone.

You do it the traditional way. i.e., deploy IPS/IDS systems in the path of your
network traffic. So if you already have a router, consider turning on the 
security features.

What I have is a (non cloud managed) FreeBSD VM with 2 NICs acting as the 
default gateway
for my CloudStack public traffic. It would be very simple to install 
suricata/snort services
to provide IPS services.

Hth.

--
@shankerbalan

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

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

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2 traininghttp://shapeblue.com/cloudstack-training/
08/09 January 2014, Londonhttp://shapeblue.com/cloudstack-training/
13-17 January 2014, GLOBAL. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
20-24 January 2014, GLOBAL. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/

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


Re: SSH connection issue in CS 4.1.1

2014-01-04 Thread Shanker Balan
Hi Hoang,

comments inline.

On 04-Jan-2014, at 5:31 pm, Hoang Minh minhho...@resl.kaist.ac.kr wrote:

 Hello,

 I am currently using CloudStack 4.1.1 with Advanced Networking. I have set
 things up successfully, and I can ssh into my instances using public ip
 address.

 However, after I ssh into my instance, sometimes the connection freezes and
 I cannot type any commands for a while, then it starts working normally
 again. This has been happening for a while now, and I cannot figure out any
 possible problems with this. Does anyone have the same issue and know
 possible problems and solutions for this? Thank you.


The ssh connection issue could be purely network related. Could you check the
quality of your network for packet loss?


--
@shankerbalan

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

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

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2 traininghttp://shapeblue.com/cloudstack-training/
08/09 January 2014, Londonhttp://shapeblue.com/cloudstack-training/
13-17 January 2014, GLOBAL. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
20-24 January 2014, GLOBAL. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/

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


Re: XenServer 6.2 SP1

2014-01-01 Thread Shanker Balan
On 01-Jan-2014, at 9:32 pm, Prashant Sreedharan 
prashant.sreedha...@citrix.com wrote:

 Hi Francois,

 XenServer 6.2 is supported only for fresh install of CloudPlatform 4.2.
 However, XS 6.2 is fully supported from
 4.2.1.

Hmm, that explains why I ran into issues after upgrading my environment to
SP1. I recreated the Zone and its been working well so far.


 For your reference please find the compatibility matrix below:

 http://support.citrix.com/cms/kc/cloud-troubleshooting/cloudplatform-compat
 ibility-matrix/

Thanks.


--
@shankerbalan

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

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

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2 traininghttp://shapeblue.com/cloudstack-training/
08/09 January 2014, Londonhttp://shapeblue.com/cloudstack-training/
13-17 January 2014, GLOBAL. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
20-24 January 2014, GLOBAL. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/

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


Re: Advanced Zone Multi NIC Requirement

2013-12-30 Thread Shanker Balan
Comments inline.

On 31-Dec-2013, at 2:13 am, Cherif Gouiaa cherif.webdes...@gmail.com wrote:

 Hi all,

 Is it true that Multi NIC Hypervisor Host is required even in Education/PoC
 context ?

VLAN based Advanced Zone isolation can be achieved with a single NIC hypervisor.


 My config is
 + ACS 4.2
 + Advanced networking with GRE isolation and 1 public/shared guest network

While VLAN based AZ isolation requires a minimum of one NIC, I am not sure
about GRE based Advanced isolation. In my tests, It did not work correctly
with a single NIC.

I ended up using 2 NICs for GRE isolation.


 + XenServer 6.2 Hypervisor with 1 physical NIC

Please do try and let us know if you GRE isolation works in a single
NIC environment.


Regards.


--
@shankerbalan

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

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

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2 traininghttp://shapeblue.com/cloudstack-training/
08/09 January 2014, Londonhttp://shapeblue.com/cloudstack-training/
13-17 January 2014, GLOBAL. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
20-24 January 2014, GLOBAL. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/

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


Re: Bridge management network

2013-12-23 Thread Shanker Balan
Hi Robert,

Comments inline.

On 20-Dec-2013, at 10:53 pm, Robert Navarro crsh...@gmail.com wrote:

 Hey All,

 I realize that this is a highly unusual use case, but here we are.

 I have a 2U, 4 node server going to the Colo and I want to use all the
 nodes as vm hosts.

 The biggest thing though, I want to firewall off the management network
 using pfSense or some other software firewall VM that also resides on these
 hosts.

Ok.


 Now I figure I can run two KVM VMs on two separate physical hosts outside
 of CloudStack to accomplish this, but I was wondering if there was a way to
 pipe the management network into a CloudStack managed VM so I can take
 advantage of the HA stuff that CloudStack offers.

The CloudStack VM HA features are available only when a shared primary storage
is being used (NFS, iSCSI, FCOE).

Are you planning to use a shared storage service in your CloudStack setup?

 Let me know if you want to know any of the particulars of the networking
 layout and I'd be more than happy to supply the details.

While I have not personally tried what you are attempting but I don’t see
any reason why you can’t do it. I would however be concerned from an operability
point of view - what would happen to your gateway VM:

a) If primary storage is unreachable
b) If primary storage is down for maintenance

Am sure there will be a lot more gotchas along the way which will require
“workarounds”.

From an uptime SLA perspective, I would stick to having a management
network out-of-band from the production network.

Regards.

--
@shankerbalan

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

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

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2 traininghttp://shapeblue.com/cloudstack-training/
08/09 January 2014, Londonhttp://shapeblue.com/cloudstack-training/
13-17 January 2014, GLOBAL. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
20-24 January 2014, GLOBAL. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/

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


Re: Bridge management network

2013-12-23 Thread Shanker Balan
On 23-Dec-2013, at 8:42 pm, Robert Navarro crsh...@gmail.com wrote:

 Hello Shanker,

 Thanks for the response!

 Seems like the biggest concern is storage, and rightly so. I'll actually be
 using ceph for storage across all of the nodes with a few replica's dropped
 in for good measure.

While you can indeed use Ceph for the primary storage, I believe you will
need NFS for secondary storage.

You will still need to solve the secondary storage option.

 Since the storage is local to the nodes, if more than a few nodes go out at
 the same time there is likely some other, larger failure event going on
 (loss of power or something). The chassis is essentially a blade chassis.

Ok.


 IPMI is going to sit on it's own dedicated network, so I'll still have an
 OOB way to get in, but that costs me money and I'm cheap :)

Ok.

 How would I go about piping the management traffic into a VM? Would this
 have to be done manually? I didn't see the option to attach the management
 network to an instance.

Yep, so try this instead (which is how I run my lab internally)

1) Run free ESXi on all hosts as your bare metal hypervisor
2) Create vSwitch networks to carry traffic as per your preference
3) Create one of more VMs on ESXi to run your CloudStack management services
4) On each ESXi host, create a XenServer VM/KVM VM. Since you want to use Ceph, 
only KVM would be an option.
5) Create a pfSense VM on bare metal ESXi for gateway services. I personally 
use freebsd with pfsync
6) Now configure all routing to go via the gateway IP
7) Configure CloudStack to add the XenServer/KVM hosts into your Zone
8) Run a NFS VM in ESXi to provide secondary storage services. I don’t think

Does the above make sense? So how to handle disaster?

1) Start the ESXi hosts
2) The VMs which run gateway services/NFS are set to autostart in ESXi
3) The XenServer/KVM instances are also set to autostart in ESXi
4) The CloudStack management Vms are also set to autostart via ESXi



 On Mon, Dec 23, 2013 at 2:42 AM, Shanker Balan
 shanker.ba...@shapeblue.comwrote:

 Hi Robert,

 Comments inline.

 On 20-Dec-2013, at 10:53 pm, Robert Navarro crsh...@gmail.com wrote:

 Hey All,

 I realize that this is a highly unusual use case, but here we are.

 I have a 2U, 4 node server going to the Colo and I want to use all the
 nodes as vm hosts.

 The biggest thing though, I want to firewall off the management network
 using pfSense or some other software firewall VM that also resides on
 these
 hosts.

 Ok.


 Now I figure I can run two KVM VMs on two separate physical hosts outside
 of CloudStack to accomplish this, but I was wondering if there was a way
 to
 pipe the management network into a CloudStack managed VM so I can take
 advantage of the HA stuff that CloudStack offers.

 The CloudStack VM HA features are available only when a shared primary
 storage
 is being used (NFS, iSCSI, FCOE).

 Are you planning to use a shared storage service in your CloudStack setup?

 Let me know if you want to know any of the particulars of the networking
 layout and I'd be more than happy to supply the details.

 While I have not personally tried what you are attempting but I don’t see
 any reason why you can’t do it. I would however be concerned from an
 operability
 point of view - what would happen to your gateway VM:

 a) If primary storage is unreachable
 b) If primary storage is down for maintenance

 Am sure there will be a lot more gotchas along the way which will require
 “workarounds”.

 From an uptime SLA perspective, I would stick to having a management
 network out-of-band from the production network.

 Regards.

 --
 @shankerbalan

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

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

 Apache CloudStack Bootcamp training courses

 **NEW!** CloudStack 4.2 traininghttp://shapeblue.com/cloudstack-training/

 08/09 January 2014, Londonhttp://shapeblue.com/cloudstack-training/
 13-17 January 2014, GLOBAL. Instructor led, On-line
 http://shapeblue.com/cloudstack-training/
 20-24 January 2014, GLOBAL. Instructor led, On-line
 http://shapeblue.com/cloudstack-training/

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

Re: How do you customize CS vms on KVM?

2013-12-22 Thread Shanker Balan
Comments inline.

On 20-Dec-2013, at 3:46 am, jason pavao jason.pa...@oracle.com wrote:

 Update-
 Vm's instantiated from template set with Virtio disk/nic actually do not
 carry those configuration settings from template to instance.

Jason, can you share the “virsh dumpxml” output of your VM?

 How do I maintain my virtio disk/nic settings from template to instances?

For CentOS/Ubuntu templates, the disk and network settings are
VirtIO devices on KVM.



 Appreciate the advice.
 Thanks
 -jason

 Hey Folks,
 Is there a way to change the default virtual machine settings? IE- nic/disk 
 type/bus/etc. so that they can be set to virtio or other values? Is there a 
 way to change these default settings?
 If so, where would I make this change?

 I'm not seeing this documented anywhere and the workaround i've sorted out is 
 to create a custom vm with all the virtual hardware set as I like it, ie- 
 virtio for disk/nic improved performance, qcow2 for thin disks; and then 
 upload the template into cloudstack.

 From what I can see CS sticks with whatever settings were set from the 
 template which is good for me. But this seems like alot of extra work to 
 create a template externally to CS.

 There must be a way to define how CS creates my initial vms?

 Any help would be appreciated!

 Thanks
 -jason


 PS- for those of you who have suffered trying to figure out the virtio 
 drivers, the vm's virtual hardware must be configured as virtio devices in 
 order for the drivers to load.





--
@shankerbalan

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

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

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2 traininghttp://shapeblue.com/cloudstack-training/
08/09 January 2014, Londonhttp://shapeblue.com/cloudstack-training/
13-17 January 2014, GLOBAL. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
20-24 January 2014, GLOBAL. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/

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


Re: KVM - Adding volume to Ubuntu Server is not shown

2013-12-21 Thread Shanker Balan
On 22-Dec-2013, at 2:19 am, Marty Sweet msweet@gmail.com wrote:

 As far as I know certain linux distributions will do it automatically every
 so often, this may be wrong though. Did the guide fix the issue for you?


Andrei, I hope your template has a working udev service:

shanu@ubuntu1:~$ initctl status udev
udev start/running, process 479
shanu@ubuntu1:~$

shanu@ubuntu1:~$ apt-cache show udev
Package: udev
Priority: required
Section: admin
Installed-Size: 999
Maintainer: Ubuntu Developers ubuntu-devel-disc...@lists.ubuntu.com
Architecture: amd64
Version: 175-0ubuntu9.4
Depends: libacl1 (= 2.2.51-5), libc6 (= 2.10), libglib2.0-0 (= 2.16.0), 
libselinux1 (= 1.32), upstart-job, libudev0 (= 175), module-init-tools (= 
3.2.1-0ubuntu3), initramfs-tools (= 0.92bubuntu63), procps, adduser, 
util-linux ( 2.15~rc2), upstart (= 1.4-0ubuntu6)
Suggests: watershed
Filename: pool/main/u/udev/udev_175-0ubuntu9.4_amd64.deb
Size: 313866
MD5sum: b3b79a458da89ed835d467d383c6041a
SHA1: cd45a58a2b8ba260d51fbfc4698ad8af07b30de3
SHA256: f72a0821911dfc2b1f6c39dab4de214e9f145e93dcff833d7b21c93ec808ebe3
Description-en: rule-based device node and kernel event manager
 udev is a collection of tools and a daemon to manage events received from
 the kernel and deal with them in user-space.  Primarily this involves
 creating and removing device nodes in /dev when hardware is discovered or
 removed from the system.
 .
 Events are received via kernel netlink messaged and processed according to
 rules in /etc/udev/rules.d and /lib/udev/rules.d, altering the name of the
 device node, creating additional symlinks or calling other tools and programs
 including those to load kernel modules and initialise the device.
Multi-Arch: foreign
Homepage: http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html
Description-md5: 2a0ce683ea15310e7ba291148124cb1e
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 5y
Task: minimal



 Marty

 On Saturday, December 21, 2013, Andrei Mikhailovsky wrote:

 Marty, do you know if this process can be automated?

 Andrei

 - Original Message -

 From: Marty Sweet msweet@gmail.com javascript:;
 To: users@cloudstack.apache.org javascript:;
 Sent: Saturday, 21 December, 2013 2:12:24 PM
 Subject: Re: KVM - Adding volume to Ubuntu Server is not shown

 Hi Andrei,

 This can be resolved by forcing a rescan to the relevant SCSI host, these
 instructions should work:
 http://www.debuntu.org/how-to-rescan-a-scsi-bus-without-rebooting/

 Marty


 On Sat, Dec 21, 2013 at 12:49 PM, Andrei Mikhailovsky 
 and...@arhont.comjavascript:;
 wrote:

 Hi guys,

 Was wondering if there is a workaround for this problem?

 I am using KVM qemu version 1.5.0 and libvirt 1.1.4, ACS 4.2.0. Whenever
 I
 add a new volume to Ubuntu server it is not being registered with the
 server until it is rebooted. Checking dmesg output on the server does not
 list any hardware changes. I am using the Ubuntu 12.04(64bit) template.

 I've tested this on a Windows server and it works perfectly well without
 a
 reboot.


 Thanks

 Andrei




--
@shankerbalan

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

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

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2 traininghttp://shapeblue.com/cloudstack-training/
08/09 January 2014, Londonhttp://shapeblue.com/cloudstack-training/
13-17 January 2014, GLOBAL. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
20-24 January 2014, GLOBAL. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/

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


Re: KVM - Adding volume to Ubuntu Server is not shown

2013-12-21 Thread Shanker Balan
On 22-Dec-2013, at 8:42 am, Shanker Balan shanker.ba...@shapeblue.com wrote:

 On 22-Dec-2013, at 2:19 am, Marty Sweet msweet@gmail.com wrote:

 As far as I know certain linux distributions will do it automatically every
 so often, this may be wrong though. Did the guide fix the issue for you?


 Andrei, I hope your template has a working udev service:

Nm, I am able to reproduce the issue on my Ubuntu lucid KVM template
which I just created.

I can see CloudStack create a “vdb” being created as a virt-io block
device but nothing turns up inside the Guest lucid instance unless I reboot.

It smells like a hot plug issue…

So I forced ‘acpiphp' to load as per
http://www.linux-kvm.org/page/Hotadd_pci_devices

And now…

attach+detach #1:

shanu@ubuntu3:~$ date;sudo fdisk -l /dev/vdb
Sun Dec 22 12:57:36 IST 2013
shanu@ubuntu3:~$ date;sudo fdisk -l /dev/vdb
Sun Dec 22 12:57:47 IST 2013

Disk /dev/vdb: 5368 MB, 5368709120 bytes
16 heads, 63 sectors/track, 10402 cylinders, total 10485760 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x

Disk /dev/vdb doesn't contain a valid partition table
shanu@ubuntu3:~$ date;sudo fdisk -l /dev/vdb
Sun Dec 22 12:57:53 IST 2013

attach+detach #2:

shanu@ubuntu3:~$ date;sudo fdisk -l /dev/vdb
Sun Dec 22 12:57:59 IST 2013

Disk /dev/vdb: 5368 MB, 5368709120 bytes
16 heads, 63 sectors/track, 10402 cylinders, total 10485760 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x

Disk /dev/vdb doesn't contain a valid partition table
shanu@ubuntu3:~$ date;sudo fdisk -l /dev/vdb
Sun Dec 22 12:58:04 IST 2013
shanu@ubuntu3:~$

Andrei, can you try again with the hot plug modules?


--
@shankerbalan

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

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

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2 traininghttp://shapeblue.com/cloudstack-training/
08/09 January 2014, Londonhttp://shapeblue.com/cloudstack-training/
13-17 January 2014, GLOBAL. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
20-24 January 2014, GLOBAL. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/

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


Re: Dynamic Scaling Of CPU and RAM not working

2013-12-20 Thread Shanker Balan
On 20-Dec-2013, at 11:43 pm, Nitin Mehta nitin.me...@citrix.com wrote:

 Prashant - thanks for the detailed answer. I will add/correct one thing.
 The formula for computing the XS side memory params are explained @ [1]


 Copying the excerpt from the link

 * static min = service_offering / memory_overprovisioning_of_cluster.
 * dynamic min = service_offering / memory_overprovisioning_of_cluster.
 * dynamic max = service_offering
 * static max = f_min( (4 * service_offering) /
 memory_overprovisioning_of_cluster  ,  Xenserver recommended max for
 guestOS)



Yep. Working as expected. Very nice feature.

Thanks.

--
@shankerbalan

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

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

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2 traininghttp://shapeblue.com/cloudstack-training/
08/09 January 2014, Londonhttp://shapeblue.com/cloudstack-training/
13-17 January 2014, GLOBAL. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
20-24 January 2014, GLOBAL. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/

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


Re: Dynamic Scaling Of CPU and RAM not working

2013-12-20 Thread Shanker Balan
On 21-Dec-2013, at 12:43 am, Shanker Balan shanker.ba...@shapeblue.com wrote:

 On 20-Dec-2013, at 11:43 pm, Nitin Mehta nitin.me...@citrix.com wrote:

 Prashant - thanks for the detailed answer. I will add/correct one thing.
 The formula for computing the XS side memory params are explained @ [1]


 Copying the excerpt from the link

 * static min = service_offering / memory_overprovisioning_of_cluster.
 * dynamic min = service_offering / memory_overprovisioning_of_cluster.
 * dynamic max = service_offering
 * static max = f_min( (4 * service_offering) /
 memory_overprovisioning_of_cluster  ,  Xenserver recommended max for
 guestOS)



 Yep. Working as expected. Very nice feature.

Any clue if this is expected to work on FreeBSD 10 HVM instances?

I expected memory-static-max to be 2x of memory-actual (like in the case
of a CentOS VM where dynamic scaling works).

   memory-actual ( RO): 134209536
   memory-target ( RO): 134217728
 memory-overhead ( RO): 36700160
   memory-static-max ( RW): 134217728
  memory-dynamic-max ( RW): 134217728
  memory-dynamic-min ( RW): 67108864
   memory-static-min ( RW): 67108864

$ pkg info xen-tools
xen-tools-4.1.3_3
Name   : xen-tools
Version: 4.1.3_3
Origin : sysutils/xen-tools
Architecture   : freebsd:10:x86:64
Prefix : /usr/local
Categories : sysutils
Maintainer : f...@freebsd.org
WWW: UNKNOWN
Comment: Xen tools within FreeBSD domU
Shared Libs required:
libxenstore.so.3.0
Shared Libs provided:
libxenstore.so.3.0
Flat size  : 49.3KiB
Description:
These tools are useful for debugging Xen related problems when one
does not have access to the dom0 or wants to view the entries from
domU's perspective. These work on FreeBSD VMs using the XEN (i386)
kernel or the XENHVM kernel.


$ pkg info xe-guest-utilities
xe-guest-utilities-6.0.2_1
Name   : xe-guest-utilities
Version: 6.0.2_1
Origin : sysutils/xe-guest-utilities
Architecture   : freebsd:10:x86:64
Prefix : /usr/local
Categories : sysutils
Maintainer : f...@freebsd.org
WWW: UNKNOWN
Comment: FreeBSD VM tools for Citrix XenServer and XCP
Flat size  : 7.79KiB
Description:
FreeBSD VM tools for Citrix XenServer and XCP
$

For a CentOS VM:

   memory-actual ( RO): 268435456
   memory-target ( RO): 268435456
 memory-overhead ( RO): 38797312
   memory-static-max ( RW): 536870912
  memory-dynamic-max ( RW): 268435456
  memory-dynamic-min ( RW): 134217728
   memory-static-min ( RW): 134217728


--
@shankerbalan

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

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

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2 traininghttp://shapeblue.com/cloudstack-training/
08/09 January 2014, Londonhttp://shapeblue.com/cloudstack-training/
13-17 January 2014, GLOBAL. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
20-24 January 2014, GLOBAL. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/

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


Re: Dynamic Scaling Of CPU and RAM not working

2013-12-19 Thread Shanker Balan
On 19-Dec-2013, at 6:44 pm, Harikrishna Patnala 
harikrishna.patn...@citrix.com wrote:

 Hi,
 From cloustack we need to specify whether Xenserver tools got installed on 
 the template. while registering a template we see a checkbox “IsDynamic”, 
 this represents whether tools installed or not.

 Please check the template that you have used to deploy vm contains Xensever 
 Tools. (List template and check the parameter “isdynamicallyscalable”).
 If not,
 1) install Xenserver tools in the vm
 2) Call UpdateVM API with “isdynamicallyscalable” flag “true”
 3) Stop and Start the VM.
 4) Try to scale the vm


FWIW, it did not work for me when I tried it earlier. I can see CloudStack
attempting to change the setting but fails at the end.

ACS 4.2.0
CentOS 6.5 Guest + Xen Tools
XenServer 6.2

The specific error message is:

ERROR [cloud.vm.VirtualMachineManagerImpl] (Job-Executor-8:job-248 =
[ 362fda67-5c02-4284-944d-0a468ffdf64a ]) Unable to scale vm due to Catch 
exception
com.cloud.utils.exception.CloudRuntimeException when scaling VM:i-3-101-VM due 
to
com.cloud.utils.exception.CloudRuntimeException: Cannot scale up the vm because 
of
memory constraint violation: 0 = memory-static-min(134217728)
= memory-dynamic-min(268435456) = memory-dynamic-max(536870912)
= memory-static-max(268435456)


--
@shankerbalan

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

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


Re: Cloudstack on VMs

2013-12-19 Thread Shanker Balan
[Moving dev@ to BCC]

Comments inline.

On 20-Dec-2013, at 9:27 am, jitendra shelar jitendra.shelar...@gmail.com 
wrote:

 Hi All,

 In the last month I had successfully deployed cloudstack 4.0.2 on 2
 physical machines (one was VT enabled ubuntu host and other was ubuntu
 management server ).

Hi Jitendra, 4.2.0 is a more recent version of ACS and has many bugs
fixed. You might want use 4.2.0 instead of 4.0.2.


 Can anyone please tell me, whether it possible to deploy cloudstack on 2
 virtual machines?

You can certainly use 2 VMs to get started.

- Use VM1 to run the cloudstack management server + MySQL database

- Use VM2 to run a hypervisor like KVM or XenServer and ensure that
  nested virtualisation is enabled.

Also have a look at DevCloud - 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/DevCloud


Regards.

--
@shankerbalan

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

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


Re: Dynamic Scaling Of CPU and RAM not working

2013-12-19 Thread Shanker Balan
On 20-Dec-2013, at 11:13 am, Ryan Lei ryan...@cht.com.tw wrote:

 By the way, I remember seeing this kind of error message, too.

 Cannot scale up the vm because of memory constraint violation:
 0 = memory-static-min = memory-dynamic-min = memory-dynamic-max =
 memory-static-max


Let me RTFM 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Dynamic+scaling+of+CPU+and+RAM
 also.

I didnt do it the first time around.

--
@shankerbalan

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

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


Re: VMs created using KVM hypervisor

2013-12-06 Thread Shanker Balan
On 06-Dec-2013, at 2:50 pm, Anju M R anjumr...@gmail.com wrote:

 I didnt face these issues while using XenServer. Why so?


Did you do the xe-switch-network-backend bridge” change mentioned in the ACS 
Install guide?

http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Installation_Guide/citrix-xenserver-installation.html





 On Fri, Dec 6, 2013 at 10:20 AM, Anju M R anjumr...@gmail.com wrote:

 I added an Ingress rule with
 Protocol TCP, start port 22, end port 22, cidr 0.0.0.0/0, ssh also working

 Thank you


 On Fri, Dec 6, 2013 at 10:13 AM, Anju M R anjumr...@gmail.com wrote:

 Ping worked. I'm able to reach the instances from the management server
 also between instances. But SSH is not working.


 On Thu, Dec 5, 2013 at 8:46 PM, Shanker Balan 
 shanker.ba...@shapeblue.com wrote:

 On 05-Dec-2013, at 8:33 pm, Anju M R anjumr...@gmail.com wrote:

 yes. i tried that too. I created a security group with CIDR, and gave
 rules
 ICMP - code 0 and type 0, 0.0.0.0/0 and also tcp 80 80 0.0.0.0/0.
 then also
 it didn't work.

 Can you try again with ICMP codes -1 and type -1.


 --
 @shankerbalan

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

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




 --
 Regards,

 Anju M R




 --
 Regards,

 Anju M R




 --
 Regards,

 Anju M R

--
@shankerbalan

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

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


Re: xenserver 6.2 added to pool

2013-12-06 Thread Shanker Balan
Comments inline.

On 07-Dec-2013, at 2:50 am, Adam Harvey ahar...@enmasse.com wrote:

 Aye there is another issue that I've attempted to address which is 'unable to 
 create local link network' on some of the hypervisors


Can you give the output of 'xe network-list’ on the problematic XenServers?


[root@vxen1-1 ~]# xe network-list
uuid ( RO): 8fcf41ad-071f-1d77-dd0b-2f63340a16cc
  name-label ( RW): cloud_link_local_network
name-description ( RW): link local network used by system vms
  bridge ( RO): xapi0


uuid ( RO): 62e7cd1a-d321-0e11-31db-fe6f5faebcb4
  name-label ( RW): VLAN-615a80b0-6241-136a-5d7f-03ea1283961f-65
name-description ( RW):
  bridge ( RO): xapi2


uuid ( RO): 615a80b0-6241-136a-5d7f-03ea1283961f
  name-label ( RW): MGMT
name-description ( RW): Management Network
  bridge ( RO): xenbr0


uuid ( RO): 3de3a508-f929-210e-620d-ed32fa6e17a0
  name-label ( RW): Host internal management network
name-description ( RW): Network on which guests will be assigned a private 
link-local IP address which can be used to talk XenAPI
  bridge ( RO): xenapi


uuid ( RO): a694ba20-65f8-45ad-31a4-4ca56e872075
  name-label ( RW): VLAN-615a80b0-6241-136a-5d7f-03ea1283961f-64
name-description ( RW):
  bridge ( RO): xapi1


 In Cisco UCS manager I've verified they all have the same VLAN tags for
 non-mgmt and single default VLAN access for mgmt..

Without having access to the infra its hard for me to guess if a step has been 
missed out.

Regards.
@shankerbalan



 -Original Message-
 From: Shanker Balan [mailto:shanker.ba...@shapeblue.com]
 Sent: Thursday, December 05, 2013 3:09 AM
 To: CloudStack-Users
 Subject: Re: xenserver 6.2 added to pool

 On 05-Dec-2013, at 11:13 am, Adam Harvey ahar...@enmasse.com wrote:

 If it were only that way with these for me. They're completely stock I am at 
 a loss of why this is occurring.

 Adam, I am not sure whether you are looking at the real error message. The 
 standard process I follow for setting up a XenServer is as below:

 1) Install from ISO
 2) Create pool
 3) Update xenserver traffic label using XenCenter or via 
 /opt/xensource/bin/xe network-param-set CLI
 4) Add the pool master to CloudStack

 Of course, copy vhd-util to the manager host first.





 -Original Message-
 From: Shanker Balan [mailto:shanker.ba...@shapeblue.com]
 Sent: Wednesday, December 04, 2013 8:05 PM
 To: CloudStack-Users
 Subject: Re: xenserver 6.2 added to pool

 On 05-Dec-2013, at 4:47 am, Adam Harvey ahar...@enmasse.com wrote:

 2013-12-04 23:13:44,097 DEBUG [utils.script.Script]
 (DirectAgent-119:null) Looking for
 scripts/vm/hypervisor/xenserver/xenserver60/patch in the classpath
 2013-12-04 23:13:44,097 DEBUG [utils.script.Script]
 (DirectAgent-119:null) System resource: null
 2013-12-04 23:13:44,097 DEBUG [utils.script.Script]
 (DirectAgent-119:null) Classpath resource:
 file:/usr/share/cloudstack-management/webapps/client/WEB-INF/classes/
 s cripts/vm/hypervisor/xenserver/xenserver60/patch
 2013-12-04 23:13:44,098 DEBUG [utils.script.Script]
 (DirectAgent-119:null) Absolute path =
 /usr/share/cloudstack-management/webapps/client/WEB-INF/classes/scrip
 t s/vm/hypervisor/xenserver/xenserver60/patch
 2013-12-04 23:13:44,098 DEBUG [xen.resource.CitrixResourceBase]
 (DirectAgent-119:null) Copying
 /usr/share/cloudstack-management/webapps/client/WEB-INF/classes/scrip
 t s/vm/hypervisor/xenserver/xenserver60/../cloudstack_pluginlib.py to
 /etc /xapi.d/plugins on *removed* with permission 0755
 2013-12-04 23:13:44,163 DEBUG [xen.resource.CitrixResourceBase]
 (DirectAgent-119:null) Copying
 /usr/share/cloudstack-management/webapps/client/WEB-INF/classes/scrip
 t s/vm/hypervisor/xenserver/xenserver60/../vmopsSnapshot to
 /etc/xapi.d/pl ugins on *removed* with permission 0755
 2013-12-04 23:13:44,164 DEBUG [xen.resource.CitrixResourceBase]
 (DirectAgent-119:null) Unable to create destination path:
 /etc/xapi.d/plugins on *removed* but trying anyway
 2013-12-04 23:13:44,245 DEBUG [xen.resource.CitrixResourceBase]
 (DirectAgent-119:null) Copying
 /usr/share/cloudstack-management/webapps/client/WEB-INF/classes/scrip
 t s/vm/hypervisor/xenserver/xenserver60/../ovs-vif-flows.py to
 /etc/xapi.d /plugins on *removed* with permission 0755
 2013-12-04 23:13:44,245 DEBUG [xen.resource.CitrixResourceBase]
 (DirectAgent-119:null) Unable to create destination path:
 /etc/xapi.d/plugins on *removed* but trying anyway
 2013-12-04 23:13:44,327 DEBUG [xen.resource.CitrixResourceBase]
 (DirectAgent-119:null) Copying
 /usr/share/cloudstack-management/webapps/client/WEB-INF/classes/scrip
 t s/vm/hypervisor/xenserver/xenserver60/../cloud-setup-bonding.sh to
 /opt/ xensource/bin on *removed* with permission 0755

 This occurring w/anyone else?  Running CS 4.2 with xenserver 6.2 I've
 verified vhd

Re: NFS Guides

2013-12-06 Thread Shanker Balan
Comments inline.

On 06-Dec-2013, at 11:15 pm, Ian Service iserv...@ts2.ca wrote:

 Anyone have any good NFS guidelines? Have had some I/O blocking issues on
 the NFS server we have set up and want to know if there's anything more we
 can do to tune it.

Do you have any metric graphs in place? The usual steps are to add more
disks to increase IOPS, use LAGG/LACP etc.

But a phased approach to narrow down performance issues would require
some monitoring to be in place. For all you know, your NFS server is
possibly maxed out.

 It was so bad at one point that the heartbeat failed to check in and
 rebooted a few hosts (thus liberating the I/O bottleneck for the others and
 preventing them from rebooting as well)


Get some graphs in place. My personal favourite is collectd with an RRD fronted.



 Thanks for any advice,

 - Ian

--
@shankerbalan

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

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


Re: SecurityGroups, Advanced Zone And DefaultSharedNetworkOfferingWithSGService

2013-12-05 Thread Shanker Balan
On 05-Dec-2013, at 2:12 pm, Radek Smigielski radek.smigiel...@ymail.com wrote:

 I just redid the setup with Advanced Zone + Security Groups enabled.
 I am trying to understand if you could define, apply, use security groups 
 after you just update value in data_center.is_security_group_enabled ?


 Or you just basically rebuild zone with SG enabled?

Hi Radek,

I created a shared network with DefaultSharedNetworkOfferingWithSGService
in an existing Advanced Zone which had security groups disabled. VMs would get
created in the default security group if I choose the 
DefaultSharedNetworkOfferingWithSGService
offering. However, I wasn’t able to any other security groups to the VMs 
created in the
DefaultSharedNetworkOfferingWithSGService network.

Once I set data_center.is_security_group_enabled=1, I was able to assign 
security
groups to VMs in the DefaultSharedNetworkOfferingWithSGService network via API.

I hope it makes sense.

--
@shankerbalan

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

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


Re: xenserver 6.2 added to pool

2013-12-05 Thread Shanker Balan
On 05-Dec-2013, at 11:13 am, Adam Harvey ahar...@enmasse.com wrote:

 If it were only that way with these for me. They're completely stock I am at 
 a loss of why this is occurring.

Adam, I am not sure whether you are looking at the real error message. The
standard process I follow for setting up a XenServer is as below:

1) Install from ISO
2) Create pool
3) Update xenserver traffic label using XenCenter or
via /opt/xensource/bin/xe network-param-set” CLI
4) Add the pool master to CloudStack

Of course, copy vhd-util to the manager host first.





 -Original Message-
 From: Shanker Balan [mailto:shanker.ba...@shapeblue.com]
 Sent: Wednesday, December 04, 2013 8:05 PM
 To: CloudStack-Users
 Subject: Re: xenserver 6.2 added to pool

 On 05-Dec-2013, at 4:47 am, Adam Harvey ahar...@enmasse.com wrote:

 2013-12-04 23:13:44,097 DEBUG [utils.script.Script]
 (DirectAgent-119:null) Looking for
 scripts/vm/hypervisor/xenserver/xenserver60/patch in the classpath
 2013-12-04 23:13:44,097 DEBUG [utils.script.Script]
 (DirectAgent-119:null) System resource: null
 2013-12-04 23:13:44,097 DEBUG [utils.script.Script]
 (DirectAgent-119:null) Classpath resource:
 file:/usr/share/cloudstack-management/webapps/client/WEB-INF/classes/s
 cripts/vm/hypervisor/xenserver/xenserver60/patch
 2013-12-04 23:13:44,098 DEBUG [utils.script.Script]
 (DirectAgent-119:null) Absolute path =
 /usr/share/cloudstack-management/webapps/client/WEB-INF/classes/script
 s/vm/hypervisor/xenserver/xenserver60/patch
 2013-12-04 23:13:44,098 DEBUG [xen.resource.CitrixResourceBase]
 (DirectAgent-119:null) Copying
 /usr/share/cloudstack-management/webapps/client/WEB-INF/classes/script
 s/vm/hypervisor/xenserver/xenserver60/../cloudstack_pluginlib.py to
 /etc /xapi.d/plugins on *removed* with permission 0755
 2013-12-04 23:13:44,163 DEBUG [xen.resource.CitrixResourceBase]
 (DirectAgent-119:null) Copying
 /usr/share/cloudstack-management/webapps/client/WEB-INF/classes/script
 s/vm/hypervisor/xenserver/xenserver60/../vmopsSnapshot to
 /etc/xapi.d/pl ugins on *removed* with permission 0755
 2013-12-04 23:13:44,164 DEBUG [xen.resource.CitrixResourceBase]
 (DirectAgent-119:null) Unable to create destination path:
 /etc/xapi.d/plugins on *removed* but trying anyway
 2013-12-04 23:13:44,245 DEBUG [xen.resource.CitrixResourceBase]
 (DirectAgent-119:null) Copying
 /usr/share/cloudstack-management/webapps/client/WEB-INF/classes/script
 s/vm/hypervisor/xenserver/xenserver60/../ovs-vif-flows.py to
 /etc/xapi.d /plugins on *removed* with permission 0755
 2013-12-04 23:13:44,245 DEBUG [xen.resource.CitrixResourceBase]
 (DirectAgent-119:null) Unable to create destination path:
 /etc/xapi.d/plugins on *removed* but trying anyway
 2013-12-04 23:13:44,327 DEBUG [xen.resource.CitrixResourceBase]
 (DirectAgent-119:null) Copying
 /usr/share/cloudstack-management/webapps/client/WEB-INF/classes/script
 s/vm/hypervisor/xenserver/xenserver60/../cloud-setup-bonding.sh to
 /opt/ xensource/bin on *removed* with permission 0755

 This occurring w/anyone else?  Running CS 4.2 with xenserver 6.2 I've
 verified vhd-util is the proper one recommended in the documentation and I 
 have it placed in:

 The only place I put vhd-util is under 
 /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/
 ON the management server before adding the XenServer hosts to ACS. See below 
 ansible recipe.

 - name: Copy vhd-util
  action: copy src=vhd-util 
 dest=/usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/vhd-util 
 mode=0755
  tags: cloudstack

 The management server then does:

 [root@csman1-1 ~]# grep vhd-util 
 /var/log/cloudstack/management/management-server.log
 2013-12-05 00:01:02,612 DEBUG [xen.resource.CitrixResourceBase] 
 (DirectAgent-1:null) Copying 
 /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/xenserver60/../vhd-util
  to /opt/xensource/bin on 192.168.44.23 with permission 0755
 2013-12-05 00:01:12,294 DEBUG [xen.resource.CitrixResourceBase] 
 (DirectAgent-9:null) Copying 
 /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/xenserver60/../vhd-util
  to /opt/xensource/bin on 192.168.44.24 with permission 0755


 /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/vhd-util
 /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/xenserver
 60/vhd-util
 /usr/share/cloudstack-management/webapps/client/WEB-INF/classes/script
 s/vm/hypervisor/xenserver/xenserver60/vhd-util

 Been adding and removing XenServer 6.2 clusters all day yesterday on stock 
 ACS 4.2.0 without issues.

 Regards.

 --
 @shankerbalan

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

 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

CloudMonkey and URL Encoded password string

2013-12-05 Thread Shanker Balan
Helo,

I having a bit of a bother with this command:

[root@csman1-1 ~]# cloudmonkey add host 
zoneid=1d2b7f7e-8a44-4c2f-840c-41b8eab715ff
clusterid=fe96dd24-ba3d-4a3f-be2a-f0792113200b hypervisor=XenServer
podid=55d1abca-8094-434d-81e7-ead9ac32faf6 url=http://vxen1-1.lan username=root
password=pass*word
^^
Unauthorized: None

2013-12-05 16:40:19,369 INFO  [cloud.api.ApiServer] (catalina-exec-3:null)
0:0:0:0:0:0:0:1 -- GET 
apiKey=22Bj8f2SE4GCIrUexHLD3fvaRgbiQ4wWhp6zr2Ac1s-6v5q_u1dOSiwxlPL1_IvkqsWebYn86UoZLYgOb6EeUQclusterid=fe96dd24-ba3d-4a3f-be2a-
f0792113200bcommand=addHosthypervisor=XenServerpassword=pass%2Awordpodid=
55d1abca-8094-434d-81e7-ead9ac32faf6response=jsonurl=http%3A%2F%2Fvxen1-1.lanusername=rootzoneid=1d2b7f7e-8a44-4c2f-840c-41b8eab715ffsignature=m8j0nnQQ%2B%2BhCnsHmPRx2UdpN46I%3D
401 unable to verify user credentials and/or request signature

It seems that CloudMonkey URL encoding the password field is breaking
the sig - pass*word is being encoded as password=pass%2Aword”. %2A being
the HTML escape code for “*” char.

cloudmonkey/requester.py:
request_url = .join([=.join([r[0], urllib.quote_plus(str(r[1]))])
   for r in request])

Any suggestions as to how I can get CloudMonkey to not the encode
the password field?

Regards.

--
@shankerbalan

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

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


Re: Storage/Console SSVM loose connectivity (can't ping them anymore) after creating the first guest instance

2013-12-05 Thread Shanker Balan
On 05-Dec-2013, at 10:53 am, Sanjeev Neelarapu sanjeev.neelar...@citrix.com 
wrote:

 Hi,

 Make sure that iptable rules are configured properly for icmp and ssh
 traffic on kvm host.


 I think icmp is disabled by default on SSVM and CPVM
 on control IP address, but should be allowed on public IP address.

FWIW, ICMP works on both the public and private addresses on my lab setup:

[root@csman1-1 cloudmonkey]# cloudmonkey list systemvms|grep ip
linklocalip = 169.254.3.16
privateip = 192.168.44.62
publicip = 192.168.64.100
linklocalip = 169.254.3.98
privateip = 192.168.44.61
publicip = 192.168.64.101
[root@csman1-1 cloudmonkey]# fping 192.168.44.62
192.168.44.62 is alive
[root@csman1-1 cloudmonkey]# fping 192.168.64.100
192.168.64.100 is alive
[root@csman1-1 cloudmonkey]# fping 192.168.44.61
192.168.44.61 is alive
[root@csman1-1 cloudmonkey]# fping 192.168.64.101
192.168.64.101 is alive
[root@csman1-1 cloudmonkey]#


--
@shankerbalan

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

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


Re: Storage/Console SSVM loose connectivity (can't ping them anymore) after creating the first guest instance

2013-12-05 Thread Shanker Balan
Comments inline.

On 05-Dec-2013, at 5:35 pm, Francesco Maria Magnini fmm1...@gmail.com wrote:

 I know.

My reply was inline to the comment:


 I think icmp is disabled by default on SSVM and CPVM
 on control IP address, but should be allowed on public IP address.

 FWIW, ICMP works on both the public and private addresses on my lab setup:

:)


 As I said on top of the discussion, I tested Cloudstack 4.2 on a CentOS 6.4
 deployment (Controller, KVM Host) and never encountered problems on
 network. I even tested Advancend networking with VLANS, GRE Tunnels in a
 very complicated scenarios.

 Switching to Ubuntu (because I need to interact with CEPH), SSVM and KVM
 Guest have no connectivity, in a very basic scenario consisting in basic
 network zone.

Am looking at your brctl output:

root@kvm01:~# brctl show
bridge name bridge id STP enabled interfaces
cloud0 8000.fe00a9fe01a8 no vnet0
vnet4
cloudbr0 8000.0019995a73ac no eth0
vnet1
vnet2
vnet3
vnet5
vnet6
virbr0 8000. yes

What’s cloud0 interface? Does the brctl output match with your working CentOS 
setup?

 After debugging, watching iptables counters, I see that all the incoming
 public traffic is dropped by iptables on the KVM host, and is not passed to
 KVM Guests (including SSVM and Guest VMs).


 On Thu, Dec 5, 2013 at 12:52 PM, Shanker Balan
 shanker.ba...@shapeblue.comwrote:

 On 05-Dec-2013, at 10:53 am, Sanjeev Neelarapu 
 sanjeev.neelar...@citrix.com wrote:

 Hi,

 Make sure that iptable rules are configured properly for icmp and ssh
 traffic on kvm host.


 I think icmp is disabled by default on SSVM and CPVM
 on control IP address, but should be allowed on public IP address.

 FWIW, ICMP works on both the public and private addresses on my lab setup:

 [root@csman1-1 cloudmonkey]# cloudmonkey list systemvms|grep ip
 linklocalip = 169.254.3.16
 privateip = 192.168.44.62
 publicip = 192.168.64.100
 linklocalip = 169.254.3.98
 privateip = 192.168.44.61
 publicip = 192.168.64.101
 [root@csman1-1 cloudmonkey]# fping 192.168.44.62
 192.168.44.62 is alive
 [root@csman1-1 cloudmonkey]# fping 192.168.64.100
 192.168.64.100 is alive
 [root@csman1-1 cloudmonkey]# fping 192.168.44.61
 192.168.44.61 is alive
 [root@csman1-1 cloudmonkey]# fping 192.168.64.101
 192.168.64.101 is alive
 [root@csman1-1 cloudmonkey]#


 --
 @shankerbalan

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

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




 --
 “I videogiochi non influenzano i bambini.
 Voglio dire, se pac-man avesse influenzato la nostra generazione,
 staremmo tutti saltando in sale scure,
 masticando pillole magiche e ascoltando musica elettronica
 ripetitiva...”

 (Kristian Wilson, Nintendo Inc, 1989)

--
@shankerbalan

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

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


Missing vhd-util on the KVM System VM?

2013-12-05 Thread Shanker Balan
Helo,

While trying to create a template from an instance running on
XenServer I ran into the below error:

/usr/local/cloud/systemvm/scripts/storage/secondary/
create_privatetemplate_from_snapshot_xen.sh line 65:
/bin/vhd-util no such file or directory

See screenshot: http://imgur.com/XyzdazP

The SSVM (which was running on a KVM host) was indeed missing /bin/vhd-util.
I manually coped over the file to work around the issue. The XenServer system
VM does seem to have vhd-util though.

root@s-1-VM:~# which vhd-util
/bin/vhd-util

The system VMs templates I using are:

systemvmtemplate-2013-06-12-master-kvm.qcow2.bz2
systemvmtemplate-2013-07-12-master-xen.vhd.bz2

Anyone else seen this issue?


--
@shankerbalan

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

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


Re: VMs created using KVM hypervisor

2013-12-05 Thread Shanker Balan
On 05-Dec-2013, at 8:33 pm, Anju M R anjumr...@gmail.com wrote:

 yes. i tried that too. I created a security group with CIDR, and gave rules
 ICMP - code 0 and type 0, 0.0.0.0/0 and also tcp 80 80 0.0.0.0/0. then also
 it didn't work.

Can you try again with ICMP codes -1 and type -1.


--
@shankerbalan

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

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


  1   2   3   >