{"id":2195,"date":"2012-04-25T14:29:30","date_gmt":"2012-04-25T19:29:30","guid":{"rendered":"http:\/\/appcrawler.com\/wordpress\/?p=2195"},"modified":"2012-04-25T14:56:58","modified_gmt":"2012-04-25T19:56:58","slug":"acfs-install-on-centos","status":"publish","type":"post","link":"http:\/\/appcrawler.com\/wordpress\/2012\/04\/25\/acfs-install-on-centos\/","title":{"rendered":"ACFS install on CentOS"},"content":{"rendered":"<p>I run CentOS on a test cluster, and every time I patch it with a PSU or whatever, my ACFS installation is trashed as CentOS is not officially supported.  <\/p>\n<p>To fix this, change the following section in $GRID_HOME\/lib\/osds_acfslib.pm&#8230;<\/p>\n<pre lang=\"text\">\r\n  if ((defined($release)) &&                     # Redhat or OEL if defined\r\n      (($release =~ \/^redhat-release\/) ||        # straight RH\r\n       ($release =~ \/^enterprise-release\/) ||    # Oracle Enterprise Linux\r\n       ($release =~ \/^oraclelinux-release\/)))    # Oracle Linux\r\n  {\r\n<\/pre>\n<p>&#8230;to&#8230;<\/p>\n<pre lang=\"text\">\r\n  if ((defined($release)) &&                     # Redhat or OEL if defined\r\n      (($release =~ \/^redhat-release\/) ||        # straight RH\r\n       ($release =~ \/^enterprise-release\/) ||    # Oracle Enterprise Linux\r\n       ($release =~ \/^centos-release\/) ||        # CentOS hack\r\n       ($release =~ \/^oraclelinux-release\/)))    # Oracle Linux\r\n  {\r\n<\/pre>\n<p>&#8230;then re-run the ACFS install as root and you should be good to go.<\/p>\n<pre lang=\"text\">\r\n[root@expressdb1 ~]# \/u01\/app\/11.2.0\/grid\/bin\/acfsroot install\r\nACFS-9300: ADVM\/ACFS distribution files found.\r\nACFS-9312: Existing ADVM\/ACFS installation detected.\r\nACFS-9314: Removing previous ADVM\/ACFS installation.\r\nACFS-9315: Previous ADVM\/ACFS components successfully removed.\r\nACFS-9307: Installing requested ADVM\/ACFS software.\r\nACFS-9308: Loading installed ADVM\/ACFS drivers.\r\nACFS-9321: Creating udev for ADVM\/ACFS.\r\nACFS-9323: Creating module dependencies - this may take some time.\r\nACFS-9154: Loading 'oracleoks.ko' driver.\r\nACFS-9154: Loading 'oracleadvm.ko' driver.\r\nACFS-9154: Loading 'oracleacfs.ko' driver.\r\nACFS-9327: Verifying ADVM\/ACFS devices.\r\nACFS-9156: Detecting control device '\/dev\/asm\/.asm_ctl_spec'.\r\nACFS-9156: Detecting control device '\/dev\/ofsctl'.\r\nACFS-9309: ADVM\/ACFS installation correctness verified.\r\n[root@expressdb1 ~]# exit\r\nlogout\r\nexpressdb1:oracle:+ASM1:\/u01\/app\/11.2.0\/grid\/lib# crs_start ora.registry.acfs\r\nAttempting to start `ora.registry.acfs` on member `expressdb1`\r\nStart of `ora.registry.acfs` on member `expressdb1` succeeded.\r\nexpressdb1:oracle:+ASM1:\/u01\/app\/11.2.0\/grid\/lib#\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>I run CentOS on a test cluster, and every time I patch it with a PSU or whatever, my ACFS installation is trashed as CentOS is not officially supported. To fix this, change the following section in $GRID_HOME\/lib\/osds_acfslib.pm&#8230; if ((defined($release))&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"http:\/\/appcrawler.com\/wordpress\/2012\/04\/25\/acfs-install-on-centos\/\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"footnotes":""},"categories":[19,22,32],"tags":[],"_links":{"self":[{"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/posts\/2195"}],"collection":[{"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/comments?post=2195"}],"version-history":[{"count":10,"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/posts\/2195\/revisions"}],"predecessor-version":[{"id":2205,"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/posts\/2195\/revisions\/2205"}],"wp:attachment":[{"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/media?parent=2195"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/categories?post=2195"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/tags?post=2195"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}