Unix/Solaris10

커맨드라인 업데이트 툴

ForceCore 2007. 10. 10. 07:20
http://www.cuddletech.com/blog/pivot/entry.php?id=297
smpatch다.

# smpatch analyze
# smpatch download
# smpatch update
이 3단계면 된다.

아니다.
1단계면 된다.


2008.10.26 수정:
http://www.syslog.gr/content/view/12/2/
# smpatch update
위는 틀렸다. 1단계만 필요하다. 위 명령어만 치면 다 해준다.
근데, 새로 찾은 자료에 의하면, 재부팅 해야지 적용되는 패치를 적용하려면...

By default, update will only install patches that are fairly safe. I.e. they can be installed with the system running normally, and won't cause trouble. Patches that require an immediate reboot will be skipped, and put into a file /var/sadm/spool/disallowed_patch_list. When you're ready to do them, kick everybody off the system, shut down as much as you can, and do
# smpatch add -x idlist=/var/sadm/spool/disallowed_patch_list
재부팅이 필요한 패치는 /var/sadm/spool/disallowed_patch_list
에 적혀있게 된다면서, 유저들이 뜸한 시점에, 서비스도 되도록 많이 끄고, 위 명령어를 내리면 된다고 한다.