How to setup a Soalris 11 Package Repository

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

Contents

How to create a local Solaris 11 Package Repository

Create a new ZFS file system within a pool

Zfs Pool

ZFS filesystem

Prepare CD images from Oracle

Mount the repo CD image

Copy the data to the repo location

Set new repository settings

Enable and test the repository

  • To test the repository just go to server.doamin.com

Troubleshooting

How to Install this Oracle Solaris 11 Support Certificate

Ganrate and Obtain from Oracle a Certificate to reach the support repository from Oracle Certificate generator
Once generated to iinstall the Oracle Solaris 11 Support Certificate follow the below steps.

Add the publisher

To update the Repository with the latest date

Refresh & Build a Package Index

Change the client to point to the local Repository

If you want your clients to get packages from your local repository, you need to reset the origin for the solaris
publisher. Execute the following command on each client:

Configure and Install an AI server

Install the AI server

Configure the AI server

Make sure the network is fully configured

Check if the default router is set

The first line in the output should read something like this:

To add a default router

Check the Netmasks table

If the output is empty then create a netmask entry for all networks which will be requesting DHCP

Add local networks to dhcp

DHCP and AI on the same server

Note: First initialize the DHCP service

Then configure DHCP

Note: The Mac addresses should not include the colons and all the letters should be in uppercase.

DHCP and AI on separate servers

Then view the client leases

Create ZFS file systems

Transfer the AI images

Download the AI server iso, and install it.

DHCP can also be configured while creating the the service by running:

Create base custom manifest

Export the default manifest.

Edit the default manifest so it points to the correct local publisher.

Add the manifest and set it to be the default AI manifest.

Confirm the new setup.

Check your AI configuration

Add Client configuration

First lets create a manifest for this client

Add the manifest to the AI server config

Verify the manifest is correct

Complete the client install

Verify the config

Modify the client configuration

Boot the client

Note: to view progress just login and tail the /tmp/install.conf
login: jack
password: jack

To uninstall / remove – DHCP AI server

Remove AI service

Note: The -x deletes the service image as well

remove DHCP config

To remove the IP address from DHCP

To completely un-configure DHCP

Remove filesystems

References

Oracle Solaris System Software Management with Image Packaging System
Solaris 11 Package Repository
AI configuration help
Yet another AI configuration help
Multi-homed AI server support
Solaris dhcp server configuration

Leave a Reply

avatar
  Subscribe  
Notify of