HP CIFS Server 3.0b Administrator's Guide version A.02.01.01

Installing and Configuring the HP CIFS Server
Step 1: Installing HP CIFS Server Software
Chapter 2 25
Step 1: Installing HP CIFS Server Software
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
$ 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/samb
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.
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.
Procedure:
Follow the steps below to install the HP CIFS Server software using the
HP-UX swinstall program.