Copiar o linkLink copiado para a área de transferência!
An existing block storage domain with type set to iscsi or fcp can be imported to the engine using the REST API. The ability to import storage domains allows you to recover data in the event of a failure in the engine database, and to migrate data from one data center or environment to another.
This procedure assumes the storage domain is not attached to a data center or host in any environment. Moreover, to import and attach an existing block storage domain to a data center, the target data center must be initialized, and must have a compatibility level of 3.5 or higher.
Procedure 12.1. Importing a block storage domain
Discover the targets on your iSCSI storage server:
Copy to ClipboardCopied!Toggle word wrapToggle overflow
You have now imported the block storage domain to your host.
You may now wish to attach the storage domain to the host, and find any unregistered disks. Attach the storage domain and associated disks with the following steps:
Procedure 12.2. Attaching a block storage domain
Attach the storage domain to your data center:
POST /api/datacenters/01a45ff0-915a-45e0-8d56-5253234ac988/storagedomains
Accept: application/xml
Content-Type: application/xml
<storage_domain>
<name>scsi4</name>
</storage_domain>
POST /api/datacenters/01a45ff0-915a-45e0-8d56-5253234ac988/storagedomains
Accept: application/xml
Content-Type: application/xml
<storage_domain>
<name>scsi4</name>
</storage_domain>
Copy to ClipboardCopied!Toggle word wrapToggle overflow
Find the unregistered disks on the storage domain:
GET /api/storagedomains/6ab65b16-0f03-4b93-85a7-5bc3b8d52be0/disks;unregistered
Accept: application/xml
Content-Type: application/xml
GET /api/storagedomains/6ab65b16-0f03-4b93-85a7-5bc3b8d52be0/disks;unregistered
Accept: application/xml
Content-Type: application/xml
Copy to ClipboardCopied!Toggle word wrapToggle overflow
This will return information about any unregistered disks on the storage domain, with a response similar to:
Ajudamos os usuários da Red Hat a inovar e atingir seus objetivos com nossos produtos e serviços com conteúdo em que podem confiar. Explore nossas atualizações recentes.
Tornando o open source mais inclusivo
A Red Hat está comprometida em substituir a linguagem problemática em nosso código, documentação e propriedades da web. Para mais detalhes veja o Blog da Red Hat.
Sobre a Red Hat
Fornecemos soluções robustas que facilitam o trabalho das empresas em plataformas e ambientes, desde o data center principal até a borda da rede.