It's often the little things that make everything so much easier. You have a lot of NetScaler MPX, VPX, BPX, CPX Instances in your environment and sometime it happen that the config is not saved. We all know that an unintentional reboot or similar can lead to unpleasant consequences... Also you upgrade your SDX without saving the VPX config first.
If you use NetScaler Console (old name ADM) - and of course you should use it in every environment - add all your NetScaler Instances to NSC. Thens it`'s easy to create a Job that saves the config on all instances at once. This can happen manually or automatic e.g. once per day/weekly! For this navigate to Infrastructure > Configuration > Configuration Jobs
To create you own job click to "Create Job" and go forward. In the wizard first you will be asked for the actions. You can edit directly the job in the right window like this:
The short script you find here:
shell
NOW=$( date '+%F_%H:%M:%S' )
cp -f /nsconfig/ns.conf /nsconfig/ns.conf-$NOW.bak
exit
save c
First you will find the actual date&time and backup the old config incl. a timestamp. Then the "save c" do what you want!
After this we go on and select all instances for this job. You can also build some groups auf NetScalers with different jobs. And also you can save the config on the primary and on the secondary NetScaler in a HA-Pair!
The next two windows you can go forward. Here is nothing to do for this short job.
The last page is interesting again. Here you can define when the job is started, will the job work parallel or in sequence, and also if you want to receive a notification.
After you finished the config you can start the job and you will see after a short time the completed status 👍