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 and /etc/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
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 reinstall your current version.
Once this is done, you may restore the saved configuration files.
For example:
$ tar -xvf /tmp/cifs_save/var_backup.tar
$
tar -xvf /tmp/cifs_save/etc_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.
Log in as root.
Insert the software media (disk) into the appropriate
drive.
Run the swinstall program using
the command:
swinstall
This opens the Software Selection Window and Specify Source Window.
Change the Source Host Name if necessary, enter
the mount point of the drive in the Source Depot Path field, and
activate the OK button to return to the Software
Selection Window. Activate the Help button to get more information.
The Software Selection Window now contains a list of available software
bundles to install.
Highlight the HP CIFS Server software for your system
type.
Choose Mark for Install from the ‘‘Actions’’ menu
to choose the product to be installed. With an exception of the
man pages and user’s manual, you must install the complete
HP CIFS product.
Choose Install from the ‘‘Actions’’ menu
to begin product installation and open the Install Analysis Window.
Activate the OK button in
the Install Analysis Window when the Status field displays a Ready
message.
Activate the Yes button at
the Confirmation Window to confirm that you want to install the
software. swinstall displays the Install Window.
View the Install Window to read processing data while the
software is being installed. When the Status field indicates Ready
and the Note Window opens.
swinstall loads the fileset and runs
the control scripts for the fileset. Estimated time for processing:
3 to 5 minutes.
Check the log files in /var/adm/sw/swinstall.log and /var/adm/sw/swagent.log to
make sure the installation was successful.