cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
8712
Views
10
Helpful
11
Replies

Changing hostname CUCM 11.5

ailhan001
Level 1
Level 1

Hello,

ı have to change hostname of cucm pub and sub. the problem is that when i try to change hostname using web gui or cli never change happens.

Using with web gui:  i pressed save. but when i refresh the page i saw still old hostname although i restarted system.

Using cli:   i show this message.

Expected 0 mandatory and up to 0 non-mandatory parameter(s)
but 1 parameter(s) were found

Executed command unsuccessfully
Error executing command

Can you help me to solve this problem please?

Note: i tried to stop dirsync service but nothing change.

11 Replies 11

Suresh Hudda
VIP Alumni
VIP Alumni

Did you follow correct procedure ? Pls go through below doc before changing it.

http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/install/11_5_1/ipchange/cucm_b_change-ip-address-and-hostname_1151/cucm_b_change-ip-address-and-hostname_1151_chapter_010.html

Suresh

Hi,

which command did u use to change hostname from CLI?

u need to use below command from CLI

set network hostname 

Please find attached the sample output where XYZ is old hostname and ABCD is new hostname

regds,

aman

I wrote that command already. ı attached that error above comment.

Since the hostname change script is failing at adns_verify.sh script, can you double check if you have created the forward and reverse lookup entries for the new hostname i.e., ddcmss on the DNS server. I have a strong feeling that it is the missing piece.

Regards

Deepak

as you see when i change hostname i got this error. 

Dns uncreachable is normal because present hostname is old one thats why i try to change hostname.

DNS reachability could be the issue since I did not have DNS defined.

Try to make DNS reachable and then, change hostname.

regds,

aman

DNS has to be correct for the old and new new. Both names point to the same IP

And you must have also the reverse DNS correct

JH

The correct syntax is just

 

admin:set network hostname

 

When you press enter:

 

Enter the hostname:: cucm

 

you can put the hostname.

This helps as I applied this method to my CUIC server, was running into the same issue.

Jitender Bhandari
Cisco Employee
Cisco Employee

Hi,

try the steps in the link below as it says.

http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/install/11_5_1/ipchange/cucm_b_change-ip-address-and-hostname_1151/cucm_b_change-ip-address-and-hostname_1151_chapter_011.html

HTH

JB

i did this steps as  you below attachement.