This procedure describes how to install or update files from the local repository on the ZFS storage appliance.
stor-contr:> shares stor-contr:shares> show
The project for the repository should have an obvious name, such as IPS-repos, and should be shown towards the end of the output from the show command.
stor-contr:shares> select repository
For example:
stor-contr:shares> select IPS-repos
stor-contr:shares IPS-repos> show
For example, if you see the following file systems in the output for the show command:
solaris
s11repo
exa-family
then type the following commands to set the root permissions to 755 for each of those file systems, ending with the end command after you have set the root permissions for the last file system in the list:
stor-contr:shares IPS-repos> filesystem solaris stor-contr:shares IPS-repos/solaris (uncommitted)> set root_permissions=755 stor-contr:shares IPS-repos/solaris (uncommitted)> commit stor-contr:shares IPS-repos/solaris (uncommitted)> done stor-contr:shares IPS-repos> filesystem s11repo stor-contr:shares IPS-repos/s11repo (uncommitted)> set root_permissions=755 stor-contr:shares IPS-repos/s11repo (uncommitted)> commit stor-contr:shares IPS-repos/s11repo (uncommitted)> done stor-contr:shares IPS-repos> filesystem exa-family stor-contr:shares IPS-repos/exa-family (uncommitted)> set root_permissions=755 stor-contr:shares IPS-repos/exa-family (uncommitted)> commit stor-contr:shares IPS-repos/exa-family (uncommitted)> done stor-contr:shares IPS-repos> end
# pkg info supercluster/ssc-exavm supercluster/iscsi supercluster/ssctuner
Select any of the Oracle SuperCluster M8 or Oracle SuperCluster M7 options.
- If the version numbers match for each package, then you have the latest versions. Go to Step 11.
- If the versions of the packages on your local repository are older than the package versions listed in the Read Me file, or if there is no package version information in the Read Me file, then you must update the packages on the local repository. Go to Step 8.
Select any of the Oracle SuperCluster M7 options.
Do not unzip the file at this time.
For example, copy the ZIP file to the /var/tmp directory on the first PDomain.
# mkdir -p tmp-dir # mount -F hsfs iso-name.iso tmp-dir # pkgrecv -s /tmp-dir/repo -d path-to-repo-on-ZFSSA/repo '*' # umount tmp-dir # pkgrepo rebuild -s path-to-repo-on-ZFSSA/repo
where:
- tmp-dir is the name of the temporary directory that you use as a mount point.
- iso-name.iso is the name of the ISO image.
- path-to-repo-on-ZFSSA is the path to the repository on the ZFS storage appliance. This path appears after the file:// output from the pkg publisher command that you entered in the section Determine the Repository Location.
The single quotes at the end of the second line ('*') are quotes formed when you select the unshifted double-quotes (“) key on your keyboard (single quotes that are either straight up and down or pointing left).
# pkg install pkg://exa-family/system/platform/supercluster # pkg install pkg://exa-family/system/platform/supercluster/iscsi # pkg install pkg://exa-family/system/platform/supercluster/ssc-exavm # pkg install pkg://exa-family/system/platform/supercluster/ssctuner