How to create a network depot?

From Wiki-UX.info
Jump to: navigation, search

Create a network depot only if you intend to update other systems on the network using a depot. This allows you to update all systems on the network without having to move media from system to system. It also allows you to use the preview (-p) option, which is new for HP-UX 11i v3. You can use the preview (-p) option with either a depot or media. If you are not creating a network depot, you can skip this task.

As root, follow this procedure to create a network depot from the HP-UX 11i v3 two-DVD set onto a depot server:


NOTE: Make sure you copy all products from both HP-UX 11i v3 DVDs to your target depot.


1. Verify that you have at least 6 GB of free space to create the network depot on another system in your network. If this space is not available, use smh either to create a new volume group or to extend an existing volume group. For help, refer to either SMH help or the HP-UX System Administrator’s Guide.

2. The HP-UX 11i v3 operating system comes as a two DVD set. Insert the first DVD into the drive.

3. Find the DVD-ROM device file name:

ioscan -C disk -f -n -k | more

/dev/dsk/c1t2d0 is a typical device name.

4. Create the directory under root(/):

mkdir /dvdrom

5. Mount the first DVD onto the new directory as a file system, for example:

mount /dev/dsk/c1t2d0 /dvdrom

6. Create the directory that will contain the network depot you want to create, for example:

mkdir /var/11iv3

7. Copy all products on the mounted DVD to the target depot. For example, to copy the contents of the first DVD to the target depot called update-depot type the following command:

swcopy -s /dvdrom \* @ /var/11iv3/update-depot

8. Unmount the first DVD from its directory:

umount /dvdrom

9. Mount the second DVD onto the new directory as a file system, for example:

mount /dev/dsk/c1t2d0 /dvdrom

10. Copy all products on the mounted DVD to the same target depot. For example, to copy the contents of the second DVD to the target depot called update-depot type the following command:

swcopy -s /dvdrom \* @ /var/11iv3/update-depot

11. Unmount the second DVD from its directory:

umount /dvdrom

12. The network depot is now ready to update your system to HP-UX 11i v3.

Authors