Re: Public Shared Network, no-vlans

2014-05-05 Thread Konstantinos Karampogias
Hello Pierre-Luc, thanks for the reply.

I need for other reasons to stay in advance configuration. I know that
i do not need
to have a definition for cs-mgmt but I am keeping it because in the
future management
network will be separated also.

What I am trying to do to achieve my objective
1. command listPhysicalNetworks #to get the eth0

2. command addTrafficType
physicalnetworkid=e84a8626-3106-4486-9a3f-87b7a435a967
traffictype=Guest
kvmnetworklabel=cs-public   #Same bridge as the public network

4. command createNetworkOffering displaytext=ExternalNetworkOffering
name=ExternalNetworkOffering guestiptype=Shared  specifyipranges=false
specifyvlan=false traffictype=Guest supportedservices=""

5. command createNetwork displaytext=ExternalNetwork
name=ExternalNetwork
networkofferingid=512b1b05-50f2-4200-b74d-b8b3c37adc3f
zoneid=8cb722f3-33ec-4686-aa4f-68237125c943 startip=192.168.100.2
endid=192.168.100.100 gateway=192.168.100.1 netmask=255.255.255.0
vlan=830 physicalnetworkid=e84a8626-3106-4486-9a3f-87b7a435a967

FAILED because
"431: SpecifyVlan should be true if network offering's type is Shared"
"431: SpecifyIpRanges should always be true for Shared network offerings"


To sum up my objective is to create :
a shared guest network, in a specific bridge (which is the same as the
public), without vlans,  without any service and in the advance
networking setup.

(internet)
   [ SWITCH A, public IPs address, no vlans]
 -
 -eth0-
 -
  [ Cloudstack Hypervisor]
 -
 -eth1-
 -
[SWITCH B, vlans, private IPs]


Any idea where I am doing it working

Thx!

On Tue, Apr 15, 2014 at 7:25 PM, Pierre-Luc Dion  wrote:
> you can use simple networking zone if you want,  if you use advanced
> networking zone  you should skip the network definition for cs-mgmt
> 8000.001e67a0a1f7   no  eth1.849
> in cloudstack.  Instead when you will define IP range for the management
> network of the POD you will specify a vlanID
>
> so you should define in cloudstack 2 nic:
> ex:
> eth0 with label cs-public  and traffic type=public
> eth1 with label cs-guest  and traffic type=guest,management
>
>
>
>
>
> Pierre-Luc Dion
> Architecte de Solution Cloud | Cloud Solutions Architect
> 855-OK-CLOUD (855-652-5683) x1101
> - - -
>
> *CloudOps*420 rue Guy
> Montréal QC  H3J 1S6
> www.cloudops.com
> @CloudOps_
>
>
> On Tue, Apr 15, 2014 at 11:19 AM, Konstantinos Karampogias <
> konstantinos.karampog...@centralway.com> wrote:
>
>> Hi,
>> I suppose that i have to use advance networking zone, since there are
>> two nics and vlans to be  used in the one  of them.
>>
>>
>>
>> On Tue, Apr 15, 2014 at 4:10 PM, Pierre-Luc Dion 
>> wrote:
>> > Are you going to use simple or advanced networking zone?
>> >
>> >
>> >
>> >
>> > Pierre-Luc Dion
>> > Architecte de Solution Cloud | Cloud Solutions Architect
>> > 855-OK-CLOUD (855-652-5683) x1101
>> > - - -
>> >
>> > *CloudOps*420 rue Guy
>> > Montréal QC  H3J 1S6
>> > www.cloudops.com
>> > @CloudOps_
>> >
>> >
>> > On Tue, Apr 15, 2014 at 8:55 AM, Konstantinos Karampogias <
>> > konstantinos.karampog...@centralway.com> wrote:
>> >
>> >> This is not a lab, it is a rented server in a datacenter, therefore i
>> >> have restricted access to the network components.
>> >>
>> >> I have defined the network labels (which are the name of the bridges
>> >> in the hypervisor) accordingly
>> >> root@ch1-cskvm-1:~# brctl show |grep cs
>> >> cs-guest8000.001e67a0a1f7   no  eth1
>> >> <-- Guest Traffic
>> >> cs-mgmt 8000.001e67a0a1f7   no  eth1.849
>> >> cs-public   8000.001e67a0a1f6   no  eth0
>> >> <-- Public Traffic
>> >>
>> >>
>> >> In cloudstack i have set  two physical networks (Physical-network-eth0
>> >> and Physical-network-eth1), during the initial adding of a zone.
>> >>
>> >> Later, when I try to add a guest network it gives me only
>> >> physical-network-eth1 and requires a VLAN. Obviously
>> >> that cannot work, is going to the wrong switch. Other experiments
>> >> (e.g. adding another Guest Traffic to cs-public)
>> >> failed because the network offering field is empty.
>> >>
>>

Re: Console Proxy SSL Error

2014-05-06 Thread Konstantinos Karampogias
n *.hostname.com and updated
>> the
>> > >> >certificate via the cloudstack UI.
>> > >> >
>> > >> >Infrastructure - > SSL certificate
>> > >> >
>> > >> >Pasted the certificate
>> > >> >Pasted the Key
>> > >> >DNS domain = hostname.com
>> > >> >
>> > >> >Once completed, I have optimized the global settings
>> > >> >
>> > >> >consoleproxy.url.domain = hostname.com
>> > >> >
>> > >> >
>> > >> >When I click console for VM, It shows certificate trusted errors.
>> May I
>> > >> >know what I done wrong??
>> > >> >
>> > >> >
>> > >> >--
>> > >> >Gopala Krishnan.S
>> > >> >Mobile : +91 9865709094 / +91 9994874447
>> > >> >*cPanel KnowledgeBase <http://www.cpanelkb.net/>*
>> > >> >*Linux Server Admin Tools* <http://www.gnutoolbox.com>
>> > >>
>> > >>
>> > >
>> > >
>> > >--
>> > >Gopala Krishnan.S
>> > >Mobile : +91 9865709094 / +91 9994874447
>> > >*cPanel KnowledgeBase <http://www.cpanelkb.net/>*
>> > >*Linux Server Admin Tools* <http://www.gnutoolbox.com>
>> >
>> >
>>
>>
>> --
>> Gopala Krishnan.S
>> Mobile : +91 9865709094 / +91 9994874447
>> *cPanel KnowledgeBase <http://www.cpanelkb.net/>*
>> *Linux Server Admin Tools* <http://www.gnutoolbox.com>
>>



-- 
Centralway Factory AG | Konstantinos Karampogias, DevOps |  LinkedIn |
+ 41 44 578 40 00


Re: Console Proxy still not using HTTPS

2014-05-14 Thread Konstantinos Karampogias
This link might explain you how is working
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Realhost+IP+changes

On Wed, May 14, 2014 at 10:45 AM, Gopala Krishnan  wrote:
> Hi,
>
> Check your SSL certificate intermediate CA setting. It should be need to
> enable manually in your cloud database and keystore table.
>
> 1 for root cert
> 2 for intermediate CA
> 3 for certificate
>
>
>
>
> On Wed, May 14, 2014 at 5:10 AM, Владислав Старков <
> vladislav.star...@gmail.com> wrote:
>
>> Hi,
>>
>> I've install SSL certificate to enable HTTPS for Console Proxy VM, as
>> described on
>> http://docs.cloudstack.apache.org/projects/cloudstack-administration/en/latest/systemvm.html#console-proxy
>>
>> However my Console window still connecting to Console Proxy VM through
>> unencrypted HTTP.
>>
>> The question is, how to force it to use HTTPS?
>>
>> Thanks.
>>
>>
>> --
>> Vlad
>>
>
>
>
> --
> Gopala Krishnan.S
> Mobile : +91 9865709094 / +91 9994874447
> *cPanel KnowledgeBase <http://www.cpanelkb.net/>*
> *Linux Server Admin Tools* <http://www.gnutoolbox.com>



-- 
Centralway Factory AG | Konstantinos Karampogias, DevOps |  LinkedIn |
+ 41 44 578 40 00


Re: template download

2014-06-12 Thread Konstantinos Karampogias
which version of cloudstack are  you using? I have a similar issue with cs4.3

On Thu, Jun 12, 2014 at 11:18 AM, sebgoa  wrote:
> Yeah, so I can answer myself to RTFW:
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM,+templates,+Secondary+storage+troubleshooting
>
> Item #5 did it, on the ssvm: service cloud stop, service cloud start (fwiw 
> the restart did not restart)
>
> then the download will re-kick.
>
> On Jun 12, 2014, at 11:15 AM, Prashant Kumar Mishra 
>  wrote:
>
>> ssvm stop-start should  help
>>
>> thanks
>> prashant
>> -Original Message-
>> From: sebgoa [mailto:run...@gmail.com]
>> Sent: Thursday, June 12, 2014 2:32 PM
>> To: users@cloudstack.apache.org
>> Subject: template download
>>
>> Hi folks,
>>
>> If a template fails to download (network issues on ssvm) and I then fix my 
>> problems.
>>
>> how do I kick off a new attempt at downloading the template ?
>>
>> thanks
>>
>> -sebastien
>



-- 
Centralway Factory AG | Konstantinos Karampogias, DevOps |  LinkedIn |
+ 41 44 578 40 00


System VMs are loosing connectiviy

2014-06-13 Thread Konstantinos Karampogias
Hello,
i have the following problem,  in a CS4.3 installation, some system VMs
(the console proxy vm, and some virtual routers) are loosing the
internet connectivity.
Everything is workings and then out of the blue i cannot get a console
for the vms, because
the console proxy is not accessible.  I have to restart the console
proxy from the interface  in order to make it work.

My questions are if anybody has similar problems? How i can further debug it?
and what is the minimum command to restart the console proxy (e.g.
service networking restart)?

Thanks
Konstantinos


Public Shared Network, no-vlans

2014-04-15 Thread Konstantinos Karampogias
I have the following architecture

(internet) --(GW)--[ SWITCH A, public IPs address, no vlans]
---eth0-[ Cloudstack hosts]-eth1-- [SWITCH B, vlans, private
IPs]


I want to create  a direct public shared network, in which the VMs
will have routable public IP.
(example 
http://shankerbalan.net/blog/create-a-shared-network-with-public-ips-in-cloudstack/)

Can I do that given that
-Management Traffic, Guest Traffic are connected to SWITCH B (Physical
Network -eth1),
-Public Traffic connected to SWITCH A (Physical Network-eth0),
-no vlan in SWITCH A?

What is the original networking set up I should follow?

I have been experimenting with cloudstack version 4.3


Thanks,
Konstantinos





-- 
Konstantinos Karampogias


Re: Public Shared Network, no-vlans

2014-04-15 Thread Konstantinos Karampogias
This is not a lab, it is a rented server in a datacenter, therefore i
have restricted access to the network components.

I have defined the network labels (which are the name of the bridges
in the hypervisor) accordingly
root@ch1-cskvm-1:~# brctl show |grep cs
cs-guest8000.001e67a0a1f7   no  eth1
<-- Guest Traffic
cs-mgmt 8000.001e67a0a1f7   no  eth1.849
cs-public   8000.001e67a0a1f6   no  eth0
<-- Public Traffic


In cloudstack i have set  two physical networks (Physical-network-eth0
and Physical-network-eth1), during the initial adding of a zone.

Later, when I try to add a guest network it gives me only
physical-network-eth1 and requires a VLAN. Obviously
that cannot work, is going to the wrong switch. Other experiments
(e.g. adding another Guest Traffic to cs-public)
failed because the network offering field is empty.

Thanks for the fast reply!

Konstantinos


On Tue, Apr 15, 2014 at 2:39 PM, Pierre-Luc Dion  wrote:
> If this is a lab, it will work fine, you will have to define network
> interface labels in Cloudstack in the networking config of the zone. labels
> are networks name of the hypervisor servers.
>
>
> Pierre-Luc Dion
> Architecte de Solution Cloud | Cloud Solutions Architect
> 855-OK-CLOUD (855-652-5683) x1101
> - - -
>
> *CloudOps*420 rue Guy
> Montréal QC  H3J 1S6
> www.cloudops.com
> @CloudOps_
>
>
> On Tue, Apr 15, 2014 at 8:29 AM, Konstantinos Karampogias <
> konstantinos.karampog...@centralway.com> wrote:
>
>> I have the following architecture
>>
>> (internet) --(GW)--[ SWITCH A, public IPs address, no vlans]
>> ---eth0-[ Cloudstack hosts]-eth1-- [SWITCH B, vlans, private
>> IPs]
>>
>>
>> I want to create  a direct public shared network, in which the VMs
>> will have routable public IP.
>> (example
>> http://shankerbalan.net/blog/create-a-shared-network-with-public-ips-in-cloudstack/
>> )
>>
>> Can I do that given that
>> -Management Traffic, Guest Traffic are connected to SWITCH B (Physical
>> Network -eth1),
>> -Public Traffic connected to SWITCH A (Physical Network-eth0),
>> -no vlan in SWITCH A?
>>
>> What is the original networking set up I should follow?
>>
>> I have been experimenting with cloudstack version 4.3
>>
>>
>> Thanks,
>> Konstantinos
>>
>>
>>
>>
>>
>> --
>> Konstantinos Karampogias
>>



-- 
Centralway Factory AG | Konstantinos Karampogias, DevOps |  LinkedIn |
+ 41 44 578 40 00


Re: Public Shared Network, no-vlans

2014-04-15 Thread Konstantinos Karampogias
Hi,
I suppose that i have to use advance networking zone, since there are
two nics and vlans to be  used in the one  of them.



On Tue, Apr 15, 2014 at 4:10 PM, Pierre-Luc Dion  wrote:
> Are you going to use simple or advanced networking zone?
>
>
>
>
> Pierre-Luc Dion
> Architecte de Solution Cloud | Cloud Solutions Architect
> 855-OK-CLOUD (855-652-5683) x1101
> - - -
>
> *CloudOps*420 rue Guy
> Montréal QC  H3J 1S6
> www.cloudops.com
> @CloudOps_
>
>
> On Tue, Apr 15, 2014 at 8:55 AM, Konstantinos Karampogias <
> konstantinos.karampog...@centralway.com> wrote:
>
>> This is not a lab, it is a rented server in a datacenter, therefore i
>> have restricted access to the network components.
>>
>> I have defined the network labels (which are the name of the bridges
>> in the hypervisor) accordingly
>> root@ch1-cskvm-1:~# brctl show |grep cs
>> cs-guest8000.001e67a0a1f7   no  eth1
>> <-- Guest Traffic
>> cs-mgmt 8000.001e67a0a1f7   no  eth1.849
>> cs-public   8000.001e67a0a1f6   no  eth0
>> <-- Public Traffic
>>
>>
>> In cloudstack i have set  two physical networks (Physical-network-eth0
>> and Physical-network-eth1), during the initial adding of a zone.
>>
>> Later, when I try to add a guest network it gives me only
>> physical-network-eth1 and requires a VLAN. Obviously
>> that cannot work, is going to the wrong switch. Other experiments
>> (e.g. adding another Guest Traffic to cs-public)
>> failed because the network offering field is empty.
>>
>> Thanks for the fast reply!
>>
>> Konstantinos
>>
>>
>> On Tue, Apr 15, 2014 at 2:39 PM, Pierre-Luc Dion 
>> wrote:
>> > If this is a lab, it will work fine, you will have to define network
>> > interface labels in Cloudstack in the networking config of the zone.
>> labels
>> > are networks name of the hypervisor servers.
>> >
>> >
>> > Pierre-Luc Dion
>> > Architecte de Solution Cloud | Cloud Solutions Architect
>> > 855-OK-CLOUD (855-652-5683) x1101
>> > - - -
>> >
>> > *CloudOps*420 rue Guy
>> > Montréal QC  H3J 1S6
>> > www.cloudops.com
>> > @CloudOps_
>> >
>> >
>> > On Tue, Apr 15, 2014 at 8:29 AM, Konstantinos Karampogias <
>> > konstantinos.karampog...@centralway.com> wrote:
>> >
>> >> I have the following architecture
>> >>
>> >> (internet) --(GW)--[ SWITCH A, public IPs address, no vlans]
>> >> ---eth0-[ Cloudstack hosts]-eth1-- [SWITCH B, vlans, private
>> >> IPs]
>> >>
>> >>
>> >> I want to create  a direct public shared network, in which the VMs
>> >> will have routable public IP.
>> >> (example
>> >>
>> http://shankerbalan.net/blog/create-a-shared-network-with-public-ips-in-cloudstack/
>> >> )
>> >>
>> >> Can I do that given that
>> >> -Management Traffic, Guest Traffic are connected to SWITCH B (Physical
>> >> Network -eth1),
>> >> -Public Traffic connected to SWITCH A (Physical Network-eth0),
>> >> -no vlan in SWITCH A?
>> >>
>> >> What is the original networking set up I should follow?
>> >>
>> >> I have been experimenting with cloudstack version 4.3
>> >>
>> >>
>> >> Thanks,
>> >> Konstantinos
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> --
>> >> Konstantinos Karampogias
>> >>
>>
>>
>>
>> --
>> Centralway Factory AG | Konstantinos Karampogias, DevOps |  LinkedIn |
>> + 41 44 578 40 00
>>



-- 
Centralway Factory AG | Konstantinos Karampogias, DevOps |  LinkedIn |
+ 41 44 578 40 00