Merhaba, bu yazıda CUCM IP adresi ve hostname ini değiştirmek için gerekli adımları ve ekstra dikkat etmeniz gereken noktaları bulabilirsiniz.
Not 1: Başlamadan önce, eğer hostname i de değiştirecekseniz ilgili DNS kayıtlarının da güncellendiğinden emin olun, aksi takdirde iletişim sorunları yaşayabilirsiniz.
Not 2: Eğer bir CUCM cluster’ı üzerindeki tüm node ların IP adreslerini veya hostnamelerini değiştirecekseniz ilk önce Publisher’dan başlayın, işlem tamamlandıktan sonra Subscriber’ları tek tek değiştirin.
Uyarılarımızı da yaptıktan sonra artık başlayabiliriz:
1. CUCM’e SSH üzerinden bağlanın ve hostname i değiştirmek için aşağıdaki komutu kullanın:
admin:set network hostname
ctrl-c: To quit the input.
*** W A R N I N G ***
Do not close this window without first canceling the command.
This command will automatically restart system services.
The command should not be issued during normal operating
hours.
=======================================================
Note: Please verify that the new hostname is a unique
name across the cluster and, if DNS services are
utilized, any DNS configuration is completed
before proceeding.
=======================================================
Security Warning : This operation will regenerate
all CUCM Certificates including any third party
signed Certificates that have been uploaded.
Not: Hostname değişikliklerinde eğer CUCM’iniz ya da cluster’ınız bir CA tarafından imzalanmış sertifikalar kullanıyor ise, bu sertifikaları yeni hostname’e göre tekrar imzalatmanız ve CUCM’e yüklemeniz gerekecektir. Self-signed sertifikalar kullanılıyor ise bu işlem otomatik olarak yenilenecek ve uç cihazlarınız yeni ITL dosyasını alabilmek için resetlenecektir.
2. Uyarıları okuduktan sonra hostname’i girin:
Enter the hostname:: cucm
3. Eğer IP adresi, subnet mask ve default gateway i de değiştirecekseniz yes diyip ilgili bilgileri girerek devam edin:
Would you like to change the network ip address at this time [yes]:: yes
Warning: Do not close this window until command finishes.
ctrl-c: To quit the input.
*** W A R N I N G ***
=======================================================
Note: Please verify that the new ip address is unique
across the cluster.
=======================================================
Enter the ip address:: 192.168.0.137
Enter the ip subnet mask:: 255.255.255.0
Enter the ip address of the gateway:: 192.168.0.1
4. Girdiğiniz bilgiler ekranda gösterilecektir. İnceleyip eğer doğru ise yes yazarak değişim işlemini başlatabilirsiniz
Hostname: cucm
IP Address: 192.168.0.137
IP Subnet Mask: 255.255.255.0
Gateway: 192.168.0.1
Do you want to continue [yes/no]? yes
calling 1 of 5 component notification script: ahostname_callback.sh
Info(0): Processnode query returned =
name
==========
bldr-vcm18
updating server table from:'oldHostname', to: 'newHostname'
Rows: 1
updating database, please wait 90 seconds
updating database, please wait 60 seconds
updating database, please wait 30 seconds
Going to trigger /usr/local/cm/bin/dbl updatefiles --remote=newHostname,oldHostname
calling 2 of 5 component notification script: clm_notify_hostname.sh notification
Verifying update across cluster nodes...
platformConfig.xml is up-to-date: bldr-vcm21
cluster update successfull
calling 3 of 5 component notification script: drf_notify_hostname_change.py
calling 4 of 5 component notification script: regenerate_all_certs.sh
calling 5 of 5 component notification script: update_idsenv.sh
calling 1 of 2 component notification script: ahostname_callback.sh
Info(0): Processnode query returned =
name
====
Going to trigger /usr/local/cm/bin/dbl updatefiles --remote=10.10.10.28,10.67.142.24
calling 2 of 2 component notification script: clm_notify_hostname.sh
Verifying update across cluster nodes...
Shutting down interface eth0:
CUCM’iniz ya da cluster’ınız mixed-mode da ise bu işlemi CTL Client ile yaptıysanız client ı tekrar çalıştırıp CTL dosyasını güncelleyin. Eğer tokenless CTL kullanıyorsanız komut satırından utils ctl update CTLFile komutunu çalıştırarak CTL dosyasının güncellenmesini sağlayın.
