How to use the 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.
If you are looking for the same article but with Microsoft Windows examples, click here.
- 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/2Creating 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 -S<size>GB: *For example, to set the size of 10GB, we would use:
% echo "bigasm -S10GB: *" >/tmp/bigasm/.nsrNOTE: You can adjust the amount of data written by adjusting the value of the
bigasmhere. In this 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
You can now monitor the throughput from the client to the server via network monitors and the NetWorker Management Conole while the backup runs.