No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
modules
README.md
set_creds.pl
snaphandle.pl
snaphandle_exec

README.md

INFINIDAT Snapshot Handling Utility for HPUX

Written By Itai Weisman, Solution Engineering Team Leader, INFINIDAT.

Change Control

Version Who What When
1.0 Itai Weisman Gensis July 29th, 2018
1.1 Itai Weisman Snap Refresh July 29th, 2018

About

Host PowerTools and infinishell are currently not provided for HPUX. the Python distribution avaialble on HPUX is also not very stable and do not allow using infinisdk or similar. to mitigate this, I wrote this tool which is avaialble for HPUX releases and written in perl. it uses some perl modules including REST::Client and JSON. a compiled and link version (using perl2exe) is also provided, which allows running this script without installing perl or its modules. additional script named "set_creds.pl" is avaialble to create a credentials file with hasehd password.

Usage:

For Creating Snapshot

perl ./snaphandle.pl create <ibox_name> <volume name> <snapshot name>

For Refreshing a Snapshot

perl ./snaphandle.pl refresh <ibox_name> <volume name> <snapshot name>

For Mapping Snapshot To Host

perl ./snaphandle.pl create <ibox_name> <snapshot name> <host name>

Setting Credentails

perl ./set_creds.pl

Box name, user and password will be asked

Modules In Use

REST::Client, JSON, MIME::Base64, Data::Dumper, Switch, Term::ReadKey