patch関連(Solaris10)
パッチの分析
# smpatch analyze
パッチのダウンロード
# smpatch download
パッチ適用
# smpatch update
未適用パッチとパッチリスト
# cd /var/sadm/spool
# smpatch add -x idlist=disallowed_patch_list -d /var/sadm/spool
※以下のようなエラーが出た場合は、UpdateConnectionに登録していないためSun Update Connectionを行う。
# smpatch update
システムに必要なパッチを評価しています...
Failure: Cannot connect to retrieve Database/current.zip: This system is current
ly unregistered and is unable to retrieve patches from the Sun Update Connection
. Please register your system using the Update Manager
Sun Update Connection
http://www.sun.com/download/products.xml?id=42e02045
ダウンロードしたファイルを /tmp に展開する。
SPARC 版はなぜか /tmp でないと,その後のインストールで失敗する。
# pwd
/tmp
# unzip updateConnection-sparc.zip
# ./updateConnection/installUpdateConnection
次に/usr/sbin/sconadm を使って登録する.
レジストレーションファイルの作成
# cp /usr/lib/breg/data/RegistrationProfile.properties .
# vi RegistrationProfile.properties
userName と password を記入する。
userName=Sun Online のユーザ名
password=パスワード
# sconadm register -a -r /tmp/RegistrationProfile.properties
sconadm is running
Authenticating user ...
Collecting asset ...
Registering asset ...
sconadm has been completed successfully
これで登録完了
最終更新:2007年05月21日 00:46