sconadm and local source
Hi,
Is there any way from the command line to configure the machine to obtain updates from
a local source?
I have configured a Sun Update Connection Proxy on a machine, and everything is working
well (bar some Studio 11 patch issues yesterday).
I can configure another client via the GUI to use this local source :
Register to manage updates
Configure the system to retrieve updates from a local source
Patch Source URL : http://mymachine:3816/solaris/
This is outlined in Document ID : 82665
However, the equivalent CLI Document ID : 82688 doesn't seem to mention
this possibility.
Is it possible?
I know it is possible to configure smpatch to use the UC Proxy server with
smpatch set patchpro.patch.source
But was wondering if it is possible with UC.
Thanks!
-- Gary
# 2
Thanks for the reply, but there must be something extra.
As I mentioned in the original message I knew about the smpatch set
command. After configuring it, I have been able to do :
smpatch update
which updates from the local source correctly, but when I click on the
update manager icon, I have to configure it via the GUI as well to use the
local source again. i.e. smpatch and updatemanager obviously don't look
at the same place for configuration data?
That was why I was looking for some option to sconadm that I missed.
Thanks!
-- Gary
# 4
HI,
thanks again for the assistance.
I believe it might actually be the Sun Update Manager Registration Wizard
that is getting in the road here.
Here is what I have.
Fresh install of Solaris 10 1/06
Log in using JDS
The "loading System Information" dialog box comes up and eventually (it is
running on an Ultra 10 :-) you get the "Registration Wizard".
Click cancel and Discard Registration.
Then, in a terminal window run :
smpatch set patchpro.patch.source=http://machinename:3816/solaris/
where machinename is my update connection proxy server (which is
working fine)
smpatch get shows it correctly :
patchpro.backout.directory-""
patchpro.download.directory-/var/sadm/spool
patchpro.install.types -rebootafter:reconfigafter:standard
patchpro.patch.sourcehttp://machinename:3816/solaris/ https://getupdates.sun.com/solaris/
patchpro.patchset-current
patchpro.proxy.host -""
patchpro.proxy.passwd********
patchpro.proxy.port -8080
patchpro.proxy.user -""
Now, either running "/usr/bin/updatemanager" or clicking on the icon in the
taskbar to start "/usr/bin/swup_boots" we again get the Update manager
window which does the "loading system information" bit, and then brings up
the Registration Wizard.
Cancelling the Registration Wizard at any time exits the update manager
GUi, so I can't check the File -> Preferences to see the settings.
If I go in the wizard to configuring it to use a local source, the text field where
you fill in the URL is blank.
So, I now believe the issue is the registration wizard. How to you tell update
manager that you don't need it to register.
Ahh, just found what I needed :
sconupdate register -N
Now the GUI will start and not bring up the registration wizard.
Preferences show it is using hte UC Proxy server as required.
Thanks for the help!
-- Gary