SmartOS
SmartOS is a [ree and open-source software SVR4 hypervisor based on the UNIX operating system that combines OpenSolaris technology with Linux's KVM virtualization.[1] Its core kernel contributed to the illumos project.[2] It features several technologieimgs: Crossbow, DTrace, KVM, ZFS, and Zones.[3][4] Unlike other illumos distributions, SmartOS employs NetBSD pkgsrc package management.[5] SmartOS is designed to be particularly suitable for building clouds and generating appliances.[6] It is developed for and by Joyent, but is open-source and free for anyone to use.
Deployment von lx-zones
mit imgadm können Images verwaltet werden und mittels `vmadm` laufende virtuelle Maschinen und Container.
Um eine neue LX-Zone zu erstellen muss zunächst eine JSON-Beschreibungsdatei erstellt werden.
Dies kann auch mithilfe des Webfrontends: [1] geschehen Dieses JSON am besten im den Ordner: '/zones/c3d2/templates' anlegen.
Vorher kann man sich die Liste aller Verfügbaren Images angeschauen imgadm avail
und gegebenenfalls erweitert.
Erstellung des konfigurierten Container:
vmadm create -f path-to-json.json
Deployment von kvm-machines
Beispielhaft kann unsere RancherOS_Cluster für die Erstellung einer virtuellen Maschine herangezogen werden.
{
"brand": "kvm",
"autoboot": true,
"alias": "server7smarti1-admin-kvm-ranchercluster1",
"hostname": "server7smarti1-admin-kvm-ranchercluster1",
"resolvers": [
"9.9.9.9",
"149.112.112.112"
],
"nics": [
{
"nic_tag": "admin",
"ip": "172.22.99.246",
"ips": ["172.22.99.246/24", "addrconf"],
"netmask": "255.255.255.0",
"gateway": "172.22.99.1",
"model": "virtio",
"allow_restricted_traffic": true,
"primary": true
}
],
"vcpus": "6",
"ram": "16384",
"disks": [
{
"boot": true,
"model": "virtio",
"compression": "lz4",
"size": 131072,
"block_size": 8192
}
],
"internal_metadata": {},
"vnc_port": "10001",
"vnc_password": "c3d2",
"cpu_type": "qemu64",
"qemu_extra_opts": "-k de"
}
vmadm create -f 1.server7smarti1-admin-kvm-ranchercluster1.json
<source> Successfully created VM 3516ab22-69b0-e327-95ec-f9be8852ee44
weiterführend
siehe auch illumos#SmartOS