Netcool/Impact core startup-scripts ConfigMap

Use this ConfigMap to run bash script code before and after the Impact Server process starts during the pod startup.

Contents

The following table lists the data elements that are contained in the Netcool®/Impact core startup-scripts ConfigMap (<release_name>-nciserver-startup-scripts):
Table 1. Data elements in the Netcool/Impact core startup-scripts ConfigMap (<release_name>-nciserver-startup-scripts)
Data element Description More information

pre-server-start

Add bash shell script commands to this data element to run commands on the pod before the Impact Server process starts.

You can add several lines with one command per line.

Indent the text with four spaces to align it with the preexisting echo command.

post-server-start

Add bash shell script commands to this data element to run commands on the pod after the Impact Server process starts.

You can add several lines with one command per line.

Indent the text with four spaces to align it with the preexisting echo command.

Examples of each of the data elements in this ConfigMap are provided.

Data elements: pre-server-start and post-server-start

Refer to the following example to see the pre-server-start and post-server-start data elements in use.
  post-server-start: |
    #
    # Post server startup script
    #
    echo "Running post-server startup custom scripts"
  pre-server-start: |
    #
    # Pre server startup script
    #
    echo "Running pre-server startup custom scripts"