sai meduri Posted May 31, 2019 Posted May 31, 2019 Hi, I have a file in my local machine, that has a ns command in it. let's say, Filename - netscal.conf content (command) - "ns feature LB" Now, I have successfully done scp the file into NetScaler, also I can see the file that I have copied from local machine, when i go to shell. SCP Command: scp netscal.conf nsroot@X.X.X.X:/nsconfig Is there a way now I can copy the config file which is in NetScaler to running config and save the config ? so feature will be enabled. Thanks, Kiran.
CarlStalhood Posted May 31, 2019 Posted May 31, 2019 You can batch import the commands in the .config file. Run "batch" from the CLI (not BSD) to see the syntax.
sai meduri Posted May 31, 2019 Author Posted May 31, 2019 Thanks able to figure out batch, it helps !!! I have used --> " batch -f /nsconfig/netscal.conf "
sai meduri Posted May 31, 2019 Author Posted May 31, 2019 @Carl Stalhood I see there is limitation with "batch" command using NITRO API, is there a way to execute this process using NITRO API ?
CarlStalhood Posted June 4, 2019 Posted June 4, 2019 You can use Citrix ADM to push CLI commands to an appliance.
sai meduri Posted June 4, 2019 Author Posted June 4, 2019 On 5/31/2019 at 4:01 PM, sai meduri said: @Carl Stalhood I see there is limitation with "batch" command using NITRO API, is there a way to execute this process using NITRO API ? Thanks, I wanted to do it via API and I couldn't find any command in documentation that could do the operation same as "batch" does.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.