Software Distributor (SD-UX) Administration Guide HP-UX 11i v1, 11i v2, and 11i v3 (762797-001, March 2014)

Table Of Contents
Setting Up Remote Operations
SD-UX uses Access Control Lists to authorize anyone who is attempting to create, modify, or read
software products in a depot or to install software to a root file system. (ACLs are discussed in
detail in Chapter 9: “SD-UX Security ” (page 141).)
You can enable SD to manage software on remote systems. To let the root user perform operations
on a remote target (also called the host or agent) from a central SD controller (also called the
central management server or manager node):
1. Set up the root, host, and template Access Control Lists (ACLs) on the remote machines to
permit root access from the controller system. To do this, run the following command on each
remote system:
# /usr/lib/sw/mx/setaccess controller
NOTES:
controller is the name of the central management server.
If the remote system is running HP-UX 11.00, make sure SD patch PHCO_22526 or a
superseding patch is installed on the remote system before running setaccess.
If the remote system is older than HP-UX 11.00, or for some other reason does not have
setaccess in place, copy the setaccess script from an HP-UX 11.11 or higher system
to the remote system.
2. swinstall, swcopy, and swremove have enhanced GUI interfaces for remote operations.
Enable the enhanced GUIs by creating the .sdkey file on the controller. Use this command:
# touch /var/adm/sw/.sdkey
NOTE: You can also set up remote access by using swacl directly on the remote machines to
grant root or non-root access to users from the controller system.
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” (page 121).)
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
Setting Up Remote Operations 121