Software Distributor Administration Guide for HP-UX 11i
Remote Operations Overview
Remote Operations Tutorial
Chapter 6200
Remote Operations Tutorial
This tutorial introduces you to the remote operations user interface and
to the general flow for distributing software to other systems. Also, you
will learn how to preview, schedule, and monitor your distribution jobs.
Although this tutorial uses swinstall for the example GUI, the swcopy
and swremove GUI programs are almost identical. You can apply the
knowledge you gain from this tutorial to those tasks.
You may wish to go through this tutorial more than once to experiment
with variations in the basic operations.
Tutorial Set-Up
1. Set up remote operations on your controller system and a remote test
system. (See “Setting Up Remote Operations” on page 199.)
2. As root on the controller system, enable the remote operations GUI:
touch /var/adm/sw/.sdkey
3. Make sure your PATH variable contains /usr/sbin. To check, enter:
echo $PATH
4. Make sure your DISPLAY variable is properly set by typing:
echo $DISPLAY
5. Ensure that the examples are installed. Enter:
swlist SW-DIST.SD-EXAMPLES
6. Create the depot containing example package (i.e., SD-DATABASE):
cd /usr/lib/sw/examples/swpackage/depot_src
swpackage -s psf @ /var/adm/sw/examples/depot
swreg -l depot @ /var/adm/sw/examples/depot
7. To verify that the software is in the depot and is available for
distribution to targets, enter:
swlist -s /var/adm/sw/examples/depot
You should see SD-DATABASE in the resulting list.