Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP CIFS Server 2.2g Administrator's Guide: HP-UX 11.0, 11i version 1 and 2 > Chapter 2 Installing and Configuring the HP CIFS Server

Step 1: Installing HP CIFS Server Software

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

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.

  1. Log in as root.

  2. Insert the software media (disk) into the appropriate drive.

  3. Run the swinstall program using the command:

    swinstall

    This opens the Software Selection Window and Specify Source Window.

  4. 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.

  5. Highlight the HP CIFS Server software for your system type.

  6. 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.

  7. Choose Install from the ‘‘Actions’’ menu to begin product installation and open the Install Analysis Window.

  8. Activate the OK button in the Install Analysis Window when the Status field displays a Ready message.

  9. 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.

  10. Check the log files in /var/adm/sw/swinstall.log and /var/adm/sw/swagent.log to make sure the installation was successful.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© Hewlett-Packard Development Company, L.P.