Updating the SMPATCH DB

From Tom
Jump to: navigation, search

This documentation can be redistributed and/or modified under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version.

Unless required by applicable law, this documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

This documentation should not be used as a replacement for a valid Oracle service contract and/or an Oracle service engagement. Failure to follow Oracle guidelines for installation and/or maintenance could result in service/warranty issues with Oracle.

Use of this documentation is at your own risk!

--Tom Stevenson (talk) 17:11, 26 May 2015 (EDT)

This is a procedure how to register non-Oracle Hardware or VM's and depending on your contracts also get other entitlements:

This procedure is valid until the next smpatch patches will be released.

Install the latest smpatch and cacao patches

Solaris 10 Sparc Patches:

121118-19	SunOS 5.10: Update Connection System Client 1.0.19
123005-09	SunOS 5.10: Basic Registration Update 
124171-08	SunOS 5.10: SCN Base cacao module patch
123630-04	SunOS 5.10: HTTP proxy settings patch
123893-25	SunOS 5.10: Cacao Patch
Solaris 10 X86 Patches:

121119-19	SunOS 5.10_x86: Update Connection System Client 1.0.19
123006-09	SunOS 5.10_x86: Basic Registration Update
124187-08	SunOS 5.10_x86: SCN Base cacao module patch
123631-04	SunOS 5.10_x86: HTTP proxy settings patch
123896-25 	SunOS 5.10_x86: Cacao Patch

Please follow these instructions:

# cacaoadm stop

please install the patches, cacao first.

# cacaoadm start

Then we need to clean the registry from previous registration attemps:

# cacaoadm stop
# rm /var/scn/persistence/SCN*
# /usr/lib/cc-ccr/bin/eraseCCRRepository
# cacaoadm start
# svcs -av | grep common (ensure it's online) 

Then some files have to be edited:

# cd  /etc/cacao/instances/default/modules

Backup the original files

# cp com.sun.scn.base.SCNBase.xml com.sun.scn.base.SCNBase.xml.orig
# cp com.sun.scn.offering.ProductRegistration.xml com.sun.scn.offering.ProductRegistration.xml.orig
# cp com.sun.scn.offering.SWUPRegistration.xml com.sun.scn.offering.SWUPRegistration.xml.orig

Edit these 3 files:


Change all occurances of cns-services.oracle.com to updates.oracle.com

Save the files.
Restart Cacao:

# cacaoadm stop
# sleep 5
# cacaoadm start

Then register the machine with sconadm:

# cp /usr/lib/breg/data/RegistrationProfile.properties /tmp

Edit the file /tmp/RegistrationProfile.properties

Add your MOS login and passwd, leave the Serial empty

Then start sconadm:

# sconadm register -a -r /tmp/RegistrationProfile.properties

After the registration is done, you need to change the patchpro source for smpatch:

# smpatch set patchpro.patch.source=https://updates.oracle.com

Run smpatch analyze:

# smpatch analyze

Depending on your contracts you should see different entitlements now than before in this file:


--Tom Stevenson 14:21, 3 February 2012 (EST)

Help contents:

Reading: Go | Search | URL | Namespace | Page name | Section | Link | Backlinks | Piped link | Interwiki link | Redirect | Variable | Category | Special page
Tracking changes: Recent | (enhanced) | Related | Watching pages | Page history | Diff | User contributions | Edit summary | Minor edit | Patrolled edit
Logging in and preferences: Logging in | Preferences | User style
Editing: Overview | Wikitext | New page | List | Images/files | Image page | Special characters | Formula | Table | EasyTimeline | Inputbox | Template | (p. 2) | Renaming (moving) a page | Editing shortcuts | Talk page | Testing | Export | Import | rlc |