Changeset 3094 in MondoRescue for branches/3.0/mindi
- Timestamp:
- Mar 30, 2013, 6:04:05 AM (11 years ago)
- Location:
- branches/3.0/mindi
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.0/mindi/README.ProLiant
r2997 r3094 12 12 ------------------------------------------------------------------------------------- 13 13 14 If 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 16 Example for a RHEL6 OS: 17 18 wget http://downloads.linux.hp.com/SDR/downloads/bootstrap.sh 19 sh ./bootstrap.sh SPP 20 sh ./bootstrap.sh Extras 21 yum install -y hpacucli hponcfg hp-scripting-tools 22 23 You're now ready to check your configuration by running: 24 mindi-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 ------------------------------------------------------------------------------------- 29 Older method: 30 14 31 If 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/ 15 32 … … 24 41 wget http://downloads.linux.hp.com/SDR/downloads/ProLiantSupportPack/RedHat/6Server/i386/8.72/hp-scripting-tools-8.70-52.rhel6.i386.rpm 25 42 yum 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) 27 44 28 45 You're now ready to check your configuration by running: -
branches/3.0/mindi/deplist.d/ProLiant.conf
r2891 r3094 10 10 # XML file under /opt/hp/hp-scripting-tools/etc/conrep.xml 11 11 /sbin/hp-conrep 12 /sbin/hp-rcu 13 /sbin/hp-fm 12 14 13 15 # Previous method -
branches/3.0/mindi/mindi-bkphw
r2995 r3094 36 36 print "Detected a $productname. Nice. Continue to support my job :-)\n"; 37 37 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"; 42 40 open(PROLIANT,"$confdir/deplist.d/ProLiant.conf") || die "Unable to open $confdir/deplist.d/ProLiant.conf"; 43 41 # generate a list of what need to be put on the backup media … … 71 69 } 72 70 if ($tool =~ /\/conrep$/) { 71 my $xmlf = "/opt/hp/hp-scripting-tools/etc/conrep.xml"; 73 72 # 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"); 76 75 # 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");79 76 } 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 } 81 83 } 82 84 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"; 84 90 } 85 91 if ($tool =~ /\/hpacuscripting$/) { … … 99 105 print "Found $tool, that firmware will be applied at restore time on your HP ProLiant\n"; 100 106 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"; 101 111 } 102 112 # Kept for compatibility with older version of tools
Note:
See TracChangeset
for help on using the changeset viewer.