|Skip Navigation Links|
|Exit Print View|
|Oracle Solaris Administration: Oracle Solaris Zones, Oracle Solaris 10 Zones, and Resource Management Oracle Solaris 11 Information Library|
This section discusses how to set proxies for a system on an internal subnet that does not have a direct connection to the IPS publisher repository. The system uses an http_proxy configuration to connect.
For example, assume that the software on a system running solaris non-global zones is being managed by IPS, using the proxy configuration https_proxy=http://220.127.116.11:3128. The 18.104.22.168:3128 https proxy is configured on port 3128 of a system with the IP address 22.214.171.124. A host name that is resolvable can also be used.
Using this example, type the following line to set the proxy in the ksh for the global zone, to allow pkg commands to talk to the publisher over the https proxy.
# export https_proxy=http://126.96.36.199:3128
To allow the solaris zones on the system to use the configured system publishers, run the following command:
# svccfg -s svc:/application/pkg/system-repository:default setprop config/http_proxy=astring: "https://188.8.131.52:3128"
To make the change take effect in the live SMF repository, run:
# svcadm refresh svc:/application/pkg/system-repository:default setprop
To confirm that the setting is operational, run:
# svcprop svc:/application/pkg/system-repository:default|grep https_proxy
This process allows the solaris zones to contact the publisher set in the global zone as well. Recursive pkg operations into the solaris branded zones will succeed.