Re: Cloud init settings for Config Drive on L2 networks

2023-10-05 Thread Jorge Luiz Correa
Just sharing some scripts used here. I hope they can help you.

Create file cloud.cfg_jammy

Change the following lines:
cloud_init_modules:
.
.
 - [ssh, always]

cloud_config_modules:
.
.
 - [set-passwords, always]

Download the cloud-set-guest-password-configdrive.sh script.

Create custom-networking_v2.cfg:

network:
  version: 2
  ethernets:
ens3:
  dhcp4: true

apt install libguestfs-tools
wget
https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img

virt-customize --run-command 'rm /etc/cloud/cloud.cfg' -a
jammy-server-cloudimg-amd64.img
virt-customize --upload cloud.cfg_jammy:/etc/cloud/cloud.cfg -a
jammy-server-cloudimg-amd64.img
virt-customize --mkdir /var/lib/cloud/scripts/per-boot -a
jammy-server-cloudimg-amd64.img
virt-customize --mkdir /var/lib/cloud/scripts/per-instance -a
jammy-server-cloudimg-amd64.img
virt-customize --upload
cloud-set-guest-password-configdrive.sh:/var/lib/cloud/scripts/per-boot/cloud-set-guest-password-configdrive.sh
-a jammy-server-cloudimg-amd64.img
virt-customize --upload
cloud-set-guest-password-configdrive.sh:/var/lib/cloud/scripts/per-instance/cloud-set-guest-password-configdrive.sh
-a jammy-server-cloudimg-amd64.img
virt-customize --upload
cnptia-per-instance-script.sh:/var/lib/cloud/scripts/per-instance/cnptia-per-instance-script.sh
-a jammy-server-cloudimg-amd64.img
virt-customize --upload
custom-networking_v2.cfg:/etc/cloud/cloud.cfg.d/custom-networking_v2.cfg -a
jammy-server-cloudimg-amd64.img

One important thing noted here, if you intend to use a DHCP server in this
L2 network, without static configured hosts. All VMs will be launched from
the same template and the /etc/machine-id will be the same. The DHCP client
will derivate one client id from this information. So, for all VMs, the
DHCP server thinks they are the same host, offerging the same IP. Caos!

I've read some documents and posts saying the image distributor (maybe
Canonical, distributing de qcow2 image), is the indicated figure to fix the
problem, making some configuration to reset the machine id. Indeed, if you
truncate (you cannot remove the file) /etc/machine-id and
/var/lib/dbus/machine-id, it will be generated on first boot.

Here, as the template is already uploaded and distributed to the Zone, I
made one ansible that fix this problem. But, I think you could run
virt-customize and truncate them.

Maybe:
virt-customize --run-command 'truncate -s0 /etc/machine-id
/var/lib/dbus/machine-id' -a jammy-server-cloudimg-amd64.img

Em qui., 5 de out. de 2023 às 05:57, Joan g  escreveu:

> Thanks wei...
>
> On Thu, 5 Oct, 2023, 13:20 Wei ZHOU,  wrote:
>
> > You need to add a script in the template to get password from configdrive
> > and reset user password. For example
> >
> >
> https://github.com/apache/cloudstack/blob/main/setup/bindir/cloud-set-guest-sshkey-password-userdata-configdrive.in
> >
> >
> >
> > -Wei
> >
> > On Thu, 5 Oct 2023 at 09:38, Joan g  wrote:
> >
> > > Hello Community,
> > >
> > > Can someone guide me on configuration that should be added to
> cloud-init
> > > settings for creating password enabled templates using configdrive in
> > > ubuntu 20,22.
> > >
> > > We need to deploy passsword and sshkey enabled templates on ubuntu that
> > > will be using L2 networks.
> > >
> > > Thanks joan
> > >
> >
>

-- 
__
Aviso de confidencialidade

Esta mensagem da 
Empresa  Brasileira de Pesquisa  Agropecuaria (Embrapa), empresa publica 
federal  regida pelo disposto  na Lei Federal no. 5.851,  de 7 de dezembro 
de 1972,  e  enviada exclusivamente  a seu destinatario e pode conter 
informacoes  confidenciais, protegidas  por sigilo profissional.  Sua 
utilizacao desautorizada  e ilegal e  sujeita o infrator as penas da lei. 
Se voce  a recebeu indevidamente, queira, por gentileza, reenvia-la ao 
emitente, esclarecendo o equivoco.

Confidentiality note

This message from 
Empresa  Brasileira de Pesquisa  Agropecuaria (Embrapa), a government 
company  established under  Brazilian law (5.851/72), is directed 
exclusively to  its addressee  and may contain confidential data,  
protected under  professional secrecy  rules. Its unauthorized  use is 
illegal and  may subject the transgressor to the law's penalties. If you 
are not the addressee, please send it back, elucidating the failure.


Re: AW: KVM Host HA Settings

2023-10-05 Thread Nux
If you only have local storage, then Host HA may make sense, at least if 
the hypervisor crashes have it rebooted via ipmi.

Test it and see if it behaves as expected.


On 2023-10-05 10:35, Granwille Strauss wrote:

I am idiot, that makes sense, yes. Thank you.
On 10/5/23 11:15, Nux wrote:


Hello,

"By definition" you cannot have VM HA with local storage.

If your hypervisor goes down, through what process will the storage
of your VM be moved to another hypervisor and started there?

For VM HA you always must have network/shared storage, be it CEPH,
Storpool, Linbit etc - and always you need some NFS share for the
heartbeat - if the heartbeat NFS share were to become unavailable
all the hypervisors will fence themselves (forced reboot).

On 2023-10-05 10:03, Granwille Strauss wrote:
Hi Nux

So we cannot run VM Ha on strict KVM local storage? Or can we keep
this configuration of local storage and set up a temp NFS Primary
storage just for the hearbeat process to work?

On 10/4/23 15:36, Nux wrote:

I would avoid using host HA, I am not sure it can be relied upon
currently and one thing I know for sure is that it breaks VM HA.
I would just rely on the VM HA feature and disable host HA
altogether.
Do note, VM HA requires an NFS storage for the hearbeat etc and it
needs to be stable otherwise hosts will begin to fence themselves.

On 2023-10-04 13:29, W. Verleger - proIO GmbH wrote:

Hi Boris,

Thank you, will check

 ૘ෞ਀ഀ਀䴀椀琀 昀爀攀甀渀搀氀椀挀栀攀渀 䜀爀ﰀßen



/ With kind regards

Wilken Verleger

proIO GmbH
Kleyerstr. 79 - 89 / Tor 13
D-60326 Frankfurt am Main

- Support -
Mail: supp...@proio.com
24h:  +(49) (0) 1805 522 855

-Ursprüngliche Nachricht-
Von: Boris Stoyanov 
Gesendet: Donnerstag, 28. September 2023 19:55
An: users@cloudstack.apache.org
Betreff: Re: KVM Host HA Settings

Hi Wilken,

Have you checked these article:
https://www.shapeblue.com/host-ha-for-kvm-hosts-in-cloudstack/
You can also see the feature spec here:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Host+HA it
contains more detailed explanation of all the settings

Regards,
Boris.

From: W. Verleger - proIO GmbH 
Date: Thursday, 28 September 2023, 17:28
To: users@cloudstack.apache.org 
Subject: KVM Host HA Settings
Hi,

Bringing in new KVM hosts to CS 4.18.0.0.
How do you all configure Cloudstack to use "Host HA" for KVM
hypervisor (preferably CS 4.18.0.0)?

Thanks so much!

Mit freundlichen Grüßen / With kind regards

Wilken Verleger

proIO GmbH
Kleyerstr. 79 - 89 / Tor 13
D-60326 Frankfurt am Main

- Support -
Mail: supp...@proio.com
24h:  +(49) (0) 1805 522 855

- proIO GmbH -
Geschäftsführer: Swen Brüseke
Sitz der Gesellschaft: Frankfurt am Main

USt-IdNr. DE 267 075 918
Registergericht: Frankfurt am Main - HRB 86239

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen.
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
irrtümlich erhalten haben, informieren Sie bitte sofort den
Absender und vernichten Sie diese Mail.
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail

sind nicht gestattet.

This e-mail may contain confidential and/or privileged
information.
If you are not the intended recipient (or have received this
e-mail in error) please notify the sender immediately and destroy
this e-mail.
Any unauthorized copying, disclosure or distribution of the
material in this e-mail is strictly forbidden.

- proIO GmbH -
Geschäftsführer: Swen Brüseke
Sitz der Gesellschaft: Frankfurt am Main

USt-IdNr. DE 267 075 918
Registergericht: Frankfurt am Main - HRB 86239

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen.
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
irrtümlich erhalten haben,
informieren Sie bitte sofort den Absender und vernichten Sie diese

Mail.
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail

sind nicht gestattet.

This e-mail may contain confidential and/or privileged
information.
If you are not the intended recipient (or have received this
e-mail in error) please notify
the sender immediately and destroy this e-mail.
Any unauthorized copying, disclosure or distribution of the
material in this e-mail is strictly forbidden.


--

 Regards / Groete

  [1]
 Granwille Strauss  //  Senior Systems Admin

e: granwi...@namhost.com
m: +264 81 323 1260 [2]
w: www.namhost.com [1] [3]

 [4] [5] [6] [7] [8]

 [9]

 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 

Re: AW: KVM Host HA Settings

2023-10-05 Thread Granwille Strauss

I am idiot, that makes sense, yes. Thank you.

On 10/5/23 11:15, Nux wrote:

Hello,

"By definition" you cannot have VM HA with local storage.

If your hypervisor goes down, through what process will the storage of 
your VM be moved to another hypervisor and started there?


For VM HA you always must have network/shared storage, be it CEPH, 
Storpool, Linbit etc - and always you need some NFS share for the 
heartbeat - if the heartbeat NFS share were to become unavailable all 
the hypervisors will fence themselves (forced reboot).



On 2023-10-05 10:03, Granwille Strauss wrote:

Hi Nux

So we cannot run VM Ha on strict KVM local storage? Or can we keep
this configuration of local storage and set up a temp NFS Primary
storage just for the hearbeat process to work?

On 10/4/23 15:36, Nux wrote:


I would avoid using host HA, I am not sure it can be relied upon
currently and one thing I know for sure is that it breaks VM HA.
I would just rely on the VM HA feature and disable host HA
altogether.
Do note, VM HA requires an NFS storage for the hearbeat etc and it
needs to be stable otherwise hosts will begin to fence themselves.

On 2023-10-04 13:29, W. Verleger - proIO GmbH wrote:


Hi Boris,

Thank you, will check




૘ෞ਀ഀ਀䴀椀琀 昀爀攀甀渀搀氀椀挀栀攀渀 䜀爀ﰀßen

/ With kind regards

Wilken Verleger

proIO GmbH
Kleyerstr. 79 - 89 / Tor 13
D-60326 Frankfurt am Main

- Support -
Mail: supp...@proio.com
24h:  +(49) (0) 1805 522 855

-Ursprüngliche Nachricht-
Von: Boris Stoyanov 
Gesendet: Donnerstag, 28. September 2023 19:55
An: users@cloudstack.apache.org
Betreff: Re: KVM Host HA Settings

Hi Wilken,

Have you checked these article:
https://www.shapeblue.com/host-ha-for-kvm-hosts-in-cloudstack/
You can also see the feature spec here:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Host+HA it
contains more detailed explanation of all the settings

Regards,
Boris.

From: W. Verleger - proIO GmbH 
Date: Thursday, 28 September 2023, 17:28
To: users@cloudstack.apache.org 
Subject: KVM Host HA Settings
Hi,

Bringing in new KVM hosts to CS 4.18.0.0.
How do you all configure Cloudstack to use "Host HA" for KVM
hypervisor (preferably CS 4.18.0.0)?

Thanks so much!

Mit freundlichen Grüßen / With kind regards

Wilken Verleger

proIO GmbH
Kleyerstr. 79 - 89 / Tor 13
D-60326 Frankfurt am Main

- Support -
Mail: supp...@proio.com
24h:  +(49) (0) 1805 522 855

- proIO GmbH -
Geschäftsführer: Swen Brüseke
Sitz der Gesellschaft: Frankfurt am Main

USt-IdNr. DE 267 075 918
Registergericht: Frankfurt am Main - HRB 86239

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen.
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
irrtümlich erhalten haben, informieren Sie bitte sofort den
Absender und vernichten Sie diese Mail.
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail
sind nicht gestattet.

This e-mail may contain confidential and/or privileged
information.
If you are not the intended recipient (or have received this
e-mail in error) please notify the sender immediately and destroy
this e-mail.
Any unauthorized copying, disclosure or distribution of the
material in this e-mail is strictly forbidden.

- proIO GmbH -
Geschäftsführer: Swen Brüseke
Sitz der Gesellschaft: Frankfurt am Main

USt-IdNr. DE 267 075 918
Registergericht: Frankfurt am Main - HRB 86239

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen.
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
irrtümlich erhalten haben,
informieren Sie bitte sofort den Absender und vernichten Sie diese
Mail.
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail
sind nicht gestattet.

This e-mail may contain confidential and/or privileged
information.
If you are not the intended recipient (or have received this
e-mail in error) please notify
the sender immediately and destroy this e-mail.
Any unauthorized copying, disclosure or distribution of the
material in this e-mail is strictly forbidden.


--

 Regards / Groete

  [1]
 Granwille Strauss  //  Senior Systems Admin

e: granwi...@namhost.com
m: +264 81 323 1260 [2]
w: www.namhost.com [3]

 [4] [5] [6] [7] [8]

 [9]

 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

    [10]

Links:
--
[1] https://www.namhost.com
[2] tel:+264813231260
[3] https://www.namhost.com/
[4] https://www.facebook.com/namhost
[5] 

Re: AW: KVM Host HA Settings

2023-10-05 Thread Nux

Hello,

"By definition" you cannot have VM HA with local storage.

If your hypervisor goes down, through what process will the storage of 
your VM be moved to another hypervisor and started there?


For VM HA you always must have network/shared storage, be it CEPH, 
Storpool, Linbit etc - and always you need some NFS share for the 
heartbeat - if the heartbeat NFS share were to become unavailable all 
the hypervisors will fence themselves (forced reboot).



On 2023-10-05 10:03, Granwille Strauss wrote:

Hi Nux

So we cannot run VM Ha on strict KVM local storage? Or can we keep
this configuration of local storage and set up a temp NFS Primary
storage just for the hearbeat process to work?

On 10/4/23 15:36, Nux wrote:


I would avoid using host HA, I am not sure it can be relied upon
currently and one thing I know for sure is that it breaks VM HA.
I would just rely on the VM HA feature and disable host HA
altogether.
Do note, VM HA requires an NFS storage for the hearbeat etc and it
needs to be stable otherwise hosts will begin to fence themselves.

On 2023-10-04 13:29, W. Verleger - proIO GmbH wrote:


Hi Boris,

Thank you, will check




૘ෞ਀ഀ਀䴀椀琀 昀爀攀甀渀搀氀椀挀栀攀渀 䜀爀ﰀßen

/ With kind regards

Wilken Verleger

proIO GmbH
Kleyerstr. 79 - 89 / Tor 13
D-60326 Frankfurt am Main

- Support -
Mail: supp...@proio.com
24h:  +(49) (0) 1805 522 855

-Ursprüngliche Nachricht-
Von: Boris Stoyanov 
Gesendet: Donnerstag, 28. September 2023 19:55
An: users@cloudstack.apache.org
Betreff: Re: KVM Host HA Settings

Hi Wilken,

Have you checked these article:
https://www.shapeblue.com/host-ha-for-kvm-hosts-in-cloudstack/
You can also see the feature spec here:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Host+HA it
contains more detailed explanation of all the settings

Regards,
Boris.

From: W. Verleger - proIO GmbH 
Date: Thursday, 28 September 2023, 17:28
To: users@cloudstack.apache.org 
Subject: KVM Host HA Settings
Hi,

Bringing in new KVM hosts to CS 4.18.0.0.
How do you all configure Cloudstack to use "Host HA" for KVM
hypervisor (preferably CS 4.18.0.0)?

Thanks so much!

Mit freundlichen Grüßen / With kind regards

Wilken Verleger

proIO GmbH
Kleyerstr. 79 - 89 / Tor 13
D-60326 Frankfurt am Main

- Support -
Mail: supp...@proio.com
24h:  +(49) (0) 1805 522 855

- proIO GmbH -
Geschäftsführer: Swen Brüseke
Sitz der Gesellschaft: Frankfurt am Main

USt-IdNr. DE 267 075 918
Registergericht: Frankfurt am Main - HRB 86239

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen.
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
irrtümlich erhalten haben, informieren Sie bitte sofort den
Absender und vernichten Sie diese Mail.
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail
sind nicht gestattet.

This e-mail may contain confidential and/or privileged
information.
If you are not the intended recipient (or have received this
e-mail in error) please notify the sender immediately and destroy
this e-mail.
Any unauthorized copying, disclosure or distribution of the
material in this e-mail is strictly forbidden.

- proIO GmbH -
Geschäftsführer: Swen Brüseke
Sitz der Gesellschaft: Frankfurt am Main

USt-IdNr. DE 267 075 918
Registergericht: Frankfurt am Main - HRB 86239

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen.
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
irrtümlich erhalten haben,
informieren Sie bitte sofort den Absender und vernichten Sie diese
Mail.
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail
sind nicht gestattet.

This e-mail may contain confidential and/or privileged
information.
If you are not the intended recipient (or have received this
e-mail in error) please notify
the sender immediately and destroy this e-mail.
Any unauthorized copying, disclosure or distribution of the
material in this e-mail is strictly forbidden.


--

 Regards / Groete

 [1]
 Granwille Strauss  //  Senior Systems Admin

e: granwi...@namhost.com
m: +264 81 323 1260 [2]
w: www.namhost.com [3]

 [4] [5] [6] [7] [8]

 [9]

 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

[10]

Links:
--
[1] https://www.namhost.com
[2] tel:+264813231260
[3] https://www.namhost.com/
[4] https://www.facebook.com/namhost
[5] https://twitter.com/namhost
[6] 

Re: AW: KVM Host HA Settings

2023-10-05 Thread Granwille Strauss

Hi Nux

So we cannot run VM Ha on strict KVM local storage? Or can we keep this 
configuration of local storage and set up a temp NFS Primary storage 
just for the hearbeat process to work?


On 10/4/23 15:36, Nux wrote:
I would avoid using host HA, I am not sure it can be relied upon 
currently and one thing I know for sure is that it breaks VM HA.

I would just rely on the VM HA feature and disable host HA altogether.
Do note, VM HA requires an NFS storage for the hearbeat etc and it 
needs to be stable otherwise hosts will begin to fence themselves.



On 2023-10-04 13:29, W. Verleger - proIO GmbH wrote:

Hi Boris,

Thank you, will check ૘ෞ਀ഀ਀䴀椀琀 昀爀攀甀渀搀氀椀挀栀攀渀 䜀爀ﰀßen / With 
kind regards


Wilken Verleger


proIO GmbH
Kleyerstr. 79 - 89 / Tor 13
D-60326 Frankfurt am Main

- Support -
Mail: supp...@proio.com
24h:  +(49) (0) 1805 522 855

-Ursprüngliche Nachricht-
Von: Boris Stoyanov 
Gesendet: Donnerstag, 28. September 2023 19:55
An: users@cloudstack.apache.org
Betreff: Re: KVM Host HA Settings

Hi Wilken,

Have you checked these article: 
https://www.shapeblue.com/host-ha-for-kvm-hosts-in-cloudstack/
You can also see the feature spec here: 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Host+HA it 
contains more detailed explanation of all the settings


Regards,
Boris.

From: W. Verleger - proIO GmbH 
Date: Thursday, 28 September 2023, 17:28
To: users@cloudstack.apache.org 
Subject: KVM Host HA Settings
Hi,

Bringing in new KVM hosts to CS 4.18.0.0.
How do you all configure Cloudstack to use "Host HA" for KVM 
hypervisor (preferably CS 4.18.0.0)?


Thanks so much!

Mit freundlichen Grüßen / With kind regards

Wilken Verleger


proIO GmbH
Kleyerstr. 79 - 89 / Tor 13
D-60326 Frankfurt am Main

- Support -
Mail: supp...@proio.com
24h:  +(49) (0) 1805 522 855

- proIO GmbH -
Geschäftsführer: Swen Brüseke
Sitz der Gesellschaft: Frankfurt am Main

USt-IdNr. DE 267 075 918
Registergericht: Frankfurt am Main - HRB 86239

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte 
Informationen.
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail 
irrtümlich erhalten haben, informieren Sie bitte sofort den Absender 
und vernichten Sie diese Mail.
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail 
sind nicht gestattet.


This e-mail may contain confidential and/or privileged information.
If you are not the intended recipient (or have received this e-mail 
in error) please notify the sender immediately and destroy this e-mail.
Any unauthorized copying, disclosure or distribution of the material 
in this e-mail is strictly forbidden.






- proIO GmbH -
Geschäftsführer: Swen Brüseke
Sitz der Gesellschaft: Frankfurt am Main

USt-IdNr. DE 267 075 918
Registergericht: Frankfurt am Main - HRB 86239

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte 
Informationen.
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail 
irrtümlich erhalten haben,

informieren Sie bitte sofort den Absender und vernichten Sie diese Mail.
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail 
sind nicht gestattet.


This e-mail may contain confidential and/or privileged information.
If you are not the intended recipient (or have received this e-mail 
in error) please notify

the sender immediately and destroy this e-mail.
Any unauthorized copying, disclosure or distribution of the material 
in this e-mail is strictly forbidden.

--
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: AW: KVM Host HA Settings

2023-10-05 Thread Nux
I would avoid using host HA, I am not sure it can be relied upon 
currently and one thing I know for sure is that it breaks VM HA.

I would just rely on the VM HA feature and disable host HA altogether.
Do note, VM HA requires an NFS storage for the hearbeat etc and it needs 
to be stable otherwise hosts will begin to fence themselves.



On 2023-10-04 13:29, W. Verleger - proIO GmbH wrote:

Hi Boris,

Thank you, will check ૘ෞ਀ഀ਀䴀椀琀 昀爀攀甀渀搀氀椀挀栀攀渀 䜀爀ﰀßen / With kind regards

Wilken Verleger

 
proIO GmbH  
Kleyerstr. 79 - 89 / Tor 13  
D-60326 Frankfurt am Main

- Support -
Mail: supp...@proio.com
24h:  +(49) (0) 1805 522 855

-Ursprüngliche Nachricht-
Von: Boris Stoyanov 
Gesendet: Donnerstag, 28. September 2023 19:55
An: users@cloudstack.apache.org
Betreff: Re: KVM Host HA Settings

Hi Wilken,

Have you checked these article: 
https://www.shapeblue.com/host-ha-for-kvm-hosts-in-cloudstack/
You can also see the feature spec here: 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Host+HA it 
contains more detailed explanation of all the settings


Regards,
Boris.

From: W. Verleger - proIO GmbH 
Date: Thursday, 28 September 2023, 17:28
To: users@cloudstack.apache.org 
Subject: KVM Host HA Settings
Hi,

Bringing in new KVM hosts to CS 4.18.0.0.
How do you all configure Cloudstack to use "Host HA" for KVM hypervisor 
(preferably CS 4.18.0.0)?


Thanks so much!

Mit freundlichen Grüßen / With kind regards

Wilken Verleger


proIO GmbH
Kleyerstr. 79 - 89 / Tor 13
D-60326 Frankfurt am Main

- Support -
Mail: supp...@proio.com
24h:  +(49) (0) 1805 522 855

- proIO GmbH -
Geschäftsführer: Swen Brüseke
Sitz der Gesellschaft: Frankfurt am Main

USt-IdNr. DE 267 075 918
Registergericht: Frankfurt am Main - HRB 86239

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte 
Informationen.
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich 
erhalten haben, informieren Sie bitte sofort den Absender und 
vernichten Sie diese Mail.
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind 
nicht gestattet.


This e-mail may contain confidential and/or privileged information.
If you are not the intended recipient (or have received this e-mail in 
error) please notify the sender immediately and destroy this e-mail.
Any unauthorized copying, disclosure or distribution of the material in 
this e-mail is strictly forbidden.






- proIO GmbH -
Geschäftsführer: Swen Brüseke
Sitz der Gesellschaft: Frankfurt am Main

USt-IdNr. DE 267 075 918
Registergericht: Frankfurt am Main - HRB 86239

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte 
Informationen.
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich 
erhalten haben,
informieren Sie bitte sofort den Absender und vernichten Sie diese 
Mail.
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind 
nicht gestattet.


This e-mail may contain confidential and/or privileged information.
If you are not the intended recipient (or have received this e-mail in 
error) please notify

the sender immediately and destroy this e-mail.
Any unauthorized copying, disclosure or distribution of the material in 
this e-mail is strictly forbidden.


Re: Cloud init settings for Config Drive on L2 networks

2023-10-05 Thread Joan g
Thanks wei...

On Thu, 5 Oct, 2023, 13:20 Wei ZHOU,  wrote:

> You need to add a script in the template to get password from configdrive
> and reset user password. For example
>
> https://github.com/apache/cloudstack/blob/main/setup/bindir/cloud-set-guest-sshkey-password-userdata-configdrive.in
>
>
>
> -Wei
>
> On Thu, 5 Oct 2023 at 09:38, Joan g  wrote:
>
> > Hello Community,
> >
> > Can someone guide me on configuration that should be added to cloud-init
> > settings for creating password enabled templates using configdrive in
> > ubuntu 20,22.
> >
> > We need to deploy passsword and sshkey enabled templates on ubuntu that
> > will be using L2 networks.
> >
> > Thanks joan
> >
>


Re: Cloud init settings for Config Drive on L2 networks

2023-10-05 Thread Wei ZHOU
You need to add a script in the template to get password from configdrive
and reset user password. For example
https://github.com/apache/cloudstack/blob/main/setup/bindir/cloud-set-guest-sshkey-password-userdata-configdrive.in



-Wei

On Thu, 5 Oct 2023 at 09:38, Joan g  wrote:

> Hello Community,
>
> Can someone guide me on configuration that should be added to cloud-init
> settings for creating password enabled templates using configdrive in
> ubuntu 20,22.
>
> We need to deploy passsword and sshkey enabled templates on ubuntu that
> will be using L2 networks.
>
> Thanks joan
>


Cloud init settings for Config Drive on L2 networks

2023-10-05 Thread Joan g
Hello Community,

Can someone guide me on configuration that should be added to cloud-init
settings for creating password enabled templates using configdrive in
ubuntu 20,22.

We need to deploy passsword and sshkey enabled templates on ubuntu that
will be using L2 networks.

Thanks joan