FlexFabric 5700 Backup Config to TFTP in MGMT VPN-Instance

Problem: if you separate the management from the normal traffic on a switch you will usually configure the swtich via this mgmt vpn-instance and also backup and restore config files via this mgmt vpn-instance. But if you use the “backup startup-configuration to ..” it always tries to find the tftp server on the normal network Even after changing the tftp configuration with “tftp client source interface M-GigabitEthernet 0/0/0” tftp still does not work.

Solution: The backup command has no vpn-instance parameter, but the “tftp put” command has. So you can use:

tftp put startup.cfg switchbackup.cfg vpn-instance MGMT

Version: HP/HPE FlexFabric System image version: 7.1.045, Release 2422P02

Linux on HP servers

Problem: You want to check the hardware health status on you debian server running on an HP ProLiant hardware.

After spending some time on the HP.com homepage, I got really angry. HP does a really bad job on their support homepage. If you search for DL360 G5 you see a list of operating systems. The list of Debian OSs ends with 5.0. There you find an outdated bloated ISO image with lots of stuff. It looks like, if HP never used Linux on their machines, and knows nothing about how Linux admins do their work (CLI! CLI! CLI!)

But then, I found out…

Solution: HP is providing a (hard to find) Debian repository of system administration tools. So add the following line to you “/etc/apt/sources.list”
   deb http://downloads.linux.hp.com/SDR/downloads/MCP squeeze/current non-free

Then you can do:
# aptitude update
# aptitude install hp-health

   # hpasmcli  
   hpasmcli> show iml      # message list
   hpasmcli> show fan      # fan status
…. etc.

Versions: tested on Debian Squeeze 6.0 and HP tools Version 9.25

Using an HP scanner on the command line

I don’t use Gnome, KDE, etc.
My window manager is WMX with some patches.

Without all those fancy window environments, you get rid of all magic auto configurations, and wizards at the same time, and you can configure your system like real man do: using the command line. ;-)

I bought a HP OfficeJet Pro 8500 A910 last week.
Here’s how I set up and use the scanner of this device using the command line:

SETUP the scanner:

> hp-mkuri -i <ip_of_your_printer>

(hp-mkuri works also for devices on routed networks: no broadcast magic needed)
Store this “hpaio:…” string in the environment variable SANE_DEFAULT_DEVICE (.bashrc)

USE the scanner:

> scanimage -y 297 -x 210 –resolution 300 | pnmtopng  > scan.png

Scans an A4 page with 300dpi.

Package used for this:
hplip         3.10.6-2    HP Linux Printing and Imaging System
sane-utils  1.0.21-9    API library for scanners — utilities