Solaris updateConnection

From The System Administrator Zone
Jump to: navigation, search

How to Register

See: Update Connection 1.0, System Edition Registration Guide for the Command-Line Interface

As a superuser, create a /tmp/registrationprofile.properties file that contains the following:

userName=user123
password=abc123
hostName=
subscriptionKey=
portalEnabled=false
proxyHostName=
proxyPort=
proxyUserName=
proxyPassword=

This mode for this file must be 600 or 400.

# /usr/sbin/sconadm register -a -r /tmp/registrationprofile.properties

Registration fails: java.rmi.RemoteException: HTTP transport error:

If you get errors like this, the problem may be proxy settings. Try the following:

sconadm proxy -r /tmp/registrationprofile.properties

Followed by:

sconadm register -a -r /tmp/registrationprofile.properties

The errors are captured in /tmp/basicreg??????????????????.log.

Registration fails: AssetRegistrationException: RemoteException

Ouch!

sconadm register -a -e softwareUpdate -r /tmp/registrationprofile.properties
sconadm is running
Subscription Key is required

The Subscription Key is actually your Contract ID.