Re: Redirect HTTP 8080 to HTTPS 8443 on Cloudstack 4.17.1.0

2022-12-02 Thread Granwille Strauss

Hi Guys

Would like to follow up on this any ideas?

On 11/18/22 16:47, David Larsen wrote:

Hi

We are using Cloudstack 4.17.1.0.
Https://host.domain.com:8443  works fine.

I followed to steps below to redirect http 8080 to https 8443 with no luck
Is there another way to do this in 4.17.1.0?
Hope so... :-)



For auto redirection from 8080 to 8443, Add below content in 
'/usr/share/cloudstack-management/webapp/WEB-INF/web.xml' file at line 22




Everything in the webapp

/*





CONFIDENTIAL












...

8443






Restart the management service
systemctl restart cloudstack-management


Best regards
David Larsen


--
Regards / Groete

 Granwille Strauss  // Senior Systems Admin

*e:* granwi...@namhost.com
*m:* +264 81 323 1260 
*w:* www.namhost.com 





Namhost Internet Services (Pty) Ltd,

24 Black Eagle Rd, Hermanus, 7210, RSA



The content of this message is confidential. If you have received it by 
mistake, please inform us by email reply and then delete the message. It 
is forbidden to copy, forward, or in any way reveal the contents of this 
message to anyone without our explicit consent. The integrity and 
security of this email cannot be guaranteed over the Internet. 
Therefore, the sender will not be held liable for any damage caused by 
the message. For our full privacy policy and disclaimers, please go to 
https://www.namhost.com/privacy-policy


Powered by AdSigner 


smime.p7s
Description: S/MIME Cryptographic Signature


Re: How can I make my existing shared network virtual router redundant?

2022-12-02 Thread Andrija Panic
But don't do it, since redundant VRs are sometimes problematic, and you can
have 2 masters and other sync issues. Just don'' do it in production.

On Thu, 1 Dec 2022 at 14:42, Daan Hoogland  wrote:

> there is an option to make it redundant on restart.
> see
> https://cloudstack.apache.org/api/apidocs-4.17/apis/restartNetwork.html.
>
> On Thu, Dec 1, 2022 at 5:00 AM Nazmul Parvej  >
> wrote:
>
> > Hi There,
> >
> > How can I make my existing shared network virtual router redundant?
> >
> > I am using ACS 4.17.1.0 and the Guest Network type is Shared Network.
> >
> > Yours sincerely,
> >
> >
> > Nazmul Parvej
> > Deputy Manager, Product Development
> > IT Division
> >
> > Bangladesh Export Import Company Ltd.
> >
> > Level-9, SAM Tower, Plot #4, Road #22, Gulshan-1, Dhaka-1212,Bangladesh
> >
> > Tel: +880 9609 000 999, +880 2 5881 5559, Ext: 14193, Fax:  +880 2 
> > 95757
> >
> > Cell: +8801787680841, Email: nazmul.par...@bol-online.com, Web:
> > www.bol-online.com
> >
> >
> > >
> >
>
>
> --
> Daan
>


-- 

Andrija Panić


Re: VMs HA not working with Ceph

2022-12-02 Thread Ricardo Pertuz
Not so sure but links refers to HA in RBD primary storage and they mention VM 
HA that is more related to

https://docs.cloudstack.apache.org/en/latest/adminguide/reliability.html?highlight=HA#ha-enabled-virtual-machines
HA-Enabled Virtual Machines
The user can specify a virtual machine as HA-enabled. By default, all virtual 
router VMs and Elastic Load Balancing VMs are automatically configured as 
HA-enabled. When an HA-enabled VM crashes, CloudStack detects the crash and 
restarts the VM automatically within the same Availability Zone. HA is never 
performed across different Availability Zones. CloudStack has a conservative 
policy towards restarting VMs and ensures that there will never be two 
instances of the same VM running at the same time. The Management Server 
attempts to start the VM on another Host in the same cluster.
HA features work with iSCSI or NFS primary storage. HA with local storage is 
not supported.
Is there any PR related to this?
From: Slavka Peleva 
Date: Friday, 2 December 2022, 2:57 AM
To: users@cloudstack.apache.org 
Subject: Re: VMs HA not working with Ceph
Hello Pradeep, Ranjit,

As far as I know, you need to have an NFS primary storage and OOBM
configured. There is a PR that provides a solution to have HA for RBD, but
it's not merged yet - https://github.com/apache/cloudstack/pull/5862.

I hope the links below will help you
https://docs.cloudstack.apache.org/en/latest/adminguide/reliability.html#ha-enabled-hosts
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Out-of-band+Management+for+CloudStack
https://www.shapeblue.com/host-ha-for-kvm-hosts-in-cloudstack/#Host-HA_on_KVM_host

Best regards,
Slavka

On Fri, Dec 2, 2022 at 9:02 AM Ranjit Jadhav 
wrote:

> Hello Guys,
>
> We are also struggling with this HA thing any guidance will be highly
> appreciated.
>
> Regards,
> Ranjit
>
> On Thu, 1 Dec 2022 at 20:50, pspa...@hotmail.com 
> wrote:
>
> > Hi,
> > I have build new infra with Ceph storage everything working well.
> > But VMs HA not working. Can anyone guide me.
> >
> > Regards Pradeep Kumar
>