The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

EMC::WideSky::symmaskdb - Interface to Symmetrix device masking database

SYNOPSIS

        use EMC::WideSky::symmaskdb;

        $db=new EMC::WideSky::symmaskdb();
        $db->parse_symmaskdb();



        for $dev (sort keys %{$db}) {
          print "$dev:";
          for $fa (keys %{$db->{$dev}}) {
            for $host (keys %{$db->{$dev}->{$fa}}) {
              for $hba (keys %{$db->{$dev}->{$fa}->{$host}}) {
                print " $fa/$host/$hba";
              }
            }
          }
          print "\n";
        }

DESCRIPTION

This module, based on XML::Parser and WideSky Solution Enabler, will give you interface to the Symmetrix device masking database. It show relationship between directors and port on Symmetrix box and adapters on target hosts. It has been developed and tested under AIX 4.3.3 and 5.2, WideSky Solution Enabler 5.1.1.

PREREQUISITIES

        Symmetrix box :-)
        VCM database enabled on port
        WideSky Solutions Enabler (with Device masking option licensed via symlmf)
        XML::Parser >=2.31

INSTALLATION

Make sure, that you have /opt/emc/WideSky/V*/bin in $PATH.

The installation works as usual:

        perl Makefile.PL
        make
        make test
        make install

SYNTAX

        To initialize symmaskdb object:
        
        $db=new EMC::WideSky::symmaskdb();

        To populate symmaskdb object:

        $db->parse_symmaskdb(%options);

        where valid options are:
        fa => 'regexp'   ... regexp for restriction relevant Symmetrix ports
        host => 'regexp' ... regexp for restriction relevant target hosts by hostname
        hba => 'regexp'  ... regexp for restriction relevant HBAs by hbaname
        wwn => 'regexp'  ... regexp for restriction relevant HBAs by WWN

COPYRIGHT

Copyright (c) 2003 Lukas Fiker. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

For any issues, problems, or suggestions for further improvements, please do not hesitate to contact me.

        Lukas Fiker lfiker(at)email.cz