HP CIFS Server 3.0g Administrator's Guide verison A.02.03.01
$ 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
Chapter 4 “NT Style Domains” and Chapter 5 “Windows 2000/2003 Domains” 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:
To install the HP CIFS Server software from a depot file, such as those downloadable from
http://www.hp.com/go/softwaredepot, enter the following at the command line:
swinstall options -s /path/filename ProductNumber
Where ProductNumber is either B8725AA for HP-UX 11i v1 and v2 or CIFS-SERVER for HP-UX
11i v3.
options is -x autoreboot=true
path must be an absolute path, it must start with /, for example,/tmp.
filename is the name of the downloaded depot file, usually a long name of the form:
B8725_AA.02.02..HP-UX_11.23...32+64.depot
An Example
For example, if you attempt to install the HP CIFS Server A.02.02 on HP-UX 11i v2 system from
a downloaded depot file, enter the command line as shown below:
swinstall -x autoreboot=true \
-s /tmp/B8725_AA.02.02_HP-UX_11.23_IA+PA.depot B8725AA
Procedures for Updating a New Version When Using CFSM
If you want to use the CIFS File System Module (CFSM) feature on an HP-UX release 11i v3
system, each time you update to a newer version of HP CIFS Server, it requires a system re-boot
after the update is complete. To avoid a system re-boot, you must perform the steps described
below. For detailed information about the CFSM feature, see Chapter 12, “ CIFS File System
Module Support”.
Steps Before Updating the HP CIFS Server
Use the following steps before updating the HP CIFS Server:
Step 1: Installing HP CIFS Server Software 29