This Citrix document outlines the procedure:
How to Migrate the Configuration of an Existing NetScaler Appliance to Another Appliance
It appears that the only pre-requisite is that the two appliances run the same software.
Otherwise, reiterating the original question, how do we perform this action?
The number of items to copy depends on the features used:
- The ns.conf file (this file contains the NetScaler configuration).
- The SSL folder (if we use certificates for SSL offloading or other purposes).
- The ZebOS.conf file (if we use the NetScaler for dynamic routing).
All these objects (and others) are located in the /flash/nsconfig folder of the NetScaler.
This is how I proceeded....
NetScaler VPX - load balance Exchange - Part 1 (Installation and Configuration)
As for the initial network configuration, I start the new NetScaler and enter an IP address, a netmask and a default gateway when prompted (this will be directly at the console since we cannot use the web interface until we have (logically) configured an IP address):
Once the initial configuration has been completed (and the license installed), we can use WinSCP to connect to the NSIP which is the NetScaler's "primary" IP address. In our case, it is the IP address entered above: 10.0.0.42. As for WinSCP, we download and install the program on our management computer and then enter the values shown below (or those appropriate for your environment). In my case...
- SFTP for the file protocol.
- 10.0.0.42 for the "host name" (yes, the IP address works just as well here)
- 22 for the port number
- nsroot for both the user name and password (unless you had changed the password during intial configuration, which would be an excellent idea in a production environment).
We then click on "Login":
At this prompt, we can click on Yes or No (your choice):
The authentication banner displays. We can opt to prevent the banner from showing in the future if we want:
In my "Documents" (left pane of the window below), I have the ns.conf file and SSL folder that I exported from the "old" NetScaler (among some other files):
In the right pane, I click on the single folder (the one shown in the screenshot above) and navigate to the /flash/nsconfig folder:
We then slide the ns.conf file from left to right and overwrite the ns.conf file (on the right) when prompted:
We do the same for the SSL folder and confirm the overwriting of each of the existing files:
We then disconnect the WinSCP session with the NetScaler: