{"id":1774,"date":"2013-08-27T12:15:39","date_gmt":"2013-08-27T02:15:39","guid":{"rendered":"https:\/\/www.penguinpunk.net\/blog\/?p=1774"},"modified":"2015-12-10T09:11:56","modified_gmt":"2015-12-09T23:11:56","slug":"emc-configuring-ntp-for-the-centera","status":"publish","type":"post","link":"https:\/\/www.penguinpunk.net\/blog\/emc-configuring-ntp-for-the-centera\/","title":{"rendered":"EMC &#8211; Configuring NTP for the Centera"},"content":{"rendered":"<p>We recently installed <a title=\"EMC Centera Governance Edition\" href=\"http:\/\/australia.emc.com\/archiving\/centera\/governance-edition.htm\" target=\"_blank\">Governance Edition<\/a> on our <a title=\"EMC Centera\" href=\"http:\/\/australia.emc.com\/archiving\/centera.htm\" target=\"_blank\">Centera<\/a> clusters, and needed to get time in sync between the clusters. I have NFI why ntp wasn&#8217;t configured previously, but here&#8217;re the steps. Special thanks to <a title=\"Mat Harvest\" href=\"https:\/\/twitter.com\/mat_harvest\" target=\"_blank\">Mat<\/a> for bothering to take screenshots of everything while it was happening. I know it&#8217;s a long article, and I don&#8217;t want to give too much away, but\u00a0everyone gets the right time in the end.<\/p>\n<pre>Config# <b>show cluster time\r\n<\/b>Cluster: Mon Aug 12 23:49:12 2013 UTC (External NTP disabled)\r\nConfig# <b>set ntp configuration\r\n<\/b>External NTP Enabled? (yes, no) [no]: <b>yes\r\n<\/b>Network association (access, management) [access]: <b>access\r\n<\/b>IP address of NTP server: <b>1.1.1.1\r\n<\/b>Issue the command? (yes, no) [no]: <b>yes\r\n<\/b>Command failed: External NTP is not enabled. The cluster is more than 30s off with the NTP server. Please contact EMC Customer Support for assistance in enabling external NTP.\r\nConfig# <b>set cluster time\r\n<\/b>You cannot set the cluster time on a cluster is not in Basic mode. Please contact EMC Customer Support.<\/pre>\n<p>&nbsp;<\/p>\n<p>At this point you&#8217;ll need to contact EMC Support, as you won&#8217;t be able to run the commands yourself. You can either opt to drift the time in (this is very slow) or you can have an outage on the cluster and force the time to be set (we opted to drift the time in).<\/p>\n<pre>Config# <b>set cluster time\r\n<\/b>Current cluster time is: 13 Aug 2013 02:32:53 UTC\r\nNew UTC time [DD-MMM-YYYY HH:MM:SS or IP address of NTP server]: <b>1.1.1.1\r\n<\/b>New cluster time will be set to 13 Aug 2013 02:41:12 UTC\r\nStop cluster services to change time? (yes, no) [no]: <b>no\r\n<\/b>Cluster time will be adjusted forward with approximately 8 minutes 19 seconds.\r\nThe adjustment will take approximately 11 days 14 hours 28 minutes to complete.\r\nIssue the command? (yes, no) [no]: <b>yes\r\n<\/b>Cluster started to adjust cluster time with 8 minutes 19 seconds.<\/pre>\n<p>&nbsp;<\/p>\n<p>You can check the progress of the time sync by using the \u201c<strong>show cluster time<\/strong>\u201d command,\u00a0 it will give you an approximate amount of time remaining till the adjustment process has completed<\/p>\n<pre>Config# <b>show cluster time\r\n<\/b>Warning: Cluster time adjustment is in progress. 8 minutes 18 seconds left to adjust forward\r\nCluster: Tue Aug 13 02:44:06 2013 UTC (External NTP disabled)\r\nConfig# <b>show cluster time\r\n<\/b>Warning: Cluster time adjustment is in progress. 1 minute 17 seconds left to adjust forward\r\nCluster: Thu Aug 22 21:10:50 2013 UTC (External NTP disabled)\r\nConfig# <b>show cluster time\r\n<\/b>Cluster: Sun Aug 25 22:47:58 2013 UTC (External NTP disabled)<\/pre>\n<p>Once the time has been adjusted you can then set up NTP<\/p>\n<pre>Config# <b>set ntp configuration\r\n<\/b>External NTP Enabled? (yes, no) [no]: <b>yes\r\n<\/b>Network association (access, management) [access]: <b>access\r\n<\/b>IP address of NTP server: <b>1.1.1.1\r\n<\/b>Issue the command? (yes, no) [no]: <b>yes\r\n<\/b>External NTP is successfully enabled.<\/pre>\n<p>If you have more than one NTP server you can add it to the list of server to sync against<\/p>\n<pre>Config# <b>set ntp addserver\r\n<\/b>IP address of NTP server: <b>2.2.2.2\r\n<\/b>Issue the command? (yes, no) [no]: <b>yes\r\n<\/b>The specified NTP server is successfully added.<\/pre>\n<p>Show the current NTP configuration and status<\/p>\n<pre>Config# <b>show ntp configuration\r\n<\/b>Cluster NTP configuration:\r\nExternal NTP is enabled\r\nNetwork association: access\r\nNTP servers:\r\n# IP\r\n---------------\r\n1 1.1.1.1\r\n2 2.2.2.2\r\n---------------\r\nConfig# <b>show ntp status all\r\n<\/b>Node name: centera1\r\nNode roles: access,replication,management,storage,blc\r\n# IP\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Status Offset\r\n-----------------------------------\r\n1 1.1.1.1 good\u00a0\u00a0 0s\r\n2 2.2.2.2 good\u00a0\u00a0 0s\r\n-----------------------------------\r\nNode name: centera2\r\nNode roles: access,replication,management,storage,blc\r\n# IP\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Status Offset\r\n-----------------------------------\r\n1 1.1.1.1 good\u00a0\u00a0 0s\r\n2 2.2.2.2 good\u00a0\u00a0 0s\r\n-----------------------------------<\/pre>\n<p>Now when you issue the \u201c<strong>show cluster time<\/strong>\u201d command it states that it is synced via NTP.<\/p>\n<pre>Config# <b>show cluster time\r\n<\/b>Cluster: Mon Aug 26 05:00:22 2013 UTC (Synchronized with external NTP)<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>We recently installed Governance Edition on our Centera clusters, and needed to get time in sync between the clusters. I have NFI why ntp wasn&#8217;t configured previously, but here&#8217;re the steps. Special thanks to Mat for bothering to take screenshots of everything while it was happening. I know it&#8217;s a long article, and I don&#8217;t [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[60,5],"tags":[454,301,21,568,110,302],"class_list":["post-1774","post","type-post","status-publish","format-standard","hentry","category-emc-storage","category-storage","tag-centera","tag-config","tag-emc","tag-governance","tag-howto","tag-ntp"],"_links":{"self":[{"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/posts\/1774","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/comments?post=1774"}],"version-history":[{"count":7,"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/posts\/1774\/revisions"}],"predecessor-version":[{"id":3412,"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/posts\/1774\/revisions\/3412"}],"wp:attachment":[{"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/media?parent=1774"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/categories?post=1774"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/tags?post=1774"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}