The installation procedure of AdvancedCopy Manager's agent (for HP-UX) is performed as follows:
Login as "root (super user)" on the server on which to install AdvancedCopy Manager's agent.
Execute the following command to launch the daemon required for this task: This task is not necessary for OS v11.23 or later.
# /usr/sbin/pfs_mountd & # /usr/sbin/pfsd & |
Insert the DVD-ROM "ETERNUS SF SC/ACM/Express Mediapack (Agent Program and Manual)" for this version into the DVD-ROM drive and mount the DVD-ROM.
In below example of command execution, the device name of the DVD-ROM drive is mounted as /dev/dsk/c1t2d0. The device name for the DVD-ROM drive, however, may be different for your particular device.
For earlier than v11.23:
# /usr/sbin/pfs_mount -t rrip -x unix /dev/dsk/c1t2d0 <DVD-ROM mount point> |
For v11.23 or later:
# mount -F cdfs /dev/dsk/c1t2d0 <DVD-ROM mount point> |
Note
Cautions about mounting the DVD-ROM:
If the user (usually "root") who executes the pfs_mount command belongs to 9 or more groups, the following error message will be output:
pfs_mount /dev/dsk/<device name> not owner.
pfs_mount giving up on cdrom.
If the user who executes the pfs_mount command belongs to 9 or more groups, in the /etc/group file, modify the number of groups to which the user belongs to 8 or less.
On executing the pfs_mount command, the following error message may be output:
/usr/sbin/pfs_mount:/etc/pfs_fstab:No such file or directory
In this case, create the /etc/pfs_fstab file in the /etc directory.
# touch /etc/pfs_fstab # chown root:root /etc/pfs_fstab # chmod 644 /etc/pfs_fstab |
If /etc/resolv.conf file exists, executing the pfs_mount command may result in an error. Use the following method to temporarily move the /etc/resolv.conf file out of the way and then execute the pfs_mount command.
After temporarily moving the file out of the way, execute the pfs_mount command.
# mv resolv.conf resolv.conf.org |
After installing AdvancedCopy Manager's agent, restore the environment.
# mv resolv.conf.org resolv.conf |
Install AdvancedCopy Manager's agent.
By executing the following command, multiple packages are installed at one time.
# cd <DVD-ROM mount point>/Agent_unix/AdvancedCopy_Manager/HP-UX
# ./swsetup |
Information
If, instead of the swsetup command, you execute the easysetup command, specifying the installation directory and registering the port number in the /etc/services file will not be necessary.
Example of executing the command:
# cd <DVD-ROM mount point>/Agent_unix/AdvancedCopy_Manager/HP-UX
# ./easysetup [-o] |
or
# ./easysetup -p port-number [-o] |
Operation overview depending on specified options:
Specified option | Overview of operation |
---|---|
None | The port number used on the Managed Server is 1226 (default). |
-p | Use this option to change the port number used on the Managed Server. The port number must be specified within a range from 1024 to 65535. |
-o | Use this option if the port number and installation destination directory are to be specified by the interactive setup. |
Cautions for using the easysetup command:
A default value is used for the destination directory of installation. For information on this default value, refer to step 6 of this procedure.
The port number is not registered if the stgxfws service port number or the port number specified by the -p option is already registered by other software. Refer to "6.2.2 Port number setting" to register the port number manually.
If an older version of AdvancedCopy Manager is installed, the following message is displayed and installation processing is aborted.
# swsetup: ERROR: AdvancedCopy Manager is already installed.
When the following message is displayed, enter the installation destination directory.
# ./swsetup swsetup: Installer is preparing for installation... +-----------------------------------------------------------+ | ETERNUS SF AdvancedCopy Manager | | 15.2 | | Copyright FUJITSU LIMITED 2012 | +-----------------------------------------------------------+ Welcome to Setup. This program will install "AdvancedCopy Manager" on your system. Agent setup... Default installation settings for this setup are as follows: Program install directory : /opt Fixed configuration directory : /etc/opt Modifying configuration directory : /var/opt Do you want to change the installation settings? (default: n) [y,n,?,q]
The directory names in above message have the following meanings:
Directory name | Meaning |
---|---|
Program install directory | This is the directory to which the package will be installed. |
Fixed configuration directory | This is the directory to which the files for the environment settings will be installed. |
Modifying configuration directory | This is the directory to which the modified files (log files, temporary files, etc.) will be installed. |
For modifying any installation destination directory, enter 'y' and proceed to step 7.
For not modifying, enter 'n' or press the [Return] key, and proceed to step 8.
Specify the installation destination directory.
When below message is displayed, enter the directory into which to install.
Please specify install directory: (default: /opt) [?,q] /acm/opt Please specify fixed configuration directory: (default: /etc/opt) [?,q] /acm/etc/opt Please specify variable configuration directory: (default: /var/opt) [?,q] /acm/var/opt
When input is complete, a confirmation message like the one below is displayed.
To confirm the message, enter 'n' or press the [Return] key.
To make any other changes, enter 'y' and then modify.
Installation settings for this setup are as follows: Program install directory : /acm /opt Fixed configuration directory : /acm /etc/opt Modifying configuration directory : /acm /var/opt Do you want to change the installation settings? (default: n) [y,n,?,q]
On entering the installation destination directory, a message like the one below is displayed. Enter 'y' to continue, or 'n' to cancel the installation.
Do you want to continue with the installation of this package? [y,n,?]
If 'y' is entered in step 8, the installation will continue.
When the installation completes successfully, the following message is displayed.
swsetup: AdvancedCopy Manager was installed successfully.
Execute the following commands, and then eject the DVD-ROM from the DVD-ROM drive:
# cd / # umount <DVD-ROM mount point> |
The installation of AdvancedCopy Manager's agent (for HP-UX) is completed.
Set up AdvancedCopy Manager's agent, refer to "6.2 Setup of AdvancedCopy Manager's agent".