Configuring fixed patch baseline
Could you please assist. I would like to set up fixed patch baseline, but am having difficulties locating the files to edit (or a command to achieve this)
I understand that the first step is to copy current.zip to current_<date>.zip (for example, but can't locate collections file that some documentation refers to - http://www.sun.com/bigadmin/features/hub_articles/local_patch_server.jsp
This is what I have in /var/sadm/spool/cache on UC Proxy:
Database
entitlement
https%3A%2F%2Fgetupdates1.sun.com%2F%2Fdetectors.jar
https%3A%2F%2Fgetupdates1.sun.com%2F%2Fdetectors.jar.lmd
xml
I am not asking how to use smpatch to modify patchpro.patchset, but where to specify what the available patchsets are.
Any advise would be very much appreciated. Thank you
[819 byte] By [
zm01a] at [2007-11-27 11:25:25]

# 1
Have you performed an smpatch analysis yet? This can be done be using the following command:
# smpatch analyze
This command will download the current.zip upon connection.
It would also be handy to review your current patch environment for the UC Platform
so please post the output of the following:
$ showrev -p | cut -d" " -f2 | sort > /tmp/showrev-p
$ egrep '11978[8|9]|12033[5|6]|12108[1|2]' /tmp/showrev-p
$ egrep '12111[8|9]|12145[3|4]|12156[3|4]|12446[3|6]' /tmp/showrev-p
$ egrep'12223[1|2]|12300[3|4|5|6]|124463|12461[4|5]|1241[71|87]' > /tmp/showrev-p
# 2
Thank you for your response. Yes I have done the smpatch analyze and got the current.zip. Actually things have moved on from when I posted this question. This is what I have done:
On the UC Proxy server created the directory structure under /patches:
/patches/Database with a copy of current.zip called baseline240707.zip
and /patches/Misc which contains detectors.jar
(/patches is my cache location and download directory, as it can be seen from below outputs:
server# patchsvr setup -l
Patch source URL: https://getupdates1.sun.com/
Cache location: /patches
Web proxy host name: myproxy
Web proxy port number: 8080
server# smpatch get
patchpro.backout.directory-""
patchpro.baseline.directory-/var/sadm/spool
patchpro.download.directory/patches/var/sadm/spool
patchpro.install.types -rebootafter:reconfigafter:standard
patchpro.patch.source-https://getupdates1.sun.com/
patchpro.patchset-current
patchpro.proxy.host myproxy""
patchpro.proxy.passwd********
patchpro.proxy.port 80808080
patchpro.proxy.user -""
On client side:
client# smpatch get
patchpro.backout.directory-""
patchpro.baseline.directory-/var/sadm/spool
patchpro.download.directory/var/sadm/spool /var/sadm/spool
patchpro.install.types -rebootafter:reconfigafter:standard
patchpro.patch.sourcefile:/patcheshttps://getupdates1.sun.com/
patchpro.patchsetbaseline240707 current
patchpro.proxy.host -""
patchpro.proxy.passwd********
patchpro.proxy.port -8080
patchpro.proxy.user -""
Note: /patches is shared from the server and mounted on the client as /patches.
With this setup smpatch analyze on the client works ok - I've generated a list of patches, then using this list downloaded patches to the server without any issues.
However, I now have a different problem.
I am trying to run smpatch download on the client (thinking it should find patches in /patches and download them to /var/sadm/spool). I may be misunderstanding something, but I expected this to work. smpatch download fails with -i <patch> or -x idlist=<mylist> - the error message is the same "The following patches were not downloaded" and it lists the patches. I am currently looking into why this failed, but if you can suggest what to try it would be great (or confirm if this should work)
The outputs you requested earlier:
loncmss9651# egrep '11978[8|9]|12033[5|6]|12108[1|2]' /tmp/showrev-p
119788-08
120335-04
121081-06
loncmss9651# egrep '12111[8|9]|12145[3|4]|12156[3|4]|12446[3|6]' /tmp/showrev-p
121118-09
121118-11
121118-12
121453-02
124463-02
loncmss9651# egrep '12223[1|2]|12300[3|4|5|6]|124463|12461[4|5]|1241[71|87]' /tmp/showrev-p
122231-01
123003-02
123003-03
123005-05
124171-03
124188-02
124463-02
124614-01
Many thanks again
zm01a at 2007-7-29 16:04:20 >
