Set the necessary environmental variables for install#
HMクラスターは、インストール中に特定のユーザードメインへのアクセスが必要です。
ドメイン変数を設定する#
RHOSクラスターのデフォルトのイングレスドメイン名を定義する変数を設定します。
export DEFAULT_INGRESS_DOMAIN=<rhos default ingress domain name> # rhos default ingress domain
重要
DEFAULT_INGRESS_DOMAIN is the default ingress domain name of the cluster. You can query it using the following command:
oc get ingresses.config/cluster -o jsonpath={.spec.domain}
ingresses.config/clusterオブジェクトは、インストール中に作成されます。
詳細については、 the OpenShift documentation を参照してください。
OpenShiftコンソールにアクセスするようにドメイン名を定義する変数を設定します。
export OPENSHIFT_CONSOLE_DOMAIN_NAME=<openshift console domain name> # Domain name to OpenShift console
ハイブリッドマネージャーのドメイン名の変数を定義します。このドメインは、HMコンソールにアクセスするためのパブリックURLとして機能します。
export PORTAL_DOMAIN_NAME=<your-hm-portal-domain-name>
たとえば、会社の名前が Example Company
で、トップレベルドメインがexamplecompany.com
の場合、EDBはポータルドメイン名がこれらの例と同様のパターンに従うことをお勧めします。
portal.examplecompany.com
portal-dev.examplecompany.com
portal.hm001.examplecompany.com
portal-hm-us-east-001.examplecompany.com
Data Migration Serviceドメイン名の変数内部で
transporterと呼ばれますを設定します。
export TRANSPORTER_RW_SERVICE_DOMAIN_NAME=dms<your-hm-portal-domain-name> # Customer domain name for the EDB Postgres AI Platform Transporter RW Service
EDBでは、この一貫性により、サービスの管理が容易になるため、ポータルドメイン名からDMSサービスドメイン名を取得することをお勧めします、たとえば、
portal をdms に置き換えます。前の例に従って
dms.examplecompany.com
dms-dev.examplecompany.com
dms.hm001.examplecompany.com
dms-hm-us-east-001.examplecompany.com
重要
PORTAL_DOMAIN_NAME and TRANSPORTER_RW_SERVICE_DOMAIN_NAME must be: - distinct from each other—do not use the same name for both - distinct from OPENSHIFT_CONSOLE_DOMAIN_NAME
EDB Postgres AI Beaconサービスのドメイン名と
cert-managerがインストールされている名前空間を定義する変数を設定します。
export BEACON_SERVICE_DOMAIN_NAME=<beacon service domain name> # Customer domain name for the EDB Postgres AI Beacon Service
export CERT_MANAGER_NAMESPACE=<cert-manager namespace> # Customer namespace in which cert-manager is installed as pre-requirements
ストレージクラス変数を設定します#
HMクラスターには、事前定義されたストレージクラスが必要です。
export STORAGE_CLASS=<storage class> # Customer storage class on OpenShift Container Platform
認証変数を設定する#
HMのインストールにはいくつかの認証値が必要です。
export AUTHENTICATION_EMAIL=<email> # The email address of the user.
export AUTHENTICATION_HASH=<password hash> # The hashed password of the user obtained for example as: echo "mypassword" | htpasswd -BinC 10 admin | cut -d: -f
export AUTHENTICATION_USERNAME=<Owner MyCompany> # The username of the user
export AUTHENTICATION_USER_ID="c5998173-a605-449a-a9a5-4a9c33e26df7" # A unique identifier for the user must not be changed since the first time installation.
オプションFIPsモードを設定します Transporter Data Operator#
オプションで、Transporter Data OperatorのFIPSモードを設定できます。
export TRANSPORTER_FIPS_ENABLED=true # Enable FIPS mode for Transporter Data Operator