インスタンスをエクスポート
情報
USBストレージデバイスは、デフォルトでブロックされています。 USBデバイスへのアクセスが必要な場合は、管理者としてログインした後、CLI > tuning > configure を使用して、チューニングオプション cubesys.probeusb を true に設定してください。
CubeCOSからインスタンスをエクスポートする方法
SSHで管理コンソールに接続する
$ ssh admin@IPADDRESS
Warning: Permanently added '192.168.X.X' (ECDSA) to the list of known hosts.
Password:
Welcome to the Cube Appliance
Enter "help" for a list of available commands
License (type: trial) is valid for 98 days
controller>
インスタンスのエクスポート
controller> image
controller:image> export_instance
ドメインを選択
1: default
Enter index: 1
テナントを選択
1: admin
2: bigstack
Enter index: 2
インスタンスを選択
1: Webserver
Enter index: 1
出力形式
Is the instance installed apt - qemu-guest-agent?
Is a requirement for this operation
Enter 'YES' to confirm: YES
Select output format:
1: vmdk
2: raw
Enter index: 1
出力先を選択
1: usb
2: local
Enter index: 2
エクスポート中
[13:36:55] fetch Webserver disk information ... done
[13:37:02] upload Webserver disk 0 (volume: 92b0808f-ffd3-4639-90eb-dfcc237e6b08) to image repository . done
[13:37:19] download uploaded image to file /mnt/cephfs/glance/Webserver-export-ea54737a-20220127-133655-disk0.raw ...
[=============================>] 100%
[13:37:24] convert to /mnt/cephfs/glance/Webserver-export-ea54737a-20220127-133655-disk0.vmdk ...
(100.00/100%)
[13:37:24] delete uploaded image ... done
Exporting Webserver complete. It is safe to remove the local image file.