{"id":89,"date":"2017-03-28T14:04:47","date_gmt":"2017-03-28T10:04:47","guid":{"rendered":"https:\/\/provolotski.wordpress.com\/?p=89"},"modified":"2017-03-28T14:04:47","modified_gmt":"2017-03-28T10:04:47","slug":"%d0%bb%d0%be%d0%b3-%d0%bf%d0%be%d0%b4%d0%bd%d1%8f%d1%82%d0%be%d0%b9-%d0%be%d0%b0%d0%ba%d0%bb%d0%b8","status":"publish","type":"post","link":"https:\/\/provolotski.by\/?p=89","title":{"rendered":"\u041b\u043e\u0433 \u043f\u043e\u0434\u043d\u044f\u0442\u043e\u0439 \u043e\u0430\u043a\u043b\u0438"},"content":{"rendered":"<p>[root@odadb1 ~]# oakcli show ismaster<br \/>\nOAKD is in Master Mode<br \/>\n[root@odadb1 ~]# oakcli show repo<br \/>\nUnable to find the resource<br \/>\nOAKD has not loaded the configuration yet!<\/p>\n<p><!--more--><\/p>\n<p>[root@odadb1 ~]# oakcli restart oak<br \/>\n2017-03-28 11:40:03.520388237:[init.oak]:[Restarting the oakd..]<br \/>\n2017-03-28 11:40:03.574188305:[init.oak]:[Killing the running oakd with pid 7006]<br \/>\n2017-03-28 11:40:13.630941342:[init.oak]:[Successfully re-started the oakd..]<br \/>\n[root@odadb1 oak]# \/u01\/app\/12.1.0.2\/grid\/bin\/crsctl stat res -t -init<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br \/>\nName           Target  State        Server                   State details<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br \/>\nCluster Resources<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br \/>\nora.asm<br \/>\n      1        ONLINE  ONLINE       odadb1                   Started,STABLE<br \/>\nora.cluster_interconnect.haip<br \/>\n      1        ONLINE  ONLINE       odadb1                   STABLE<br \/>\nora.crf<br \/>\n      1        ONLINE  ONLINE       odadb1                   STABLE<br \/>\nora.crsd<br \/>\n      1        ONLINE  ONLINE       odadb1                   STABLE<br \/>\nora.cssd<br \/>\n      1        ONLINE  ONLINE       odadb1                   STABLE<br \/>\nora.cssdmonitor<br \/>\n      1        ONLINE  ONLINE       odadb1                   STABLE<br \/>\nora.ctssd<br \/>\n      1        ONLINE  ONLINE       odadb1                   OBSERVER,STABLE<br \/>\nora.diskmon<br \/>\n      1        OFFLINE OFFLINE                               STABLE<br \/>\nora.drivers.acfs<br \/>\n      1        ONLINE  ONLINE       odadb1                   STABLE<br \/>\nora.evmd<br \/>\n      1        ONLINE  ONLINE       odadb1                   STABLE<br \/>\nora.gipcd<br \/>\n      1        ONLINE  ONLINE       odadb1                   STABLE<br \/>\nora.gpnpd<br \/>\n      1        ONLINE  ONLINE       odadb1                   STABLE<br \/>\nora.mdnsd<br \/>\n      1        ONLINE  ONLINE       odadb1                   STABLE<br \/>\nora.storage<br \/>\n      1        ONLINE  ONLINE       odadb1                   STABLE<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br \/>\n[root@odadb1 oak]# df -h<br \/>\nFilesystem            Size  Used Avail Use% Mounted on<br \/>\n\/dev\/xvda2             55G   17G   36G  32% \/<br \/>\ntmpfs                 104G  1.2G  103G   2% \/dev\/shm<br \/>\n\/dev\/xvda1            460M   38M  399M   9% \/boot<br \/>\n\/dev\/xvdb1             92G   40G   48G  46% \/u01<br \/>\n\/dev\/asm\/acfsvol-127   50G   15G   36G  29% \/cloudfs<br \/>\n\/dev\/asm\/oda_em-100   200G   95G  106G  48% \/u01\/app\/sharedrepo\/oda_em<br \/>\n\/dev\/asm\/datastore-486<br \/>\n                       43G  222M   43G   1% \/u01\/app\/oracle\/oradata\/datastore<br \/>\n\/dev\/asm\/flashdata-121<br \/>\n                      306G  175G  132G  57% \/u02\/app\/oracle\/oradata\/flashdata<br \/>\n\/dev\/asm\/test_repo-100<br \/>\n                       30G   15G   16G  49% \/u01\/app\/sharedrepo\/test_repo<br \/>\n\/dev\/asm\/datastore-100<br \/>\n                      3.6T  710G  2.9T  20% \/u02\/app\/oracle\/oradata\/datastore<br \/>\n\/dev\/asm\/datastore-127<br \/>\n                      4.8T   97G  4.7T   2% \/u01\/app\/oracle\/fast_recovery_area\/datastore<br \/>\n[root@odadb1 oak]# \/sbin\/acfsutil registry -l<br \/>\nDevice : \/dev\/asm\/datastore-100 : Mount Point : \/u02\/app\/oracle\/oradata\/datastore : Options : none : Nodes : all : Disk Group : DATA : Volume : DATASTORE<br \/>\nDevice : \/dev\/asm\/oda_em-100 : Mount Point : \/u01\/app\/sharedrepo\/oda_em : Options : none : Nodes : all : Disk Group : DATA : Volume : ODA_EM<br \/>\nDevice : \/dev\/asm\/test_repo-100 : Mount Point : \/u01\/app\/sharedrepo\/test_repo : Options : none : Nodes : all : Disk Group : DATA : Volume : TEST_REPO<br \/>\nDevice : \/dev\/asm\/flashdata-121 : Mount Point : \/u02\/app\/oracle\/oradata\/flashdata : Options : none : Nodes : all : Disk Group : FLASH : Volume : FLASHDATA<br \/>\nDevice : \/dev\/asm\/acfsvol-127 : Mount Point : \/cloudfs : Options : none : Nodes : all : Disk Group : RECO : Volume : ACFSVOL<br \/>\nDevice : \/dev\/asm\/datastore-127 : Mount Point : \/u01\/app\/oracle\/fast_recovery_area\/datastore : Options : none : Nodes : all : Disk Group : RECO : Volume : DATASTORE<br \/>\nDevice : \/dev\/asm\/datastore-486 : Mount Point : \/u01\/app\/oracle\/oradata\/datastore : Options : none : Nodes : all : Disk Group : REDO : Volume : DATASTORE<br \/>\n[root@odadb1 oak]# oakcli show ismaster<br \/>\nOAKD is in Master Mode<br \/>\n[root@odadb1 oak]# oakcli show repo<\/p>\n<p>          NAME                          TYPE            NODENUM  FREE SPACE     STATE           SIZE<\/p>\n<p>          oda_em                        shared          0               N\/A     UNKNOWN         N\/A<\/p>\n<p>          oda_em                        shared          1               N\/A     UNKNOWN         N\/A<\/p>\n<p>          odarepo1                      local           0               N\/A     N\/A             N\/A<\/p>\n<p>          odarepo2                      local           1               N\/A     N\/A             N\/A<\/p>\n<p>          test_repo                     shared          0               N\/A     UNKNOWN         N\/A<\/p>\n<p>          test_repo                     shared          1               N\/A     UNKNOWN         N\/A<\/p>\n<p>[root@odadb1 oak]# oakcli start repo oda_em -node 0<\/p>\n<p>OAKERR : Resource oda_em is already ONLINE on Node 0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[root@odadb1 ~]# oakcli show ismaster OAKD is in Master Mode [root@odadb1 ~]# oakcli show repo Unable to find the resource OAKD has not loaded the configuration yet!<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[7],"class_list":["post-89","post","type-post","status-publish","format-standard","hentry","category-linux","tag-oakcli"],"_links":{"self":[{"href":"https:\/\/provolotski.by\/index.php?rest_route=\/wp\/v2\/posts\/89","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/provolotski.by\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/provolotski.by\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/provolotski.by\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/provolotski.by\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=89"}],"version-history":[{"count":0,"href":"https:\/\/provolotski.by\/index.php?rest_route=\/wp\/v2\/posts\/89\/revisions"}],"wp:attachment":[{"href":"https:\/\/provolotski.by\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=89"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/provolotski.by\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=89"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/provolotski.by\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=89"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}