Description:
===========
This is a StorCLI2 readme file mentioning instructions to use:
	1. StorCLI2 on all the supported 64 bit operating systems.
	2. StorCLI2's logging feature.

Please read before you start using StorCLI2 executable.

Privileges:
=========
	1. StorCLI2 should be installed / executed with administrative / root / super user privileges.
	2. Installed/Execution location should have Read/Write/Execute permissions. 

Windows:
========
Installation / Execution:
	1. StorCLI2 is an executable. Copy-Paste the executable from where you want to execute.

Sign verification:
	command : signtool.exe verify /v /pa <storcli2 executable>
    
Notes: 
	1. signtool.exe is required to validate the StorCLI2's signature.
	
Arm Windows:
============
Installation / Execution:
	1. StorCLI2 is an executable. Copy-Paste the executable from where you want to execute.


Linux:
======
Installation / Execution :
	1. Unzip the StorCLI2 package.
	2. To install the StorCLI2 RPM, run the rpm -ivh <StorCLI2-x.xx-x.x86_64.rpm> command.
	3. To upgrade the StorCLI2 RPM, run the rpm -Uvh <StorCLI2-x.xx-x.x86_64.rpm> command.

StorCLI2 RPM Verification:
	1. Import the public key to RPM DB. Command : rpm --import <public-key.asc>
	2. Verify the RPM signature. Command : rpm -Kv <storcli2-rpm>
	3. Install the StorCLI2 RPM. If imported public key is for the RPM being installed, No warnings should be shown during installation.
	4. Please adhere to the steps in the above mentioned order only.

Arm Linux:
==========
Installation / Execution :
	1. Unzip the StorCLI2 package.
	2. To install the StorCLI2 RPM, run the rpm -ivh <StorCLI2-x.xx-x.aarch64.rpm> command.
	3. To upgrade the StorCLI2 RPM, run the rpm -Uvh <StorCLI2-x.xx-x.aarch64.rpm> command.

Ubuntu/Arm Ubuntu:
==================
Installation:	
	1. Debian package can be installed using following command syntax : sudo dpkg -i <.deb package>
	2. Installed debian package can be verified using following command syntax : dpkg -l | grep -i storcli2

StorCLI2 Debian Verification:
	1. Import the public key to GPG DB. Command Syntax : gpg --import <pubKey.asc>
	2. Verify the GPG signature. Command Syntax : gpg --verify <storcli2_x.xx-x_amd64.deb.sig> <storcli2_x.xx-x_amd64.deb>
	3. Install the StorCLI2 Debian Package. If imported public key is for the Debian Package being installed, No warnings should be shown during installation.
	4. Please adhere to the steps in the above mentioned order only.

VMware:
=======
Installation:
	1. The StorCLI2 VIB Package can be installed using the following syntax : esxcli software vib install -v=<Filepath of the StorCLI2 VIB>
	2. The installed VIB Package can be removed using the following syntax : esxcli software vib remove -n=<VIB Name of StorCLI2>
	3. All the installed VIB Packages can be listed using following command: esxcli software vib list

Notes - 
	1. 64 bit VMware 8.0 offline-bundle is part of the release package. This supports only VMware8.0 OS and later.	
	2. 64 bit VMware 9.0 offline-bundle is part of the release package. This supports only VMware9.0 OS and later.
	3. Unzip the offline bundle and iterate to "vib20/vmware-storcli2" directory for the VIB to download.

EFI/Arm EFI:
============
Installation / Execution:
	1. From the boot menu, choose EFI Shell.
	2. Goto the folder containing the StorCLI2 EFI binaries.
	3. Execute StorCLI2 binaries.

Notes:
	1. USB should be FAT32 formatted and which can be booted to uEFI shell.

FreeBSD:
========
Installation / Execution:
	1. Extract the tar archive and execute the StorCLI2.

Usage policies / Privileges:
	1. StorCLI2 application will not function if the user is trying to run it in CSH, the default shell in FreeBSD.
	2. Please ensure that the user has entered the bash shell by executing the command "bash".

JSON-Schema:
=============
Installation: 
	1. Create a folder under /home/JSON-SCHEMA-FILES.
	2. Unzip the JSON-SCHEMA-FILES.zip and copy all the schema files to /home/JSON-SCHEMA-FILES (In any of the operating systems).
	
Command to Schema mapping:
	1. Please refer to the Schema_mapping_list.xlsx for command to schema mapping.

Logging:
========
	1. While executing StorCLI2, Logging is enabled by default.
	2. To Turn-off the logging, Place the storcli2conf.ini in the current directory and change the DEBUGLEVEL to 0.
	3. To change the log level, Place the storcli2conf.ini in the current directory and change the DEBUGLEVEL to any desired log level.
	4. In case of application crash, Place the storcli2conf.ini in the current directory to capture logs.