https://github.com/erigones/esdc-tools
Tools for Danube Cloud
https://github.com/erigones/esdc-tools
danube danubecloud esdc hacktoberfest smartos
Last synced: 4 months ago
JSON representation
Tools for Danube Cloud
- Host: GitHub
- URL: https://github.com/erigones/esdc-tools
- Owner: erigones
- License: apache-2.0
- Created: 2020-10-03T22:40:19.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2020-10-07T17:29:09.000Z (over 4 years ago)
- Last Synced: 2025-01-08T07:47:02.233Z (5 months ago)
- Topics: danube, danubecloud, esdc, hacktoberfest, smartos
- Language: Shell
- Homepage:
- Size: 22.5 KB
- Stars: 1
- Watchers: 5
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# esdc-tools
Tools for Danube CloudConvert SmartOS to Danube Cloud
===============================
convert-smartos-to-danube-cloud.sh
------It is possible to easily convert standalone SmartOS installation to Danube Cloud, with all existing virtual machines. You can choose to either deploy the Danube Cloud management VMs or you can join the standalone SmartOS system to existing Danube Cloud installation.
Just download the conversion script and follow the instructions:
```
smartos# wget https://github.com/erigones/esdc-tools/raw/main/convert-smartos-to-danube-cloud.sh
smartos# chmod +x convert-smartos-to-danube-cloud.sh
smartos# ./convert-smartos-to-danube-cloud.sh
```Requirements
------------
* 6GB USB key size for the first compute node or 2GB for next compute node (non-management)
* 100GB+ of HDD size
* Intel CPU (only for the first compute node, because of KVM)
* Private admin network (see instructions printed by the conversion script)Rollback
--------
In case you want do return back to plain SmartOS, just rewrite (or replace) the USB key with SmartOS image and reboot.Cleanup
-------
To do complete cleanup after rollback, you can
* remove Danube Cloud entries in the bottom from `/usbkey/config`
* `zfs destroy zones/iso`
* `zfs destroy zones/backup`
* remove directories `/opt/erigones`, `/opt/zabbix`, `/opt/local` (you might want to keep this), `/opt/custom` (in case you don't have your own SMF customizations in `/opt/custom/smf`)None of these bits affect the plain SmartOS functionality so their removal is optional.