TAR Common

  [code language=”sql”] tar_help() ############################################################## # This will display the help for the tar command ############################################################## { tar –help } tar_create() ############################################################## # This will create a tar file ############################################################## { tarnm=$1 tardir=$2 tar -cvf $tarnm $tardir } tar_view() ############################################################## # This will allow you to view a tar ############################################################## { flnm=$1 tar -tvf $flnm […]

gg_common.ksh 04172019

[code language=”sql”] #!/bin/ksh ############################################################################ # Script Name..: gg_common.ksh # Description..: Common GG Hub functions for inclusion to all driver scripts # Author…….: Michael Culp # Date………: 04/23/2010 # Version……: .65 # Modified By..: Michael Culp # Date Modified: 06/07/2017 # Comments…..: Change this library to make mods to all functions # Schema owner.: N/A # […]

crs_common.ksh 04162019

[code language=”sql”] 1="lrdne67mp" 2="[DBFSXD011"]-> cat crs_common.ksh ############################################################################## # CRS Common functions # ############################################################################## crs_inst_order() { echo echo "Function name.: crs_inst_order…………….." echo "Library file..: crs_common.ksh…………….." echo "Directory ….: /oracle/admin/scripts/crsdbfs.." echo echo "Shows the installation order for the CRS services…" echo echo "Create a service first for GoldenGate" echo " function – srvctl_add_svc" echo " add a […]

crs_common.ksh

This is a common library for CRS related items I created a directory called crsdbfs for it, but crscommon would be better [code language=”sql”] ############################################################################## # CRS Common functions # MCulp Sept 2018 # Setting up resources against CRS ############################################################################## crs_init() { echo "set common variables…." } crs_inst_order() { echo echo "Function name.: crs_inst_order…………….." echo […]

exa_common.ksh

[code language=”sql”] # Comments exa_init() exa_dbrd() exa_cr_env() [/code]

db_common.ksh

[code language=”sql”] #!/bin/ksh ############################################################################ # Script Name..: db_common.ksh # Description..: common db functions was derived from ddl_common.ksh # Author…….: Michael Culp # Date………: 11/30/2008 # Version……: .09 # Modified By..: # Date Modified: # Comments…..: # Schema owner.: # Functions….: #              : lst_objs_all #              : # Login User…: # Run Order….: # Dependent on.: # […]

QA Common Library

[code language=”sql”] #!/bin/ksh ############################################################################ # Script Name..: qa_common.ksh # Description..: # Author…….: Michael Culp # Date………: 04/20/2013 # Version……: .08 # Modified By..: Michael Culp # Date Modified: 11/02/2015 # Comments…..: # Schema owner.: # Login User…: # Run Order….: # Dependent on.: # Script type..: # : # Functions : next_menu # : get_db_details […]

asm_common.ksh

[code language=”sql”] #!/bin/ksh ############################################################################ # Script Name..: asm_com.ksh # Description..: Common library for ASM items # Author…….: Michael Culp # Date………: 10/17/2008 # Version……: .08 # Modified By..: # Date Modified: # Comments…..: imported from asm_diskmnt.ksh # Schema owner.: #    alter session set current # Login User…: # Run Order….: # Dependent on.: # Script […]

dbfs_common.ksh

[code language=”sql”] ############################################################ # DBFS Functions # Use the following functions to install and maintain dbfs ############################################################ ############################################################ # dbfs_init – Initialize variables or other functions # dbfs_pre_inst – Check for OS params # dbfs_inst_fuse – Install FUSE libraries # dbfs_cfg_fuse – Config FUSE libraries # dbfs_chk_db_usr – # dbfs_cr_tblspc – Create DBFS tablespace # […]

menu_common.ksh

[code language=”sql”] next_menu() ############################################################################ # Press any key to continue ############################################################################ { echo echo "# ———————————————————————– #" echo "[ …  Press any key to continue … ]" read next } menu_sel_text() { echo echo "# Enter Menu Selection: " } main_menu() { MNUTXT=" Main Menu " dashboard # echo "# Add ASM disks in bulk […]