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

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

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

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.
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.
Following screenshot shows the original Bind Data, take a note of this paired site id

Following screenshot shows the modified paired site locationID

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.


Assign the same device group as device which will be renamed.
Follow same steps 2 to 4 from Case 1 above.
Caveats