Change hostname on a production server

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
User avatar
fs.schmidt
Advanced member
Advanced member
Posts: 168
Joined: Sat Sep 13, 2014 3:37 am
Location: Brazil
Contact:

Change hostname on a production server

Postby fs.schmidt » Thu May 08, 2014 2:01 pm

Hi !
I need to change the hostname of a Zimbra server already in productions, how safe is it? Could it cause any data loss?
The steps I planned to execute are:
1 - zmcontrol stop

2 - opt / zimbra / libexec / zmsetservername -o oldname -n newname

3 -zmcontrol start

4 - Check with : zmcontrol status and zmhostname
I would appreciate any help.
My best regards,
Fabio S. Schmidt


My best regards,
Fabio S. Schmidt
http://www.bktech.com.br
Brasília - Brazil
phoenix
Ambassador
Ambassador
Posts: 26295
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Change hostname on a production server

Postby phoenix » Thu May 08, 2014 2:10 pm

I'd suggest you add new DNS A (if necessary) & MX records (at a lower priority than the current records) for the new hostname before you make the change, when you've done that take a backup of the server modify the hosts file and then make the changes you've listed above.
Regards

Bill

Rspamd: A high performance spamassassin replacement

If you'd like to see this implemented in a future version of ZCS then please vote on Bugzilla entries 97706 & 108168
User avatar
fs.schmidt
Advanced member
Advanced member
Posts: 168
Joined: Sat Sep 13, 2014 3:37 am
Location: Brazil
Contact:

Change hostname on a production server

Postby fs.schmidt » Thu May 08, 2014 2:38 pm

Hi Phoenix ! Thanks for the answer.
I'm considering changing the hostname because the clients (Outlook 2003 to 2013) configurations points to the name of the old server. For instance, if I keep the hostname of the new server and create an alias on DNS pointing the old name to the new server, would I have some problem with the certificate?
My best regards and sorry my poor english.
Fabio S. Schmidt
My best regards,
Fabio S. Schmidt
http://www.bktech.com.br
Brasília - Brazil

Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 4 guests