Open System Services Management and Operations Guide (G06.30+, H06.08+, J06.03+)

COPYOSS is used when:
A system is initially set up manually
The OSSSETUP utility invokes it
You do not use NonStop Software Essentials or DSM/SCM to install and maintain your OSS
product files but a major upgrade requires you to load multiple new or revised pax archives
into the OSS file system
For example:
To load all the OSS product files using the COPYOSS macro, enter these commands from a
TACL prompt:
VOLUME $tsvvol.ZOSSUTL
RUN COPYOSS ZOSSUTL
tsvvol
is the disk volume where NonStop Software Essentials or DSM/SCM puts your TSVs.
From the archive files, COPYOSS copies the OSS product files into the OSS file system, placing
them in locations where you would find them on a typical UNIX system—for example, into directories
such as /bin, /usr/ucb, and /usr/include.
This command completely installs the basic OSS product set and all other products that use the
same installation subvolume.
To load only the Java servlet product files, enter these commands from a TACL prompt:
$tsvvol.ZOSSUTL.COPYOSS $tsv1.T0094PAX
tsvvol
is the disk volume where NonStop Software Essentials or DSM/SCM put your basic OSS
product set TSVs.
$tsv1
is the disk volume and subvolume where NonStop Software Essentials or DSM/SCM put the
NonStop Java Server TSVs.
T0094PAX
is the pax archive containing the Java servlet files.
See the copyoss(8) reference page either online or in the Open System Services Shell and
Utilities Reference Manual for more information about command options.
Considerations
COPYOSS exists only in the target subvolume used for installation of the basic OSS product
set. If that subvolume is deleted after installation, your system will not have the COPYOSS file.
You can save the COPYOSS file to the $SYSTEM disk volume if you need to use it again.
Do not use COPYOSS unless explicitly told to when NonStop Software Essentials or DSM/SCM
installs and maintains OSS product files in your OSS file system (when the Manage OSS Files
check box is selected in NonStop Software Essentials or in the DSM/SCM planner interface).
Files installed by COPYOSS are not always secured in conformance with the best practices
at your site. You should always resecure files installed by COPYOSS. For example, after
installing SQL/MX files, you might enter commands such as the following to secure the installed
software and the directories it uses:
find / -WNOE -WNOG \( -type d -o -type f \) -perm -o+w |
xargs chmod o-w
Installing New Product Files 179