Use 'tr' to replace NULL characters (^@) from files:
# tr '\000' '\n' < input.txt > output.txt
Use 'sed' to remove blank lines (^$ matches a blank line, 'd' = delete line):
# sed '/^$/d' input.txt > output.txt
or use 'grep':
# grep -v '^$' input.txt > output.txt
Thursday, 23 August 2012
Monday, 6 August 2012
Manually add firmware updates to Procurve Manager
I've now found a simpler way of doing this but the manual method is still shown below in case the new option doesn't work/exist.
At some point PCM has been updated to allow you to import a software image via the GUI. We're running version 3 update 20 and in that you can do the following:
Old (manual) Method:
It goes a little something like this:
At some point PCM has been updated to allow you to import a software image via the GUI. We're running version 3 update 20 and in that you can do the following:
- Extact the new software image (.swi) file into the following folder on your PCM Server: "Program Files\Hewlett-Packard\PNM\server\data\download"
- From the PCM Client, select Tools -> Preferences -> Configuration Management -> Software Image Import
- Select your device type from the drop-down list, e.g. 2810-48G
- Click on Add
- Add a description under "Software Version" and under "Software Image File Name" add in the exact name of the file that you extracted into the PCM folder, e.g. H_10_111.swi
- That's it! You should now be able to select the new software version when using the Software Update Wizard
Old (manual) Method:
It goes a little something like this:
- Browse to the ProCurve site: http://h17007.www1.hp.com/uk/en/products/switches/index.aspx
- Download the firmware version you need
- Open the following directory on the PCM server:
- Program Files\Hewlett-Packard\PNM\server\data\download
- Backup the procurve_firmware.prp file
- Open the .prp file and locate the section for the switch model you are interested in (easiest to search for the start of the firmware name e.g. N_11_)
- Update the line that starts "Latest=" to be the new firmware version
- Copy the existing latest code release "block" e.g.
N_11_25{
PackageFileName=2810-Software-N1125b.zip
FileName=N_11_25.swi
ReleaseNotes=2810-RelNotes-N1125-59916273b.pdf
ReleaseInfo=none
ReleaseDate=05/11/2010
}
and modify the appropriate parts to match the new firmware file names.
and modify the appropriate parts to match the new firmware file names.
- Do the same for each revision of the switch (e.g. 2610-24, 2610-24-POE)
- Extract the .swi file(s) and copy them into the same folder
- Copy the .prp file and the zip file into the directory
- Stop and restart the PCM services:
- HP ProCurve Datastore
- HP ProCurve Network Manager Server
- HP ProCurve Network Manager Agent
- Re-run the software update wizard
Subscribe to:
Posts (Atom)