Change hostname or site of name of already onboarded site (DO NOT CHANGE SITE ID)


ℹ️ Note for Releases 23.x and Later:

Starting in release 23.x, hostnames can be renamed directly in the GUI (Workflows > Devices > Devices, then click the Edit icon next to the device name). The CLI password reset and manual sync steps listed in the article are not required for release 23.x or newer.




For releases <23.x please follow below procedure to rename hostnames:

Case 1: This procedure will help to rename a site host name or site name (on standalone device) to new name without truck roll to onsite.

 

1.  Go to Workflows -> Devices and deploy a new device new site name and new serial number(serial number can be same as new site name) but copy all user input bind data from old site
 

Graphical user interface, application

Description automatically generated

 

Assign the same device group as device which will be renamed.

It is not mandatory to use the serial number same as new device name, you can use something like “<original serial number>-New”. Use the same in next step.

Using different serial number is needed as we cannot use same serial number in two workflow devices. 

 

2. Login to device which needs hostname or site name change and run below commands

 

                      delete system external-aaa

         commit

 

3. Delete device from appliances page (Administrator -> Appliances or Monitor -> Devices) which needs to be renamed to different name

 

Graphical user interface, application

Description automatically generated

 

Do not choose clean configuration or Erase configuration, just click "Yes"

 

Graphical user interface, text, application

Description automatically generated

 

4. Once new device shows up in Appliance page, delete old device from Workflows->Devices
 

 



Note: Once the device reboots with the new hostname, reset the AAA password to prevent the GUI status of the site from changing to sync-unknown.

  1. Run the following CLI commands to reset the REST user password:

 

cli> configure
unhide debug
secret --- Password
set aaa authentication users user restuser password versa123
commit

2. Do sync from the Appliance on the GUI

 

Case 2: This procedure will help to rename a site which is in HA/cluster (where the site name of peer device is not changed) to new name without truck roll to onsite.

 

1.1    Go to Workflows->Devices and select the device which needs to be renamed. On this existing device, open Bind Data tab. Copy and save the value of Paired_Site__locationID in text editor so that you can use it in next step. Now modify the value to some random text and redeploy the device.

Following screenshot shows the original Bind Data, take a note of this paired site id 

 

Graphical user interface, text, application, email

Description automatically generated

 

Following screenshot shows the modified paired site locationID

 

Graphical user interface, text, application, email

Description automatically generated

 

Please note: We have not committed the template so even though it is changed in the workflow device it will not affect the actual device. This step is necessary as we cannot use same paired site ID in more than two workflow devices.

 

    1.2      Go to Workflows->Devices and deploy a new device containing new site name and new serial number(serial number can be same as new site name) but copy all user input bind data from old site and use the same value of Paired_Site__locationID which you saved in text editor.
 

 

Graphical user interface, text, application, email

Description automatically generated

 

Assign the same device group as device which will be renamed.

 

Follow same steps 2 to 4 from Case 1 above.

 

Caveats