{"id":1417,"date":"2020-04-28T01:29:33","date_gmt":"2020-04-28T01:29:33","guid":{"rendered":"https:\/\/swiv.com.br\/oracle-grid-infrastructure-19c-standalone-installation-on-oracle-linux-7\/"},"modified":"2020-04-28T01:29:33","modified_gmt":"2020-04-28T01:29:33","slug":"oracle-grid-infrastructure-19c-standalone-installation-on-oracle-linux-7","status":"publish","type":"post","link":"https:\/\/swiv.com.br\/index.php\/2020\/04\/28\/oracle-grid-infrastructure-19c-standalone-installation-on-oracle-linux-7\/","title":{"rendered":"Oracle GRID Infrastructure 19C Standalone installation on Oracle Linux 7"},"content":{"rendered":"\n<p>Este artigo explora a instala\u00e7\u00e3o de um Oracle GRID 19C, por\u00e9m com alguns problemas (e solu\u00e7\u00f5es) no percurso. Geralmente quando fazemos o post, \u00e9 apenas evidenciando o &#8220;caminho feliz&#8221;, mas refletindo, notei que o aprendizado vem justamente quando voc\u00ea tenta reproduzir uma atividade, e enfrenta situa\u00e7\u00f5es adversas (mesmo que isso n\u00e3o fique esteticamente legal em um blog). E document\u00e1-las tamb\u00e9m \u00e9 uma forma de perpetuar o conhecimento.<\/p>\n\n\n\n<p>Criando os discos VDI no VirtualBox que ser\u00e3o usados para a cri\u00e7\u00e3o dos DGs:<\/p>\n\n\n\n<p>Adicionando uma nova controladora:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-425.png\" alt=\"\" class=\"wp-image-8269\"\/><\/figure>\n\n\n\n<p>Adicionando VDI:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-426.png\" alt=\"\" class=\"wp-image-8270\"\/><\/figure>\n\n\n\n<p>Criar:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-427.png\" alt=\"\" class=\"wp-image-8271\"\/><\/figure>\n\n\n\n<p>VDI:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-428.png\" alt=\"\" class=\"wp-image-8272\"\/><\/figure>\n\n\n\n<p>Dinamicamente alocado:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-429.png\" alt=\"\" class=\"wp-image-8273\"\/><\/figure>\n\n\n\n<p>GRID:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-430.png\" alt=\"\" class=\"wp-image-8274\"\/><\/figure>\n\n\n\n<p>Escolher:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-431.png\" alt=\"\" class=\"wp-image-8275\"\/><\/figure>\n\n\n\n<p>Eu repeti o processo para criar os seguintes discos:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-432.png\" alt=\"\" class=\"wp-image-8276\"\/><\/figure>\n\n\n\n<p>RECO:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-433.png\" alt=\"\" class=\"wp-image-8278\"\/><\/figure>\n\n\n\n<p>DATA:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-434.png\" alt=\"\" class=\"wp-image-8279\"\/><\/figure>\n\n\n\n<p>Discos:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-435.png\" alt=\"\" class=\"wp-image-8280\"\/><\/figure>\n\n\n\n<p>Ap\u00f3s ligar a VM, vou realizar uma configura\u00e7\u00e3o de rede para IP est\u00e1tico:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-436.png\" alt=\"\" class=\"wp-image-8281\"\/><\/figure>\n\n\n\n<p>Selecionar &#8220;Network&#8221; e ir em configura\u00e7\u00f5es:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-437.png\" alt=\"\" class=\"wp-image-8282\"\/><\/figure>\n\n\n\n<p>Realizar a mudan\u00e7a para o M\u00e9todo Manual, e incluir as informa\u00e7\u00f5es nos campos Addres, Netmask e Gateway:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-438.png\" alt=\"\" class=\"wp-image-8283\"\/><\/figure>\n\n\n\n<p>Ap\u00f3s isso, realizar o reboot da m\u00e1quina. Na sequ\u00eancia, j\u00e1 \u00e9 poss\u00edvel validar que o IP est\u00e1 sendo utilizado:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-439.png\" alt=\"\" class=\"wp-image-8284\"\/><\/figure>\n\n\n\n<p>Editando o \/etc\/hosts com o novo IP e realizando o teste de ping:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-440.png\" alt=\"\" class=\"wp-image-8285\"\/><\/figure>\n\n\n\n<p>Nesse ponto, eu tentei j\u00e1 iniciar a instala\u00e7\u00f5es dos pacotes de S.O, mas me deparei com este erro:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;root@oel7 ~]# yum install -y oracle-database-preinstall-19c\nLoaded plugins: langpacks, ulninfo\nhttps:\/\/yum.oracle.com\/repo\/OracleLinux\/OL7\/UEKR5\/x86_64\/repodata\/repomd.xml: &#x5B;Errno 14] curl#6 - &quot;Could not resolve host: yum.oracle.com; Unknown error&quot;\nTrying other mirror.\nhttps:\/\/yum.oracle.com\/repo\/OracleLinux\/OL7\/latest\/x86_64\/repodata\/repomd.xml: &#x5B;Errno 14] curl#6 - &quot;Could not resolve host: yum.oracle.com; Unknown error&quot;\nTrying other mirror.\nResolving Dependencies\n--&gt; Running transaction check\n---&gt; Package oracle-database-preinstall-19c.x86_64 0:1.0-2.el7 will be installed\n--&gt; Processing Dependency: compat-libcap1 for package: oracle-database-preinstall-19c-1.0-2.el7.x86_64\n--&gt; Processing Dependency: ksh for package: oracle-database-preinstall-19c-1.0-2.el7.x86_64\n--&gt; Processing Dependency: libaio-devel for package: oracle-database-preinstall-19c-1.0-2.el7.x86_64\n--&gt; Processing Dependency: glibc-devel for package: oracle-database-preinstall-19c-1.0-2.el7.x86_64\n--&gt; Processing Dependency: libstdc++-devel for package: oracle-database-preinstall-19c-1.0-2.el7.x86_64\n--&gt; Running transaction check\n---&gt; Package compat-libcap1.x86_64 0:1.10-7.el7 will be installed\n---&gt; Package glibc-devel.x86_64 0:2.17-307.0.1.el7.1 will be installed\n--&gt; Processing Dependency: glibc-headers = 2.17-307.0.1.el7.1 for package: glibc-devel-2.17-307.0.1.el7.1.x86_64\n--&gt; Processing Dependency: glibc = 2.17-307.0.1.el7.1 for package: glibc-devel-2.17-307.0.1.el7.1.x86_64\n--&gt; Processing Dependency: glibc-headers for package: glibc-devel-2.17-307.0.1.el7.1.x86_64\n---&gt; Package ksh.x86_64 0:20120801-142.0.1.el7 will be installed\n---&gt; Package libaio-devel.x86_64 0:0.3.109-13.el7 will be installed\n---&gt; Package libstdc++-devel.x86_64 0:4.8.5-39.0.3.el7 will be installed\n--&gt; Processing Dependency: libstdc++(x86-64) = 4.8.5-39.0.3.el7 for package: libstdc++-devel-4.8.5-39.0.3.el7.x86_64\n--&gt; Running transaction check\n---&gt; Package glibc.x86_64 0:2.17-292.0.1.el7 will be updated\n--&gt; Processing Dependency: glibc = 2.17-292.0.1.el7 for package: glibc-common-2.17-292.0.1.el7.x86_64\n---&gt; Package glibc.x86_64 0:2.17-307.0.1.el7.1 will be an update\n---&gt; Package glibc-headers.x86_64 0:2.17-307.0.1.el7.1 will be installed\n--&gt; Processing Dependency: kernel-headers &gt;= 2.2.1 for package: glibc-headers-2.17-307.0.1.el7.1.x86_64\n--&gt; Processing Dependency: kernel-headers for package: glibc-headers-2.17-307.0.1.el7.1.x86_64\n---&gt; Package libstdc++.x86_64 0:4.8.5-39.0.1.el7 will be updated\n---&gt; Package libstdc++.x86_64 0:4.8.5-39.0.3.el7 will be an update\n--&gt; Running transaction check\n---&gt; Package glibc-common.x86_64 0:2.17-292.0.1.el7 will be updated\n---&gt; Package glibc-common.x86_64 0:2.17-307.0.1.el7.1 will be an update\n---&gt; Package kernel-headers.x86_64 0:3.10.0-1127.el7 will be installed\n--&gt; Finished Dependency Resolution\n \nDependencies Resolved\n \n========================================================================================================================================================================\n Package                                              Arch                         Version                                       Repository                        Size\n========================================================================================================================================================================\nInstalling:\n oracle-database-preinstall-19c                       x86_64                       1.0-2.el7                                     ol7_latest                        19 k\nInstalling for dependencies:\n compat-libcap1                                       x86_64                       1.10-7.el7                                    ol7_latest                        17 k\n glibc-devel                                          x86_64                       2.17-307.0.1.el7.1                            ol7_latest                       1.1 M\n glibc-headers                                        x86_64                       2.17-307.0.1.el7.1                            ol7_latest                       691 k\n kernel-headers                                       x86_64                       3.10.0-1127.el7                               ol7_latest                       8.9 M\n ksh                                                  x86_64                       20120801-142.0.1.el7                          ol7_latest                       882 k\n libaio-devel                                         x86_64                       0.3.109-13.el7                                ol7_latest                        12 k\n libstdc++-devel                                      x86_64                       4.8.5-39.0.3.el7                              ol7_latest                       1.5 M\nUpdating for dependencies:\n glibc                                                x86_64                       2.17-307.0.1.el7.1                            ol7_latest                       3.6 M\n glibc-common                                         x86_64                       2.17-307.0.1.el7.1                            ol7_latest                        12 M\n libstdc++                                            x86_64                       4.8.5-39.0.3.el7                              ol7_latest                       306 k\n \nTransaction Summary\n========================================================================================================================================================================\nInstall  1 Package  (+7 Dependent packages)\nUpgrade             ( 3 Dependent packages)\n \nTotal download size: 29 M\nDownloading packages:\nNo Presto metadata available for ol7_latest\nglibc-2.17-307.0.1.el7.1.x86_6 FAILED\nhttps:\/\/yum.oracle.com\/repo\/OracleLinux\/OL7\/latest\/x86_64\/getPackage\/glibc-2.17-307.0.1.el7.1.x86_64.rpm: &#x5B;Errno 14] curl#6 - &quot;Could not resolve host: yum.oracle.com; Unknown error&quot;\nTrying other mirror.\ncompat-libcap1-1.10-7.el7.x86_ FAILED\nhttps:\/\/yum.oracle.com\/repo\/OracleLinux\/OL7\/latest\/x86_64\/getPackage\/compat-libcap1-1.10-7.el7.x86_64.rpm: &#x5B;Errno 14] curl#6 - &quot;Could not resolve host: yum.oracle.com; Unknown error&quot;\nTrying other mirror.\nglibc-common-2.17-307.0.1.el7. FAILED\nhttps:\/\/yum.oracle.com\/repo\/OracleLinux\/OL7\/latest\/x86_64\/getPackage\/glibc-common-2.17-307.0.1.el7.1.x86_64.rpm: &#x5B;Errno 14] curl#6 - &quot;Could not resolve host: yum.oracle.com; Unknown error&quot;\nTrying other mirror.\nglibc-devel-2.17-307.0.1.el7.1 FAILED\nhttps:\/\/yum.oracle.com\/repo\/OracleLinux\/OL7\/latest\/x86_64\/getPackage\/glibc-devel-2.17-307.0.1.el7.1.x86_64.rpm: &#x5B;Errno 14] curl#6 - &quot;Could not resolve host: yum.oracle.com; Unknown error&quot;\nTrying other mirror.\nglibc-headers-2.17-307.0.1.el7 FAILED\nhttps:\/\/yum.oracle.com\/repo\/OracleLinux\/OL7\/latest\/x86_64\/getPackage\/glibc-headers-2.17-307.0.1.el7.1.x86_64.rpm: &#x5B;Errno 14] curl#6 - &quot;Could not resolve host: yum.oracle.com; Unknown error&quot;\nTrying other mirror.\nkernel-headers-3.10.0-1127.el7 FAILED\nhttps:\/\/yum.oracle.com\/repo\/OracleLinux\/OL7\/latest\/x86_64\/getPackage\/kernel-headers-3.10.0-1127.el7.x86_64.rpm: &#x5B;Errno 14] curl#6 - &quot;Could not resolve host: yum.oracle.com; Unknown error&quot;\nTrying other mirror.\nksh-20120801-142.0.1.el7.x86_6 FAILED\nhttps:\/\/yum.oracle.com\/repo\/OracleLinux\/OL7\/latest\/x86_64\/getPackage\/ksh-20120801-142.0.1.el7.x86_64.rpm: &#x5B;Errno 14] curl#6 - &quot;Could not resolve host: yum.oracle.com; Unknown error&quot;\nTrying other mirror.\nlibaio-devel-0.3.109-13.el7.x8 FAILED\nhttps:\/\/yum.oracle.com\/repo\/OracleLinux\/OL7\/latest\/x86_64\/getPackage\/libaio-devel-0.3.109-13.el7.x86_64.rpm: &#x5B;Errno 14] curl#6 - &quot;Could not resolve host: yum.oracle.com; Unknown error&quot;\nTrying other mirror.\nlibstdc++-4.8.5-39.0.3.el7.x86 FAILED\nhttps:\/\/yum.oracle.com\/repo\/OracleLinux\/OL7\/latest\/x86_64\/getPackage\/libstdc%2B%2B-4.8.5-39.0.3.el7.x86_64.rpm: &#x5B;Errno 14] curl#6 - &quot;Could not resolve host: yum.oracle.com; Unknown error&quot;\nTrying other mirror.\nlibstdc++-devel-4.8.5-39.0.3.e FAILED\nhttps:\/\/yum.oracle.com\/repo\/OracleLinux\/OL7\/latest\/x86_64\/getPackage\/libstdc%2B%2B-devel-4.8.5-39.0.3.el7.x86_64.rpm: &#x5B;Errno 14] curl#6 - &quot;Could not resolve host: yum.oracle.com; Unknown error&quot;\nTrying other mirror.\noracle-database-preinstall-19c FAILED\nhttps:\/\/yum.oracle.com\/repo\/OracleLinux\/OL7\/latest\/x86_64\/getPackage\/oracle-database-preinstall-19c-1.0-2.el7.x86_64.rpm: &#x5B;Errno 14] curl#6 - &quot;Could not resolve host: yum.oracle.com; Unknown error&quot;\nTrying other mirror.\n \n \nError downloading packages:\n  glibc-devel-2.17-307.0.1.el7.1.x86_64: &#x5B;Errno 256] No more mirrors to try.\n  compat-libcap1-1.10-7.el7.x86_64: &#x5B;Errno 256] No more mirrors to try.\n  glibc-common-2.17-307.0.1.el7.1.x86_64: &#x5B;Errno 256] No more mirrors to try.\n  libstdc++-devel-4.8.5-39.0.3.el7.x86_64: &#x5B;Errno 256] No more mirrors to try.\n  libstdc++-4.8.5-39.0.3.el7.x86_64: &#x5B;Errno 256] No more mirrors to try.\n  ksh-20120801-142.0.1.el7.x86_64: &#x5B;Errno 256] No more mirrors to try.\n  libaio-devel-0.3.109-13.el7.x86_64: &#x5B;Errno 256] No more mirrors to try.\n  oracle-database-preinstall-19c-1.0-2.el7.x86_64: &#x5B;Errno 256] No more mirrors to try.\n  kernel-headers-3.10.0-1127.el7.x86_64: &#x5B;Errno 256] No more mirrors to try.\n  glibc-headers-2.17-307.0.1.el7.1.x86_64: &#x5B;Errno 256] No more mirrors to try.\n  glibc-2.17-307.0.1.el7.1.x86_64: &#x5B;Errno 256] No more mirrors to try.\n \n&#x5B;root@oel7 ~]#\n<\/pre><\/div>\n\n\n<p>Para resolver:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;root@oel7 ~]# dhclient\n&#x5B;root@oel7 ~]#\n<\/pre><\/div>\n\n\n<p>Pacote Instalado:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;root@oel7 ~]# yum install -y oracle-database-preinstall-19c\nLoaded plugins: langpacks, ulninfo\nol7_UEKR5                                                                                                                                        | 2.5 kB  00:00:00\nol7_latest                                                                                                                                       | 2.7 kB  00:00:00\n(1\/2): ol7_latest\/x86_64\/updateinfo                                                                                                              | 2.8 MB  00:00:04\n(2\/2): ol7_latest\/x86_64\/primary_db                                                                                                              |  31 MB  00:00:22\nResolving Dependencies\n--&gt; Running transaction check\n---&gt; Package oracle-database-preinstall-19c.x86_64 0:1.0-2.el7 will be installed\n--&gt; Processing Dependency: compat-libcap1 for package: oracle-database-preinstall-19c-1.0-2.el7.x86_64\n--&gt; Processing Dependency: ksh for package: oracle-database-preinstall-19c-1.0-2.el7.x86_64\n--&gt; Processing Dependency: libaio-devel for package: oracle-database-preinstall-19c-1.0-2.el7.x86_64\n--&gt; Processing Dependency: glibc-devel for package: oracle-database-preinstall-19c-1.0-2.el7.x86_64\n--&gt; Processing Dependency: libstdc++-devel for package: oracle-database-preinstall-19c-1.0-2.el7.x86_64\n--&gt; Running transaction check\n---&gt; Package compat-libcap1.x86_64 0:1.10-7.el7 will be installed\n---&gt; Package glibc-devel.x86_64 0:2.17-307.0.1.el7.1 will be installed\n--&gt; Processing Dependency: glibc-headers = 2.17-307.0.1.el7.1 for package: glibc-devel-2.17-307.0.1.el7.1.x86_64\n--&gt; Processing Dependency: glibc = 2.17-307.0.1.el7.1 for package: glibc-devel-2.17-307.0.1.el7.1.x86_64\n--&gt; Processing Dependency: glibc-headers for package: glibc-devel-2.17-307.0.1.el7.1.x86_64\n---&gt; Package ksh.x86_64 0:20120801-142.0.1.el7 will be installed\n---&gt; Package libaio-devel.x86_64 0:0.3.109-13.el7 will be installed\n---&gt; Package libstdc++-devel.x86_64 0:4.8.5-39.0.3.el7 will be installed\n--&gt; Processing Dependency: libstdc++(x86-64) = 4.8.5-39.0.3.el7 for package: libstdc++-devel-4.8.5-39.0.3.el7.x86_64\n--&gt; Running transaction check\n---&gt; Package glibc.x86_64 0:2.17-292.0.1.el7 will be updated\n--&gt; Processing Dependency: glibc = 2.17-292.0.1.el7 for package: glibc-common-2.17-292.0.1.el7.x86_64\n---&gt; Package glibc.x86_64 0:2.17-307.0.1.el7.1 will be an update\n---&gt; Package glibc-headers.x86_64 0:2.17-307.0.1.el7.1 will be installed\n--&gt; Processing Dependency: kernel-headers &gt;= 2.2.1 for package: glibc-headers-2.17-307.0.1.el7.1.x86_64\n--&gt; Processing Dependency: kernel-headers for package: glibc-headers-2.17-307.0.1.el7.1.x86_64\n---&gt; Package libstdc++.x86_64 0:4.8.5-39.0.1.el7 will be updated\n---&gt; Package libstdc++.x86_64 0:4.8.5-39.0.3.el7 will be an update\n--&gt; Running transaction check\n---&gt; Package glibc-common.x86_64 0:2.17-292.0.1.el7 will be updated\n---&gt; Package glibc-common.x86_64 0:2.17-307.0.1.el7.1 will be an update\n---&gt; Package kernel-headers.x86_64 0:3.10.0-1127.el7 will be installed\n--&gt; Finished Dependency Resolution\n \nDependencies Resolved\n \n========================================================================================================================================================================\n Package                                              Arch                         Version                                       Repository                        Size\n========================================================================================================================================================================\nInstalling:\n oracle-database-preinstall-19c                       x86_64                       1.0-2.el7                                     ol7_latest                        19 k\nInstalling for dependencies:\n compat-libcap1                                       x86_64                       1.10-7.el7                                    ol7_latest                        17 k\n glibc-devel                                          x86_64                       2.17-307.0.1.el7.1                            ol7_latest                       1.1 M\n glibc-headers                                        x86_64                       2.17-307.0.1.el7.1                            ol7_latest                       691 k\n kernel-headers                                       x86_64                       3.10.0-1127.el7                               ol7_latest                       8.9 M\n ksh                                                  x86_64                       20120801-142.0.1.el7                          ol7_latest                       882 k\n libaio-devel                                         x86_64                       0.3.109-13.el7                                ol7_latest                        12 k\n libstdc++-devel                                      x86_64                       4.8.5-39.0.3.el7                              ol7_latest                       1.5 M\nUpdating for dependencies:\n glibc                                                x86_64                       2.17-307.0.1.el7.1                            ol7_latest                       3.6 M\n glibc-common                                         x86_64                       2.17-307.0.1.el7.1                            ol7_latest                        12 M\n libstdc++                                            x86_64                       4.8.5-39.0.3.el7                              ol7_latest                       306 k\n \nTransaction Summary\n========================================================================================================================================================================\nInstall  1 Package  (+7 Dependent packages)\nUpgrade             ( 3 Dependent packages)\n \nTotal download size: 29 M\nDownloading packages:\nNo Presto metadata available for ol7_latest\nwarning: \/var\/cache\/yum\/x86_64\/7Server\/ol7_latest\/packages\/compat-libcap1-1.10-7.el7.x86_64.rpm: Header V3 RSA\/SHA256 Signature, key ID ec551f03: NOKEY B  --:--:-- ETA\nPublic key for compat-libcap1-1.10-7.el7.x86_64.rpm is not installed\n(1\/11): compat-libcap1-1.10-7.el7.x86_64.rpm                                                                                                     |  17 kB  00:00:00\n(2\/11): glibc-2.17-307.0.1.el7.1.x86_64.rpm                                                                                                      | 3.6 MB  00:00:04\n(3\/11): glibc-devel-2.17-307.0.1.el7.1.x86_64.rpm                                                                                                | 1.1 MB  00:00:01\n(4\/11): glibc-headers-2.17-307.0.1.el7.1.x86_64.rpm                                                                                              | 691 kB  00:00:00\n(5\/11): kernel-headers-3.10.0-1127.el7.x86_64.rpm                                                                                                | 8.9 MB  00:00:10\n(6\/11): ksh-20120801-142.0.1.el7.x86_64.rpm                                                                                                      | 882 kB  00:00:00\n(7\/11): libaio-devel-0.3.109-13.el7.x86_64.rpm                                                                                                   |  12 kB  00:00:00\n(8\/11): libstdc++-4.8.5-39.0.3.el7.x86_64.rpm                                                                                                    | 306 kB  00:00:00\n(9\/11): glibc-common-2.17-307.0.1.el7.1.x86_64.rpm                                                                                               |  12 MB  00:00:19\n(10\/11): oracle-database-preinstall-19c-1.0-2.el7.x86_64.rpm                                                                                     |  19 kB  00:00:00\n(11\/11): libstdc++-devel-4.8.5-39.0.3.el7.x86_64.rpm                                                                                             | 1.5 MB  00:00:01\n------------------------------------------------------------------------------------------------------------------------------------------------------------------------\nTotal                                                                                                                                   1.4 MB\/s |  29 MB  00:00:20\nRetrieving key from file:\/\/\/etc\/pki\/rpm-gpg\/RPM-GPG-KEY-oracle\nImporting GPG key 0xEC551F03:\n Userid     : &quot;Oracle OSS group (Open Source Software group) &amp;lt;build@oss.oracle.com&gt;&quot;\n Fingerprint: 4214 4123 fecf c55b 9086 313d 72f9 7b74 ec55 1f03\n Package    : 7:oraclelinux-release-7.7-1.0.5.el7.x86_64 (@anaconda\/7.7)\n From       : \/etc\/pki\/rpm-gpg\/RPM-GPG-KEY-oracle\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n  Updating   : glibc-common-2.17-307.0.1.el7.1.x86_64                                                                                                              1\/14\n  Updating   : glibc-2.17-307.0.1.el7.1.x86_64                                                                                                                     2\/14\n  Updating   : libstdc++-4.8.5-39.0.3.el7.x86_64                                                                                                                   3\/14\n  Installing : libstdc++-devel-4.8.5-39.0.3.el7.x86_64                                                                                                             4\/14\n  Installing : ksh-20120801-142.0.1.el7.x86_64                                                                                                                     5\/14\n  Installing : compat-libcap1-1.10-7.el7.x86_64                                                                                                                    6\/14\n  Installing : kernel-headers-3.10.0-1127.el7.x86_64                                                                                                               7\/14\n  Installing : glibc-headers-2.17-307.0.1.el7.1.x86_64                                                                                                             8\/14\n  Installing : glibc-devel-2.17-307.0.1.el7.1.x86_64                                                                                                               9\/14\n  Installing : libaio-devel-0.3.109-13.el7.x86_64                                                                                                                 10\/14\n  Installing : oracle-database-preinstall-19c-1.0-2.el7.x86_64                                                                                                    11\/14\n  Cleanup    : libstdc++-4.8.5-39.0.1.el7.x86_64                                                                                                                  12\/14\n  Cleanup    : glibc-common-2.17-292.0.1.el7.x86_64                                                                                                               13\/14\n  Cleanup    : glibc-2.17-292.0.1.el7.x86_64                                                                                                                      14\/14\n  Verifying  : glibc-2.17-307.0.1.el7.1.x86_64                                                                                                                     1\/14\n  Verifying  : libstdc++-4.8.5-39.0.3.el7.x86_64                                                                                                                   2\/14\n  Verifying  : glibc-common-2.17-307.0.1.el7.1.x86_64                                                                                                              3\/14\n  Verifying  : ksh-20120801-142.0.1.el7.x86_64                                                                                                                     4\/14\n  Verifying  : libstdc++-devel-4.8.5-39.0.3.el7.x86_64                                                                                                             5\/14\n  Verifying  : compat-libcap1-1.10-7.el7.x86_64                                                                                                                    6\/14\n  Verifying  : libaio-devel-0.3.109-13.el7.x86_64                                                                                                                  7\/14\n  Verifying  : glibc-devel-2.17-307.0.1.el7.1.x86_64                                                                                                               8\/14\n  Verifying  : glibc-headers-2.17-307.0.1.el7.1.x86_64                                                                                                             9\/14\n  Verifying  : kernel-headers-3.10.0-1127.el7.x86_64                                                                                                              10\/14\n  Verifying  : oracle-database-preinstall-19c-1.0-2.el7.x86_64                                                                                                    11\/14\n  Verifying  : glibc-common-2.17-292.0.1.el7.x86_64                                                                                                               12\/14\n  Verifying  : glibc-2.17-292.0.1.el7.x86_64                                                                                                                      13\/14\n  Verifying  : libstdc++-4.8.5-39.0.1.el7.x86_64                                                                                                                  14\/14\n \nInstalled:\n  oracle-database-preinstall-19c.x86_64 0:1.0-2.el7\n \nDependency Installed:\n  compat-libcap1.x86_64 0:1.10-7.el7   glibc-devel.x86_64 0:2.17-307.0.1.el7.1   glibc-headers.x86_64 0:2.17-307.0.1.el7.1   kernel-headers.x86_64 0:3.10.0-1127.el7\n  ksh.x86_64 0:20120801-142.0.1.el7    libaio-devel.x86_64 0:0.3.109-13.el7      libstdc++-devel.x86_64 0:4.8.5-39.0.3.el7\n \nDependency Updated:\n  glibc.x86_64 0:2.17-307.0.1.el7.1                   glibc-common.x86_64 0:2.17-307.0.1.el7.1                   libstdc++.x86_64 0:4.8.5-39.0.3.el7\n \nComplete!\n&#x5B;root@oel7 ~]#\n<\/pre><\/div>\n\n\n<p>Adicionando grupo asmadmin,asmoper e asmdba e usu\u00e1rio grid:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;root@oel7 ~]# groupadd -g 54327 asmdba\n&#x5B;root@oel7 ~]# groupadd -g 54328 asmoper\n&#x5B;root@oel7 ~]# groupadd -g 54329 asmadmin\n&#x5B;root@oel7 ~]# useradd -u 54322 -g oinstall -G asmadmin,asmdba,asmoper grid\n&#x5B;root@oel7 ~]# passwd grid\nChanging password for user grid.\nNew password:\nBAD PASSWORD: The password is shorter than 8 characters\nRetype new password:\npasswd: all authentication tokens updated successfully.\n&#x5B;root@oel7 ~]\n<\/pre><\/div>\n\n\n<p>Instalando pacote do oracleasm:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;root@oel7 ~]# rpm -qa | grep oracleasm\n&#x5B;root@oel7 ~]# yum install -y oracleasm-support.x86_64\nLoaded plugins: langpacks, ulninfo\nResolving Dependencies\n--&gt; Running transaction check\n---&gt; Package oracleasm-support.x86_64 0:2.1.11-2.el7 will be installed\n--&gt; Finished Dependency Resolution\n \nDependencies Resolved\n \n========================================================================================================================================================================\n Package                                       Arch                               Version                                  Repository                              Size\n========================================================================================================================================================================\nInstalling:\n oracleasm-support                             x86_64                             2.1.11-2.el7                             ol7_latest                              85 k\n \nTransaction Summary\n========================================================================================================================================================================\nInstall  1 Package\n \nTotal download size: 85 k\nInstalled size: 266 k\nDownloading packages:\noracleasm-support-2.1.11-2.el7.x86_64.rpm                                                                                                        |  85 kB  00:00:00\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n  Installing : oracleasm-support-2.1.11-2.el7.x86_64                                                                                                                1\/1\nNote: Forwarding request to &#039;systemctl enable oracleasm.service&#039;.\nCreated symlink from \/etc\/systemd\/system\/multi-user.target.wants\/oracleasm.service to \/usr\/lib\/systemd\/system\/oracleasm.service.\n  Verifying  : oracleasm-support-2.1.11-2.el7.x86_64                                                                                                                1\/1\n \nInstalled:\n  oracleasm-support.x86_64 0:2.1.11-2.el7\n \nComplete!\n&#x5B;root@oel7 ~]#\n<\/pre><\/div>\n\n\n<p>Pr\u00f3ximo pacote:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;root@oel7 ~]# yum install kmod-oracleasm\nLoaded plugins: langpacks, ulninfo\nResolving Dependencies\n--&gt; Running transaction check\n---&gt; Package kmod-oracleasm.x86_64 0:2.0.8-27.0.1.el7 will be installed\n--&gt; Processing Dependency: kernel &gt;= 3.10.0-1082.el7 for package: kmod-oracleasm-2.0.8-27.0.1.el7.x86_64\n--&gt; Running transaction check\n---&gt; Package kernel.x86_64 0:3.10.0-1127.el7 will be installed\n--&gt; Finished Dependency Resolution\n \nDependencies Resolved\n \n========================================================================================================================================================================\n Package                                   Arch                              Version                                        Repository                             Size\n========================================================================================================================================================================\nInstalling:\n kernel                                    x86_64                            3.10.0-1127.el7                                ol7_latest                             50 M\n kmod-oracleasm                            x86_64                            2.0.8-27.0.1.el7                               ol7_latest                            298 k\n \nTransaction Summary\n========================================================================================================================================================================\nInstall  2 Packages\n \nTotal download size: 50 M\nInstalled size: 66 M\nIs this ok &#x5B;y\/d\/N]: y\nDownloading packages:\nNo Presto metadata available for ol7_latest\n(1\/2): kmod-oracleasm-2.0.8-27.0.1.el7.x86_64.rpm                                                                                                | 298 kB  00:00:00\n(2\/2): kernel-3.10.0-1127.el7.x86_64.rpm                                                                                                         |  50 MB  00:00:31\n------------------------------------------------------------------------------------------------------------------------------------------------------------------------\nTotal                                                                                                                                   1.6 MB\/s |  50 MB  00:00:31\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n  Installing : kernel-3.10.0-1127.el7.x86_64                                                                                                                        1\/2\n  Installing : kmod-oracleasm-2.0.8-27.0.1.el7.x86_64                                                                                                               2\/2\n \n  Verifying  : kernel-3.10.0-1127.el7.x86_64                                                                                                                        1\/2\n  Verifying  : kmod-oracleasm-2.0.8-27.0.1.el7.x86_64                                                                                                               2\/2\n \nInstalled:\n  kernel.x86_64 0:3.10.0-1127.el7                                                kmod-oracleasm.x86_64 0:2.0.8-27.0.1.el7\n \nComplete!\n&#x5B;root@oel7 ~]#\n<\/pre><\/div>\n\n\n<p>Configurando o ASM:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;root@oel7 ~]# oracleasm configure -i\nConfiguring the Oracle ASM library driver.\n \nThis will configure the on-boot properties of the Oracle ASM library\ndriver.  The following questions will determine whether the driver is\nloaded on boot and what permissions it will have.  The current values\nwill be shown in brackets (&#039;&#x5B;]&#039;).  Hitting &amp;lt;ENTER&gt; without typing an\nanswer will keep that current value.  Ctrl-C will abort.\n \nDefault user to own the driver interface &#x5B;grid]: grid\nDefault group to own the driver interface &#x5B;dba]: asmadmin\nStart Oracle ASM library driver on boot (y\/n) &#x5B;y]: y\nScan for Oracle ASM disks on boot (y\/n) &#x5B;y]: y\nWriting Oracle ASM library driver configuration: done\n&#x5B;root@oel7 ~]#\n<\/pre><\/div>\n\n\n<p>Carrengando:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;root@oel7 ~]# \/usr\/sbin\/oracleasm init\nCreating \/dev\/oracleasm mount point: \/dev\/oracleasm\nLoading module &quot;oracleasm&quot;: oracleasm\nConfiguring &quot;oracleasm&quot; to use device physical block size\nMounting ASMlib driver filesystem: \/dev\/oracleasm\n&#x5B;root@oel7 ~]#\n<\/pre><\/div>\n\n\n<p>Consultando o status:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;root@oel7 ~]# oracleasm status\nChecking if ASM is loaded: yes\nChecking if \/dev\/oracleasm is mounted: yes\n&#x5B;root@oel7 ~]#\n<\/pre><\/div>\n\n\n<p>Consultando discos:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;root@oel7 ~]#  fdisk -l | grep &quot;Disk \/dev\/sd&quot;\nDisk \/dev\/sda: 12.9 GB, 12884901888 bytes, 25165824 sectors\nDisk \/dev\/sdb: 10.7 GB, 10737418240 bytes, 20971520 sectors\nDisk \/dev\/sdc: 21.5 GB, 21474836480 bytes, 41943040 sectors\nDisk \/dev\/sdd: 10.7 GB, 10737418240 bytes, 20971520 sectors\nDisk \/dev\/sde: 32.2 GB, 32212254720 bytes, 62914560 sectors\n&#x5B;root@oel7 ~]#\n<\/pre><\/div>\n\n\n<p>Criando parti\u00e7\u00f5es:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;root@oel7 ~]# fdisk \/dev\/sdb\nWelcome to fdisk (util-linux 2.23.2).\n \nChanges will remain in memory only, until you decide to write them.\nBe careful before using the write command.\n \nDevice does not contain a recognized partition table\nBuilding a new DOS disklabel with disk identifier 0x8afab776.\n \nCommand (m for help): n\nPartition type:\n   p   primary (0 primary, 0 extended, 4 free)\n   e   extended\nSelect (default p): p\nPartition number (1-4, default 1): 1\nFirst sector (2048-20971519, default 2048):\nUsing default value 2048\nLast sector, +sectors or +size{K,M,G} (2048-20971519, default 20971519):\nUsing default value 20971519\nPartition 1 of type Linux and of size 10 GiB is set\n \nCommand (m for help): w\nThe partition table has been altered!\n \nCalling ioctl() to re-read partition table.\nSyncing disks.\n&#x5B;root@oel7 ~]#\n \n&#x5B;root@oel7 ~]# fdisk \/dev\/sdc\nWelcome to fdisk (util-linux 2.23.2).\n \nChanges will remain in memory only, until you decide to write them.\nBe careful before using the write command.\n \nDevice does not contain a recognized partition table\nBuilding a new DOS disklabel with disk identifier 0x0c4f9e34.\n \nCommand (m for help): n\nPartition type:\n   p   primary (0 primary, 0 extended, 4 free)\n   e   extended\nSelect (default p): p\nPartition number (1-4, default 1): 1\nFirst sector (2048-41943039, default 2048):\nUsing default value 2048\nLast sector, +sectors or +size{K,M,G} (2048-41943039, default 41943039):\nUsing default value 41943039\nPartition 1 of type Linux and of size 20 GiB is set\n \nCommand (m for help): w\nThe partition table has been altered!\n \nCalling ioctl() to re-read partition table.\nSyncing disks.\n&#x5B;root@oel7 ~]#\n \n&#x5B;root@oel7 ~]# fdisk \/dev\/sdd\nWelcome to fdisk (util-linux 2.23.2).\n \nChanges will remain in memory only, until you decide to write them.\nBe careful before using the write command.\n \nDevice does not contain a recognized partition table\nBuilding a new DOS disklabel with disk identifier 0x89221df6.\n \nCommand (m for help): n\nPartition type:\n   p   primary (0 primary, 0 extended, 4 free)\n   e   extended\nSelect (default p): p\nPartition number (1-4, default 1): 1\nFirst sector (2048-20971519, default 2048):\nUsing default value 2048\nLast sector, +sectors or +size{K,M,G} (2048-20971519, default 20971519):\nUsing default value 20971519\nPartition 1 of type Linux and of size 10 GiB is set\n \nCommand (m for help): w\nThe partition table has been altered!\n \nCalling ioctl() to re-read partition table.\nSyncing disks.\n&#x5B;root@oel7 ~]#\n \n&#x5B;root@oel7 ~]# fdisk \/dev\/sde\nWelcome to fdisk (util-linux 2.23.2).\n \nChanges will remain in memory only, until you decide to write them.\nBe careful before using the write command.\n \nDevice does not contain a recognized partition table\nBuilding a new DOS disklabel with disk identifier 0xe8e74fb0.\n \nCommand (m for help): n\nPartition type:\n   p   primary (0 primary, 0 extended, 4 free)\n   e   extended\nSelect (default p): p\nPartition number (1-4, default 1): 1\nFirst sector (2048-62914559, default 2048):\nUsing default value 2048\nLast sector, +sectors or +size{K,M,G} (2048-62914559, default 62914559):\nUsing default value 62914559\nPartition 1 of type Linux and of size 30 GiB is set\n \nCommand (m for help): w\nThe partition table has been altered!\n \nCalling ioctl() to re-read partition table.\nSyncing disks.\n&#x5B;root@oel7 ~]#\n<\/pre><\/div>\n\n\n<p>Confirmando a cria\u00e7\u00e3o:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;root@oel7 ~]# fdisk -l | grep &quot;\/dev\/s&quot;\nDisk \/dev\/sda: 12.9 GB, 12884901888 bytes, 25165824 sectors\n\/dev\/sda1   *        2048     2099199     1048576   83  Linux\n\/dev\/sda2         2099200    25165823    11533312   8e  Linux LVM\nDisk \/dev\/sdb: 10.7 GB, 10737418240 bytes, 20971520 sectors\n\/dev\/sdb1            2048    20971519    10484736   83  Linux\nDisk \/dev\/sdc: 21.5 GB, 21474836480 bytes, 41943040 sectors\n\/dev\/sdc1            2048    41943039    20970496   83  Linux\nDisk \/dev\/sdd: 10.7 GB, 10737418240 bytes, 20971520 sectors\n\/dev\/sdd1            2048    20971519    10484736   83  Linux\nDisk \/dev\/sde: 32.2 GB, 32212254720 bytes, 62914560 sectors\n\/dev\/sde1            2048    62914559    31456256   83  Linux\n&#x5B;root@oel7 ~]#\n<\/pre><\/div>\n\n\n<p>Criando os discos no oracleasm:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;root@oel7 ~]# oracleasm createdisk GRID01 \/dev\/sdb1\nWriting disk header: done\nInstantiating disk: done\n&#x5B;root@oel7 ~]# oracleasm createdisk FRA01 \/dev\/sdc1\nWriting disk header: done\nInstantiating disk: done\n&#x5B;root@oel7 ~]# oracleasm createdisk RECO01 \/dev\/sdd1\nWriting disk header: done\nInstantiating disk: done\n&#x5B;root@oel7 ~]# oracleasm createdisk DATA01 \/dev\/sde1\nWriting disk header: done\nInstantiating disk: done\n&#x5B;root@oel7 ~]#\n<\/pre><\/div>\n\n\n<p>Consultando:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;root@oel7 ~]# cd \/dev\/oracleasm\/disks\/\n&#x5B;root@oel7 disks]# ll\ntotal 0\nbrw-rw----. 1 grid asmadmin 8, 65 Apr 25 19:37 DATA01\nbrw-rw----. 1 grid asmadmin 8, 33 Apr 25 19:37 FRA01\nbrw-rw----. 1 grid asmadmin 8, 17 Apr 25 19:37 GRID01\nbrw-rw----. 1 grid asmadmin 8, 49 Apr 25 19:37 RECO01\n&#x5B;root@oel7 disks]#\n<\/pre><\/div>\n\n\n<p>Vou desligar a VM e adicionar 2 discos que ser\u00e3o usados para os bin\u00e1rios do produto (oracle e grid):<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-441.png\" alt=\"\" class=\"wp-image-8286\"\/><\/figure>\n\n\n\n<p>Bin\u00e1rio GRID:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-442.png\" alt=\"\" class=\"wp-image-8287\"\/><\/figure>\n\n\n\n<p>Ap\u00f3s ligar a VM, consultando os novos discos:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;root@oel7 ~]# fdisk -l | grep sd\nDisk \/dev\/sda: 12.9 GB, 12884901888 bytes, 25165824 sectors\n\/dev\/sda1   *        2048     2099199     1048576   83  Linux\n\/dev\/sda2         2099200    25165823    11533312   8e  Linux LVM\nDisk \/dev\/sdb: 10.7 GB, 10737418240 bytes, 20971520 sectors\n\/dev\/sdb1            2048    20971519    10484736   83  Linux\nDisk \/dev\/sdc: 21.5 GB, 21474836480 bytes, 41943040 sectors\n\/dev\/sdc1            2048    41943039    20970496   83  Linux\nDisk \/dev\/sdd: 10.7 GB, 10737418240 bytes, 20971520 sectors\n\/dev\/sdd1            2048    20971519    10484736   83  Linux\nDisk \/dev\/sdf: 32.2 GB, 32212254720 bytes, 62914560 sectors\nDisk \/dev\/sde: 32.2 GB, 32212254720 bytes, 62914560 sectors\n\/dev\/sde1            2048    62914559    31456256   83  Linux\nDisk \/dev\/sdg: 32.2 GB, 32212254720 bytes, 62914560 sectors\n&#x5B;root@oel7 ~]#\n<\/pre><\/div>\n\n\n<p>Criando a parti\u00e7\u00e3o:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;root@oel7 ~]# fdisk \/dev\/sdf\nWelcome to fdisk (util-linux 2.23.2).\n \nChanges will remain in memory only, until you decide to write them.\nBe careful before using the write command.\n \nDevice does not contain a recognized partition table\nBuilding a new DOS disklabel with disk identifier 0xd689ea02.\n \nCommand (m for help): n\nPartition type:\n   p   primary (0 primary, 0 extended, 4 free)\n   e   extended\nSelect (default p): p\nPartition number (1-4, default 1): 1\nFirst sector (2048-62914559, default 2048):\nUsing default value 2048\nLast sector, +sectors or +size{K,M,G} (2048-62914559, default 62914559):\nUsing default value 62914559\nPartition 1 of type Linux and of size 30 GiB is set\n \nCommand (m for help): w\nThe partition table has been altered!\n \nCalling ioctl() to re-read partition table.\nSyncing disks.\n&#x5B;root@oel7 ~]# fdisk \/dev\/sdg\nWelcome to fdisk (util-linux 2.23.2).\n \nChanges will remain in memory only, until you decide to write them.\nBe careful before using the write command.\n \nDevice does not contain a recognized partition table\nBuilding a new DOS disklabel with disk identifier 0xc3c8cce6.\n \nCommand (m for help): n\nPartition type:\n   p   primary (0 primary, 0 extended, 4 free)\n   e   extended\nSelect (default p): p\nPartition number (1-4, default 1): 1\nFirst sector (2048-62914559, default 2048):\nUsing default value 2048\nLast sector, +sectors or +size{K,M,G} (2048-62914559, default 62914559):\nUsing default value 62914559\nPartition 1 of type Linux and of size 30 GiB is set\n \nCommand (m for help): w\nThe partition table has been altered!\n \nCalling ioctl() to re-read partition table.\nSyncing disks.\n&#x5B;root@oel7 ~]#\n<\/pre><\/div>\n\n\n<p>Consultando novas parti\u00e7\u00f5es:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;root@oel7 ~]# fdisk -l | grep sd\nDisk \/dev\/sda: 12.9 GB, 12884901888 bytes, 25165824 sectors\n\/dev\/sda1   *        2048     2099199     1048576   83  Linux\n\/dev\/sda2         2099200    25165823    11533312   8e  Linux LVM\nDisk \/dev\/sdb: 10.7 GB, 10737418240 bytes, 20971520 sectors\n\/dev\/sdb1            2048    20971519    10484736   83  Linux\nDisk \/dev\/sdc: 21.5 GB, 21474836480 bytes, 41943040 sectors\n\/dev\/sdc1            2048    41943039    20970496   83  Linux\nDisk \/dev\/sdd: 10.7 GB, 10737418240 bytes, 20971520 sectors\n\/dev\/sdd1            2048    20971519    10484736   83  Linux\nDisk \/dev\/sdf: 32.2 GB, 32212254720 bytes, 62914560 sectors\n\/dev\/sdf1            2048    62914559    31456256   83  Linux\nDisk \/dev\/sde: 32.2 GB, 32212254720 bytes, 62914560 sectors\n\/dev\/sde1            2048    62914559    31456256   83  Linux\nDisk \/dev\/sdg: 32.2 GB, 32212254720 bytes, 62914560 sectors\n\/dev\/sdg1            2048    62914559    31456256   83  Linux\n&#x5B;root@oel7 ~]#\n<\/pre><\/div>\n\n\n<p>Criando os filesystem:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;root@oel7 ~]# mkfs.ext4 \/dev\/sdf1\nmke2fs 1.42.9 (28-Dec-2013)\nFilesystem label=\nOS type: Linux\nBlock size=4096 (log=2)\nFragment size=4096 (log=2)\nStride=0 blocks, Stripe width=0 blocks\n1966080 inodes, 7864064 blocks\n393203 blocks (5.00%) reserved for the super user\nFirst data block=0\nMaximum filesystem blocks=2155872256\n240 block groups\n32768 blocks per group, 32768 fragments per group\n8192 inodes per group\nSuperblock backups stored on blocks:\n        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,\n        4096000\n \nAllocating group tables: done\nWriting inode tables: done\nCreating journal (32768 blocks): done\nWriting superblocks and filesystem accounting information: done\n \n&#x5B;root@oel7 ~]# mkfs.ext4 \/dev\/sdg1\nmke2fs 1.42.9 (28-Dec-2013)\nFilesystem label=\nOS type: Linux\nBlock size=4096 (log=2)\nFragment size=4096 (log=2)\nStride=0 blocks, Stripe width=0 blocks\n1966080 inodes, 7864064 blocks\n393203 blocks (5.00%) reserved for the super user\nFirst data block=0\nMaximum filesystem blocks=2155872256\n240 block groups\n32768 blocks per group, 32768 fragments per group\n8192 inodes per group\nSuperblock backups stored on blocks:\n        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,\n        4096000\n \nAllocating group tables: done\nWriting inode tables: done\nCreating journal (32768 blocks): done\nWriting superblocks and filesystem accounting information: done\n \n&#x5B;root@oel7 ~]#\n<\/pre><\/div>\n\n\n<p>Montando os FSs:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;root@oel7 ~]# mkdir \/grid\n&#x5B;root@oel7 ~]# mount -t ext4 -o rw \/dev\/sdf1 \/grid\n&#x5B;root@oel7 ~]# mkdir \/oracle\n&#x5B;root@oel7 ~]# mount -t ext4 -o rw \/dev\/sdg1 \/oracle\n&#x5B;root@oel7 ~]#\n<\/pre><\/div>\n\n\n<p>Persistindo no \/etc\/fstab:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;root@oel7 ~]# cat \/etc\/fstab\n \n#\n# \/etc\/fstab\n# Created by anaconda on Thu Apr 16 20:00:25 2020\n#\n# Accessible filesystems, by reference, are maintained under &#039;\/dev\/disk&#039;\n# See man pages fstab(5), findfs(8), mount(8) and\/or blkid(8) for more info\n#\n\/dev\/mapper\/ol_oel7-root \/                       xfs     defaults        0 0\nUUID=8c627eb0-e8f9-496a-bc04-9b6d80254769 \/boot                   xfs     defaults        0 0\n\/dev\/mapper\/ol_oel7-swap swap                    swap    defaults        0 0\n \n\/dev\/sdf1                                  \/grid    ext4    defaults 1 2\n\/dev\/sdg1                                  \/oracle  ext4    defaults 1 2\n&#x5B;root@oel7 ~]#\n<\/pre><\/div>\n\n\n<p>Preparando diret\u00f3rio do GRID:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;root@oel7 ~]# mkdir -p \/grid\/19.3.0\/product\n&#x5B;root@oel7 ~]# mkdir -p \/grid\/19.3.0\/base\n&#x5B;root@oel7 ~]# chown -R grid:oinstall \/grid\/\n&#x5B;root@oel7 ~]# chmod -R 775 \/grid\/\n&#x5B;root@oel7 ~]#\n<\/pre><\/div>\n\n\n<p>Configurando o bash_profile do usu\u00e1rio grid:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n# .bash_profile\n \n# Get the aliases and functions\nif &#x5B; -f ~\/.bashrc ]; then\n        . ~\/.bashrc\nfi\n \n# User specific environment and startup programs\n \nPATH=$PATH:$HOME\/.local\/bin:$HOME\/bin\n \nexport PATH\n \nORACLE_SID=+ASM; export ORACLE_SID\nJAVA_HOME=\/usr\/bin\/java; export JAVA_HOME\nORACLE_BASE=\/grid\/19.3.0\/base; export ORACLE_BASE\nORACLE_HOME=\/grid\/19.3.0\/product; export ORACLE_HOME\nORACLE_TERM=xterm; export ORACLE_TERM\nTNS_ADMIN=$ORACLE_HOME\/network\/admin; export TNS_ADMIN\nPATH=.:${JAVA_HOME}\/bin:${PATH}:$HOME\/bin:$ORACLE_HOME\/bin\nPATH=${PATH}:\/usr\/bin:\/bin:\/usr\/local\/bin\nexport PATH\nexport TEMP=\/tmp\nexport TMPDIR=\/tmp\numask 022\n<\/pre><\/div>\n\n\n<p>Carregando valores e consultando:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;grid@oel7 ~]$ echo $ORACLE_SID ; echo $ORACLE_HOME ; echo $ORACLE_BASE\n+ASM\n\/grid\/19.3.0\/product\n\/grid\/19.3.0\/base\n<\/pre><\/div>\n\n\n<p>Ap\u00f3s copiar o bin\u00e1rio do GRID para a VM, realizando o unzip:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;grid@oel7 ~]$ cd \/grid\/19.3.0\/product\/\n&#x5B;grid@oel7 product]$ ll\ntotal 2821476\n-rw-r--r--. 1 grid oinstall 2889184573 Apr 25 20:18 V982068-01.zip\n&#x5B;grid@oel7 product]$ unzip V982068-01.zip\n<\/pre><\/div>\n\n\n<p>Ajustando os limits do usu\u00e1rio grid:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;root@oel7 ~]# cd \/etc\/security\/\n&#x5B;root@oel7 security]# ll\ntotal 56\n-rw-r--r--. 1 root root 4564 Jan 28  2018 access.conf\n-rw-r--r--. 1 root root   82 Jan 28  2018 chroot.conf\ndrwxr-xr-x. 2 root root 4096 Apr 16 20:12 console.apps\n-rw-r--r--. 1 root root  604 Jan 28  2018 console.handlers\n-rw-r--r--. 1 root root  939 Jan 28  2018 console.perms\ndrwxr-xr-x. 2 root root    6 Jan 28  2018 console.perms.d\n-rw-r--r--. 1 root root 3635 Jan 28  2018 group.conf\n-rw-r--r--. 1 root root 2422 Jan 28  2018 limits.conf\ndrwxr-xr-x. 2 root root   70 Apr 24 22:57 limits.d\n-rw-r--r--. 1 root root 1440 Jan 28  2018 namespace.conf\ndrwxr-xr-x. 2 root root    6 Jan 28  2018 namespace.d\n-rwxr-xr-x. 1 root root 1019 Jan 28  2018 namespace.init\n-rw-------. 1 root root    0 Jan 28  2018 opasswd\n-rw-r--r--. 1 root root 2972 Jan 28  2018 pam_env.conf\n-rw-r--r--. 1 root root 1718 Dec  6  2011 pwquality.conf\n-rw-r--r--. 1 root root  419 Jan 28  2018 sepermit.conf\n-rw-r--r--. 1 root root 2179 Jan 28  2018 time.conf\n&#x5B;root@oel7 security]# cd limits.d\n&#x5B;root@oel7 limits.d]# ll\ntotal 8\n-rw-r--r--. 1 root root  191 Jan 28  2018 20-nproc.conf\n-rw-r--r--. 1 root root 1205 Apr 24 22:57 oracle-database-preinstall-19c.conf\n&#x5B;root@oel7 limits.d]# cp oracle-database-preinstall-19c.conf grid-database-preinstall-19c.conf\n&#x5B;root@oel7 limits.d]# vi grid-database-preinstall-19c.conf\n<\/pre><\/div>\n\n\n<p>Replace de oracle para grid:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-443.png\" alt=\"\" class=\"wp-image-8288\"\/><\/figure>\n\n\n\n<p>Alterado com sucesso:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;root@oel7 limits.d]# cat grid-database-preinstall-19c.conf\n \n# oracle-database-preinstall-19c setting for nofile soft limit is 1024\ngrid   soft   nofile    1024\n \n# oracle-database-preinstall-19c setting for nofile hard limit is 65536\ngrid   hard   nofile    65536\n \n# oracle-database-preinstall-19c setting for nproc soft limit is 16384\n# refer orabug15971421 for more info.\ngrid   soft   nproc    16384\n \n# oracle-database-preinstall-19c setting for nproc hard limit is 16384\ngrid   hard   nproc    16384\n \n# oracle-database-preinstall-19c setting for stack soft limit is 10240KB\ngrid   soft   stack    10240\n \n# oracle-database-preinstall-19c setting for stack hard limit is 32768KB\ngrid   hard   stack    32768\n \n# oracle-database-preinstall-19c setting for memlock hard limit is maximum of 128GB on x86_64 or 3GB on x86 OR 90 % of RAM\ngrid   hard   memlock    134217728\n \n# oracle-database-preinstall-19c setting for memlock soft limit is maximum of 128GB on x86_64 or 3GB on x86 OR 90% of RAM\ngrid   soft   memlock    134217728\n \n# oracle-database-preinstall-19c setting for data soft limit is &#039;unlimited&#039;\ngrid   soft   data    unlimited\n \n# oracle-database-preinstall-19c setting for data hard limit is &#039;unlimited&#039;\ngrid   hard   data    unlimited\n&#x5B;root@oel7 limits.d]#\n<\/pre><\/div>\n\n\n<p>Por fim, chamando o instalador:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;grid@oel7 product]$ cd $ORACLE_HOME\n&#x5B;grid@oel7 product]$ export DISPLAY=192.168.0.106:0.0\n&#x5B;grid@oel7 product]$ .\/gridSetup.sh &amp;amp;\n<\/pre><\/div>\n\n\n<p>Escolhendo a op\u00e7\u00e3o de Standalone:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-444.png\" alt=\"\" class=\"wp-image-8289\"\/><\/figure>\n\n\n\n<p>De in\u00edcio, os discos n\u00e3o foram reconhecidos, mas basta clicar em Change Discovery Path:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-445.png\" alt=\"\" class=\"wp-image-8290\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-446.png\" alt=\"\" class=\"wp-image-8291\"\/><\/figure>\n\n\n\n<p>Criando o Diskgroup DG_GRID:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-447.png\" alt=\"\" class=\"wp-image-8292\"\/><\/figure>\n\n\n\n<p>Senha:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-448.png\" alt=\"\" class=\"wp-image-8293\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-449.png\" alt=\"\" class=\"wp-image-8294\"\/><\/figure>\n\n\n\n<p>Registro no EM farei posteriormente:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-450.png\" alt=\"\" class=\"wp-image-8295\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-451.png\" alt=\"\" class=\"wp-image-8296\"\/><\/figure>\n\n\n\n<p>Oracle_base:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-452.png\" alt=\"\" class=\"wp-image-8297\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-453.png\" alt=\"\" class=\"wp-image-8298\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-454.png\" alt=\"\" class=\"wp-image-8299\"\/><\/figure>\n\n\n\n<p>Pr\u00e9-requisitos:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-455.png\" alt=\"\" class=\"wp-image-8300\"\/><\/figure>\n\n\n\n<p>O instalador reporta que a mem\u00f3ria da m\u00e1quina deve possuir 8GB, e o Swap deve subir para 3.5GB, al\u00e9m da necessidade de instalar o pacote cvudisk:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-456.png\" alt=\"\" class=\"wp-image-8301\"\/><\/figure>\n\n\n\n<p>Pacote realmente n\u00e3o est\u00e1 instalado:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;root@oel7 ~]# rpm -qi cvuqdisk\npackage cvuqdisk is not installed\n<\/pre><\/div>\n\n\n<p>Instalando:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;root@oel7 cv]# cd \/grid\/19.3.0\/product\/cv\/rpm\/\n&#x5B;root@oel7 rpm]# rpm -ivh cvuqdisk-1.0.10-1.rpm\nPreparing...                          ################################# &#x5B;100%]\nUsing default group oinstall to install package\nUpdating \/ installing...\n   1:cvuqdisk-1.0.10-1                ################################# &#x5B;100%]\n&#x5B;root@oel7 rpm]#\n<\/pre><\/div>\n\n\n<p>Aumentando mem\u00f3ria da m\u00e1quina:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-457.png\" alt=\"\" class=\"wp-image-8302\"\/><\/figure>\n\n\n\n<p>Ap\u00f3s ligar a m\u00e1quina, s\u00f3 faltaria aumentar o swap, mas vou ignorar este item no instalador (por ser um ambiente de estudos):<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-458.png\" alt=\"\" class=\"wp-image-8303\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-459.png\" alt=\"\" class=\"wp-image-8304\"\/><\/figure>\n\n\n\n<p>Sum\u00e1rio:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-460.png\" alt=\"\" class=\"wp-image-8305\"\/><\/figure>\n\n\n\n<p>Progresso da instala\u00e7\u00e3o:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-461.png\" alt=\"\" class=\"wp-image-8306\"\/><\/figure>\n\n\n\n<p>Scripts:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-462.png\" alt=\"\" class=\"wp-image-8307\"\/><\/figure>\n\n\n\n<p>Executando scripts:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;root@oel7 ~]# \/grid\/19.3.0\/oraInventory\/orainstRoot.sh\nChanging permissions of \/grid\/19.3.0\/oraInventory.\nAdding read,write permissions for group.\nRemoving read,write,execute permissions for world.\n \nChanging groupname of \/grid\/19.3.0\/oraInventory to oinstall.\nThe execution of the script is complete.\n&#x5B;root@oel7 ~]#\n<\/pre><\/div>\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;root@oel7 ~]# \/grid\/19.3.0\/product\/root.sh\nPerforming root user operation.\n \nThe following environment variables are set as:\n    ORACLE_OWNER= grid\n    ORACLE_HOME=  \/grid\/19.3.0\/product\n \nEnter the full pathname of the local bin directory: &#x5B;\/usr\/local\/bin]:\n   Copying dbhome to \/usr\/local\/bin ...\n   Copying oraenv to \/usr\/local\/bin ...\n   Copying coraenv to \/usr\/local\/bin ...\n \n \nCreating \/etc\/oratab file...\nEntries will be added to the \/etc\/oratab file as needed by\nDatabase Configuration Assistant when a database is created\nFinished running generic part of root script.\nNow product-specific root actions will be performed.\nUsing configuration parameter file: \/grid\/19.3.0\/product\/crs\/install\/crsconfig_params\nThe log of current session can be found at:\n  \/grid\/19.3.0\/base\/crsdata\/oel7\/crsconfig\/roothas_2020-04-27_09-43-57PM.log\n2020\/04\/27 21:44:04 CLSRSC-363: User ignored prerequisites during installation\nLOCAL ADD MODE\nCreating OCR keys for user &#039;grid&#039;, privgrp &#039;oinstall&#039;..\nOperation successful.\nLOCAL ONLY MODE\nSuccessfully accumulated necessary OCR keys.\nCreating OCR keys for user &#039;root&#039;, privgrp &#039;root&#039;..\nOperation successful.\nCRS-4664: Node oel7 successfully pinned.\n2020\/04\/27 21:44:19 CLSRSC-330: Adding Clusterware entries to file &#039;oracle-ohasd.service&#039;\n \n \noel7     2020\/04\/27 21:45:17     \/grid\/19.3.0\/base\/crsdata\/oel7\/olr\/backup_20200427_214517.olr     724960844\n2020\/04\/27 21:45:19 CLSRSC-327: Successfully configured Oracle Restart for a standalone server\n&#x5B;root@oel7 ~]#\n<\/pre><\/div>\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-463.png\" alt=\"\" class=\"wp-image-8308\"\/><\/figure>\n\n\n\n<p>Instalado com sucesso:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-464.png\" alt=\"\" class=\"wp-image-8309\"\/><\/figure>\n\n\n\n<p>Criando os outros diskgroups:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;grid@oel7 product]$ asmca &amp;amp;\n&#x5B;1] 23627\n&#x5B;grid@oel7 product]$\n<\/pre><\/div>\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-465.png\" alt=\"\" class=\"wp-image-8310\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-466.png\" alt=\"\" class=\"wp-image-8311\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-467.png\" alt=\"\" class=\"wp-image-8312\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-468.png\" alt=\"\" class=\"wp-image-8313\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-469.png\" alt=\"\" class=\"wp-image-8314\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-470.png\" alt=\"\" class=\"wp-image-8315\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-471.png\" alt=\"\" class=\"wp-image-8316\"\/><\/figure>\n\n\n\n<p>Discos criados:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-472.png\" alt=\"\" class=\"wp-image-8317\"\/><\/figure>\n\n\n\n<p>Consultando ambiente:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;grid@oel7 product]$ sqlplus \/ as sysasm\n \nSQL*Plus: Release 19.0.0.0.0 - Production on Mon Apr 27 21:59:09 2020\nVersion 19.3.0.0.0\n \nCopyright (c) 1982, 2019, Oracle.  All rights reserved.\n \n \nConnected to:\nOracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production\nVersion 19.3.0.0.0\n \nSQL&gt; select instance_name,status from v$instance;\n \nINSTANCE_NAME    STATUS\n---------------- ------------\n+ASM             STARTED\n \nSQL&gt; !asmcmd lsdg\nState    Type    Rebal  Sector  Logical_Sector  Block       AU  Total_MB  Free_MB  Req_mir_free_MB  Usable_file_MB  Offline_disks  Voting_files  Name\nMOUNTED  EXTERN  N         512             512   4096  4194304     30716    30628                0           30628              0             N  DG_DATA\/\nMOUNTED  EXTERN  N         512             512   4096  4194304     20476    20388                0           20388              0             N  DG_FRA\/\nMOUNTED  EXTERN  N         512             512   4096  4194304     10236    10136                0           10136              0             N  DG_GRID\/\nMOUNTED  EXTERN  N         512             512   4096  4194304     10236    10148                0           10148              0             N  DG_RECO\/\n \nSQL&gt;\n<\/pre><\/div>\n\n<p>Como refer\u00eancia para fazer essas instala\u00e7\u00f5es, utilizei a documenta\u00e7\u00e3o oficial da Oracle (link <a rel=\"\\&quot;noreferrer noopener\" noopener=\"\" href=\"https:\/\/docs.oracle.com\/en\/database\/oracle\/oracle-database\/19\/cwlin\/index.html\" target=\"\\&quot;_blank\\&quot;\">AQUI<\/a>), um procedimento muito rico do Ahmed Baraka (link <a rel=\"\\&quot;noreferrer noopener\" noopener=\"\" href=\"http:\/\/www.ahmedbaraka.com\/download\/documents\/installingOracleDatabase12cR1onLinux6withASM.pdf\" target=\"\\&quot;_blank\\&quot;\">AQUI<\/a>), artigos do Tim Hall (linkS <a rel=\"\\&quot;noreferrer noopener\" noopener=\"\" href=\"https:\/\/oracle-base.com\/articles\/19c\/oracle-db-19c-installation-on-oracle-linux-7\" target=\"\\&quot;_blank\\&quot;\">AQUI<\/a> e <a rel=\"\\&quot;noreferrer noopener\" noopener=\"\" href=\"https:\/\/oracle-base.com\/articles\/19c\/oracle-db-19c-installation-on-oracle-linux-8\" target=\"\\&quot;_blank\\&quot;\">AQUI<\/a>) e os ricos materiais que o Portilho disponibiliza no site da Nerv (link <a href=\"http:\/\/nervinformatica.com.br\/blog\/index.php\/materiais\/\" target=\"\\&quot;_blank\\&quot;\" rel=\"\\&quot;noreferrer noopener\" noopener=\"\">AQUI<\/a>). Para resolu\u00e7\u00e3o de problemas, do CVUQDISK, por exemplo, usei esta refer\u00eancia do Ramil <a rel=\"\\&quot;noreferrer noopener\" noopener=\"\" href=\"https:\/\/ramilrahimov.wordpress.com\/2018\/01\/06\/package-cvuqdisk-1-0-10-1-is-missing-when-installing-grid-infrastructure-12c\/\" target=\"\\&quot;_blank\\&quot;\">AQUI.<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>Este artigo explora a instala\u00e7\u00e3o de um Oracle GRID 19C, por\u00e9m com alguns problemas (e solu\u00e7\u00f5es) no percurso. Geralmente quando fazemos o post, \u00e9 apenas evidenciando o &#8220;caminho feliz&#8221;, mas refletindo, notei que o aprendizado vem justamente quando voc\u00ea tenta reproduzir uma atividade, e enfrenta situa\u00e7\u00f5es adversas (mesmo que isso n\u00e3o fique esteticamente legal em [&hellip;]<\/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":[],"class_list":["post-1417","post","type-post","status-publish","format-standard","hentry","category-administration"],"_links":{"self":[{"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/posts\/1417","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/comments?post=1417"}],"version-history":[{"count":0,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/posts\/1417\/revisions"}],"wp:attachment":[{"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/media?parent=1417"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/categories?post=1417"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/tags?post=1417"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}