To Install :
Extract the tar file into a suitable directory using following command,
command: tar -xvf emcgrab_<os>_<version>.tar
Please ensure that your filesystem has at least 500M free of disk space for temporary files that may be generated during its processing.
If running ECC 5.x the resulting tar file could be very large.
Please NOTE:
1. The script will prompt the user with a warning message should it detect less than 25M remaining on the file system every time the script runs the file system check routine. Each time the user will have the option of continuing or aborting the script.
2. The script will prompt for EMC license agreement even in autoexec mode. Once EMC license agreement is accepted then it will work as usual for autoexec mode.
Operation :
The script should be run as user root, to prevent any data not being collected through lack of permissions.
The scripts defines a PATH environment based on the default installation paths of it's software. If these are different, some modules may not work.
It is possible that some commands could run for a lengthy period. Each module has a max runtime limit, ranging from 60 seconds through to 450, depending on the module.
The script will generate a compressed tar file, residing in the outputs directory. Its format will be
'<hostname>_YYYY-mm-dd-hh.mm.ss>_<OS>_emcgrab_<version>_[full | lite]_CC<Request Number>.tar.<Z|gz>' depending on whether compress or gzip has been used as their compression utility.
If no Request number is defined, <CaseNo> will default to 0000000000
Syntax :
./emcgrab.sh [-h] [-v] [-o options,options] [-autoexec] [-backup] [-clariionIP <IP Addresses>] [-ip] [-ipmask] [-legal] [-lite] [-nomsg] [-nw] [-OUTDir new_output_directory] [-quiet] [-symmid bypass|prompt] [-vxdmpdebug]
where -h : Displays help
References: :- www.Powerlink.emc.com