HP CIFS Server Administrator's Guide Version A.03.01.02 (5900-1766, September 2011)

during times of memory pressure. Other operating systems, only reserve swap space when it is
needed. This results in the process not finding the swap space that it needs, in which case it has
to be terminated by the OS.
Each smbd process will reserve about 2 MB of swap space and depending on the type of client
activity, process size may grow up to 4 MB of swap space. For a maximum of 2048 clients, 4 *
2048 or about 8 GB of swap space would be required. Therefore, HP recommends configuring
enough swap space to accommodate the maximum number of simultaneous clients connected to
the HP CIFS server.
Memory Requirements
Each smbd process requires approximately 4 MB of memory on HP-UX 11i v2. For 2048 clients,
therefore, the system must have at least 8 GB of physical memory. This is over and above the
requirements of other applications that will be running concurrent with HP CIFS.
Step 1: Installing HP CIFS Server Software
If the HP CIFS Server software has been pre-installed on your system, you may skip Step 1 and go
directly to "Step 2: Running the Configuration Script".
HP CIFS Server Upgrades:
If you are upgrading an existing HP CIFS Server configuration, HP recommends that you create a
backup copy of your current environment. The SD install procedure may alter or replace your
current configuration files. All files under /var/opt/samba, /etc/opt/samba and /opt/samba
must be saved in order to ensure that you will be able to return to your current configuration, if
necessary. For example:
$ stopsmb
or if winbind is in use, then do:
$ stopsmb -w
$ mkdir /tmp/cifs_save
$ tar -cvf /tmp/cifs_save/var_backup.tar /var/opt/samba
$ tar -cvf /tmp/cifs_save/etc_backup.tar /etc/opt/samba
$ tar -cvf /tmp/cifs_save/optsamba_backup.tar /opt/samba
Do not use the -o option with the tar command. This will ensure proper file ownership.
If a problem with the upgrade does occur, use SD to remove the entire HP CIFS Server product
and restore your previous backup version. Once this is done, you may restore the saved
configuration files and the HP CIFS Server. For example:
$ tar -xvf /tmp/cifs_save/var_backup.tar
$ tar -xvf /tmp/cifs_save/etc_backup.tar
$ tar -xvf /tmp/cifs_save/optsamba_backup.tar
This procedure is not intended to replace a comprehensive backup strategy that includes user data
files.
If you are in security = domain, or security = ads mode, it will probably be necessary
to re-join an HP CIFS Server to the domain once you restore your previous backup version. See
“Windows Style Domains” (page 54) and “Windows 2003 and Windows 2008 Domains” (page
68) for details on how to re-join an HP CIFS Server to a Windows domain.
Overview:
Installation of the HP CIFS Server software includes loading the HP CIFS Server filesets using the
swinstall(1M) utility, completing the HP CIFS configuration procedures, and starting Samba using
the startsmb script.
Installing From a Software Depot File:
Step 1: Installing HP CIFS Server Software 19