gridSetup.sh -createGoldImage

The gridSetup.sh -createGoldImage command creates a gold image from the current Oracle Grid Infrastructure home.

Syntax

gridSetup.sh -createGoldImage -destinationLocation directory_to_store_gold_image [-exclFiles file_paths]

Parameters

Table A-8 gridSetup.sh -createGoldImage Command Parameters

Parameter Mandatory? Description
-destinationLocation directory_to_store_gold_image Yes

Specify the complete path, or location, where you want to store the gold images.

-exclFiles file_paths No Specify a comma-separated list of absolute file paths or directory paths that you want to exclude from the newly created gold image.
Note:
  • Directory paths can also include wildcards.
  • Directory path names exclude the entire directory tree and all files under the specified path.
-help No

Displays the gridSetup.sh -createGoldImage command help.

Examples

  • The following example shows how to exclude a specific file:
    Grid_home/gridSetup.sh -createGoldImage -destinationLocation /tmp/my_grid_images -exclFiles Grid_home/instantclient/libsqlplusic.so -silent
  • The following example shows how to exclude a directory and its contents:
    Grid_home/gridSetup.sh -createGoldImage -destinationLocation /tmp/my_grid_images -exclFiles Grid_home/.patch_storage -silent
  • The following example shows how to exclude multiple folders and files:
    Grid_home/gridSetup.sh -createGoldImage -destinationLocation /tmp/my_grid_images -exclFiles Grid_home/.patch_storage/32916816_Jul_19_2025_01_56_39/,Grid_home/log/* -silent