Linux

[XENSERVER] VM 자동 재부팅 ON

1. 호스트

# POOL
xe pool-param-set uuid=$(xe pool-list --minimal) other-config:auto_poweron=true

# 단독
xe host-param-set uuid=$(xe host-list --minimal) other-config:auto_poweron=true

2. VM

for i in $(seq -w 1 84); do
    VM_UUID=$(xe vm-list name-label=${i} --minimal)
    if [ -n "$VM_UUID" ]; then
        xe vm-param-set uuid=${VM_UUID} other-config:auto_poweron=true
    else
        echo "VM ${i} not found"
    fi
done

 

사업자 정보 표시
디알소프트 | 유용훈 | 서울시 양천구 오목로 30길 | 사업자 등록번호 : 184-47-00657 | TEL : 02-2692-1002 | Mail : gkioo@daum.net | 통신판매신고번호 : 호 | 사이버몰의 이용약관 바로가기