[BlueOnyx:19864] Re: How to change hostname on a BO VM, 5209R

Tobias Gablunsky t.gablunsky at cbxnet.de
Thu Jul 21 07:25:49 -05 2016


Hi Michael,

wow, now I see I've been dump - just overlooked the field :-/

But now I have another problem: the form doesn't accept my new hostname "besins_vm4" - underscores not allowed?

Thanks,
Tobias

> -----Original Message-----
> From: Blueonyx [mailto:blueonyx-bounces at mail.blueonyx.it] On Behalf Of
> Michael Stauber
> Sent: Wednesday, July 20, 2016 5:26 PM
> To: BlueOnyx General Mailing List <blueonyx at mail.blueonyx.it>
> Subject: [BlueOnyx:19863] Re: How to change hostname on a BO VM, 5209R
> 
> Hi Tobias,
> 
> > I am feeling pretty dumb today. I am not able to change the hostname of
> a 5209R the way I want.
> >
> > I have set up a VMware VM which is configured the way I want. But when I
> copy it to new VM, the hostname gets copied with it. It is kept in
> /etc/host and in sendmail, apache and admserv config
> (/etc/admserv/conf/httpd.conf /etc/hostname /etc/mail/sendmail.cf
> /etc/mail/local-host-names /etc/hosts /etc/HOSTNAME
> /etc/httpd/conf/vhosts/preview /etc/httpd/conf/httpd.conf)
> >
> > I read about the needed setting per "hostnamectl" in Thread
> "BlueOnyx:19846" already.
> >
> > What do I have to do to tell BlueOnyx about that changed hostname? Is it
> some cce setting? The "network_settings.sh" script only changes network
> settings, not the hostname.
> 
> The best way to do it is to use the GUI: "Server Management" / "Network
> Services" / "TCP/IP".
> 
> That will then update the hostname in all the relevant places. If your
> 5209R is fully YUM updated, then it will also use "hostnamectl" to set
> the hostname on the OS correctly.
> 
> And yes: It's stored all over the place:
> 
> It's in CODB in the "System" object.and a whole bunch of config files:
> 
> /etc/hostname
> /etc/hosts
> /etc/mail/local-host-names
> /etc/mail/*
> /etc/httpd/conf/httpd.conf
> /etc/admserv/conf/httpd.conf
> /etc/httpd/conf/vhosts/preview
> 
> Additionally the AdmServ SSL certificate is also re-generated whenever
> the hostname is changed, because the cert needs to match the hostname.
> 
> Hence the best way to change it is the GUI, as it ought to do it in all
> the relevant places.
> 
> --
> With best regards
> 
> Michael Stauber
> _______________________________________________
> Blueonyx mailing list
> Blueonyx at mail.blueonyx.it
> http://mail.blueonyx.it/mailman/listinfo/blueonyx





More information about the Blueonyx mailing list