HP-UX HB v13.00 Ch-20 - CIFS

HP-UX Handbook Rev 13.00 Page 28 (of 40)
Chapter 20 CIFS
October 29, 2013
will need to use the rpcclient command to announce the driver to the printer.
root@hprtdu96:>rpcclient hprtdu96 -U ntadmin%password -c enumprinters
cmd = enumprinters
flags:[0x800000]
name:[\\hprtdu96\grcdg101]
description:[\\hprtdu96\grcdg101,,BW/Laser 5si ground floor]
comment:[BW/Laser 5si ground floor]
You may lookup the correct name for the dirver when choosing it from the APW (add printer
wizard) if you pretend to install it locally.
root@hprtdu96:>rpcclient hprtdu96 -U ntadmin%password -c "setdriver grcdg101
\"HP LaserJet 5Si/5Si MX PS\" "
cmd = setdriver grcdg101 "HP LaserJet 5Si/5Si MX PS"
Succesfully set grcdg101 to driver HP LaserJet 5Si/5Si MX PS.
After that the printer will look like this.
root@hprtdu96:>rpcclient hprtdu96 -U ntadmin%password -c enumprinters
cmd = enumprinters
flags:[0x800000]
name:[\\hprtdu96\grcdg101]
description:[\\hprtdu96\grcdg101,HP LaserJet 5Si/5Si MX PS,BW/Laser 5si
ground floor]
comment:[BW/Laser 5si ground floor]
Now APW (add printer wizard) selected printer, driver automatically mapped!!
MC/ServiceGuard packages and configuration
The steps to configure CIFS Server to run as part of a ServiceGuard package are described in
detail in the /opt/samba/HA directory. The README.txt file in this directory contains the
instructions needed to setup CIFS to work with ServiceGuard. This file is always kept current
for the version of CIFS Server that is installed on the system and should be used as the primary
reference guide. You will also find template files to be used to add CIFS to the package, and to
monitor the status of CIFS on the node once running.
CIFS Server can be configured to run in an active-active” ServiceGuard cluster because
multiple instances of its NetBIOS and SMB master daemons are allowed on the same node.
Each CIFS Server has its own smb.conf file to define its behavior. The NetBIOS name and IP
address that the client connects to is used to decide which smb.conf file is used for the
connection. This multiple CIFS master daemon configuration allows HP CIFS Server
to run multiple Serviceguard packages simultaneously.
When a failover occurs, Serviceguard transfers the IP address from the failing cluster node to
another node. When Serviceguard moves the package from the failing cluster node to the other
node, it activates the appropriate CIFS Server on a remaining node. With the