64. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 9/15/2018 10:47:17 PM Eastern Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

64.1 Files compared

# Location File Last Modified
1 MHV_2018.4.0.0.zip\2018.4.0.0\national portal\mhv_source\mhv_devops\src\main\mhvdbs load_data.sh Thu Aug 23 21:39:12 2018 UTC
2 MHV_2018.4.0.0.zip\2018.4.0.0\national portal\mhv_source\mhv_devops\src\main\mhvdbs load_data.sh Sat Sep 15 20:11:48 2018 UTC

64.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 2 144
Changed 1 2
Inserted 0 0
Removed 0 0

64.3 Comparison options

Whitespace
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

64.4 Active regular expressions

No regular expressions were active.

64.5 Comparison detail

  1   #!/bin/sh
  2  
  3   echo 'LOAD _DATA: Sta rting'
  4  
  5   ### set or acle files
  6   echo 'LOAD _DATA: Set  Oracle fi les'
  7   su -l orac le -c "cp  /vagrant/o racle/sqln et.ora /u0 1/app/orac le/product /11.2.0/db home_1/net work/admin /."
  8  
  9   # create d irectories
  10   if [ ! -d  "/data" ];  then
  11           mk dir /data
  12   fi
  13  
  14   if [ ! -d  "/data/tde _wallet" ] ; then
  15           mk dir /data/ tde_wallet
  16   fi
  17  
  18   if [ ! -d  "/data/tde _wallet/mh v" ]; then
  19           mk dir /data/ tde_wallet /mhv
  20   fi
  21  
  22   if [ ! -d  "/data/set up" ]; the n
  23           mk dir /data/ setup
  24   fi
  25  
  26   if [ ! -d  "/data/log s" ]; then
  27           mk dir /data/ logs
  28   fi
  29  
  30   chown orac le:oinstal l -R /data
  31             
  32   su -l orac le -c "cp  /vagrant/o racle/tde_ wallet/cwa llet.sso / data/tde_w allet/mhv/ "
  33   su -l orac le -c "cp  /vagrant/o racle/tde_ wallet/ewa llet.p12 / data/tde_w allet/mhv/ "
  34  
  35   ### get la test dump  file if no t found
  36   echo 'LOAD _DATA: Get  dump file ...could t ake a long  time if n ot found'
  37   dumpFile=" /installs/ mhvsyst_la test.dmp"
  38   if [ ! -f  "$dumpFile " ]
  39   then
  40         su -l orac le -c "/us r/bin/wget  --timesta mping --di rectory-pr efix=/data /setup --n o-check-ce rtificate  --no-verbo se http:// DNS /tools/db/ mhvsyst_la test.dmp"
  41   else
  42       su -l  oracle -c  "cp /insta lls/mhvsys t_latest.d mp /data/s etup/."
  43   fi
  44  
  45   ### create  directory  and table spaces
  46   echo 'LOAD _DATA: Cre ate UNIX_D IR Oracle  directory  and tables paces'
  47   su -l orac le -c "sql plus / as  sysdba <<E OF 
  48       @/vagr ant/sql/mh vdata/mhvd ata_prepar e.sql; 
  49   EOF" 
  50  
  51   ### load t he data
  52   echo 'LOAD _DATA: Loa d MHV data '
  53   su -l orac le -c "cp  /vagrant/o racle/mhv- import.par  /data/set up/"
  54   sed -i.bak  "s/DEVID/ ${MHV_DB_I D}/g" /dat a/setup/mh v-import.p ar
  55   su -l orac le -c "imp dp system/ MhvD4t4@OR CL PARFILE =/data/set up/mhv-imp ort.par" 
  56  
  57   ### remove  the dump  file
  58   echo 'LOAD _DATA: Rem ove dump f ile'
  59   /bin/rm -r f /data/se tup/mhvsys t_latest.d mp
  60  
  61   ### create  directory  and table spaces
  62   echo 'LOAD _DATA: Alt er passwor ds'
  63   su -l orac le -c "sql plus / as  sysdba <<E OF 
  64       @/vagr ant/sql/mh vdata/mhvd ata_alteru serpasswor ds.sql; 
  65   EOF" 
  66  
  67   ### create  directory  and table spaces
  68   #echo 'LOA D_DATA: Cr eate missi ng tables'
  69   #su -l ora cle -c "sq lplus / as  sysdba << EOF 
  70   #    @/vag rant/sql/m hvdata/cre ate_missin g_tables.s ql; 
  71   #EOF" 
  72  
  73   echo 'LOAD _DATA: Ins tallation  complete'