RAC Attack - Oracle Cluster Database at Home/RAC Attack 12c/Prepare for GI install

From Wikibooks, open books for an open world
Jump to navigation Jump to search


  1. Verify that the VirtualBox Shared folder containing the installation media is mounted correctly and that Oracle has access to it:
  2. [root@collabn1 ~]# su - oracle [oracle@collabn1 ~]$ df -k Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/vg_collabn1-lv_root 27407400 2798080 23217092 11% / tmpfs 1544640 0 1544640 0% /dev/shm /dev/sda1 495844 55641 414603 12% /boot 12cR1 976728060 863308936 113419124 89% /media/sf_12cR1 [oracle@collabn1 ~]$ ls -l /media/sf_12cR1 total 6295549 -rwxrwx---. 1 root vboxsf 1361028723 Jun 27 16:21 linuxamd64_12c_database_1of2.zip -rwxrwx---. 1 root vboxsf 1116527103 Jun 27 16:12 linuxamd64_12c_database_2of2.zip -rwxrwx---. 1 root vboxsf 1750478910 Jun 27 16:27 linuxamd64_12c_grid_1of2.zip -rwxrwx---. 1 root vboxsf 201673595 Jun 27 15:23 linuxamd64_12c_grid_2of2.zip
  3. You can decide to unzip it from your laptop (using Windows native functionalities, WinZip, 7-Zip or other tools or directly from the server.
  4. [oracle@collabn1 ~]$ cd /media/sf_12cR1 [oracle@collabn1 sf_12cR1]$ unzip linuxamd64_12c_database_1of2.zip Archive: linuxamd64_12c_database_1of2.zip creating: database/ OK inflating: database/welcome.html OK creating: database/response/ OK inflating: database/response/db_install.rsp OK inflating: database/response/netca.rsp OK inflating: database/response/dbca.rsp OK creating: database/sshsetup/ OK inflating: database/sshsetup/sshUserSetup.sh OK creating: database/rpm/ OK inflating: database/rpm/cvuqdisk-1.0.9-1.rpm OK [...] [oracle@collabn1 sf_12cR1]$ unzip linuxamd64_12c_database_2of2.zip [...] [oracle@collabn1 sf_12cR1]$ unzip linuxamd64_12c_grid_1of2.zip [...] [oracle@collabn1 sf_12cR1]$ unzip linuxamd64_12c_grid_2of2.zip [...]
  5. Once the package decompression is completed, you'll end up with two directories, grid and database containing the installation files.
  6. [oracle@collabn1 sf_12cR1]$ ls -l total 6295549 drwxrwx---. 1 root vboxsf 0 Jul 3 06:38 database drwxrwx---. 1 root vboxsf 0 Jun 10 08:15 grid -rwxrwx---. 1 root vboxsf 1361028723 Jun 27 16:21 linuxamd64_12c_database_1of2.zip -rwxrwx---. 1 root vboxsf 1116527103 Jun 27 16:12 linuxamd64_12c_database_2of2.zip -rwxrwx---. 1 root vboxsf 1750478910 Jun 27 16:27 linuxamd64_12c_grid_1of2.zip -rwxrwx---. 1 root vboxsf 201673595 Jun 27 15:23 linuxamd64_12c_grid_2of2.zip
  7. Install the cvuqdisk package as root:
  8. [root@collabn1 ~]# rpm -Uvh /media/sf_12cR1/grid/rpm/cvuqdisk-1.0.9-1.rpm Preparing... ########################################### [100%] Using default group oinstall to install package 1:cvuqdisk ########################################### [100%] [root@collabn1 ~]#
  9. Do the same on node collabn2:
  10. [root@collabn2 ~]# rpm -Uvh /media/sf_12cR1/grid/rpm/cvuqdisk-1.0.9-1.rpm Preparing... ########################################### [100%] Using default group oinstall to install package 1:cvuqdisk ########################################### [100%] [root@collabn2 ~]#