HP Pro 1102w printer installation in Debian with CUPS

All necessary information are available here.

And the bits that I care about:

Download and Install

Click the link, or cut and paste the whole command line below to download the driver.

    $ wget -O foo2zjs.tar.gz http://foo2zjs.rkkda.com/foo2zjs.tar.gz

Now unpack it:

Unpack:
    $ tar zxf foo2zjs.tar.gz
    $ cd foo2zjs

Now compile and install it. The INSTALL file contains more detailed instructions; please read it now.

Compile:
    $ make

Install driver, foomatic XML files, and extra files:
    $ su			OR	$ sudo make install
    # make install

(Optional) If you use CUPS, restart the spooler:
    # make cups			OR	$ sudo make cups

Now create printer entries for your spooler.

Once the above is done simply go to https://Your_cups_server:631/ and add the printer:

cups_p_1102w

and if everything went OK the driver will be visible somewhere near the bottom of the list as listed above.

Expanding Array on HP ProLiant server

Stage 1 – Physically install the HDDs

Stage 2 – Expand the Array

  1. Start HP Array Configuration Utility:
  1. Select Array that you want to expand and click the Expand Array Button:
Once you press Save the array will start the transformation process.
The speed will depend on amount of data on the existing array and size of the array.
In this example the existing drive has 135GB size with 15GB free:
The expansion rate was approx 9GB per hour
While the process is running you will see these alerts:
You can further increase the speed of the transformation by changing the controller settings (set transformation priority to High):
Changing the priority to High might have an impact on server performance (read/write operations)

Stage 3 – Extend Logical Drive

Select the drive that you want to extend and click the Extend Logical Drive:

accept the default and click save

Read the warning and Click OK
(it basically says that if you are running windows 2000 you might have problems, otherwise you are fine)

That process usually takes just a few seconds/minutes (press refresh button to confirm it’s finished)
To verify open Windows Computer Management/Disk Management:

Stage 4 – Extend OS volume

From command prompt issue commands as listed below:

Verify that all went OK:

How to setup NIC teaming in Linux (CentOS)

Lab hardware: HP ProLiant DL360 G5 running CentOS

If you want to create a bonding on two interface (i.e. eth0 and eth1) you should do the following :
Edit /etc/sysconfig/network-scripts/ifcfg-eth0

# Bonding eth0 to bond0
DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
MASTER=bond0
SLAVE=yes
USERCTL=NO
TYPE=Ethernet

Edit /etc/sysconfig/network-scripts/ifcfg-eth1

# Bonding eth1 to bond0
BOOTPROTO=none
ONBOOT=yes
MASTER=bond0
SLAVE=yes
USERCTL=NO
TYPE=Ethernet

Copy /etc/sysconfig/network-scripts/ifcfg-eth1 to /etc/sysconfig/network-scripts/ifcfg-bond0 to keep the same file permission by executing the following commands :

cd /etc/sysconfig/network-scripts
copy ifcfg-eth1 ifcfg-bond0

Edit /etc/sysconfig/network-scripts/ifcfg-bond0

ifcfg-bond0
DEVICE=bond0
BOOTPROTO=none
ONBOOT=yes
NETWORK=10.100.100.0
NETMASK=255.255.255.0
IPADDR=10.100.100.1
GATEWAY=10.0.0.254
USERCTL=NO
TYPE=BOND

Edit /etc/modprobe.conf adding the following line :

alias bond0 bonding

Reboot your system to let modules be loaded or load it manually with the following command :

insmod bond0 bonding

If you haven’t rebooted your system, restart your network with the following command :

/etc/init.d/network restart

You should check if bonding is working you should look at /proc/net/bonding/bond0 with the following command :

cat /proc/net/bonding/bond0

and you should see something similar to the following :

Ethernet Channel Bonding Driver: v3.2.4 (January 28, 2008)
Bonding Mode: load balancing (round-robin)
MII Status: up
MII Polling Interval (ms): 0
Up Delay (ms): 0
Down Delay (ms): 0
Slave Interface: eth0
MII Status: up
Link Failure Count: 0
Permanent HW addr: 00:15:17:88:5a:3c
Slave Interface: eth1
MII Status: up
Link Failure Count: 0
Permanent HW addr: 00:15:17:88:5a:3d

DONE