Forgot your password?    
+ Reply to Thread
Results 1 to 2 of 2

Thread: Time Difference between RAC Nodes

  1. #1
    Expert Oracle Administrator
    Join Date
    Oct 2011
    Location
    New Delhi, India
    Posts
    412

    Time Difference between RAC Nodes

    If the time difference between the RAC nodes is out of sync (time difference > 30 sec) then it will result one of the following issues

    1. CRS installation failure on remote node
    2. RAC node reboots periodically
    3. CRS Application status UKNOWN or OFFLINE

    To avoid these issues, configure NTP (Network Time Protocol) on both nodes using any one of the following methods

    1. system-config-time or system-config-date or dateconfig

    Type command system-config-time or system-config-date or dateconfig at terminal --> Click “Network Time Protocol” ->check “Enable Network Time Protocol” and select NTP server --> Click OK

    2. date MMDDHHMMSYY
    Type command date with current date and time

    3. /etc/ntp.conf
    Update /etc/ntp.conf file with timeservers IP addresses and start or restart the ntp daemon
    $ /etc/init.d/ntp start
    or
    $ /etc/rc.d/init.d/ntp start

    Once RAC nodes are time sync you might need to shutdown and startup the CRS

    $ crs_stop -all
    $ crs_start -all
    Hemant Fulfagar
    Oracle Administration Architect
    hemant@dbalounge.com
    Skype Name: hemant.fulfagar
    --------------------------------------------------------------------------------------------------------------------------
    DBALounge Provides Oracle DBA Training Services. This includes Online Training, Classroom based Training at Noida (Delhi NCR).
    Students come from Delhi, Gurgaon, Noida, Ghaziabad, Faridabad, Greater Noida .
    Trainings : Oracle Database,10G,11G,RAC,Apps,11i,R12,Fusion Middleware,WebLogic,OID,OBIEE,OAM,OIM,Directory Services,Oracle VM.

  2. #2

    Red face NTP problem during running runcluvfy.sh


    [oracle@rac1 ~]$ ./runcluvfy.sh stage -pre crsinst -n rac-1,rac-2 > my.txt

    When I checked the output in my.txt I found out the following problem.

    Starting Clock synchronization checks using Network Time Protocol(NTP)...

    NTP Configuration file check started...
    The NTP configuration file "/etc/ntp.conf" is available on all nodes
    NTP Configuration file check passed

    Checking daemon liveness...

    Check: Liveness for "ntpd"
    Node Name Running?
    ------------------------------------ ------------------------
    rac2 yes
    rac1 yes
    Result: Liveness check passed for "ntpd"

    Checking NTP daemon command line for slewing option "-x"
    Check: NTP daemon command line
    Node Name Slewing Option Set?
    ------------------------------------ ------------------------
    rac2 yes
    rac1 yes
    Result:
    NTP daemon slewing option check passed
    Checking NTP daemon's boot time configuration, in file "/etc/sysconfig/ntpd", for slewing option "-x"

    Check: NTP daemon's boot time configuration
    Node Name Slewing Option Set?
    ------------------------------------ ------------------------
    rac2 no
    rac1 no
    Result:
    NTP daemon's boot time configuration check for slewing option failed on some nodes
    PRVF-5470 : The NTP daemon's boot time configuration, in file "/etc/sysconfig/ntpd", on one or more nodes lacks the slewing option "-x"
    Result: Clock synchronization check using Network Time Protocol(NTP) failed

    Pre-check for cluster services setup was unsuccessful on all the nodes.
    [oracle@rac1 ~]$


    For the solution:-

    [root@rac1 ~]# vi /etc/sysconfig/ntpd
    # Drop root to id 'ntp:ntp' by default.
    OPTIONS="-u ntp:ntp -p /var/run/ntpd.pid"

    # Set to 'yes' to sync hw clock after successful ntpdate
    SYNC_HWCLOCK=no

    # Additional options for ntpdate
    NTPDATE_OPTIONS=""
    OPTIONS="-x -u ntp:ntp -p /var/run/ntpd.pid" <----add this line and save the file.

+ Reply to Thread

Similar Threads

  1. Replies: 0
    Last Post: 09-22-2012, 08:57 PM
  2. difference between normal exp/imp and datapump expdp/impdp ?
    By devesh_ocp in forum Oracle Database Administration 10g and 11g
    Replies: 3
    Last Post: 08-11-2012, 01:28 PM
  3. What is difference between PFile and SPFile?
    By devesh_ocp in forum Oracle Database Administration 10g and 11g
    Replies: 0
    Last Post: 04-24-2012, 03:39 PM
  4. ICM found node PRODDB to be down. Adding it to the list of unavailable nodes.
    By Hemant in forum Concurrent Processing Server / Workflow
    Replies: 5
    Last Post: 03-06-2012, 04:10 PM
  5. Difference between Oracle Applications 11i and R12
    By Hemant in forum Concepts,Service Management,Apache,OC4J,OPMN,JServ,Forms, Issues,Troubleshooting,
    Replies: 0
    Last Post: 10-29-2011, 11:43 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

DBA Lounge (P) Ltd. deals in Oracle Technologies on Consulting, Resourcing, Corporate Training


Online and corporate training available on Oracle Database 11g, Oracle 11g Real Application Cluster (RAC), Oracle Applications 11i/R12, Oracle Fusion Middleware 11g, Oracle Identity Management-OIM, Oracle Internet Directory 11g-OID, Oracle Business Intelligence Enterprise Edition-OBIEE, Oracle Golden Gate, Oracle Access Management-OAM, Oracle Internet Directory-ODS, Oracle Identity Analytics Architecture-OIA Statistics