Forum Discussion

Sarah_258804's avatar
Apr 28, 2016

Modifying LTM hostname

Will changing my device hostname with command:

 

"tmsh modify /sys global-settings hostname [hostname]"

 

..affect anything on my box such as device certificates or HA connection? Can I freely change my hostname without any consequence? The device name that is being used for HA is already the desired hostname so that does not need changed. I'm only referring to my hostname if this makes sense.

 

  • Hello,

     

    This article will help you: sol15700: Changing the BIG-IP hostname does not update the device name when the device is a member of a DSC device group

     

    When you change the hostname of a standalone BIG-IP system, both the hostname and the device name are updated. However, if the system is a member of a device group, the device name is not automatically updated, because it would affect the device trust established between device group members.

     

    You have to follow this Recommendations:

     

    While it does not affect the BIG-IP system's functionality to have the hostname and device name not match, you may want to see the new hostname in all configuration instances.

     

    When changing the hostname for a member (or members) of a device group, if you want the device name to match the new hostname, you must perform all of the following procedures:

     

    •Reset the device trust across all devices

     

    •Change the device name

     

    •Re-add the devices to the device group

     

    •Perform ConfigSync (optional)

     

    https://support.f5.com/kb/en-us/solutions/public/15000/700/sol15700.html

     

    Regards,

     

  • Hi, youssef's answer is not exactly addressing the original question. And I have the same scenario as Sarah. The device name is already correct, only the hostname needs to be changed - to match the device name. Device is in DSC group. Will a simple hostname change as described in K26057357 cause any issues?

     

    • raj_bjs77's avatar
      raj_bjs77
      Icon for Nimbostratus rankNimbostratus

      can we add hostname as DNS name..i added the hostname as DNS name e.g lb01.prod.in but when i login using cli it shows only lb01.

  • I changed the hostname by the following command and it works fine without any impact on HA.

    tmsh modify cm device  hostname