Configure Virtual Appliance for Migration Tool
- Create a Three-Node Cluster
- Configure DNS Entries
- Configure Ingress Certificates (Only for SSL Certificates)
- Optional: Disable Hybrid Property in VA
- Disable the Default Certificate Property
- Disable the Events Service SSL Property
- Copy the License File to Splunk AppDynamics Services
- Update the Resources in Virtual Appliance
3 ノードクラスタの作成
DNS エントリの構成
Splunk AppDynamics コンポーネントの DNS 解決を確認します。次のスクリプトは、仮想アプライアンスでの通信の問題を引き起こす可能性のある一般的なネットワーク構成の問題を特定するのに役立ちます。特定のホスト名を IP アドレスに解決できるかどうかを確認します。これは、コントローラとそのサービスが適切に機能するために重要です。
globals.yaml.gotmpl に仮想アプライアンスのプライマリノードの IP アドレスが含まれていることを確認します。次のようにして globals.yaml.gotmpl ファイルを編集します。
-
プライマリノードのコンソールにログインします。
-
次のフォルダに移動します。CODE
cd /var/appd/config -
globals.yaml.gotmplファイルを編集し、dnsNamesとdnsDomainを更新します。CODEvi globals.yaml.gotmpl仮想アプライアンスに設定する必要がある入力ドメイン名を一覧表示します。
注:- クラスターにアクセスするには、
appdcliのローカルホストを含める必要があります。ドメイン名が使用できない場合は、各クラスタに<nodeip>.nip.ioを指定します。他の指定値に加えて、dnsDomainも値として含める必要があります。 - 一部のネットワークポリシーでは、
x.x.x.x.nip.ioを含む IP アドレスがブロックされる場合があります。このようなシナリオでは、/etc/hostsファイルを更新します。エアギャップ環境での DNS 設定の更新 を参照してください。 - 仮想アプライアンスのドメイン名を使用している場合は、
range split関数をコメントにするか削除します。また、localhostをコメントにします。
JSONdnsNames: &dnsNames # - localhost - 10.0.0.1.nip.io - 10.0.0.2.nip.io - 10.0.0.3.nip.io - appd.example.com # If you are using Virtual IP address for your standalone Controller, comment or delete the range split function. {{ range split " " $internalIPs }} {{ printf " - %s.%s" . "nip.io" }} {{ end }}仮想アプライアンスで、従来のオンプレミス環境のすべての DNS 名を追加します。従来のオンプレミスの各サービスが、異なるドメインネームシステム (DNS) を使用する場合は、すべてのサービスを追加する必要があります。CODEdnsNames: &dnsNames - localhost - <VA-DNS> - <Classic-On-Premises-Controller-DNS> - <Classic-On-Premises-EUM-DNS> - <Classic-On-Premises-Events-DNS> - <Classic-On-Premises-Synth-DNS> - クラスターにアクセスするには、
Configure Ingress Certificates (Only for SSL Certificates)
If you require a CA signed certificate for the Ingress Controller, configure an SSL/TLS certificate for Splunk AppDynamics 自己ホスト型仮想アプライアンス by providing all the required host names. This ensures that all components and user access points of the Virtual Appliance are securely accessible. The following script generates a list of Subject Alternative Names (SANs) that would be required for a custom ingress certificate in Virtual Appliance. This is crucial for securing communication with the Virtual Appliance using HTTPS.
- private key:
private.key - signed public key:
cert.crt - CA root chain:
ca.crt
- Ensure the
ingess.keyis in PEM plain text format. - The SAN of the server certificate in
ingress.crtmust include all the hostnames that are defined in thednsNamessection of theglobal.yaml.gotmplfile. - For Secure Application, ensure to include
*.<DOMAIN-NAME>in the list and the certificates to include SAN aliases
(Optional) Disable Hybrid Property in VA
hybrid property in the globals.yaml.gotmpl file.
hybrid:
enable: false
controller:
domainName: controller.nip.io
port: 8181
sslEnabled: true
{{ if isFile "/var/appd/config/hybrid-controller-ca.crt" }}
controllerCaCertsFile: {{ readFile "/var/appd/config/hybrid-controller-ca.crt" | b64enc | quote }}
{{ end }}
mysql:
dbHost: controller.nip.io
dbPort: 3388
{{ if isFile "/var/appd/config/hybrid-mysql-ca.crt" }}
mysqlCaCertsFile: {{ readFile "/var/appd/config/hybrid-mysql-ca.crt" | b64enc | quote }}
{{ end }}
kafka:
defaultCert: true
{{ if isFile "/var/appd/config/hybrid-kafka.key" }}
keyFile: {{ readFile "/var/appd/config/hybrid-kafka.key" | b64enc | quote }}
{{ end }}
{{ if isFile "/var/appd/config/hybrid-kafka.crt" }}
certFile: {{ readFile "/var/appd/config/hybrid-kafka.crt" | b64enc | quote }}
{{ end }}
schemaregistry:
externalUrl: https://<domain_name>/schemaregistry
Disable the Default Certificate Property
The migration tool requires you to use classic on-premises key and certificate instead of VA ingress certificate.
globals.yaml.gotmpl file to disable the setting that uses the default ingress certificate by setting ingress.defaultCert to false. Instead of the default certificate, configure the tool to use the On-Premises key file by specifying the paths to the private key and public certificate files.
{{
ingress:
defaultCert: false
{{ if isFile "path-to-key-file-of-onprem-classic"}}
keyFile: {{ readFile "path-to-key-file-of-onprem-classic" | b64enc | quote }}
{{ end }}
{{ if isFile "path-to-cert-file-of-onprem-classic" }}
certFile: {{ readFile "path-to-cert-file-of-onprem-classic" | b64enc | quote }}
{{ end }}}}
Disable the Events Service SSL Property
- HTTP
-
CODE
events: enableSsl: false externalUrl: <URL_of_Events_Service> - HTTPS
-
CODE
events: enableSsl: true externalUrl: <URL_of_Events_Service>