JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Copying and Creating Oracle Solaris 11 Package Repositories     Oracle Solaris 11 Information Library
search filter icon
search icon

Document Information

Preface

1.  Image Packaging System Package Repositories

Local IPS Repositories

Prepare the Repository Host System

2.  Copying IPS Package Repositories

3.  Providing Access To Your Repository

4.  Maintaining Your Local IPS Package Repository

Prepare the Repository Host System

The system that hosts the IPS package repository can be either an x86-based or a SPARC-based system.

Operating system

The IPS repository server must be running the same or a newer version of the Oracle Solaris 11 OS as the version for which the packages you plan to copy are built. For example, if the server is running Oracle Solaris 11 Express and you want to create a copy of the Oracle Solaris 11 repository, update the server to Oracle Solaris 11 before you copy the repository.

Disk space

To host a copy of the Oracle Solaris 11 release repository, the repository server must have 15 gigabytes of free space.

Recommended best practice is to create a separate ZFS file system for your local package repository. Using a separate ZFS file system enables you to take advantage of the following benefits:

If one system hosts more than one IPS repository, make each repository a separate ZFS file system so that you can rollback and recover each repository separately.

Use the zfs list command to view your current ZFS datasets.

$ zfs list
NAME                    USED  AVAIL  REFER  MOUNTPOINT
rpool                  75.2G   108G  5.00G  /rpool
rpool/ROOT             23.0G   108G    31K  legacy
rpool/ROOT/solaris     44.8G   108G  3.52G  /
rpool/dump             1.97G   108G  1.97G  -
rpool/export           43.0G   108G  30.5G  /export
rpool/export/home      12.6G   108G    32K  /export/home
rpool/export/home/bob  12.6G   108G  12.6G  /export/home/bob
rpool/swap             2.09G   108G  1.97G  -

Assume the root role:

$ su - root

Create a ZFS file system for the package repository in the root pool:

# zfs create rpool/export/repoSolaris11
# zfs list
NAME                         USED  AVAIL  REFER  MOUNTPOINT
rpool                       75.2G   108G  5.00G  /rpool
rpool/export/repoSolaris11    31K   108G    31K  /export/repoSolaris11
...

Tip - For better performance when updating the repository, set atime to off.


# zfs set atime=off rpool/export/repoSolaris11

The atime property controls whether the access time for files is updated when the files are read. Turning this property off avoids producing write traffic when reading files.