Changeset 3094


Ignore:
Timestamp:
Mar 30, 2013, 6:04:05 AM (6 years ago)
Author:
bruno
Message:
  • Update ProLiant? support with hp-rcu and hp-fm (Gen8 and following)
Location:
branches/3.0/mindi
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/mindi/README.ProLiant

    r2997 r3094  
    1212-------------------------------------------------------------------------------------
    1313
     14If you have a ProLiant system you first need to get the hp-scripting-tools, hponcfg and hpacucli packages. Due to licenses issues, mindi cannot provide those tools itself. You need to get them from http://downloads.linux.hp.com/SDR
     15
     16Example for a RHEL6 OS:
     17
     18wget http://downloads.linux.hp.com/SDR/downloads/bootstrap.sh
     19sh ./bootstrap.sh SPP
     20sh ./bootstrap.sh Extras
     21yum install -y hpacucli hponcfg hp-scripting-tools
     22
     23You're now ready to check your configuration by running:
     24mindi-bkphw /var/cache/mindi /etc/mindi
     25[First parameter is the directory where files will be generated,
     26 Second parameter is the configuration directory of the file deplist.d/ProLiant.conf is located]
     27
     28-------------------------------------------------------------------------------------
     29Older method:
     30
    1431If you have a ProLiant system you first need to get the hp-scripting-tools, hponcfg and hpacucli packages. Due to licenses issues, mindi cannot provide those tools itself. You need to get them from http://downloads.linux.hp.com/SDR/downloads/ProLiantSupportPack/
    1532
     
    2441wget http://downloads.linux.hp.com/SDR/downloads/ProLiantSupportPack/RedHat/6Server/i386/8.72/hp-scripting-tools-8.70-52.rhel6.i386.rpm
    2542yum install -y (or worst case rpm -Uvh) hp-scripting-tools-8.70-52.rhel6.i386.rpm
    26 (will install hp-conrep under /sbin)
     43(will install hp-conrep or hp-rcu under /sbin)
    2744
    2845You're now ready to check your configuration by running:
  • branches/3.0/mindi/deplist.d/ProLiant.conf

    r2891 r3094  
    1010# XML file under /opt/hp/hp-scripting-tools/etc/conrep.xml
    1111/sbin/hp-conrep
     12/sbin/hp-rcu
     13/sbin/hp-fm
    1214
    1315# Previous method
  • branches/3.0/mindi/mindi-bkphw

    r2995 r3094  
    3636    print "Detected a $productname. Nice. Continue to support my job :-)\n";
    3737    print "Activating ProLiant support for mindi\n";
    38     print "You can install the SmartStart Scripting toolkit tool $tool\nto benefit from mindi's enhanced ProLiant support\n";
    39     print "Get it from http://www.hp.com/servers/sstoolkit\n";
    40     print "And use the SDR to get all other HP ProLiant packages\n";
    41     print "Get it from http://downloads.linux.hp.com/SDR/downloads/ProLiantSupportPack/\n";
     38    print "You can install SDR packages to benefit from mindi's enhanced ProLiant support\n";
     39    print "Get them from http://downloads.linux.hp.com/SDR/\n";
    4240    open(PROLIANT,"$confdir/deplist.d/ProLiant.conf") || die "Unable to open $confdir/deplist.d/ProLiant.conf";
    4341    # generate a list of what need to be put on the backup media
     
    7169        }
    7270        if ($tool =~ /\/conrep$/) {
     71            my $xmlf = "/opt/hp/hp-scripting-tools/etc/conrep.xml";
    7372            # From the package
    74             if (! -f "/opt/hp/hp-scripting-tools/etc/conrep.xml") {
    75                 $ret = system("$tool -s -x /opt/hp/hp-scripting-tools/etc/conrep.xml -f$bkpdir/conrep.dat");
     73            if (-f $xmlf) {
     74                $ret = system("$tool -s -x $xmlf -f$bkpdir/conrep.dat");
    7675            # From the SSSTK
    77             } elsif (! -f "/usr/share/conrep/conrep.xml") {
    78                 $ret = system("$tool -s -x /usr/share/conrep/conrep.xml -f$bkpdir/conrep.dat");
    7976            } else {
    80                 next;
     77                $xmlf = "/usr/share/conrep/conrep.xml";
     78                if (-f $xmlf) {
     79                    $ret = system("$tool -s -x $xmlf -f$bkpdir/conrep.dat");
     80                } else {
     81                    next;
     82                }
    8183            }
    8284            print SCRIPT "$tool -l -f$locbkpdir/conrep.dat\n";
    83             print TOOLS "$tool.xml\n";
     85            print TOOLS "$xmlf\n";
     86        }
     87        if ($tool =~ /\/hp-rcu$/) {
     88            $ret = system("$tool -s -f$bkpdir/conrep.dat");
     89            print SCRIPT "$tool -l -f$locbkpdir/conrep.dat\n";
    8490        }
    8591        if ($tool =~ /\/hpacuscripting$/) {
     
    99105            print "Found $tool, that firmware will be applied at restore time on your HP ProLiant\n";
    100106            print SCRIPT "./$tool -s\n";
     107        }
     108        if ($tool =~ /\/hp-fm/) {
     109            print "Found $tool, firmware will be upgraded at restore time on your HP ProLiant\n";
     110            print SCRIPT "./$tool upgrade\n";
    101111        }
    102112        # Kept for compatibility with older version of tools
Note: See TracChangeset for help on using the changeset viewer.