How to use NetWorker bigasm direcetive on Solaris?
bigasm is a NetWorker tool that can be used to test network throughput between clients and servers via expanding small files into larger files.
All this without having to create huge data files on your systems. The bigasm tool is also useful in generating large savesets that span multiple tapes.
- Create a temporary directory on the client system. In this example we will use /tmp/bigasm.
- Create a number of zero length files in your new folder
% touch /tmp/bigasm/1
% touch /tmp/bigasm/2
Creating about 5-10 files are sufficient for most tests.
- Create a directives file in that folder to invoke bigasm. You can use your favorite editor to create a .nsr file within the folder. It should contain the following command:
bigasm -S10GB: *For example:
% echo "bigasm -S10GB: *" >/tmp/bigasm/.nsrNote: You can adjust the amount of data written by adjusting the value of the -S option for bigasm. In the above example for each file created in step 2 there will be 10GB of data generated.
- Run a command line save from the client to the server:
% save -vvv -s <NetWorker_Server> /tmp/bigasm
Now you can monitor the throughput from the client to the server via network monitors and the NetWorker Management Conole while the backup runs.
NOTE: The bigasm syntax is: bigasm -SnGB: *,where:
n = the expanded size of the files when they are backed up. In the example above the files would be expanded to 10GB each when NetWorker goes to save them.
* = a character that is repeated in the file to fill the file up to the desired file size.