Fast and scalable ownCloud Infinite Scale

Everything Must Go

Goodbye MySQL!

ownCloud's switch to gRPC and microservices eliminates the need for a relational database. Instead, components in oCIS required to store metadata will do that on their own. With Reva and no MySQL dependencies, the complexity of running ownCloud in small environments is reduced considerably – a point interesting not just to large-scale data center admins.

Up and Running

ownCloud published a technical preview of oCIS 1.0 at the end of 2020, shipping it as a Docker container and binaries. More examples on getting it running are linked in the deployment section of the GitHub repository.

The vendor's claim that getting the oCIS Docker container up and running is easy, is true, although things get complicated with EOS (see below). Docker images for oCIS are available on Docker Hub [10]; their latest tag always reflects the current master branch.

Any standard virtual machine with one of the big cloud providers or any entry server in the data center with a standard Linux distribution should be sufficient, provided the system has a container runtime installed. On openSUSE, for example,

zypper in docker

provides the needed container. One or both commands

service docker enable
service docker start

create the standard Docker environment.

Pulling the oCIS container and starting it is all that is required to get the server and ownCloud Web up and running with the default usernames (Figure 1):

# zypper in docker
# service docker start
# docker pull owncloud/ocis
# docker run --rm -ti -p 9200:9200 owncloud/ocis
Figure 1: The oCIS login window after downloading and starting the Docker image.

That's it. oCIS is now at your service on localhost, port 9200 (http://localhost:9200 ). The demo accounts and passwords are einstein :relativity , marie :radioactivity , and richard :superfluidity . Admin accounts are moss :vista and admin :admin . If oCIS is run on a server with a resolvable hostname, it can request an SSL certificate from Let's Encrypt via Traefik.

oCIS Binary

An alternative to Docker is a pre-compiled binary that users – thanks to Go – can simply download from GitHub. The latest binaries from the master branch are in the testing section. Listing 1 downloads oCIS from the ownCloud download repository.

Listing 1

Getting oCIS Binaries

# for Mac
curl https://download.owncloud.com/ocis/ocis/1.0.0/ocis-1.0.0-darwin-amd64 --output ocis
# for Linux
curl https://download.owncloud.com/ocis/ocis/1.0.0/ocis-1.0.0-linux-amd64 --output ocis
chmod +x ocis

The binary edition of oCIS expects /var/tmp/ocis as the default storage location, but that can be changed in its configuration (Figure 2). The server can be started with ./ocis server. Basic management and extension commands are shown in Table 1. If the exit code of the health check equals zero, the service should be up and running. If the exit code is greater than zero, the service is not in a healthy state. The oCIS binary already contains some extensions that can be managed by oCIS commands.

Figure 2: User management interface in the oCIS test machine.

Table 1

oCIS Commands

Command Function
Management
ocis server Start the server
ocis --version Print the version of the installed oCIS
ocis health --help Execute a health check
Extensions
ocis list Print all running oCIS extensions
ocis kill web Stop a particular extension
ocis run web Start a particular extension
ocis --help More information (e.g., the ownCloud repository) (Figure 3)
Figure 3: ownCloud supplies an overwhelming amount of documentation, especially when considering it is still a technology preview.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy ADMIN Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • ownCloud

    ownCloud is an alternative to the many online storage services whose data protection promises could turn out to be as nebulous as their offerings.

  • Ubuntu 16.04 LTS as an ownCloud server
    Locally hosted collaboration servers are an alternative to letting employees swap files in a public cloud. We show you how to set up an ownCloud 9 environment on Ubuntu 16.04 LTS.
  • Spotlight on the Kubernetes package manager, Helm
    A Helm chart is a template of several parts that defines, deploys, and upgrades Kubernetes apps and can be considered the standard package manager in the Kubernetes world.
  • Nine home clouds compared
    Dropbox was the first of a number of cloud service providers. However, only services that promise full control over your own data can give users a feeling of security. We provide an overview of nine cloud projects and two BitTorrent tools.
  • CoreOS 1122.2.0 (64-bit) & NethServer (multiarch)
    CoreOS is a lightweight Linux operating system for managing and running containers at scale with low overhead. NethServer is a Linux distribution for servers based on CentOS 6.8 and licensed under the GPLv3.
comments powered by Disqus
Subscribe to our ADMIN Newsletters
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs



Support Our Work

ADMIN content is made possible with support from readers like you. Please consider contributing when you've found an article to be beneficial.

Learn More”>
	</a>

<hr>		    
			</div>
		    		</div>

		<div class=