[Users] changing hostname in ovirt

Alon Bar-Lev alonbl at redhat.com
Mon Jan 27 08:07:39 EST 2014



----- Original Message -----
> From: "Sven Kieske" <S.Kieske at mittwald.de>
> To: dron at redhat.com
> Cc: "Alon Bar-Lev" <alonbl at redhat.com>, "Users at ovirt.org List" <Users at ovirt.org>
> Sent: Monday, January 27, 2014 2:52:03 PM
> Subject: Re: [Users] changing hostname in ovirt
> 
> well, that's not what I want, because I'm talking about a local
> storage DC. I just want to change the hosts address which ovirt
> uses to connect to the host.
> 
> This isn't possible without changing the certificates (re-deploy)?

You can... just a lot of places.

generate empty subject certificate request using /etc/pki/vdsm/keys/vdsmkey.pem key

# openssl req -new -key /etc/pki/vdsm/keys/vdsmkey.pem -subj "/"

use engine utility /usr/share/ovirt-engine/bin/pki-enroll-request.sh to enroll a new certificate with the new host name.

# cat > /etc/pki/ovirt-engine/requests/xxx.req
<paste request>
# /usr/share/ovirt-engine/bin/pki-enroll-request.sh --name=xxx --subject="/CN=xxxx/O=xxxx/C=xxx"
# cat /etc/pki/ovirt-engine/certs/xxx.cer

copy the certificate into:
/etc/pki/vdsm/certs/vdsmcert.pem
/etc/pki/vdsm/libvirt-spice/server-cert.pem
/etc/pki/libvirt/clientcert.pem

> 
> Am 27.01.2014 13:27, schrieb Dafna Ron:
> > well, if you can re-deploy the hosts that would change the certificates
> > as well (create new ones with the new hostname).
> 
> --
> Mit freundlichen Grüßen / Regards
> 
> Sven Kieske
> 
> Systemadministrator
> Mittwald CM Service GmbH & Co. KG
> Königsberger Straße 6
> 32339 Espelkamp
> T: +49-5772-293-100
> F: +49-5772-293-333
> https://www.mittwald.de
> Geschäftsführer: Robert Meyer
> St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
> Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen


More information about the Users mailing list