Files
Sankofa/docs/reference/SCRIPT_COPIED_TO_PROXMOX_NODES.md

62 lines
1.5 KiB
Markdown
Raw Normal View History

# Script Copied to Proxmox Nodes
**Date**: 2025-12-11
**Script**: `complete-vm-100-guest-agent-check.sh`
**Status**: ✅ Successfully copied to both nodes
---
## Summary
The script `complete-vm-100-guest-agent-check.sh` has been successfully copied to both Proxmox nodes:
-**ml110-01** (192.168.11.10)
-**r630-01** (192.168.11.11)
**Location**: `/usr/local/bin/complete-vm-100-guest-agent-check.sh`
**Permissions**: Executable (`chmod +x`)
---
## Usage
### On ml110-01:
```bash
sshpass -p 'L@kers2010' ssh root@192.168.11.10
/usr/local/bin/complete-vm-100-guest-agent-check.sh
```
### On r630-01:
```bash
sshpass -p 'L@kers2010' ssh root@192.168.11.11
/usr/local/bin/complete-vm-100-guest-agent-check.sh
```
---
## What the Script Does
The script checks VM 100's guest agent configuration:
1. ✅ Verifies `qm` command is available (must run on Proxmox node)
2. ✅ Checks if VM 100 exists
3. ✅ Verifies guest agent is enabled in VM config (`agent: 1`)
4. ✅ Checks if `qemu-guest-agent` package is installed inside the VM
5. ✅ Verifies the guest agent service is running inside the VM
6. ✅ Provides clear status messages and error handling
---
## Notes
- The script **must be run on the Proxmox node** (not from your local machine)
- It uses `qm guest exec` commands which require the guest agent to be working
- If the guest agent is not working, some checks may fail, but the script will provide clear error messages
---
**Last Updated**: 2025-12-11