B OAAオーバーライド・ファイルを使用した拡張構成

OAAオーバーライド・ファイルは、起動される各タイプのコンテナの数を決定するために使用されます。デフォルトでは、メモリーおよびCPUの要件が事前定義されており、インストールではコンテナごとに1つのポッドが起動されます。サンドボックス・アーキテクチャの場合、通常はこれらのデフォルトを変更する必要はありません。高可用性の本番デプロイメントでは、コンテナ・タイプごとに2つ以上必要です。

起動するコンテナの数を変更する必要がある場合は、管理コンテナに入ります。次に例を示します:
kubectl exec -n oaans -ti oaamgmt-oaa-mgmt-84955fdf8f-x22k4 -- /bin/bash
次に、/u01/oracle/scripts/settings/oaaoverride.yamlファイルを更新して、各コンテナ・タイプのreplicaCountを必要な数量に増やします。

このファイルを使用して、CPUおよびメモリーの要件を指定することもできます。リソース要件を宣言することにより、そのリソース要件でポッドを処理するのに十分な容量があるワーカー・ノードでのみ、特定のOAAポッドが起動されるようになります。

次にoaaoverride.yamlの例を示します。要件に基づいてパラメータを変更、追加または削除できます:
#override file for oaa installation
 
#if database is external to the cluster set the flag to ExternalName
riskdb:
  service:
    type: ExternalName
 
#replica count of oaa service
replicaCount: 2
 
#The following properties define the dependency spui service and can be overridden here.
spui:
  resources:
    requests:
      cpu: 200m
      memory: "1Gi"
  replicaCount: 2
 
#The following properties define the dependency totp service and can be overridden here.
totp:
  resources:
    requests:
      cpu: 200m
      memory: "1Gi"
  replicaCount: 2
 
#The following properties define the dependency yotp service and can be overridden here.
yotp:
  resources:
    requests:
      cpu: 200m
      memory: "1Gi"
  replicaCount: 2
 
#The following properties define the dependency fido service and can be overridden here.
fido:
  resources:
    requests:
      cpu: 200m
      memory: "1Gi"
  replicaCount: 2
 
#The following properties define the dependency oaa-admin-ui service and can be overridden here.
oaa-admin-ui:
  resources:
    requests:
      cpu: 200m
      memory: "1Gi"
  replicaCount: 2
 
#The following properties define the dependency email service and can be overridden here.
email:
  resources:
    requests:
      cpu: 200m
      memory: "1Gi"
  replicaCount: 2
 
#The following properties define the dependency push service and can be overridden here.
push:
  resources:
    requests:
      cpu: 200m
      memory: "1Gi"
  replicaCount: 2
 
#The following properties define the dependency sms service and can be overridden here.
sms:
  resources:
    requests:
      cpu: 200m
      memory: "1Gi"
  replicaCount: 2
  
#The following properties define the dependency oaa-policy service and can be overridden here.
oaa-policy:
  resources:
    requests:
      cpu: 200m
      memory: "1Gi"
  replicaCount: 2
 
#The following properties define the defaults of risk and riskcc services.
risk:
  resources:
    requests:
      cpu: 200m
      memory: "1Gi"
  replicaCount: 2
 
riskcc:
  resources:
    requests:
      cpu: 200m
      memory: "1Gi"
  replicaCount: 2
#
#The following properties define the defaults of customfactor service.
customfactor:
  resources:
    requests:
      cpu: 200m
      memory: "1Gi"
  replicaCount: 2
#
#The following properties define the defaults of oaa-kba service.
oaa-kba:
  resources:
    requests:
      cpu: 200m
      memory: "1Gi"
  replicaCount: 2
 
#
#The following properties define the defaults of oaa-drss service.
oaa-drss:
  resources:
    requests:
      cpu: 200m
      memory: "1Gi"
  replicaCount: 2
デプロイメントでこのファイルを使用するには、管理コンテナに入り、次のパラメータをコメント解除して/u01/oracle/scripts/settings/installOAA.propertiesを更新する必要があります:
common.deployment.overridefile=/u01/oracle/scripts/settings/oaaoverride.yaml
デプロイメントを更新するには、次のコマンドを実行します:
cd ~
OAA.sh -f installOAA.properties