You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Gaurav Aradhye <ga...@clogeny.com> on 2013/07/17 08:48:32 UTC
Difference between SSHing to vm in basic zone vs advanced zone
Hi all,
What is the difference between SSHing to vm in basic zone vs advanced zone?
Typically the test cases which try to get ssh client of Virtual Machine
internally, fail in basic zone while they work fine in advanced zone.
(Observed with KVM)
It keeps on retrying the ssh connection and eventually times out.
Any directions on this?
Regards,
Gaurav
Re: Difference between SSHing to vm in basic zone vs advanced zone
Posted by Prasanna Santhanam <ts...@apache.org>.
On Wed, Jul 17, 2013 at 12:18:32PM +0530, Gaurav Aradhye wrote:
> Hi all,
>
> What is the difference between SSHing to vm in basic zone vs advanced zone?
> Typically the test cases which try to get ssh client of Virtual Machine
> internally, fail in basic zone while they work fine in advanced zone.
> (Observed with KVM)
> It keeps on retrying the ssh connection and eventually times out.
>
The default security group will block incoming connections in a basic
zone. So when you create a VM in the basic zone you'll have to ensure
port 22/whichevr port is used while ssh-ing is opened up before you
attempt an SSH. And ensure that all VMs you create join this group.
Earlier all VMs would join the default security group, but this
behaviour was changed later. SO now you have to be explicitly be part
of a security group that allows SSH.
In the marvin integration library I think you should split up
deployment on basic zone and adv. zone. In adv. zone you create your
NAT and port forward SSH for the VM. But in basic zone create a
default security group that every VM will become part of. The group
will allow SSH incoming. Don't create the group again if it already
exists.
HTH
--
Prasanna.,
------------------------
Powered by BigRock.com