Cloning a VM
Sometimes it may be useful to clone a VM running an Ignition Gateway to keep all the configurations the same in the new system. However, there are a few things to keep in mind when doing this.
- The cloned VM should be isolated from the network at first. Especially when you have a Gateway Network setup with multiple Gateways communicating with each other or Tag History being stored to a database, having two Gateways with the same name and IP address can cause problems for a system which won't be able to differentiate between the two.
- The new VM should be given a different IP address. If you have a static IP address setup for the VM, the clone should get its own unique IP address.
- The Gateway System Name needs to be changed. This is done by going into the Gateway Webpage, navigating to the Gateway Settings page in the Configure section, and changing the System Name to be different. Note, that this name should be different from all Gateways in the network, and is important when using Tag History, as the Gateway name helps the historian system differentiate multiple Gateways storing to the same database.
- Within the data folder located in the Install Root, there is a file titled ".uuid". This file needs to be deleted. Once it has been removed, the Gateway can be restarted, which will automatically generates a new file.
- After all of the points above have been handled, the VM can then be hooked back up into the network and used like a new Gateway.