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: 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:
|
-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 -silentThe 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 -silentThe 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