ホーム > Solaris > Solaris 10 smpatch

Solaris 10 smpatch

2008 年 11 月 21 日

CUIでSun Online Registration

サーバー運用で行くならdtは不要!しかし、smpatch analyzeの時にレジスト忘れた!!!みたいなときに使えます。

# cp /usr/lib/breg/data/RegistrationProfile.properties /tmp
# vim /tmp/RegistrationProfile.properties
userName=<Sun Online Account>
password=<passwd>
# /usr/sbin/sconadm register -a -r /tmp/RegistrationProfile.properties

smpatch update

通常であれば、smpatch analyze;smpatch updateでパッチを当ててくれるのですが、あたらないパッチがある場合、” /var/sadm/spool/disallowed_patch_list” にパッチ番号を残してくれます。これを利用して手パッチします。自動でパッチがあたらないということは、再起動する必要有りと解釈してます。また non global zone が稼働している場合もあたらないことがありました。

# smpatch add -x idlist=/var/sadm/spool/disallowed_patch_list
# init 6

taizho Solaris Print This Post Print This Post あとで読む

  1. コメントはまだありません。
  1. トラックバックはまだありません。