Loading...
Loading...
Compare original and translation side by side
AI Agent Skill: Operational knowledge for managing Proxmox Virtual Environment infrastructure
AI Agent Skill:管理Proxmox Virtual Environment基础设施的运维知识
1. Get next available VMID
2. Create VM with basic config (CPU, memory, OS type)
3. Add disk(s) from storage
4. Configure network interface(s)
5. Set boot order
6. Start VM1. 获取下一个可用的VMID
2. 使用基础配置(CPU、内存、操作系统类型)创建VM
3. 从存储添加磁盘
4. 配置网络接口
5. 设置启动顺序
6. 启动VM1. Review current config
2. Resize resources (CPU, memory, disk) as needed
3. Add/remove network interfaces
4. Configure firewall rules
5. Set up snapshots for rollback capability1. 查看当前配置
2. 根据需要调整资源(CPU、内存、磁盘)
3. 添加/移除网络接口
4. 配置防火墙规则
5. 设置快照以支持回滚1. Check VM status (running, stopped, paused)
2. Monitor resource usage (CPU, memory, disk I/O)
3. Review task history for recent operations
4. Check logs for errors or warnings1. 检查VM状态(运行、停止、暂停)
2. 监控资源使用情况(CPU、内存、磁盘I/O)
3. 查看近期操作的任务历史
4. 检查日志中的错误或警告1. Create snapshot for quick rollback
2. Schedule backup job (vzdump)
3. Verify backup completed successfully
4. Test restore periodically
5. Prune old backups to manage space1. 创建快照以快速回滚
2. 调度备份任务(vzdump)
3. 验证备份是否成功完成
4. 定期测试恢复流程
5. 清理旧备份以管理存储空间1. Create final backup
2. Stop VM gracefully
3. Remove from HA if configured
4. Delete VM and associated disks
5. Clean up firewall rules
6. Update documentation1. 创建最终备份
2. 优雅停止VM
3. 若已配置HA,将其从HA中移除
4. 删除VM及关联磁盘
5. 清理防火墙规则
6. 更新文档1. Create from template
2. Configure resources (CPU, memory, swap)
3. Add mount points for storage
4. Configure network
5. Start container
6. Access via console or SSHmp0mp11. 从模板创建容器
2. 配置资源(CPU、内存、交换分区)
3. 添加存储挂载点
4. 配置网络
5. 启动容器
6. 通过控制台或SSH访问mp0mp11. List available storage
2. Add new storage backend (NFS, Ceph, etc.)
3. Configure content types (images, backups, ISOs)
4. Set storage as default for specific content
5. Monitor storage usage1. 列出可用存储
2. 添加新的存储后端(NFS、Ceph等)
3. 配置内容类型(镜像、备份、ISO)
4. 将存储设置为特定内容的默认存储
5. 监控存储使用率1. Upload ISOs/templates to storage
2. Download from URL to storage
3. List storage content
4. Delete unused content
5. Restore files from backups1. 上传ISO/模板至存储
2. 从URL下载至存储
3. 列出存储内容
4. 删除未使用的内容
5. 从备份中恢复文件1. Create backup jobs (manual or scheduled)
2. Configure retention policy
3. Prune old backups automatically
4. Restore from backup
5. Verify backup integrity1. 创建备份任务(手动或调度)
2. 配置保留策略
3. 自动清理旧备份
4. 从备份恢复
5. 验证备份完整性1. Create HA group (define node priorities)
2. Add VM/LXC to HA management
3. Configure HA settings (max relocate, max restart)
4. Monitor HA status
5. Test failover scenarios1. 创建HA组(定义节点优先级)
2. 将VM/LXC添加至HA管理
3. 配置HA设置(最大重定位数、最大重启数)
4. 监控HA状态
5. 测试故障转移场景1. Verify target node has resources
2. Check shared storage access
3. Initiate migration
4. Monitor migration progress
5. Verify VM running on new node1. 验证目标节点有足够资源
2. 检查共享存储访问权限
3. 启动迁移
4. 监控迁移进度
5. 验证VM在新节点上正常运行1. Stop VM/LXC
2. Migrate to target node
3. Start on new node1. 停止VM/LXC
2. 迁移至目标节点
3. 在新节点启动1. Check node resources (memory, CPU)
2. Verify storage is mounted and accessible
3. Remove lock file if stale
4. Review VM config for errors
5. Check logs: /var/log/pve/tasks/1. 检查节点资源(内存、CPU)
2. 验证存储已挂载且可访问
3. 若锁定文件已失效则删除
4. 检查VM配置中的错误
5. 查看日志:/var/log/pve/tasks/1. Verify network between nodes
2. Check storage is accessible from both nodes
3. Review CPU flags compatibility
4. Ensure target node has capacity
5. Try offline migration if live fails1. 验证节点间网络
2. 检查存储是否可被双方节点访问
3. 检查CPU标志兼容性
4. 确保目标节点有足够容量
5. 若实时迁移失败,尝试离线迁移1. Check storage space availability
2. Verify no other operations running on VM
3. Try manual backup to isolate issue
4. Review backup job logs
5. Prune old backups to free space1. 检查存储空间可用性
2. 验证VM上无其他运行中的操作
3. 尝试手动备份以隔离问题
4. 查看备份任务日志
5. 清理旧备份以释放空间1. Check cluster quorum status
2. Verify HA service running on all nodes
3. Review HA group configuration
4. Check fencing configuration
5. Manually start VM if needed1. 检查集群仲裁状态
2. 验证所有节点上的HA服务均在运行
3. 检查HA组配置
4. 检查隔离机制配置
5. 必要时手动启动VM1. Monitor storage backend performance
2. Check network throughput to storage
3. Adjust VM disk cache settings
4. Distribute VMs across multiple storage
5. Consider faster storage tier1. 监控存储后端性能
2. 检查与存储的网络吞吐量
3. 调整VM磁盘缓存设置
4. 将VM分散到多个存储上
5. 考虑使用更快的存储层级