Just as FYI --> To avoid running the spaceawalk-hostname-rename scripts in 
the future and easily migrate from one server to another, you can use a 
cname for all of the details. 
        IE You can have a standby server with spacewalk installed on. Then 
all you have to do is flip the cname and some filesystems over to and the 
application is backup and running.  We have a required 99% uptime SLA for 
our environment. 
        
https://www.redhat.com/archives/spacewalk-list/2016-May/msg00129.html

1. DNS cname point to the A record of the server

2. Use the FQDN of the cname for the SSL cert

3.  update /etc/hosts
IP    (FQDN of cname)      (leaf domain of the cname or the characters 
before the first dot) 

4. update /etc/sysconfig/network or /etc/hostname

Linux < 6 HOSTNAME=FQDN
Linux > 7 /etc/hostname should contain the FQDN of the cname

5. Update the hostname to the cname


Note: If you are using ISS, you have to specify the A records of the 
server as ISS in Spacewalk does not support cnames in this manner.  I had 
a ticket opened with our support and they closed this as a will not fix.

- Thanks and good luck




From:   Stuart Green <[email protected]>
To:     [email protected]
Date:   03/28/2018 02:14 PM
Subject:        Re: [Spacewalk-list] Rename Spacewalk server
Sent by:        [email protected]



You need to follow this process if you rename the host 
https://github.com/spacewalkproject/spacewalk/wiki/SpacewalkHostnameRename

On 28 March 2018 at 18:19, Yakin, Francis <[email protected]> 
wrote:
Can I rename the server’s name? Without affecting the functionality?
 
Thanks
 
Francis Yakin | IT System Admin |  direct: 510-749-2027
500 Wind River Way, Alameda, CA  94501 
   
AN INTEL COMPANY
 

_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list
This email originated from outside of the company.  Please use discretion 
if opening attachments or clicking on links.

_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list



**

This email and any attachments may contain information that is confidential 
and/or privileged for the sole use of the intended recipient.  Any use, review, 
disclosure, copying, distribution or reliance by others, and any forwarding of 
this email or its contents, without the express permission of the sender is 
strictly prohibited by law.  If you are not the intended recipient, please 
contact the sender immediately, delete the e-mail and destroy all copies.
**
_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to