シェルスクリプトでのCheck Pointコマンドの実行

シェルスクリプトでチェック・ポイントのコマンドを実行するには、必要なチェック・ポイントのシェルスクリプトに呼び出しを追加する必要があります。

これらのコールは、先頭行 "#!/bin/bash" の下に追加する必要があります。

Security Management Server/Log Server/SmartEvent Serverの場合

/etc/profile.d/CP.shスクリプトに呼び出しを追加する必要があります。

#!/bin/bash

source /etc/profile.d/CP.sh

<Applicable Check Point Commands>

[mandatory last new line]

Multi-Domain Server/Multi-Domain Log Serverの場合

これらのスクリプトに呼び出しを追加する必要があります(以下に示す順序で)。

  1. /etc/profile.d/CP.sh

  2. $MDSDIR/scripts/MDSprofile.sh

  3. $MDS_SYSTEM/shared/mds_environment_utils.sh

  4. $MDS_SYSTEM/shared/sh_utilities.sh

#!/bin/bash

source /etc/profile.d/CP.sh
source $MDSDIR/scripts/MDSprofile.sh
source $MDS_SYSTEM/shared/mds_environment_utils.sh
source $MDS_SYSTEM/shared/sh_utilities.sh

<Applicable Check Point Commands>

[mandatory last new line]

セキュリティゲートウェイ/クラスタメンバ(非VSX)の場合

/etc/profile.d/CP.shスクリプトに呼び出しを追加する必要があります。

#!/bin/bash

source /etc/profile.d/CP.sh

<Applicable Check Point Commands>

[mandatory last new line]

VSX Gateway / VSXクラスタメンバの場合

これらのスクリプトに呼び出しを追加する必要があります(以下に示す順序で)。

  1. /etc/profile.d/CP.sh

  2. /etc/profile.d/vsenv.sh

#!/bin/bash

source /etc/profile.d/CP.sh
source /etc/profile.d/vsenv.sh

<Applicable Check Point Commands>

[mandatory last new line]