UFW Firewall enabled SystemVMs offline

2021-08-01 Thread Ben McGuire


We have followed the ports that Cloudstack requires and opened them in our 
hosts however with UFW enabled the systemvms agent disconnects.

We allowed all traffic to and from the management host and opened these
 ufw allow proto tcp from any to any port 22
$ ufw allow proto tcp from any to any port 1798
$ ufw allow proto tcp from any to any port 16509
$ ufw allow proto tcp from any to any port 16514
$ ufw allow proto tcp from any to any port 5900:6100
$ ufw allow proto tcp from any to any port 49152:49216

What exactly is causing the systemvms to disconnect when UFW is enabled ?
The moment we disable it and reboot the systemvms the agents come back online

Regards,

Ben McGuire
Founder
AeroNeave Cloud Solutions





Re: Stopped VMs Not Counted CPU Cores

2021-08-01 Thread Ben McGuire
Hi Wei,

Thank you for the tip. We have made that change so we will see how things go.


Regards,

Ben McGuire
Founder
AeroNeave Cloud Solutions



> On 30 Jul 2021, at 9:31 pm, Wei ZHOU  wrote:
> 
> Hi Ben,
> 
> If you are using cloudstack 4.14.0 and later, there is a global setting
> 'resource.count.running.vms.only' which is 'false' by default.
> you can change it to 'true', then update the resource count of 'ROOT'
> domain in the domain details page.
> 
> -Wei
> 
> On Fri, 30 Jul 2021 at 18:42, Ben McGuire 
> wrote:
> 
>> Is it possible to configure CS to not count running VMs in the Core count ?
>> 
>> We have changed the global configuration but we are still limited but
>> instances that are powered off.
>> 
>> An an example:-
>> 
>> We have 80 Instances deployed. The host has 96 Cores. 50% of the instances
>> are not powered on but we are getting the insufficient capacity error.
>> 
>> It is my understanding Cores should not count for powered off instances if
>> I’m not mistaken.
>> 
>> 
>> 
>> Regards,
>> 
>> Ben McGuire
>> Founder
>> AeroNeave Cloud Solutions
>> 
>> 
>> 
>> 



Stopped VMs Not Counted CPU Cores

2021-07-30 Thread Ben McGuire
Is it possible to configure CS to not count running VMs in the Core count ?

We have changed the global configuration but we are still limited but instances 
that are powered off.

An an example:-

We have 80 Instances deployed. The host has 96 Cores. 50% of the instances are 
not powered on but we are getting the insufficient capacity error.

It is my understanding Cores should not count for powered off instances if I’m 
not mistaken.



Regards,

Ben McGuire
Founder
AeroNeave Cloud Solutions





CPU Core Widget Disappeared

2021-07-30 Thread Ben McGuire
Great to finally to apart of the Cloudstack community.

We restarted the management server and now we have lost the CPU Core Display 
Widget.
It may be something we changed in the Global Configuration settings but I am at 
a loss as to what could have caused it.

Further, It would be nice to implement CPU Core percentages rather than a 
blanket 1 Core and more often that not that is overkill and limits the amount 
of virtual machines on each host.

Anyway, hopefully someone could shed some light on the CPU widget issue.


Regards,

Ben McGuire
Founder
AeroNeave Cloud Solutions