Document separate Linux and Windows ATVM target credentials
- add explicit Windows ATVM guest credential references alongside the existing Linux target defaults - update the ATVM automation guide and AGENTS rules so Linux SSH uses ATVM_TARGET_* while Windows guest access uses ATVM_WINDOWS_TARGET_* - update the CDS MCP CMC install and VMware workflow docs to distinguish Linux and Windows credential usage for the shared ATVM target IP - update the VM lookup reference so common VM credentials list both Linux and Windows target variables
This commit is contained in:
@@ -36,11 +36,12 @@ This file defines how to operate and maintain the ATVM workspace in `/home/aw/co
|
|||||||
- ATVM static IP target: `192.168.3.191/22`
|
- ATVM static IP target: `192.168.3.191/22`
|
||||||
- Gateway: `192.168.0.1`
|
- Gateway: `192.168.0.1`
|
||||||
- DNS: `8.8.8.8`, `8.8.4.4`
|
- DNS: `8.8.8.8`, `8.8.4.4`
|
||||||
- Default setup credential source: `/home/aw/code/cds/.env.credentials.local` via `ATVM_TARGET_USER` and `ATVM_TARGET_PASSWORD`
|
- Default Linux setup credential source: `/home/aw/code/cds/.env.credentials.local` via `ATVM_TARGET_USER` and `ATVM_TARGET_PASSWORD`
|
||||||
- Client log file: `atvm_setup_script.log`
|
- Client log file: `atvm_setup_script.log`
|
||||||
- Treat `192.168.3.191` as the default ATVM target host reference.
|
- Treat `192.168.3.191` as the default ATVM target host reference.
|
||||||
- For SSH to `192.168.3.191`, ignore host key mismatch by default with `-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null`.
|
- For SSH to `192.168.3.191`, ignore host key mismatch by default with `-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null`.
|
||||||
- For SSH to `192.168.3.191`, source `/home/aw/code/cds/.env.credentials.local` and use `ATVM_TARGET_USER` plus `ATVM_TARGET_PASSWORD` unless explicitly overridden.
|
- For Linux SSH to `192.168.3.191`, source `/home/aw/code/cds/.env.credentials.local` and use `ATVM_TARGET_USER` plus `ATVM_TARGET_PASSWORD` unless explicitly overridden.
|
||||||
|
- Use `ATVM_WINDOWS_TARGET_USER` plus `ATVM_WINDOWS_TARGET_PASSWORD` for Windows guest access to the same ATVM target IP unless explicitly overridden.
|
||||||
|
|
||||||
## Automation Track Defaults
|
## Automation Track Defaults
|
||||||
- Controller host: `atvm-cypres-vm-1`
|
- Controller host: `atvm-cypres-vm-1`
|
||||||
|
|||||||
@@ -17,7 +17,9 @@ Run ATVM CMC automation tests on the designated automation VM without unintended
|
|||||||
## ATVM Target Host Default
|
## ATVM Target Host Default
|
||||||
- Treat `192.168.3.191` as the default ATVM target host reference.
|
- Treat `192.168.3.191` as the default ATVM target host reference.
|
||||||
- For SSH to `192.168.3.191`, ignore host key mismatch by default with `-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null`.
|
- For SSH to `192.168.3.191`, ignore host key mismatch by default with `-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null`.
|
||||||
- For SSH to `192.168.3.191`, source `/home/aw/code/cds/.env.credentials.local` and use `ATVM_TARGET_USER` plus `ATVM_TARGET_PASSWORD` unless the operator explicitly overrides them.
|
- For Linux SSH access to `192.168.3.191`, source `/home/aw/code/cds/.env.credentials.local` and use `ATVM_TARGET_USER` plus `ATVM_TARGET_PASSWORD` unless the operator explicitly overrides them.
|
||||||
|
- `ATVM_LINUX_TARGET_HOST`, `ATVM_LINUX_TARGET_USER`, and `ATVM_LINUX_TARGET_PASSWORD` mirror the Linux default values when an OS-specific reference is clearer.
|
||||||
|
- For Windows guest access to `192.168.3.191`, source `/home/aw/code/cds/.env.credentials.local` and use `ATVM_WINDOWS_TARGET_USER` plus `ATVM_WINDOWS_TARGET_PASSWORD` unless the operator explicitly overrides them.
|
||||||
|
|
||||||
## Operating Constraints
|
## Operating Constraints
|
||||||
- Run only scripts/commands explicitly requested.
|
- Run only scripts/commands explicitly requested.
|
||||||
|
|||||||
@@ -15,6 +15,8 @@ curl https://get.cirrusdata.cloud/install-cmc | bash -s -- -rgc "$CMC_GCSTAGE_RE
|
|||||||
```
|
```
|
||||||
|
|
||||||
## Skidamarink Install (Windows)
|
## Skidamarink Install (Windows)
|
||||||
|
Source `/home/aw/code/cds/.env.credentials.local` first so `CMC_GCSTAGE_REGISTRATION_CODE` is present in the PowerShell environment, and use `ATVM_WINDOWS_TARGET_USER` plus `ATVM_WINDOWS_TARGET_PASSWORD` for Windows guest access unless the operator explicitly overrides them.
|
||||||
|
|
||||||
```powershell
|
```powershell
|
||||||
iex "& { $(irm https://get.cirrusdata.cloud/install-cmc-win) } -rgc $env:CMC_GCSTAGE_REGISTRATION_CODE -gce portal.gcstage.cloud.nonprod.cirrusdata.com:443 -pkg-mode PRE_RELEASE"
|
iex "& { $(irm https://get.cirrusdata.cloud/install-cmc-win) } -rgc $env:CMC_GCSTAGE_REGISTRATION_CODE -gce portal.gcstage.cloud.nonprod.cirrusdata.com:443 -pkg-mode PRE_RELEASE"
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -48,8 +48,10 @@ This file covers vCenter VM lookup responses and the workflow for assigning exis
|
|||||||
|
|
||||||
## Common VM Credentials
|
## Common VM Credentials
|
||||||
- Source `/home/aw/code/cds/.env.credentials.local`
|
- Source `/home/aw/code/cds/.env.credentials.local`
|
||||||
- Username: `ATVM_TARGET_USER`
|
- Linux username: `ATVM_TARGET_USER`
|
||||||
- Password: `ATVM_TARGET_PASSWORD`
|
- Linux password: `ATVM_TARGET_PASSWORD`
|
||||||
|
- Windows username: `ATVM_WINDOWS_TARGET_USER`
|
||||||
|
- Windows password: `ATVM_WINDOWS_TARGET_PASSWORD`
|
||||||
|
|
||||||
## Status Output Format (Power-Off/Revert/Power-On)
|
## Status Output Format (Power-Off/Revert/Power-On)
|
||||||
- `VM [vm name] was poweredOn, so I powered it off` (or `already poweredOff`)
|
- `VM [vm name] was poweredOn, so I powered it off` (or `already poweredOff`)
|
||||||
|
|||||||
@@ -22,7 +22,8 @@ This file is for workflow guidance only. Do not add specific run examples here.
|
|||||||
- Any other VM IP must be obtained live from vCenter for that run only.
|
- Any other VM IP must be obtained live from vCenter for that run only.
|
||||||
- Do not carry forward ad-hoc VM IPs from previous runs in runbooks.
|
- Do not carry forward ad-hoc VM IPs from previous runs in runbooks.
|
||||||
- When the operator refers to `192.168.3.191`, assume ATVM target SSH access should ignore host key mismatch by default with `-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null`.
|
- When the operator refers to `192.168.3.191`, assume ATVM target SSH access should ignore host key mismatch by default with `-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null`.
|
||||||
- When the operator refers to `192.168.3.191`, source `/home/aw/code/cds/.env.credentials.local` and use `ATVM_TARGET_USER` plus `ATVM_TARGET_PASSWORD` unless the operator explicitly overrides them.
|
- When the operator refers to `192.168.3.191` for Linux SSH access, source `/home/aw/code/cds/.env.credentials.local` and use `ATVM_TARGET_USER` plus `ATVM_TARGET_PASSWORD` unless the operator explicitly overrides them.
|
||||||
|
- When the operator refers to `192.168.3.191` for Windows guest access, source `/home/aw/code/cds/.env.credentials.local` and use `ATVM_WINDOWS_TARGET_USER` plus `ATVM_WINDOWS_TARGET_PASSWORD` unless the operator explicitly overrides them.
|
||||||
|
|
||||||
## Related References
|
## Related References
|
||||||
- VM lookup, datastore reporting, and FC/disk assignment:
|
- VM lookup, datastore reporting, and FC/disk assignment:
|
||||||
|
|||||||
Reference in New Issue
Block a user