To restore a backup configuration file without restarting the NetScaler appliance, complete the following procedure:
Switch to the shell prompt of the NetScaler appliance.
Open the backup configuration file in a text editor, such as the vi editor.
Remove the following entries from the file:
This entry sets the NSIP address, netmask, and MIP address of the appliance.
set ns config
This entry sets the default router of the appliance.
ns route 0.0.0.0 0.0.0.0 x.y.z.a
Save and close the file.
Switch to the command line interface of the appliance.
Run the following command from the command line interface of the appliance:
> batch –filename <Input_File> -outfile <Output_File>
In the preceding command, ensure that you specify the full path for the input and output files. The output file is useful in checking the errors, if any, when restoring the backup configuration file.
Run the following command to save the configuration:
> save config
Replace the existing /nsconfig/ns.conf file with the backup configuration file.
Run the following command to change the NSIP address, MIP address, Subnet IP (SNIP) address, and default route of the appliance:
> config ns