Èí¼þ»·¾³£ºSolaris 10+Sun cluster3.1u4+SVM+Oracle 10g AS
Ó²¼þ»·¾³£º2*V440+1*SE3320
ÏÂÃæÕâ¸öÊÇÔÚ°²×°Sun cluster֮ǰÍê³ÉµÄ£¡ÏµÍ³ÉÏÏßÒÔºó×îºÃ²ÉÓÃNTP£¬Ã°È»Í¬²½¿ÉÄܶÔÊý¾Ý²úÉúÓ°Ï죡½ö¹©Ñ§Ï°²Î¿¼£¡
Ë«»úÏ໥ÐÅÈιØϵ½¨Á¢Íê³Éºó£¬ÐèÒª¶ÔË«»ú½øÐÐʱÖÓͬ²½Ð£Õý£¬ÒÔ±£Ö¤Ë«»úʱÖÓͬ²½¡£¾ßÌå²½ÖèÈçÏ£º
²é¿´µ±Ç°Ö÷»úʱÖÓ¡£ÔÚУÕýÇ°£¬±ØÐë±£Ö¤×÷ΪУÕý±ê×¼µÄÖ÷»úϵͳʱÖÓºÍʵ¼Êʱ¼äÒ»Ö¡£Ïà¹ØÃüÁîÈçÏ£¨ÔÚÖ÷»úDB1ÉÏÖ´ÐУ©£º
# date
ÐÞ¸ÄÖ÷»úʱÖÓ¡£Èç¹ûÖ÷»úʱ¼äºÍʵ¼Êʱ¼ä²»Ò»Ö£¬±ØÐëÒÔrootÓû§µÇ¼£¬ÐÞ¸ÄÖ÷»úʱ¼ä£¬Ïà¹ØÃüÁîÈçÏ£¨ÔÚÖ÷»úDB1ÉÏÖ´ÐУ©£º
# date mmddHHMMCCYY
×¢Ò⣺
(1) dateÃüÁî¸ñʽ˵Ã÷£ºmm£¨Ô£©dd£¨ÈÕ£©HH£¨Ð¡Ê±/24ʱÖÆ£©MM£¨·ÖÖÓ£©CC£¨ÊÀ¼Í¼õÒ»£¬Èç21ÊÀ¼ÍÔòΪ20£©YY£¨Ä꣩£¬¼´CCYYΪËÄλ±íʾµÄÄê·Ý£»ÒÔÉÏÊý×Ö¾ùΪÁ½Î»Êý£¬²»×ãÁ½Î»Ç°Ãæ²¹Áã¡£Èç¡°date 122014302001¡±±íʾ½«Ê±¼äµ÷ÕûΪ2001Äê12ÔÂ20ÈÕ14ʱ30·Ö¡£
(2) ´ËÃüÁîƽʱ¾¡Á¿²»Óã¬ÏµÍ³Ê±¼ä±ä»¯¿ÉÄÜ´øÀ´²»¿ÉÔ¤ÁϵÄÎÊÌâ¡£
ͬ²½Ë«»úʱÖÓ¡£
solaris 10ÏÂË«»úʱ¼äͬ²½ÐèÒªÏÈÔÚÁ½Ì¨Ö÷»úÉÏÖ´ÐÐÏÂÃæÃüÁ
# svcs -a |grep time
disabled 13:31:24 svc:/network/daytime:dgram
disabled 13:31:24 svc:/network/daytime:stream
disabled 13:31:24 svc:/network/time:dgram
disabled 13:31:24 svc:/network/time:stream
# svcadm enable time:stream
# svcadm enable time:dgram
# svcs -a |grep time
disabled 13:31:24 svc:/network/daytime:dgram
disabled 13:31:24 svc:/network/daytime:stream
online 13:55:40 svc:/network/time:stream
online 13:55:45 svc:/network/time:dgram
Èç¹û²»×öÉÏÃæ²Ù×÷£¬»á±¨´í£º
# rdate DB1
rdate: connect: Connection refused
µ±ÐÞ¸ÄÖ÷»úϵͳʱ¼äºÍʵ¼Êʱ¼äÒ»Öº󣬾ͿÉÒÔÓÃÖ÷»úʱÖÓÀ´Í¬²½±¸»úʱÖÓ£¬Ïà¹ØÃüÁîÈçÏ£¨ÔÚ±¸»úDB2ÉÏÖ´ÐУ©£º
# rdate DB1
Èç¹ûÊÇÏÖÍøË«»úҪͬ²½Ê±¼äµÄ»°£¬¿ÉÒԲο¼ÏÂÃæ˼·£¬¿ÉÊÊÓõÄϵͳ»·¾³£ºsolaris 6~10
1. ³ÉΪȺ¼¯ÖÐÈÎÒ»½ÚµãÉϵij¬¼¶Óû§¡£
2. ÔÚÈÎÒ»½Úµã¹Ø±ÕȺ¼¯²¢½«Æäתµ½OBP Ìáʾ·ûÏ¡£
# scshutdown -g0 -y
3. ½«¸÷¸ö½Úµã¶¼Òýµ¼³É·ÇȺ¼¯½Úµã¡£
ok boot -x
4. ÔÚnode1½ÚµãÉÏ£¬Í¨¹ýÔËÐÐdate ÃüÁîÀ´ÉèÖÃʱ¼ä¡£
# date HHMMSS
5. ÔÚÆäËû»úÆ÷ÉÏ£¬Í¨¹ýÔËÐÐrdate ÃüÁîÀ´Ê¹ËüÃǵÄʱ¼äÓëÇ°ÃæµÄÄǸö½ÚµãµÄʱ¼äͬ²½¡£
# rdate node1
6. Òýµ¼Ã¿¸ö½ÚµãÒÔÖØÐÂÆô¶¯¸ÃȺ¼¯¡£
# reboot
7. ¼ìÑéÊÇ·ñËùÓеÄȺ¼¯½Úµã¾ùÒÑ×öÏàÓ¦µÄ¸ü¸Ä¡£
ÔÚÿ¸ö½ÚµãÉÏ£¬ÔËÐÐdate ÃüÁî¡£
# date