Can ' t create ASM instance on Node2 during running root.sh on Node2 due to time syc problem Description:
Run/u01/app/12.1.0.2/grid/root.sh on Node2 after it succesully on Node1.
Died at/u01/app/12.1.0.2/grid/crs/install/crsinstall.pm line 914.
The command '/u01/app/12.1.0.2/grid/perl/bin/perl-i/u01/app/12.1.0.2/grid/perl/lib-i/u01/app/12.1.0.2/grid/crs/ install/u01/app/12.1.0.2/grid/crs/install/rootcrs.pl ' execution failed
DIAGNOSTIC Analysis:
Log1:/u01/app/crsusr/diag/crs/itqe-t5-2-2-zn1/crs/trace/octssd.trc--------------------------------------------
----------------------------------------------------
... 2014-12-04 09:26:29.461972 : ctss:10:ctssslave_swm:failed in Sclsctss_set_timeofday [1] ctss:10:slos : Slos:cat=-2, Opn=settimeofday, Dep=1, Loc=sctss_std.2 2014-12-04 09:26:29.462005 : ctss:10:ctsselect_monitor_s
Teysync_mode:failed in Clsctssslave_sync_with_master [9]. ...------------------------------------------------------------------------------------------------Log2:/u01/ App/12.1.0.2/grid/cfgtoollogs/crsconfig/rootcrs_itqe-t5-2-2-zn1_2014-12-04_09-23-19am.log =====================
======================================================================== This was about Time sync issue: root@itqe-t5-2-2-zn1:~# Date Thursday, December 4, 10:25:07 AM UTC root@itqe-t5-2-1-zn1:/u01/app/12.1.0.2/grid/bin # Date Thursday, December 4, 10:02:51 AM UTC =============================================================================================
Solution:so we must have the both node as NTP clients clock synchronized with NTP server from USA. 1.Install package (which Time:dgram Time:stream would use)
$ pkg Install/service/network/legacy-network-services
2. Create the NTP client configuration file on the nodes.
$ touch/etc/inet/ntp.conf $ chown root:sys/etc/inet/ntp.conf 3. Edit the ntp.conf, set the sync time server on both nodes. Vi/etc/inet/ntp.conf ADD The following line to ntp.conf file.
Server 10.134.151.1 prefer
Note:here Our nodes ' s IP is 10.134.151.xx,so we can add our router IP to the above file. 4.Ensure that slewing option
/usr/sbin/svccfg-s svc:/network/ntp:default SetProp config/slew_always = True
svcadm Refresh SVC:/NETWORK/NTP: Default
5.Restart services on Nodes:wrote a shell sript--rssmf.sh:
#! /bin/sh
svcadm Disable Svc:/network/ntp:default
svcadm enable Svc:/network/ntp:default
svcs-a | grep time
svcadm Disable Time:dgram
svcadm enable Time:dgram
svcadm disable Time:stream
svcadm enable time: Stream
Sleep
ntpq-p
Note:ntpq-p would output the following results:
root@itqe-t5-2-2-ld1:~# ntpq-p
remote refid St T when poll reach delay offset jitter
==============================================================================
*santaclara12-sy 144.25.255.140 3 u 377 0.409 0.935 4.101
See the front appear *,offset continuously become smaller, then work normally. 6.Test the time syc with date. refenece:[http://blog.csdn.net/jacky0922/article/details/8535402
Solaris time synchronization Settings]