HP-UX Containers (SRP) A.03.00 Administrator's Guide
77
• Pseudo-transport devices (such as /dev/tcp and /dev/ip)
• Pseudo-terminal devices (such as /dev/pty*)
• Mount device (/dev/mnttab)
• Random number generator (/dev/random)
• Null device (/dev/null)
• Privilege-aware devices that can restrict the operations (such as /dev/devkrs and
/dev/config).
Devices cannot be created from within a system container. Additional devices can be provisioned to
a system container from the global view using the srp command with the –tune option. If the device
does not exist on the system, if must be first created in the global view and then provisioned to a
container.
To add a device /dev/aaa to a container myContainer, enter:
# mknod /dev/aaa c 88 4
# srp -add myContainer -tune device=/dev/aaa
Configuring device files ...
Done.
To delete the device /dev/aaa from myContainer, enter:
# srp -delete myContainer -tune device=/dev/aaa
Deleting /dev/aaa.........
Done.
When additional devices are provisioned to a container, the administrator is responsible for
maintaining the exclusivity of the device to a container. For example, if a container requires exclusive
access to a disk, the administrator must provision the disk to only one container and not provision the
same disk device to other containers. All the device files provisioned in a container are accessible
from the global view.
15.5 Software management
You can update both the operating system software and application software on a HP-UX Containers
enabled system using the HP-UX Software Distributor (SD).
SD is part of the HP-UX operating system and consists of a set of commands. The SD commands
swinstall(1M), swremove(1M), and swconfig(1M) are enhanced to detect the container
configuration and apply the operation in the global view and automatically repeat the operation in all
the configured system containers.
The following table shows the SD commands behavior in the global view and a system container.
SD command Global view System container
swacl
Unchanged Unchanged
swask
Unchanged Unchanged
swcopy
Unchanged Unchanged
swjob
Unchanged Unchanged
swlist
Unchanged Unchanged
swmodify
Unchanged Unchanged
swpackage
Unchanged Unchanged
swreg
Unchanged Unchanged
swverify
Unchanged Unchanged
swinstall
Enhanced Not supported (blocked)