This article describes how to obtain the ns.conf file from NetScaler.
Complete the following steps to to obtain the ns.conf file from NetScaler:
Log on to the NetScaler administration console.
Click the Configurations tab and then click the Save icon (floppy button) on the right-hand side. . Clicking Save ensures that running configurations are saved into the ns.conf file before exporting the file.
Depending on your operating system, do one of the following:
If you are using a Mac or Linux computer
Use the following command to get the ns.conf file from NetScaler:
scp <ADMIN_USERNAME>@<NSIP>:/nsconfig/ns.conf <LOCAL_PATH_TO_STORE_ns.conf>
If prompted to accept the fingerprint to continue to connect to NetScaler, type Yes.
When prompted, enter your password.
If you are using a Windows-based computer
Use a file transfer tool like WinSCP to connect to NetScaler by using the NSIP and administrator credentials.
If prompted to accept the fingerprint of the remote host, click Yes.
When logged on, navigate to the root directory (/) and locate the nsconfig folder.
Within the nsconfig folder, click Download to copy the ns.conf file to your local computer.
In the Download dialog box, in Download file ‘ns.conf’ to local directory, click Browse to choose a destination folder of your choice and then click OK.