SmartOS

Last updated
SmartOS
TritonSmartOS20221201.png
SmartOS banner and console login
Developer MNX Solutions
Written in C
OS family Unix (SysV)
Working stateCurrent
Source model Open source, on GitHub [1]
Repository
Available in English
Package manager pkgsrc
Platforms x86-64
Kernel type Monolithic
License CDDL-1.0
Official website smartos.org OOjs UI icon edit-ltr-progressive.svg

SmartOS is a free and open-source SVR4 hypervisor based on the UNIX operating system that combines OpenSolaris technology with bhyve and KVM virtualization. [2] Its core kernel contributes to the illumos project. [3] It features several technologies: Crossbow, DTrace, bhyve, KVM, ZFS, and Zones. [4] [5] Unlike other illumos distributions, SmartOS employs NetBSD pkgsrc package management. [6] [7] SmartOS is designed to be particularly suitable for building clouds and generating appliances. [8] It was originally developed for and by Joyent, who announced in April 2022 that they had sold their business supporting and developing of Triton Datacenter and SmartOS to MNX Solutions. [9] It is open-source and free for anyone to use.

Contents

SmartOS is an in-memory operating system and boots directly into random-access memory. It supports various boot mechanisms such as booting from hard drive, USB thumbdrive, ISO Image, or over the network via PXE boot. One of the many benefits of employing this boot mechanism is that operating system upgrades are trivial, simply requiring a reboot from a newer SmartOS image version. [10]

SmartOS follows a strict local node storage architecture. This means that virtual machines are stored locally on each node and do not boot over the network from a central SAN or NAS. This helps ensure that network latency issues are eliminated as well as to preserve node independence. Multi-node SmartOS clouds can be managed via the open-source [11] MNX Triton DataCenter [12] (formerly known as SmartDataCenter [13] ) cloud orchestration suite or via the Project Fifo [14] Open Source SmartOS Cloud management platform built on Erlang.

In 2012, Joyent and MongoDB Inc. (formerly 10gen) partnered to improve the scalability of SmartOS. [15]

Virtualization

SmartOS includes a number of virtualization technologies, including:

Native Zones

Native zones provide SmartOS applications isolation environment, based on Solaris Containers , an OS-level virtualization, without the overhead of hardware-emulating HVM virtual machines.

LX zones (Linux system call emulation)

LX-branded zones provide the Linux system call interface, enabling the execution of Linux application binaries without recompiling them for SmartOS. This facility is available in several illumos distributions, including SmartOS and OmniOS.

KVM

KVM and QEMU were ported to SmartOS in 2011, and can be used on Intel CPUs with VMX and EPT support.

bhyve

The Bhyve hypervisor from FreeBSD was ported to SmartOS. This is the preferred virtualization when required to use HVM for Windows or Linux guests.

Related Research Articles

<span class="mw-page-title-main">Xen</span> Type-1 hypervisor

Xen is a free and open-source type-1 hypervisor, providing services that allow multiple computer operating systems to execute on the same computer hardware concurrently. It was originally developed by the University of Cambridge Computer Laboratory and is now being developed by the Linux Foundation with support from Intel, Citrix, Arm Ltd, Huawei, AWS, Alibaba Cloud, AMD, Bitdefender and epam.

<span class="mw-page-title-main">UNIX System V</span> Early commercial UNIX operating system

Unix System V is one of the first commercial versions of the Unix operating system. It was originally developed by AT&T and first released in 1983. Four major versions of System V were released, numbered 1, 2, 3, and 4. System V Release 4 (SVR4) was commercially the most successful version, being the result of an effort, marketed as Unix System Unification, which solicited the collaboration of the major Unix vendors. It was the source of several common commercial Unix features. System V is sometimes abbreviated to SysV.

pkgsrc Package manager for Unix-like operating systems

pkgsrc is a package management system for Unix-like operating systems. It was forked from the FreeBSD ports collection in 1997 as the primary package management system for NetBSD. Since then it has evolved independently; in 1999, support for Solaris was added, followed by support for other operating systems.

A hypervisor is a type of computer software, firmware or hardware that creates and runs virtual machines. A computer on which a hypervisor runs one or more virtual machines is called a host machine, and each virtual machine is called a guest machine. The hypervisor presents the guest operating systems with a virtual operating platform and manages the execution of the guest operating systems. Unlike an emulator, the guest executes most instructions on the native hardware. Multiple instances of a variety of operating systems may share the virtualized hardware resources: for example, Linux, Windows, and macOS instances can all run on a single physical x86 machine. This contrasts with operating-system–level virtualization, where all instances must share a single kernel, though the guest operating systems can differ in user space, such as different Linux distributions with the same kernel.

Platform virtualization software, specifically emulators and hypervisors, are software packages that emulate the whole physical computer machine, often providing multiple virtual machines on one physical platform. The table below compares basic information about platform virtualization hypervisors.

In computing, a solution stack or software stack is a set of software subsystems or components needed to create a complete platform such that no additional software is needed to support applications. Applications are said to "run on" or "run on top of" the resulting platform.

OS-level virtualization is an operating system (OS) virtualization paradigm in which the kernel allows the existence of multiple isolated user space instances, called containers, zones, virtual private servers (OpenVZ), partitions, virtual environments (VEs), virtual kernels, or jails. Such instances may look like real computers from the point of view of programs running in them. A computer program running on an ordinary operating system can see all resources of that computer. However, programs running inside of a container can only see the container's contents and devices assigned to the container.

virt-manager Software

virt-manager is a desktop virtual machine monitor primarily developed by Red Hat.

Ports collections are the sets of makefiles and patches provided by the BSD-based operating systems, FreeBSD, NetBSD, and OpenBSD, as a simple method of installing software or creating binary packages. They are usually the base of a package management system, with ports handling package creation and additional tools managing package removal, upgrade, and other tasks. In addition to the BSDs, a few Linux distributions have implemented similar infrastructure, including Gentoo's Portage, Arch's Arch Build System (ABS), CRUX's Ports and Void Linux's Templates.

The following is a timeline of virtualization development. In computing, virtualization is the use of a computer to simulate another computer. Through virtualization, a host simulates a guest by exposing virtual hardware devices, which may be done through software or by allowing access to a physical device connected to the machine.

<span class="mw-page-title-main">Kernel-based Virtual Machine</span> Virtualization module in the Linux kernel

Kernel-based Virtual Machine (KVM) is a free and open-source virtualization module in the Linux kernel that allows the kernel to function as a hypervisor. It was merged into the mainline Linux kernel in version 2.6.20, which was released on February 5, 2007. KVM requires a processor with hardware virtualization extensions, such as Intel VT or AMD-V. KVM has also been ported to other operating systems such as FreeBSD and illumos in the form of loadable kernel modules.

oVirt Free, open-source virtualization management platform

oVirt is a free, open-source virtualization management platform. It was founded by Red Hat as a community project on which Red Hat Virtualization is based. It allows centralized management of virtual machines, compute, storage and networking resources, from an easy-to-use web-based front-end with platform independent access. KVM on x86-64, PowerPC64 and s390x architecture are the only hypervisors supported, but there is an ongoing effort to support ARM architecture in a future releases.

libvirt Management tool

libvirt is an open-source API, daemon and management tool for managing platform virtualization. It can be used to manage KVM, Xen, VMware ESXi, QEMU and other virtualization technologies. These APIs are widely used in the orchestration layer of hypervisors in the development of a cloud-based solution.

<span class="mw-page-title-main">Illumos</span> Free software implementation of the Solaris kernel

Illumos is a partly free and open-source Unix operating system. It is based on OpenSolaris, which was based on System V Release 4 (SVR4) and the Berkeley Software Distribution (BSD). Illumos comprises a kernel, device drivers, system libraries, and utility software for system administration. This core is now the base for many different open-sourced Illumos distributions, in a similar way in which the Linux kernel is used in different Linux distributions.

Joyent Inc. is a software and services company based in San Francisco, California. Specializing in cloud computing, it markets infrastructure-as-a-service. On June 15, 2016, the company was acquired by Samsung Electronics.

<span class="mw-page-title-main">OpenIndiana</span> Solaris-like operating system based on illumos

OpenIndiana is a free and open-source illumos distribution descended from UNIX System V Release 4 via the OpenSolaris operating system. Forked from OpenSolaris after OpenSolaris was discontinued by Oracle Corporation, OpenIndiana takes its name from Project Indiana, the internal codename for OpenSolaris at Sun Microsystems before Oracle’s acquisition of Sun in 2010.

<span class="mw-page-title-main">OpenZFS</span> Open-source implementation of the ZFS file system

OpenZFS is an open-source implementation of the ZFS file system and volume manager initially developed by Sun Microsystems for the Solaris operating system and now maintained by the OpenZFS Project. It supports features like data compression, data deduplication, copy-on-write clones, snapshots, and RAID-Z. It also supports the creation of virtual devices, which allows for the creation of file systems that span multiple disks.

bhyve is a type-2 hypervisor initially written for FreeBSD. It can also be used on a number of illumos based distributions including SmartOS, OpenIndiana, and OmniOS. A port of bhyve to macOS called xhyve is also available.

<span class="mw-page-title-main">Proxmox Virtual Environment</span> Linux distribution for server virtualization

Proxmox Virtual Environment is a hyper-converged infrastructure open-source software. It is a hosted hypervisor that can run operating systems including Linux and Windows on x64 hardware. It is a Debian-based Linux distribution with a modified Ubuntu LTS kernel and allows deployment and management of virtual machines and containers. Two types of virtualization are supported: container-based with LXC, and full virtualization with KVM. It includes a web-based management interface. There is also a mobile application available for controlling PVE environments.

References

  1. "Smart OS live", MNX Triton DataCenter, GitHub.
  2. Frommel, Oliver. "SmartOS Weds Open Solaris to Linux KVM Virtualization". Admin magazine. Retrieved 31 December 2012.
  3. illumos-gate, Triton Data Center, 2023-06-16, retrieved 2023-07-10
  4. "SmartOS | Triton DataCenter". www.tritondatacenter.com. Retrieved 2023-07-10.
  5. Miller, Colleen (Aug 15, 2014). "Joyent Open Sources SmartOS for the Cloud". Data Center Knowledge. Retrieved January 1, 2013.
  6. "MNX Packages Documentation - Home".
  7. "Joyent Packages Documentation - Home".
  8. "SmartOS brings KVM to the Solaris kernel". H online.
  9. "A New Chapter Begins for Triton and SmartOS". Joyent. April 11, 2022. Retrieved 2022-04-14.
  10. Trent, Slater (27 February 2012). "SmartOS Fundamentals". SmartCore. Retrieved 27 February 2012.
  11. "Joyent open-sources its core technology". Infoworld. Nov 6, 2014. Retrieved Sep 20, 2015.
  12. Triton DataCenter, Triton Data Center, 2023-07-07, retrieved 2023-07-10
  13. "Triton: Docker and the "best of all worlds" | Triton DataCenter". www.tritondatacenter.com. Retrieved 2023-07-10.
  14. Gies, Heinz. "Project FiFo SmartOS Project". Project FiFo. Retrieved 6 June 2014.
  15. "Joyent and 10gen Strengthen Partnership Around MongoDB and SmartOS". Finance. Yahoo!. Oct 16, 2012. Retrieved January 1, 2013.