HP Insight Control server provisioning Adding Drivers to OS Build Plans

9
"igb", "eth",
"ixgbe", "eth",
"cnic", "eth",
"ixgbevf", "eth",
"nx_nic", "eth",
"qla4xxx", "eth",
"qlcnic", "eth",
"tg3", "eth",
"mlx4_en", "eth",
"mlx4_core", "eth",
"mlx4_ib", "eth",
"hwmon", "sysfs");
print "Writing $outputDir/modinfo..\n";
open MODFILE, "> $outputDir/modinfo" or die $!;
print MODFILE "$module\n";
if (exists $modType{$module}) {
print MODFILE "\t$modType{$module}\n";
} else {
die ("MISSING MODULE TYPE FOR $module\n");
}
print MODFILE "\t$description\n";
close MODFILE
If any of the new drivers are not already in the %modtype static hash table, they will each need to be added as
a pair of quoted strings containing the new drivers’ kernel names and their types. Save the script as
createmodinfo.
7. Find the original copies of each of these files in the directory to which the mounted dd.img contents were
copied.
8. Append the contents of the new versions of the files to the original files found in Step 7. If the new driver is
replacing an existing one then the old entries for it in these files need to be deleted.
9. Repeat Steps 6 through 8 for each new driver.
10. Copy the new RPM to the rpm directory.
11. Run createrepo --pretty rpms to regenerate the repository.
12. Run mkisofs -R -o /tmp/dd.img driverdisk where driverdisk is the new directory, to create
an ISO image of the new directory named /tmp/dd.img.
13. Replace the original dd.img file in the original directory with the new /tmp/dd.img file.
14. Replace the copy of the driver package on the Media Server with the contents of the modified directory.
Linux OS Build Plan Execution
Once the appropriate driver package directory has been updated on the Media Server, the Linux OS Build Plan will require
modification to use the new driver package from the Media Server.
To use the new driver package in a Linux OS Build Plan:
1. Create a new OS Build Plan using the HP-provided ProLiant OS - LinuxOS Scripted Install OS Build Plan where
LinuxOS is the Linux OS version.
2. Create a Unix Shell script in the appliance that contains the following line:
wget r np nH --cut-dirs=3 -P/tmp/dud/ -R html -l20 t 20 @__OPSW-Media-
LinURI@/drivers/LinuxOS/
where LinuxOS is the directory on the Media Server that was created in the Obtaining a Copy of the Driver
Package section and the l20 option is a lower case L, not a numeric 1.
3. Replace the ProLiant Drivers for LinuxOS package step, where LinuxOS is the Linux OS version, with a new script
step using the new script.
4. Save the OS Build Plan.
The OSBP is complete and ready to deploy to a target server.