A SERVICE OF

logo

10 COMMAND/POST Upgrade Guide for HP-UX Systems
Notes:
The default physical tape device name for agcdump2 is /dev/rmt/0mn, which is
an attached, non-rewinding device.
When backing up the COMMAND/POST configuration files using the
preinstallation script, the backup device is not the agcdump2 device and can be
either an attached tape drive or a disk file.
To back up COMMAND/POST 3.2.3 databases to disk files, use sp_addumpdevice to add two
devices (one for master database, and one for agc database).
1. Log on to the rmdhost system as root.
2. Log in to Sybase:
where passwd is the Sybase System Administrator password.
3. Enter the following commands to add a dump device:
Note: The above file names, such as “/tmp/masterdump” and “/tmp/agcdump”, are just
examples. Define the correct path and file names for your system.
These two files must be created before running the upgrade scripts. In addition, these
files must have NetCmmnd as user and group ownership.
Confirm that the directory where the database dump files are stored is writable to all (u–user,
g–group, o–other).
You must ensure that the appropriate space is available on your dump device before you
perform this backup procedure through the preinstallation script.
The default directories that you can back up through the script are /etc, /usr/nc,
/usr/sybase, /home/u/NetCmmnd, and /var/spool/NetCmmnd. In addition, you must
back up the directory where the database extracted files are stored if it is different than the
default directory /home/u/NetCmmnd/upgrade. You can specify other directories to be
backed up, as well.
# /usr/sybase/bin/isql -Usa -Ppasswd
1> sp_addumpdevice "disk",dmasterdump,"/tmp/masterdump",2
2> go
3> sp_addumpdevice "disk",dagcdump,"/tmp/agcdump",2
4> go