13.3. Nutanix 설치 후 구성
플랫폼 통합이 활성화된 Nutanix 플랫폼에 OpenShift Container Platform을 설치한 후 다음 Nutanix 구성 설정을 수동으로 업데이트해야 합니다.
-
<prismcentral_address> : Nutanix Prism Central IP 주소 -
<prismcentral_port> : Nutanix Prism 중앙 포트입니다. -
<prismelement_address> : Nutanix Prism Element IP 주소 -
<prismelement_port> : Nutanix Prism Element 포트입니다. -
<prismelement_clustername> : Nutanix Prism Element 클러스터 이름입니다. -
<nutanix_username> : Nutanix Prism 요소 로그인 -
<nutanix_password> : Nutanix Prism Element password
사전 요구 사항
- 지원 설치 프로그램이 클러스터 설치를 성공적으로 완료했습니다.
- 클러스터가 console.redhat.com 에 연결되어 있습니다.
절차
Nutanix 구성을 업데이트합니다.
$ oc patch infrastructure/cluster --type=merge --patch-file=/dev/stdin <<-EOF { "spec": { "platformSpec": { "nutanix": { "prismCentral": { "address": "<prismcentral_address>", 1 "port": <prismcentral_port> 2 }, "prismElements": [ { "endpoint": { "address": "<prismelement_address>", 3 "port": <prismelement_port> 4 }, "name": "<prismelement_clustername>" 5 } ] }, "type": "Nutanix" } } } EOF- 1
- &
lt;prismcentral_address>를 Nutanix Prism Central IP 주소로 바꿉니다. - 2
- &
lt;prismcentral_port>를 Nutanix Prism 중앙 포트로 바꿉니다. - 3
- <
;prismelement_address>를 Nutanix Prism Element IP 주소로 바꿉니다. - 4
- &
lt;prismelement_port>를 Nutanix Prism Element 포트로 바꿉니다. - 5
- &
lt;prismelement_clustername>을 Nutanix Prism Element 클러스터 이름으로 바꿉니다.
자세한 내용은 Nutanix에서 머신 세트 생성을 참조하십시오.
보안을 업데이트합니다.
$ cat <<EOF | oc create -f - apiVersion: v1 kind: Secret metadata: name: nutanix-credentials namespace: openshift-machine-api type: Opaque stringData: credentials: | [{"type":"basic_auth","data":{"prismCentral":{"username":"<nutanix_username>","password":"<nutanix_password>"},"prismElements":null}}] EOF<
;nutanix_username>을 Nutanix Prism 요소 로그인으로 바꿉니다. <nutanix_password>를 Nutanix Prism 요소 암호로 바꿉니다.자세한 내용은 기본 스토리지 컨테이너 구성을 참조하십시오.