How do I redirect a printer?

There are a number of different ways by which to redirect print jobs, and the method chosen is typically personal preference.

Redirecting via /etc/hosts

Editing the “lp” hostname entry in the /etc/hosts file redirects network traffic to a new IP address, effectively re-routing print jobs.

vi /etc/hosts

Find the appropriate hostname and change the IP address. Save and quit.

Redirecting via the Print Daemon Configuration

Editing the hostname to which the print daemon connects to redirects communication to a new print server, effectively re-routing print jobs.

On Linux (command line):

vi /etc/cups/printers.conf

On Linux (GUI):

  • Open System -> Administration -> Printers
  • Select the appropriate print queue
  • Change the hostname/address contained in the Device URI field
  • Click Apply

On AIX (command line):

vi /etc/qdaemon

On AIX (smit):

smit queue
  • Change / Show Print Queue Characteristics
  • Select the appropriate queue
  • Select 1 Queue Characteristics
  • Update the HOSTNAME of remote server field
  • Save and quit

Redirecting via UV Spooler Configuration

Open the UniVerse administration interface.

  • Log in as root
cd /u2/uv
./.profile
  • Spooler -> Device Management –> Maintain Devices
  • Navigate to the  Driver field and update the driver name to reflect the new destination
  • Save and quit

Redirecting via UV Driver Files

Editing the queue name contained in each UV driver file will change the queue to which the UV spooler sends jobs, effectively re-routing print jobs.

vi /usr/spool/uv/lp1.dvr

Change the queue name to match the new destination queue. Save and quit.

How do I run diagnostics on my Dell Linux server?

Installing the Dell diagnostics utility

Locate the latest Online Diagnostic utility installer for your server:

  • Go to http://support.dell.com/
  • Select Drivers and Downloads
  • Enter your server’s service tag or model
  • Select Red Hat Enterprise Linux from the OS drop-down menu
  • From the Diagnostics category, select the Dell – Online Diagnostics Utility

For this example, we’ll use the most recent Dell Online Diagnostics installer for RHEL (dell-onlinediags-linux-2.17.0.44.tar.gz).

Download and extract to a temporary directory:

mkdir -p /esupport/diag
cd /esupport/diag
wget http://ftp.us.dell.com/diags/dell-onlinediags-linux-2.17.0.44.tar.gz
tar xzvf dell-onlinediags-linux-2.17.0.44.tar.gz

Run the installer:

cd /esupport/diag/onlinediags/
./install.sh

Accept the license agreement when prompted.

Running the Dell diagnostics utility (GUI)

The diagnostics must be run from the GUI (the local console or VNC)

/opt/dell/onlinediags/startDiags.sh

After the diagnostics console has loaded, select the appropriate hardware to test and run tests.

Running the Dell diagnostics utility (command line)

cd /opt/dell/onlinediags/oldiags/bin/
./pediags --show all

Choose one of the listed classes, for example a tape drive:

./pediags scsidevdiag --show device
./pediags scsidevdiag --run

Additional Resources:

How do I reinstall the Solar desktop shortcuts?

If Solar is installed, but the shortcuts have disappeared:

  • Have the user remove all Solar desktop shortcuts
  • Control Panel -> Java
  • On the “General” tab, find “Temporary Internet Files”, click “View…”
  • Right-click on Solar -> Uninstall Shortcuts
  • Right-click on Solar again -> Install Shortcuts

To give users a direct link from which to install or launch Solar, you may send a hyperlink or create shortcut directly to the web start URL. To obtain this URL, right-click on the Click Here to Install Solar Eclipse link and copy the URL. The URL should be similar to to following:

http://172.17.188.36:2080/SolarInstallService.jnlp

How do I add a printer in Linux?

To view a step-by-step screencast of this process, click here.

To add a printer:

  • Log into the server as root
  • If you are using Eterm instead of PuTTY (not recommended), make sure to set the appropriate TERM variable:
export TERM=vp
  • Create driver file:
    • NOTE: Replace lp1 with the name of the printer being configured (lp1, lp20, etc.)
echo "lpr -P lp1" > /usr/spool/uv/lp1.dvr
chmod +x /usr/spool/uv/lp1.dvr
  • Create queue in UV:
cd /u2/uv; uv
  • Create queue in UV:
    • NOTE: Replace lp1 with the name of the printer being configured (lp1, lp20, etc.)
    • Spooler -> Device -> Maintain
    • Use ENTER to advance, selecting all defaults unless otherwise specified.
    • Name = LP1 (shows all caps)
    • Path = /dev/null
    • Driver = lp1.dvr (ignore error)
    • Lock = lock.lp1
    • Press Enter several times, accepting the defaults, until done.
    • ESC -> Q -> ENTER to exit
  • Create the Linux print queue, with the following variables adjusted appropriately:
    • lp1: the name of the printer being configured (lp1, lp20, etc.)
    • socket: the communications protocol to be used. While the default socket setting works for most printers, some Zebra and other printers prefer to use the lpd communications protocol (lpd://).
    • lp1 or 192.168.1.123: the hostname or IP address of the printer
/usr/sbin/lpadmin -p lp1 -E -v socket://lp1
  • If you created the print queue using a hostname (ie lp1) instead of an IP address (ie 192.168.1.123) in the previous step, you’ll need to make certain the server can resolve the hostname. If you have not yet added the hostname to your /etc/hosts file, do so now using the following command (take note the double greater-than symbols):
echo "192.168.1.123     lp1" >> /etc/hosts 
  • The printer is ready for use by Eclipse

What do I do when I receive my new Eclipse database server?

When your new database server arrives on site:

  • Unpack and install the server according to the manufacturer’s documentation. For your convenience, here are links to the installation documentation for the most common servers:
  • Make sure both the DRAC (highlighted in green below) and 1st LAN ports (highlighted in red) are plugged into your LAN. (The DRAC port is marked with a wrench icon)
    • Example: Dell PowerEdge R710
    • Example: Dell PowerEdge T410:
  • If the server shipped from Epicor, you may skip this step. If the server shipped directly from the vendor, insert the Red Hat Enterprise Linux 5 64-bit installation DVD. If the server did not come with RHEL5 media, download and burn the latest DVD image from here.
  • Turn on or restart your system.
  • Configure the DRAC IP address. (See: How do I set the DRAC IP address?) The default DRAC root password calvin.
  • Configure the LAN IP address. (See: How do I set the IP address on my Linux server?) The default OS root password is abc123.
  • Notify Eclipse that the server is online by updating your service request online with the DRAC IP address.
  • Eclipse will verify VPN connectivity to the DRAC and continue the remote server configuration process.

Additional Resources: