SmartOS: Unterschied zwischen den Versionen
Vater (Diskussion | Beiträge) (Weiterleitung nach Illumos#SmartOS erstellt) |
|||
(5 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
[[Kategorie:Betriebssystem]] | [[Kategorie:Betriebssystem]] | ||
'''SmartOS''' is a [ree and open-source software [[UNIX System V#SVR4|SVR4]] [[hypervisor]] based on the [[Unix|UNIX]] [[operating system]] that combines [[OpenSolaris]] technology with Linux's [[Kernel-based Virtual Machine|KVM]] virtualization.<ref>{{cite web | last=Frommel|first=Oliver|title= SmartOS Weds Open Solaris to Linux KVM Virtualization | url = http://www.admin-magazine.com/HPC/News/SmartOS-Weds-Open-Solaris-to-Linux-KVM-Virtualization | work = Admin magazine | accessdate = 31 December 2012}}</ref> Its core kernel contributed to the [[illumos]] project.<ref>{{Citation | url = https://github.com/joyent/illumos-joyent | title= illumos-joyent | date=April 2015}}</ref> It features several technologieimgs: [[OpenSolaris Network Virtualization and Resource Control|Crossbow]], [[DTrace]], [[Kernel-based Virtual Machine|KVM]], [[ZFS]], and [[Solaris Containers|Zones]].<ref name = "smartos.org">{{Citation | url = http://smartos.org/ | title = SmartOS}}.</ref><ref>{{cite web | date = Aug 15, 2014 | url = http://www.datacenterknowledge.com/archives/2011/08/15/joyent-open-sources-smartos/ | title=Joyent Open Sources SmartOS for the Cloud | publisher=Data Center Knowledge | accessdate = January 1, 2013 | last = Miller | first = Colleen}}</ref> Unlike other illumos distributions, SmartOS employs [[NetBSD]] [[pkgsrc]] package management.<ref>{{cite web |title=Joyent Packages Documentation - Home |url=https://pkgsrc.joyent.com/}}</ref> SmartOS is designed to be particularly suitable for building clouds and generating appliances.<ref>{{cite web | work = H online | url = http://www.h-online.com/open/news/item/SmartOS-brings-KVM-to-the-Solaris-kernel-1323425.html | title= SmartOS brings KVM to the Solaris kernel}}</ref> 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: [https://dsapid.root1.ass.de/ui/#!/configure] geschehen | |||
Dieses JSON am besten im den Ordner: '/zones/c3d2/templates' anlegen. | |||
Vorher kann man sich die Liste aller Verfügbaren Images angeschauen <code>imgadm avail</code> 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. | |||
<source> | |||
{ | |||
"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" | |||
} | |||
</source> | |||
: <code>vmadm create -f 1.server7smarti1-admin-kvm-ranchercluster1.json</code> | |||
<source> | |||
Successfully created VM 3516ab22-69b0-e327-95ec-f9be8852ee44 | |||
</source> | |||
=== weiterführend === | |||
siehe auch [[illumos#SmartOS]] |
Version vom 13. September 2019, 22:37 Uhr
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
Successfully created VM 3516ab22-69b0-e327-95ec-f9be8852ee44
weiterführend
siehe auch illumos#SmartOS