Routers on specific cluster

2021-05-26 Thread Vivek Kumar
Hello Guys, 

So I am using ACS 4.13 with Advance zone. I have 5 KVM cluster and 5 VMware 
Cluster. So whenever I provision any VPC for any of the cluster, VPC VR always 
go and sit on KVM hosts, we have around 200 VPC VR and all are there in KVM 
zone.  Well for functionality prospective I don’t have any issues but is there 
any way to provision router in specific cluster as well. 


Storage tag and host tag doesn’t work in case of VR’s offering. 


Regards
Vivek Kumar

Re: Prediction or studies for KVM live migration.

2021-05-26 Thread Kalil de Albuquerque Carvalho

Hello Andrija.

Gluster as primary storage works fine. Storage migration, with powered 
off VM's, it's working  too. My problem is just doing this with VM's 
running.


I'm using Ubuntu 20.02, CentOS 7 and Windows 10 and 2016 for testing and 
not working.


But it is the life, thaks all

Best regards,


Em 26/05/2021 16:41, Andrija Panic escreveu:

I thought I replied to this one, but I dont' see my email...

So, from CEPH/NFS to SolidFire should work (in this direction only)  - 
or let me say "used to work" (haven't tested it recently) - this was 
developed for my ex-company where I use to work, by Mike Tutkowski 
from NetApp)
Also, my understanding is that it's also possible to migrate VMs using 
local storage from host to host (whole VM with its disks) - @Gabriel 
Beims Bräscher  can confirm this, afaik?


If you are using Ubuntu - all fine - qemu-kvm supports live storage 
migrations from Ubuntu 14.04 at least, an onwards.
If you are using CentOS 7, you have to use qemu-kvm-ev from the oVirt 
repo ONLY - all other versions of qemu-kvm do NOT support storage live 
migration (Redhat revoked it for $$$ reasons, while it was working 
fine in CentOS6)


If your tested it and it worked from Gluster to NFS - that's (great) 
news (for me).


Hope that helps,

Cheers,

On Wed, 26 May 2021 at 20:06, Wido den Hollander > wrote:




On 26/05/2021 13:55, Kalil de Albuquerque Carvalho wrote:
> Hello Wido.
>
> Sorry about that. I was not so clear, or made some misunderstanding.
>
> Doing some corrections, I've tested migration from Gluster to
NFS, and
> the reverse, and every think worked well. So, please, disregard
this
> part of my question. I should would did this test before made
the question.
>
> My question, now, is when will be support, if will be, with the
running
> VM's. Today, I'm testing the version 4.15, just working with
power off
> VM's.
>
Aha, you mean live storage migration between different types of
primary
storage.

That is indeed not supported with KVM and also not on the roadmap
at the
moment.

Wido

> Best regards.
>
> Em 26/05/2021 04:08, Wido den Hollander escreveu:
>>
>>
>> On 25/05/2021 13:32, Kalil de Albuquerque Carvalho wrote:
>>> Hello all.
>>>
>>> Reading the manual I discovery that live migration is not
support for
>>> KVM hypervisor. I was wander if there are studies or
predictions for
>>> this features on KVM hosts.
>>>
>>
>> Where did you read this? Live Migration with the KVM hypervisor
works
>> just fine.
>>
>> Wido
>>
>>> Yet on the manual citation, it said that migration just can occur
>>> from CEPH/NFS to "SolidFire Managed Storage". On my tests we are
>>> using Gluster as Primary Storage and not appear any storage to
>>> migrate to. We created tow differents Primary Storages for
this kind
>>> of tests. Is that correct, migration in this case just will occur
>>> from/to CEPH/NFS? If yes, will be same future release that
will be
>>> possible migration between Guster storages?
>>>
>>> Best regars.
>>>
>>



--

Andrija Panić


Re: Virtual Router Domain Name Handling

2021-05-26 Thread Serge Byishimo
Hi Andrija,

The reverse proxy also was my first instinct, I already did it and it was
successful, I used Nginx as a reverse proxy inside the VR and redirected
the traffic to instances. I was hesitant too but I have to keep that in
mind that they might get destroyed and I would have to reconfigure the
proxy. Thanks.

Regarding multiple emails, Sorry it is my frustration, sometimes I just
remember a detail that I should have shared and then I end up sending
another email, I’m going to avoid that in the future.

Thank you so much you have been a helpful and wonderful community.

Best Regards,

On Wed, May 26, 2021 at 9:51 PM Andrija Panic 
wrote:

> (and I don't know what is happening, but my Gmail sees multiple emails with
> a same subject/duplicates coming from your side - please avoid sending
> duplicate emails (if you are doing so), or it may be my Gmail after all...)
>
>
> On Wed, 26 May 2021 at 21:48, Andrija Panic 
> wrote:
>
> >
> > Based on your exact drawing (assumes a single public IP, and a single VR
> > IP that receives all traffic on ports 80 and 443) - this can NOT be
> > achieved by ACS itself.
> >
> > You need a reverse proxy inside VR - and you are risking having a mess -
> > but I'm not saying you can't do it.
> > All ACS port forwarding rules are in iptables (iptables-save | less) or
> > loadbalancer implemented via HAPROXY can pass all traffic to a dedicated
> > internal reverse proxy VM - so you forward 80/443  from home public IP
> -->
> > VR port forwarding --> to an internal single VM (that has nginx/varnish
> > installed)
> > If you opt to modify VR itself, that would be a problem to manage in the
> > long run - as soon as you restart network with "clean up" - the existing
> VR
> > is destroyed and a brand new one is created for that network (or for VPC,
> > if you are working with VPCs)
> > So you would need to automate such thing in some way.
> >
> > Hope that helps,
> >
> >
> > On Wed, 26 May 2021 at 16:39, Serge Byishimo 
> > wrote:
> >
> >> Centos8
> >> Cloudstack 4.15
> >> Hypervisor KVM
> >>
> >> This is a drawing of what I’m trying to do
> >>
> >> https://ibb.co/pKvzhHj
> >>
> >> I have different domain names that I want assigned to instances IP ports
> >>
> >> In the DNS, I put one public IP address that I have from ISP
> 209.150.X.X,
> >>
> >> The cloudstack Virtual Router is at 192.168.1.86
> >>
> >> Then in my home router I forward traffic from 209.150.X.X port 80 and
> 443
> >> to the cloudstack virtual router at 192.168.1.86 also port 80 and 443
> >>
> >> from 209.150.X.X :80 to 192.168.1.86 :80
> >> from 209.150.X.X :443 to 192.168.1.86 :443
> >>
> >> How do I engage the virtual router to forward that traffic at respective
> >> instances IP Ports?
> >>
> >> ACS Virtual Router Details:
> >> https://ibb.co/1Jr2DZT
> >>
> >>
> >> In other words, I need to know how to do port forwarding in the virtual
> >> router
> >>
> >> I have Basic Network with Security Groups, I use Ingress Rules to allow
> >> incoming traffic in the Instances
> >>
> >> For example:
> >>
> >> example.com to instance IP : 192.168.1.85:8080
> >> another.com to instance IP  : 192.168.1.91:8443
> >>
> >> I can ssh inside the Virtual Router VM, I just need to know what I
> should
> >> do!
> >>
> >> I was thinking on installing NGINX as a proxy on the ACS virtual router
> VM
> >> to forward the traffic it is receiving to Instances, but i’m not sure if
> >> that will work.
> >>
> >> Thank you!
> >>
> >
> >
> > --
> >
> > Andrija Panić
> >
>
>
> --
>
> Andrija Panić
>


-- 
Byishimo Shema Serge
Kigali, Rwanda
Tel: +250 786 076 106
www.serge.works


Re: Virtual Router Domain Name Handling

2021-05-26 Thread Andrija Panic
(and I don't know what is happening, but my Gmail sees multiple emails with
a same subject/duplicates coming from your side - please avoid sending
duplicate emails (if you are doing so), or it may be my Gmail after all...)


On Wed, 26 May 2021 at 21:48, Andrija Panic  wrote:

>
> Based on your exact drawing (assumes a single public IP, and a single VR
> IP that receives all traffic on ports 80 and 443) - this can NOT be
> achieved by ACS itself.
>
> You need a reverse proxy inside VR - and you are risking having a mess -
> but I'm not saying you can't do it.
> All ACS port forwarding rules are in iptables (iptables-save | less) or
> loadbalancer implemented via HAPROXY can pass all traffic to a dedicated
> internal reverse proxy VM - so you forward 80/443  from home public IP -->
> VR port forwarding --> to an internal single VM (that has nginx/varnish
> installed)
> If you opt to modify VR itself, that would be a problem to manage in the
> long run - as soon as you restart network with "clean up" - the existing VR
> is destroyed and a brand new one is created for that network (or for VPC,
> if you are working with VPCs)
> So you would need to automate such thing in some way.
>
> Hope that helps,
>
>
> On Wed, 26 May 2021 at 16:39, Serge Byishimo 
> wrote:
>
>> Centos8
>> Cloudstack 4.15
>> Hypervisor KVM
>>
>> This is a drawing of what I’m trying to do
>>
>> https://ibb.co/pKvzhHj
>>
>> I have different domain names that I want assigned to instances IP ports
>>
>> In the DNS, I put one public IP address that I have from ISP 209.150.X.X,
>>
>> The cloudstack Virtual Router is at 192.168.1.86
>>
>> Then in my home router I forward traffic from 209.150.X.X port 80 and 443
>> to the cloudstack virtual router at 192.168.1.86 also port 80 and 443
>>
>> from 209.150.X.X :80 to 192.168.1.86 :80
>> from 209.150.X.X :443 to 192.168.1.86 :443
>>
>> How do I engage the virtual router to forward that traffic at respective
>> instances IP Ports?
>>
>> ACS Virtual Router Details:
>> https://ibb.co/1Jr2DZT
>>
>>
>> In other words, I need to know how to do port forwarding in the virtual
>> router
>>
>> I have Basic Network with Security Groups, I use Ingress Rules to allow
>> incoming traffic in the Instances
>>
>> For example:
>>
>> example.com to instance IP : 192.168.1.85:8080
>> another.com to instance IP  : 192.168.1.91:8443
>>
>> I can ssh inside the Virtual Router VM, I just need to know what I should
>> do!
>>
>> I was thinking on installing NGINX as a proxy on the ACS virtual router VM
>> to forward the traffic it is receiving to Instances, but i’m not sure if
>> that will work.
>>
>> Thank you!
>>
>
>
> --
>
> Andrija Panić
>


-- 

Andrija Panić


Re: Virtual Router Domain Name Handling

2021-05-26 Thread Andrija Panic
Based on your exact drawing (assumes a single public IP, and a single VR IP
that receives all traffic on ports 80 and 443) - this can NOT be achieved
by ACS itself.

You need a reverse proxy inside VR - and you are risking having a mess -
but I'm not saying you can't do it.
All ACS port forwarding rules are in iptables (iptables-save | less) or
loadbalancer implemented via HAPROXY can pass all traffic to a dedicated
internal reverse proxy VM - so you forward 80/443  from home public IP -->
VR port forwarding --> to an internal single VM (that has nginx/varnish
installed)
If you opt to modify VR itself, that would be a problem to manage in the
long run - as soon as you restart network with "clean up" - the existing VR
is destroyed and a brand new one is created for that network (or for VPC,
if you are working with VPCs)
So you would need to automate such thing in some way.

Hope that helps,


On Wed, 26 May 2021 at 16:39, Serge Byishimo 
wrote:

> Centos8
> Cloudstack 4.15
> Hypervisor KVM
>
> This is a drawing of what I’m trying to do
>
> https://ibb.co/pKvzhHj
>
> I have different domain names that I want assigned to instances IP ports
>
> In the DNS, I put one public IP address that I have from ISP 209.150.X.X,
>
> The cloudstack Virtual Router is at 192.168.1.86
>
> Then in my home router I forward traffic from 209.150.X.X port 80 and 443
> to the cloudstack virtual router at 192.168.1.86 also port 80 and 443
>
> from 209.150.X.X :80 to 192.168.1.86 :80
> from 209.150.X.X :443 to 192.168.1.86 :443
>
> How do I engage the virtual router to forward that traffic at respective
> instances IP Ports?
>
> ACS Virtual Router Details:
> https://ibb.co/1Jr2DZT
>
>
> In other words, I need to know how to do port forwarding in the virtual
> router
>
> I have Basic Network with Security Groups, I use Ingress Rules to allow
> incoming traffic in the Instances
>
> For example:
>
> example.com to instance IP : 192.168.1.85:8080
> another.com to instance IP  : 192.168.1.91:8443
>
> I can ssh inside the Virtual Router VM, I just need to know what I should
> do!
>
> I was thinking on installing NGINX as a proxy on the ACS virtual router VM
> to forward the traffic it is receiving to Instances, but i’m not sure if
> that will work.
>
> Thank you!
>


-- 

Andrija Panić


Re: Prediction or studies for KVM live migration.

2021-05-26 Thread Andrija Panic
I thought I replied to this one, but I dont' see my email...

So, from CEPH/NFS to SolidFire should work (in this direction only)  - or
let me say "used to work" (haven't tested it recently) - this was developed
for my ex-company where I use to work, by Mike Tutkowski from NetApp)
Also, my understanding is that it's also possible to migrate VMs using
local storage from host to host (whole VM with its disks) - @Gabriel Beims
Bräscher  can confirm this, afaik?

If you are using Ubuntu - all fine - qemu-kvm supports live storage
migrations from Ubuntu 14.04 at least, an onwards.
If you are using CentOS 7, you have to use qemu-kvm-ev from the oVirt repo
ONLY - all other versions of qemu-kvm do NOT support storage live migration
(Redhat revoked it for $$$ reasons, while it was working fine in CentOS6)

If your tested it and it worked from Gluster to NFS - that's (great) news
(for me).

Hope that helps,

Cheers,

On Wed, 26 May 2021 at 20:06, Wido den Hollander  wrote:

>
>
> On 26/05/2021 13:55, Kalil de Albuquerque Carvalho wrote:
> > Hello Wido.
> >
> > Sorry about that. I was not so clear, or made some misunderstanding.
> >
> > Doing some corrections, I've tested migration from Gluster to NFS, and
> > the reverse, and every think worked well. So, please, disregard this
> > part of my question. I should would did this test before made the
> question.
> >
> > My question, now, is when will be support, if will be, with the running
> > VM's. Today, I'm testing the version 4.15, just working with power off
> > VM's.
> >
> Aha, you mean live storage migration between different types of primary
> storage.
>
> That is indeed not supported with KVM and also not on the roadmap at the
> moment.
>
> Wido
>
> > Best regards.
> >
> > Em 26/05/2021 04:08, Wido den Hollander escreveu:
> >>
> >>
> >> On 25/05/2021 13:32, Kalil de Albuquerque Carvalho wrote:
> >>> Hello all.
> >>>
> >>> Reading the manual I discovery that live migration is not support for
> >>> KVM hypervisor. I was wander if there are studies or predictions for
> >>> this features on KVM hosts.
> >>>
> >>
> >> Where did you read this? Live Migration with the KVM hypervisor works
> >> just fine.
> >>
> >> Wido
> >>
> >>> Yet on the manual citation, it said that migration just can occur
> >>> from CEPH/NFS to "SolidFire Managed Storage". On my tests we are
> >>> using Gluster as Primary Storage and not appear any storage to
> >>> migrate to. We created tow differents Primary Storages for this kind
> >>> of tests. Is that correct, migration in this case just will occur
> >>> from/to CEPH/NFS? If yes, will be same future release that will be
> >>> possible migration between Guster storages?
> >>>
> >>> Best regars.
> >>>
> >>
>


-- 

Andrija Panić


Re: Documentation of available guest VM / instance settings

2021-05-26 Thread Andrija Panic
You can send a custom XML chunk (via API only), to be incorporated as part
of the VMs XML definition - so that should allow you to add sound card, or
some pass through any HW device to the VM (or enable huge pages, etc)

I forgot the name of the feature (very tired atm), perhaps @Nicolas Vazquez
ShapeBlue  can refresh pls?

Best,

On Wed, 26 May 2021 at 16:07, thomas.laton
 wrote:

> Thank you so far.
>
> Is there a way to add a sound device to a KVM guest?
>
>
> Cheers
>
>
>
> ‐‐‐ Original Message ‐‐‐
> On Tuesday, May 25, 2021 11:34 PM, Andrija Panic 
> wrote:
>
> > Hi there,
> >
> > that is, at that level, not possible.
> >
> > CloudStack doesn't yet support "importing" existing KVM VMs.
> >
> > That being said - you can experiment with different OS Types assigned to
> > your template, which will dictated NIC driver/model (usually it's virtIO,
> > unless it's OS type for an ancient OS), and, afaik, you can override disk
> > controller type, etc.
> >
> > Best,
> >
> > On Tue, 25 May 2021 at 16:47, thomas.laton
> > thomas.la...@protonmail.com.invalid wrote:
> >
> > > Hi,
> > > I virtualized some very cleary defined hardware using KVM/Qemu/libvirt
> and
> > > I would now like to migrate these virtual machines to CloudStack for
> > > availability purposes. However, I have trouble finding the
> documentation to
> > > figure out how to map the settings of my libvirt/qemu-config (created
> in
> > > virt-manager) or qemu parameters to the relevant parameters in the
> settings
> > > tab of the instances.
> > > To be more precise, I need to specify stuff like bus types for disks
> and
> > > cdroms, drivers for NICs and especially a sound device (and so on) and
> > > cannot find the right keywords.
> > > Thanks,
> > > Thomas
> >
> > --
> >
> > Andrija Panić
>
>
>

-- 

Andrija Panić


Re: Prediction or studies for KVM live migration.

2021-05-26 Thread Wido den Hollander




On 26/05/2021 13:55, Kalil de Albuquerque Carvalho wrote:

Hello Wido.

Sorry about that. I was not so clear, or made some misunderstanding.

Doing some corrections, I've tested migration from Gluster to NFS, and 
the reverse, and every think worked well. So, please, disregard this 
part of my question. I should would did this test before made the question.


My question, now, is when will be support, if will be, with the running 
VM's. Today, I'm testing the version 4.15, just working with power off 
VM's.


Aha, you mean live storage migration between different types of primary 
storage.


That is indeed not supported with KVM and also not on the roadmap at the 
moment.


Wido


Best regards.

Em 26/05/2021 04:08, Wido den Hollander escreveu:



On 25/05/2021 13:32, Kalil de Albuquerque Carvalho wrote:

Hello all.

Reading the manual I discovery that live migration is not support for 
KVM hypervisor. I was wander if there are studies or predictions for 
this features on KVM hosts.




Where did you read this? Live Migration with the KVM hypervisor works 
just fine.


Wido

Yet on the manual citation, it said that migration just can occur 
from CEPH/NFS to "SolidFire Managed Storage". On my tests we are 
using Gluster as Primary Storage and not appear any storage to 
migrate to. We created tow differents Primary Storages for this kind 
of tests. Is that correct, migration in this case just will occur 
from/to CEPH/NFS? If yes, will be same future release that will be 
possible migration between Guster storages?


Best regars.





Virtual Router Domain Name Handling

2021-05-26 Thread Serge Byishimo
Centos8
Cloudstack 4.15
Hypervisor KVM

This is a drawing of what I’m trying to do

https://ibb.co/pKvzhHj

I have different domain names that I want assigned to instances IP ports

In the DNS, I put one public IP address that I have from ISP 209.150.X.X,

The cloudstack Virtual Router is at 192.168.1.86

Then in my home router I forward traffic from 209.150.X.X port 80 and 443
to the cloudstack virtual router at 192.168.1.86 also port 80 and 443

from 209.150.X.X :80 to 192.168.1.86 :80
from 209.150.X.X :443 to 192.168.1.86 :443

How do I engage the virtual router to forward that traffic at respective
instances IP Ports?

ACS Virtual Router Details:
https://ibb.co/1Jr2DZT


In other words, I need to know how to do port forwarding in the virtual
router

I have Basic Network with Security Groups, I use Ingress Rules to allow
incoming traffic in the Instances

For example:

example.com to instance IP : 192.168.1.85:8080
another.com to instance IP  : 192.168.1.91:8443

I can ssh inside the Virtual Router VM, I just need to know what I should
do!

I was thinking on installing NGINX as a proxy on the ACS virtual router VM
to forward the traffic it is receiving to Instances, but i’m not sure if
that will work.

Thank you!


Re: Documentation of available guest VM / instance settings

2021-05-26 Thread thomas.laton
Thank you so far.

Is there a way to add a sound device to a KVM guest?


Cheers



‐‐‐ Original Message ‐‐‐
On Tuesday, May 25, 2021 11:34 PM, Andrija Panic  
wrote:

> Hi there,
>
> that is, at that level, not possible.
>
> CloudStack doesn't yet support "importing" existing KVM VMs.
>
> That being said - you can experiment with different OS Types assigned to
> your template, which will dictated NIC driver/model (usually it's virtIO,
> unless it's OS type for an ancient OS), and, afaik, you can override disk
> controller type, etc.
>
> Best,
>
> On Tue, 25 May 2021 at 16:47, thomas.laton
> thomas.la...@protonmail.com.invalid wrote:
>
> > Hi,
> > I virtualized some very cleary defined hardware using KVM/Qemu/libvirt and
> > I would now like to migrate these virtual machines to CloudStack for
> > availability purposes. However, I have trouble finding the documentation to
> > figure out how to map the settings of my libvirt/qemu-config (created in
> > virt-manager) or qemu parameters to the relevant parameters in the settings
> > tab of the instances.
> > To be more precise, I need to specify stuff like bus types for disks and
> > cdroms, drivers for NICs and especially a sound device (and so on) and
> > cannot find the right keywords.
> > Thanks,
> > Thomas
>
> --
>
> Andrija Panić




Re: Remote Access VPN

2021-05-26 Thread Brian Fitzpatrick
Thanks Andrija,

I will look through the setup again, I think the default iprange is on a 
separate network

Thanks

Brian

-Original Message-
From: Andrija Panic 
mailto:andrija%20panic%20%3candrija.pa...@gmail.com%3e>>
Reply-To: users@cloudstack.apache.org
To: users 
mailto:users%20%3cus...@cloudstack.apache.org%3e>>
Subject: Re: Remote Access VPN
Date: Tue, 25 May 2021 23:30:46 +0200


CAUTION !


This email originated outside of the University of Chester. Do not click links 
or open attachments unless you recognise the sender and know the content is 
safe.


=



Another thing to keep in mind - if you work from office - usually there can

be only 1 IPSEC with L2TP connection from your office to outside/same IP -

i.e. you and your colleague can not connect at the same time to the same

public IP (i.e. to the same Remove VPN).



On Tue, 25 May 2021 at 23:29, Andrija Panic <



andrija.pa...@gmail.com

> wrote:


Hi Brian,


remote.access.vpn.client.iprange  should be set to some subnet OUTSIDE

your local network (where your laptop/PC is connected to / home/office) and

the Isolated network - so it should be "3rd" network.


For Windows, you there was a nice link somewhere...: here is one for

windows 8 - but same/identical is applicable for Windows 10:



https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftheresnomon.co%2Fconnecting-to-cloudstack-vpn-from-windows-8-8807b41af700data=04%7C01%7Cb.fitzpatrick%40chester.ac.uk%7C363792b0184d4afe72df08d91fc46e91%7C18843e6e1846456ca05c500f0aee12f6%7C0%7C0%7C637575750798430384%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000sdata=v3RTii5lx4lS%2B%2FTXNYkht9BN%2FNUWRPyyjxxXoffU8HQ%3Dreserved=0



Hope that helps


Best,


On Tue, 25 May 2021 at 22:34, Brian Fitzpatrick <



b.fitzpatr...@chester.ac.uk

> wrote:


**Apologies not sure this was originally posted**


Hi all,


I am trying to setup Remote Access VPN on an DefaultIsolatedSourceNAT

network


I have created the VPN and a VPN user and pasted the shared key into a

Windows client but I am getting an error stating


the L2TP connection attempt failed because the security layer encountered

a processing error


I have looked through the documentation and have set


Requires encryption

MS-CHAP v2

PPP -> Enable LCP extensions


I haven't however changed the CloudStack parameter


remote.access.vpn.client.iprange setting from it's default, does this

need to be altered to match guest isolated network CIDR's? Not sure how the

virtual router sets up the VPN


Or am I doing something else wrong?


Thanks


Brian




--


Andrija Panić




--


Andrija Panić


Re: Best practice moving cloudstack 4.13.0.1 management server from centos 6.10 to Ubuntu 18.04 LTS

2021-05-26 Thread Rohit Yadav
Hi David,

The static-roles based commands.properties is deprecated now, while we still 
support it we don't ship a default settings/file with CloudStack now. Instead 
we've moved to dynamic roles, please see 
http://docs.cloudstack.apache.org/en/4.13.1.0/adminguide/accounts.html#using-dynamic-roles


Regards.


From: David Larsen 
Sent: Wednesday, May 26, 2021 13:21
To: users@cloudstack.apache.org 
Subject: SV: Best practice moving cloudstack 4.13.0.1 management server from 
centos 6.10 to Ubuntu 18.04 LTS

Hi

Sorry for late reply.
I figured out the reason why I couldn't log in to the GUI on the new ubuntu 
server.
Seems like I need to copy the old commands.properties file from the old centos 
6.10 server to the new ubuntu server... (?)
I thought cloudstack 4.15 didn't use it anymore, especially since it is not 
included in the 4.13-4.15 installation?

Does anyone know which setting(s) in the commands.properties file I need to 
look into?



Med vennlig hilsen

David Larsen
Senior systemkonsulent


ADCOM MOLDE, IT Data AS
Fabrikkvegen 13  | 6415 Molde
david.lar...@adcom.no | www.adcom.no



Følg oss på sosiale medier:
 Tenk på miljøet før du skriver ut denne eposten


-Opprinnelig melding-
Fra: David Larsen 
Sendt: lørdag 27. mars 2021 00:39
Til: users@cloudstack.apache.org
Emne: RE: Best practice moving cloudstack 4.13.0.1 management server from 
centos 6.10 to Ubuntu 18.04 LTS

Ok, thanks.
I will try cli tool tomorrow.





Sendt fra min Galaxy



 Opprinnelig melding 
Fra: Alireza Eskandari 
Dato: 26.03.2021 22:52 (GMT+01:00)
Til: users@cloudstack.apache.org
Emne: Re: Best practice moving cloudstack 4.13.0.1 management server from 
centos 6.10 to Ubuntu 18.04 LTS

If you can use CS from CloudMonkey (CLI tool), I can say that it is working 
fine but you have some problems with GUI.



 

On Sat, Mar 27, 2021 at 2:16 AM David Larsen  wrote:

> Yes, have. Many times. Also different browsers.
>
> Management server and mysql server have same ip as in production, but
> in isolated environment.
>
>
>
>
>
> Sendt fra min Galaxy
>
>
>
>  Opprinnelig melding 
> Fra: Alireza Eskandari 
> Dato: 26.03.2021 22:41 (GMT+01:00)
> Til: users@cloudstack.apache.org
> Emne: Re: Best practice moving cloudstack 4.13.0.1 management server
> from centos 6.10 to Ubuntu 18.04 LTS
>
> If you are trying to login via the web gui, have you tried to clear
> your browser cache?
> I recommend testing your browser private mode.
>
> On Sat, Mar 27, 2021 at 1:54 AM David Larsen 
> wrote:
>
> > Hi
> >
> > I have a working cloudstack 4.13.01 setup with two servers, one
> cloudstack
> > management running centos 6.10, and a mysql 5.1 running on centos 6.10.
> >
> >
> > I have build up a isolated environment with two Ubuntu 18.04 servers:
> > 1. Ubuntu 18.04 running mysql 5.7
> > 2. Ubuntu 18.04 running cloudstack management 4.13.01
> >
> > When i restore mysql data from the old mysql server and run
> > cloudstack database setup without deploy as root and finish
> > cloudstack setup, everething start up as normal and i get the
> > cloudstack login in
> browser...
> > But i cannot log in... According to the cloudstack management log,
> > admin
> is
> > successfully logged in... (?)
> >
> > What is missing?
> >
> > I thought i might be the difference i mysql version, so i installed
> > a "new" centos 6.10 with mysql 5.1... But after a successful sql
> > restore
> and
> > cloudstack install, i was surprised i got the same symptoms with login.
> >
> > Then i i though i might be something with ubuntu, so i installed the
> > latest centos 7 as cloudstack management server... Samme result... I
> can't
> > log in. No error unless i try with wrong password... Then it says
> > wrong
> > password...(?) i have tried with admin users and standard users.
> > Same result.
> >
> > I can mysql server data and it looks the same as the one in production.
> > All usernames are the same..
> >
> > What am i missing?
> > Is there any api.Key or some config files i need to be aware... And
> > copy to the new management server?
> >
> > -David
> >
> > Sendt fra min Galaxy
> >
> >
>


Re: Prediction or studies for KVM live migration.

2021-05-26 Thread Kalil de Albuquerque Carvalho

Hello Wido.

Sorry about that. I was not so clear, or made some misunderstanding.

Doing some corrections, I've tested migration from Gluster to NFS, and 
the reverse, and every think worked well. So, please, disregard this 
part of my question. I should would did this test before made the question.


My question, now, is when will be support, if will be, with the running 
VM's. Today, I'm testing the version 4.15, just working with power off VM's.


Best regards.

Em 26/05/2021 04:08, Wido den Hollander escreveu:



On 25/05/2021 13:32, Kalil de Albuquerque Carvalho wrote:

Hello all.

Reading the manual I discovery that live migration is not support for 
KVM hypervisor. I was wander if there are studies or predictions for 
this features on KVM hosts.




Where did you read this? Live Migration with the KVM hypervisor works 
just fine.


Wido

Yet on the manual citation, it said that migration just can occur 
from CEPH/NFS to "SolidFire Managed Storage". On my tests we are 
using Gluster as Primary Storage and not appear any storage to 
migrate to. We created tow differents Primary Storages for this kind 
of tests. Is that correct, migration in this case just will occur 
from/to CEPH/NFS? If yes, will be same future release that will be 
possible migration between Guster storages?


Best regars.





CSEUG Virtual Tomorrow: Final Call for All Passengers

2021-05-26 Thread Ivet Petrova
Hello all,

Final call for the CloudStack European User Group Virtual tomorrow.
The event will start at 13:00CEST with a detailed update on What’s New at 
CloudStack, then we have astonishing talks, including one from the new VP of 
Apache CloudStack.

Register here: 
https://zoom.us/webinar/register/3216172602723/WN_-zsXhTq_Ttu1Ktz82my06Q

And one more update: Thanks to our event sponsors we will be having a Twitter 
contest for 5 Vitual Beers Gift Cards of 500 EUR each!

We will appreciate if you Tweet and post on LinkedIn during the event and 
support spreading the word for CloudStack globally!

Kind regards,


 



Re: Virtual Router Domain Name Handling

2021-05-26 Thread Serge Byishimo
This is a drawing of what I’m trying to do

https://ibb.co/pKvzhHj

I was thinking on installing NGINX as a proxy on the ACS virtual router VM
to forward the traffic it is receiving to Instances, but i’m not sure if
that will work.

Regards,



On Wed, May 26, 2021 at 10:38 AM Serge Byishimo 
wrote:

> Virtual Router Details Image :
>
> https://ibb.co/1Jr2DZT
>
> On Wed, May 26, 2021 at 10:06 AM Serge Byishimo 
> wrote:
>
>> Centos8
>> Cloudstack: 4.15
>> Hypervisor: KVM
>>
>> I have different domain names that I want to be assigned to instances IP
>> ports
>>
>> In the DNS, I put one public IP address that I have from the ISP
>> 209.X.X.X,
>>
>> The cloudstack Virtual Router is at 192.168.1.86
>>
>> Then in my home router, I forward traffic from 209.X.X.X port 80 and 443
>> to the cloudstack virtual router at 192.168.1.86 also port 80 and 443
>>
>> from 209.X.X.X :80 to 192.168.1.86 :80
>> from 209.X.X.X :443 to 192.168.1.86 :443
>>
>> How do I engage the virtual router to forward that traffic at respective
>> instances IP Ports?
>>
>> In other words, I need to know how to do port forwarding in the virtual
>> router
>>
>> I have Basic Network with Security Groups, I use Ingress Rules to allow
>> incoming traffic in the Instances
>>
>> For example:
>>
>> example.com to instance IP : 192.168.1.85:8080
>> another.com to instance IP  : 192.168.1.91:8443
>>
>> I can ssh inside the Virtual Router VM, I just need to know what I should
>> do!
>>
>> Thank you!
>>
>> Regards
>>
>
>
> --
> Byishimo Shema Serge
> Kigali, Rwanda
> Tel: +250 786 076 106
> www.serge.works
>


-- 
Byishimo Shema Serge
Kigali, Rwanda
Tel: +250 786 076 106
www.serge.works


Re: Virtual Router Domain Name Handling

2021-05-26 Thread Serge Byishimo
Virtual Router Details Image :

https://ibb.co/1Jr2DZT

On Wed, May 26, 2021 at 10:06 AM Serge Byishimo 
wrote:

> Centos8
> Cloudstack: 4.15
> Hypervisor: KVM
>
> I have different domain names that I want to be assigned to instances IP
> ports
>
> In the DNS, I put one public IP address that I have from the ISP
> 209.X.X.X,
>
> The cloudstack Virtual Router is at 192.168.1.86
>
> Then in my home router, I forward traffic from 209.X.X.X port 80 and 443
> to the cloudstack virtual router at 192.168.1.86 also port 80 and 443
>
> from 209.X.X.X :80 to 192.168.1.86 :80
> from 209.X.X.X :443 to 192.168.1.86 :443
>
> How do I engage the virtual router to forward that traffic at respective
> instances IP Ports?
>
> In other words, I need to know how to do port forwarding in the virtual
> router
>
> I have Basic Network with Security Groups, I use Ingress Rules to allow
> incoming traffic in the Instances
>
> For example:
>
> example.com to instance IP : 192.168.1.85:8080
> another.com to instance IP  : 192.168.1.91:8443
>
> I can ssh inside the Virtual Router VM, I just need to know what I should
> do!
>
> Thank you!
>
> Regards
>


-- 
Byishimo Shema Serge
Kigali, Rwanda
Tel: +250 786 076 106
www.serge.works


Re: Virtual Router Domain Name Handling

2021-05-26 Thread Serge Byishimo
Hi William,

Sorry I didn't get what you meant but maybe it's because I didn't explain
well, you can check my new email with the same subject.

Kind Regards,

On Tue, May 25, 2021 at 11:13 PM William Alvarez 
wrote:

> Assign another public IP to the router and do port forwarding. Then have
> your home router send the traffic to that ip
>
> Get Outlook for Android
> 
> From: Serge Byishimo 
> Sent: Tuesday, May 25, 2021 11:10:07 PM
> To: users@cloudstack.apache.org 
> Subject: Re: Virtual Router Domain Name Handling
>
> I have Basic Network with Security Groups, I use Ingress Rules to allow
> incoming traffic in the Instances
>
> Thanks
>
> On Tue, May 25, 2021 at 10:02 PM Serge Byishimo 
> wrote:
>
> > In other words, I need to know how to do port forwarding in the virtual
> > router
> >
> > Thanks,
> >
> >
> > On Tue, May 25, 2021 at 9:52 PM Serge Byishimo 
> > wrote:
> >
> >> I have different domain names that I want to be assigned to instances IP
> >> ports
> >>
> >> In the DNS, I put one public IP address that I have 209.X.X.X,
> >>
> >> Then in my home router, I forward traffic from port 80 and 443 to the
> >> cloudstack virtual router at 192.168.1.86
> >>
> >> How do I engage the router to forward that traffic at respective
> >> instances IP ports?
> >>
> >> For example:
> >>
> >> example.com to instance IP port: 192.168.1.85:8080
> >> another.com to instance IP port: 192.168.1.91:8443
> >>
> >> I can ssh inside the Virtual Router VM, I just need to know what I
> should
> >> do!
> >>
> >> Thank you!
> >>
> >> Regards,
> >>
> >
> >
> > --
> > Byishimo Shema Serge
> > Kigali, Rwanda
> > Tel: +250 786 076 106
> > www.serge.works
> >
>
>
> --
> Byishimo Shema Serge
> Kigali, Rwanda
> Tel: +250 786 076 106
> www.serge.works
>


-- 
Byishimo Shema Serge
Kigali, Rwanda
Tel: +250 786 076 106
www.serge.works


Virtual Router Domain Name Handling

2021-05-26 Thread Serge Byishimo
Centos8
Cloudstack: 4.15
Hypervisor: KVM

I have different domain names that I want to be assigned to instances IP
ports

In the DNS, I put one public IP address that I have from the ISP 209.X.X.X,

The cloudstack Virtual Router is at 192.168.1.86

Then in my home router, I forward traffic from 209.X.X.X port 80 and 443 to
the cloudstack virtual router at 192.168.1.86 also port 80 and 443

from 209.X.X.X :80 to 192.168.1.86 :80
from 209.X.X.X :443 to 192.168.1.86 :443

How do I engage the virtual router to forward that traffic at respective
instances IP Ports?

In other words, I need to know how to do port forwarding in the virtual
router

I have Basic Network with Security Groups, I use Ingress Rules to allow
incoming traffic in the Instances

For example:

example.com to instance IP : 192.168.1.85:8080
another.com to instance IP  : 192.168.1.91:8443

I can ssh inside the Virtual Router VM, I just need to know what I should
do!

Thank you!

Regards


SV: Best practice moving cloudstack 4.13.0.1 management server from centos 6.10 to Ubuntu 18.04 LTS

2021-05-26 Thread David Larsen
Hi

Sorry for late reply. 
I figured out the reason why I couldn't log in to the GUI on the new ubuntu 
server.
Seems like I need to copy the old commands.properties file from the old centos 
6.10 server to the new ubuntu server... (?)
I thought cloudstack 4.15 didn't use it anymore, especially since it is not 
included in the 4.13-4.15 installation?

Does anyone know which setting(s) in the commands.properties file I need to 
look into?



Med vennlig hilsen

David Larsen 
Senior systemkonsulent


ADCOM MOLDE, IT Data AS
Fabrikkvegen 13  | 6415 Molde 
david.lar...@adcom.no | www.adcom.no 

    

Følg oss på sosiale medier: 
 Tenk på miljøet før du skriver ut denne eposten


-Opprinnelig melding-
Fra: David Larsen  
Sendt: lørdag 27. mars 2021 00:39
Til: users@cloudstack.apache.org
Emne: RE: Best practice moving cloudstack 4.13.0.1 management server from 
centos 6.10 to Ubuntu 18.04 LTS

Ok, thanks.
I will try cli tool tomorrow.





Sendt fra min Galaxy



 Opprinnelig melding 
Fra: Alireza Eskandari 
Dato: 26.03.2021 22:52 (GMT+01:00)
Til: users@cloudstack.apache.org
Emne: Re: Best practice moving cloudstack 4.13.0.1 management server from 
centos 6.10 to Ubuntu 18.04 LTS

If you can use CS from CloudMonkey (CLI tool), I can say that it is working 
fine but you have some problems with GUI.


On Sat, Mar 27, 2021 at 2:16 AM David Larsen  wrote:

> Yes, have. Many times. Also different browsers.
>
> Management server and mysql server have same ip as in production, but 
> in isolated environment.
>
>
>
>
>
> Sendt fra min Galaxy
>
>
>
>  Opprinnelig melding 
> Fra: Alireza Eskandari 
> Dato: 26.03.2021 22:41 (GMT+01:00)
> Til: users@cloudstack.apache.org
> Emne: Re: Best practice moving cloudstack 4.13.0.1 management server 
> from centos 6.10 to Ubuntu 18.04 LTS
>
> If you are trying to login via the web gui, have you tried to clear 
> your browser cache?
> I recommend testing your browser private mode.
>
> On Sat, Mar 27, 2021 at 1:54 AM David Larsen 
> wrote:
>
> > Hi
> >
> > I have a working cloudstack 4.13.01 setup with two servers, one
> cloudstack
> > management running centos 6.10, and a mysql 5.1 running on centos 6.10.
> >
> >
> > I have build up a isolated environment with two Ubuntu 18.04 servers:
> > 1. Ubuntu 18.04 running mysql 5.7
> > 2. Ubuntu 18.04 running cloudstack management 4.13.01
> >
> > When i restore mysql data from the old mysql server and run 
> > cloudstack database setup without deploy as root and finish 
> > cloudstack setup, everething start up as normal and i get the 
> > cloudstack login in
> browser...
> > But i cannot log in... According to the cloudstack management log, 
> > admin
> is
> > successfully logged in... (?)
> >
> > What is missing?
> >
> > I thought i might be the difference i mysql version, so i installed 
> > a "new" centos 6.10 with mysql 5.1... But after a successful sql 
> > restore
> and
> > cloudstack install, i was surprised i got the same symptoms with login.
> >
> > Then i i though i might be something with ubuntu, so i installed the 
> > latest centos 7 as cloudstack management server... Samme result... I
> can't
> > log in. No error unless i try with wrong password... Then it says 
> > wrong
> > password...(?) i have tried with admin users and standard users. 
> > Same result.
> >
> > I can mysql server data and it looks the same as the one in production.
> > All usernames are the same..
> >
> > What am i missing?
> > Is there any api.Key or some config files i need to be aware... And 
> > copy to the new management server?
> >
> > -David
> >
> > Sendt fra min Galaxy
> >
> >
>


Re: Prediction or studies for KVM live migration.

2021-05-26 Thread Wido den Hollander




On 25/05/2021 13:32, Kalil de Albuquerque Carvalho wrote:

Hello all.

Reading the manual I discovery that live migration is not support for 
KVM hypervisor. I was wander if there are studies or predictions for 
this features on KVM hosts.




Where did you read this? Live Migration with the KVM hypervisor works 
just fine.


Wido

Yet on the manual citation, it said that migration just can occur from 
CEPH/NFS to "SolidFire Managed Storage". On my tests we are using 
Gluster as Primary Storage and not appear any storage to migrate to. We 
created tow differents Primary Storages for this kind of tests. Is that 
correct, migration in this case just will occur from/to CEPH/NFS? If 
yes, will be same future release that will be possible migration between 
Guster storages?


Best regars.