Итак, есть пул на XenServer 7.0
При попытке извлечь хост из пула получаем ошибку:
[root@xenserver01
~]# xe pool-eject host-uuid=e0f891b7-0b7d-495d-9acc-5139f8ed220e
WARNING: Ejecting a
host from the pool will reinitialise that host's local SRs.
WARNING: Any data
contained with the local SRs will be lost.
The following VDI
objects will be destroyed:
VDI:
28e82487-e10d-4c4b-a62c-b1d849801149 (SCSI 1:0:0:0)
VDI:
8bacebfe-97c2-4827-a587-7406deab639c (disp1root)
VDI:
dd2fa215-f949-4b35-b92f-26f7ac70fe15 (disp2u02)
Type 'yes' to
continue
yes
The SR.shared flag
cannot be set to false while the SR remains connected to multiple
hosts
PBD:
72c8bb77-7c88-8a28-6d28-930b7af4af2c
:
622cd4ec-d1a6-2412-8c18-425a8d53a651
:
3c2b6013-cc37-d7f9-e508-33680e42ead3
Вот последовательно весь набор операций с выводом консоли для лечения
ssh root@xenserver01
[root@xenserver01
~]# xe host-list
uuid ( RO)
: e0f891b7-0b7d-495d-9acc-5139f8ed220e
name-label
( RW): xenserver01
name-description
( RW): Default install
uuid ( RO)
: 6a6ea57f-0b4a-4df1-b861-9a58064d72ab
name-label
( RW): xen06
name-description
( RW): Default install
uuid ( RO)
: 19d1baa4-7b26-46e9-bdbf-9e1e15d227a6
name-label
( RW): xen04
name-description
( RW): Default install
uuid ( RO)
: 20aecdd0-d91f-47ba-833b-1d92bb8ddb36
name-label
( RW): xenserver02
name-description
( RW): Pool Master
[root@xenserver01
~]# xe pool-eject host-uuid=e0f891b7-0b7d-495d-9acc-5139f8ed220e
WARNING: Ejecting a
host from the pool will reinitialise that host's local SRs.
WARNING: Any data
contained with the local SRs will be lost.
The following VDI
objects will be destroyed:
VDI:
28e82487-e10d-4c4b-a62c-b1d849801149 (SCSI 1:0:0:0)
VDI:
8bacebfe-97c2-4827-a587-7406deab639c (disp1root)
VDI:
dd2fa215-f949-4b35-b92f-26f7ac70fe15 (disp2u02)
Type 'yes' to
continue
yes
The SR.shared flag
cannot be set to false while the SR remains connected to multiple
hosts
PBD:
72c8bb77-7c88-8a28-6d28-930b7af4af2c
:
622cd4ec-d1a6-2412-8c18-425a8d53a651
:
3c2b6013-cc37-d7f9-e508-33680e42ead3
[root@xenserver01
~]# xe pbd-list uuid=72c8bb77-7c88-8a28-6d28-930b7af4af2c
uuid ( RO)
: 72c8bb77-7c88-8a28-6d28-930b7af4af2c
host-uuid ( RO): 19d1baa4-7b26-46e9-bdbf-9e1e15d227a6
sr-uuid ( RO): b15d8a95-adb2-e7ef-ad64-d54f61a84a4c
device-config (MRO): location: /opt/xensource/packages/iso;
legacy_mode: true
currently-attached ( RO): false
[root@xenserver01
~]# xe pbd-destroy uuid=72c8bb77-7c88-8a28-6d28-930b7af4af2c
[root@xenserver01
~]# xe pool-eject host-uuid=e0f891b7-0b7d-495d-9acc-5139f8ed220e
WARNING: Ejecting a
host from the pool will reinitialise that host's local SRs.
WARNING: Any data
contained with the local SRs will be lost.
The following VDI
objects will be destroyed:
VDI:
28e82487-e10d-4c4b-a62c-b1d849801149 (SCSI 1:0:0:0)
VDI:
8bacebfe-97c2-4827-a587-7406deab639c (disp1root)
VDI:
dd2fa215-f949-4b35-b92f-26f7ac70fe15 (disp2u02)
Type 'yes' to
continue
yes
The SR.shared flag
cannot be set to false while the SR remains connected to multiple
hosts
PBD:
622cd4ec-d1a6-2412-8c18-425a8d53a651
:
3c2b6013-cc37-d7f9-e508-33680e42ead3
[root@xenserver01
~]# xe pbd-list uuid=622cd4ec-d1a6-2412-8c18-425a8d53a651
uuid ( RO)
: 622cd4ec-d1a6-2412-8c18-425a8d53a651
host-uuid ( RO): e0f891b7-0b7d-495d-9acc-5139f8ed220e
sr-uuid ( RO): b15d8a95-adb2-e7ef-ad64-d54f61a84a4c
device-config (MRO): location: /opt/xensource/packages/iso;
legacy_mode: true
currently-attached ( RO): false
[root@xenserver01
~]# xe pbd-destroy uuid=622cd4ec-d1a6-2412-8c18-425a8d53a651
Читать далее