Skip to main content

We've Moved!

Product Documentation has moved to docs.hitachivantara.com
Hitachi Vantara Knowledge

Instances

A system is made up of one or more instances of the software. This section includes information on adding and removing instances to the system.

For more information on instances, see System scaling.

Trademarks, Legal disclaimer, Third-party software in this documentation

© 2017 Hitachi Vantara Corporation. All rights reserved.

About master and worker instances

Master instances are special instances that run an essential set of services, which includes:

Admin-App service

Cluster-Coordination service

Synchronization service

Service-Deployment service

Non-master instances are called workers. Workers can run any services besides those listed above. For information on services, see Services perform functions essential to the health or functionality of the system. For example, the Metrics service stores and manages system events, while the Watchdog service ensures that other services remain running..

 

Note: The Watchdog service runs on every instance in the system, both masters and workers.

Single-instance systems have one master instance while multi-instance systems have either one or three master instances.

 

Important: You cannot add master instances to a system after it's installed. You can, however, add any number of worker instances.

Trademarks, Legal disclaimer, Third-party software in this documentation

© 2017 Hitachi Vantara Corporation. All rights reserved.

Single-instance systems versus multi-instance systems

A system can have a single instance or can have multiple instances (four or more).

 

Notes:  

Every instance must meet the minimum RAM, CPU, and disk space requirements. For information, see Hardware resources.

Three instances are sufficient to perform leader election for distributing work. However, a multi-instance system requires a minimum of four instances because, with the minimum hardware requirements, three instances are not sufficient for running all system services at their recommended distributions.

Hitachi Vantara has qualified system systems with up to 16 instances.

One instance

A single-instance system is useful for testing and demonstration purposes. It requires only a single server or virtual machine and can perform all product functionality.

However, a single-instance system has these drawbacks:

It has a single point of failure.  If the instance hardware fails, you lose access to the system.

With no additional instances, you cannot choose where to run services. All services run on that one instance.

Multiple instances

A multi-instance system is suitable for use in a production environment because it offers these advantages over a single-instance system:

You can control how services are distributed across the multiple instances, providing improved service redundancy, scale out, and availability.

For more information, see Service list.

A multi-instance system can survive instance outages. For example, with a four-instance system running the default distribution of services, the system can lose one instance and still remain available.

Performance is improved as work can be performed in parallel across instances.

You can add additional instances to the system at any time.

 

Note: You cannot change a single-instance system into a production-ready multi-instance system by adding new instances. This is because you cannot add master instances. Master instances are special instances that run a particular set of system services. Single instance systems have one master instance. Multi-instance systems have three.

By adding additional instances to a single-instance system, your system still has only one master instance, meaning there is a single point of failure for the essential services that only a master instance can run.

For more information, see Adding new instances.

Trademarks, Legal disclaimer, Third-party software in this documentation

© 2017 Hitachi Vantara Corporation. All rights reserved.

Requirements for running system instances

This section lists the hardware and operating system requirements for running system instances. Also see Networking for information on network requirements for both instances and services.

Trademarks, Legal disclaimer, Third-party software in this documentation

© 2017 Hitachi Vantara Corporation. All rights reserved.

Hardware resources

This table lists:

Minimum —The minimum amounts of RAM, CPU, and available disk space required to run a system instance.

Every server or virtual machine you provide as an instance must meet these minimums.

Recommended — The amounts of RAM, CPU, and available disk space that Hitachi Vantara recommends for system instances.

A system in which all instances meet or exceed these recommendations can index more documents and can process documents faster than a system whose instances meet only the minimum requirements.

Resource Minimum

Recommended

RAM

16 GB

32 GB

CPU

4-core

8-core

Available disk space

50 GB

500 GB

 

Important:  

Each instance uses all available RAM and CPU resources on the server or virtual machine on which it's installed.

A large number of factors determine how many documents your system can index and how fast it can process them, including: the number of documents to be indexed; the contents of those documents; what search features (such as sorting) the index supports; the number of fields in the index; the number of users querying the system; and so on.

Depending on how you use your system, you may require additional hardware resources to index all the documents you want and at the rate you require.

Trademarks, Legal disclaimer, Third-party software in this documentation

© 2017 Hitachi Vantara Corporation. All rights reserved.

Operating system and Docker requirements

To be a system instance, each server or virtual machine you provide:

Must run a 64-bit Linux distribution

Must have Docker version 1.10.3 or later installed

 

Important: Install the current Docker version suggested by your operating system, unless that version is earlier than 1.10.3. The system cannot run with Docker versions prior to 1.10.3.

This table shows the operating systems and Docker and SELinux configurations that system has been qualified with. For more information, see Docker considerations and SELinux considerations.

Operating System Docker Version Docker Storage Configuration SELinux setting
Fedora 24

Version: 1.10.3

API version: 1.22

Package version: docker-common-1.10.3-55.gite03ddb8.fc24.x86_64

Go version: go1.6.3

Git commit: e03ddb8/1.10.3

OS/Arch: linux/amd64

direct-lvm Enforcing
Red Hat Enterprise Linux 7.3

Version: 1.12.6

API version: 1.24

Package version: docker-1.12.6-48.git0fdc778.el7.x86_64

Go version: go1.8.3

Git commit: 0fdc778/1.12.6

Built: Thu Jul 20 00:06:39 2017

OS/Arch: linux/amd64

direct-lvm Enforcing
Ubuntu 16.04

Version: 17.03.0-ce

API version: 1.26

Go version: go1.7.5

Git commit: 60ccb22

Built: Thu Feb 23 11:02:43 2017

OS/Arch: linux/amd64

aufs N/A
CentOS 7.3

Version: 17.06.0-ce

API version: 1.30 (minimum version 1.12)

Go version: go1.8.3

Git commit: 02c1d87

Built: Fri Jun 23 21:21:56 2017

OS/Arch: linux/amd64

Experimental: false

overlay Enforcing

Trademarks, Legal disclaimer, Third-party software in this documentation

© 2017 Hitachi Vantara Corporation. All rights reserved.

Docker considerations

The Docker installation directory on each instance must have at least 20 GB available for storing the system Docker images.

Make sure that the Docker storage driver is configured correctly on each instance before installing the system.

After installing the system, changing the Docker storage driver requires a reinstallation of the system.

To view the current Docker storage driver on an instance, run:

docker info

If you want to enable SELinux on your system instances, you need to use a Docker storage driver that supports it. The storage drivers that SELinux supports differ depending on the Linux distribution you're using. For more information, see the Docker documentation.

If you are using the Docker devicemapper storage driver:

oMake sure that there's at least 40 MB of Docker metadata storage space available on each instance. system requires 20 MB to install successfully and an additional 20 MB to successfully update to a later version.

To view Docker metadata storage usage on an instance, run:

docker info

oOn a production system, do not run devicemapper in loop-lvm mode. This can cause slow performance or, on certain Linux distributions, the system may not have enough space to run.

Trademarks, Legal disclaimer, Third-party software in this documentation

© 2017 Hitachi Vantara Corporation. All rights reserved.

SELinux considerations

You should decide whether you want to run SELinux on the new instance. Then, enable or disable it before installing system on the instance.

Enabling or disabling SELinux on an instance requires you to reboot the instance.

To view whether SELinux is enabled on an instance, run:

sestatus

If you want to enable SELinux on your system instances, you need to use a Docker storage driver that supports it.

The storage drivers that SELinux supports differ depending on the Linux distribution you're using. For more information, see the Docker documentation.

Trademarks, Legal disclaimer, Third-party software in this documentation

© 2017 Hitachi Vantara Corporation. All rights reserved.

Time source requirements

If you are installing a multi-instance system, each instance should run NTP (network time protocol) and use the same external time source. For information, see support.ntp.org.

Trademarks, Legal disclaimer, Third-party software in this documentation

© 2017 Hitachi Vantara Corporation. All rights reserved.

File ownership considerations

Within some of the Docker containers on each system instance, file ownership is assigned to this user and group:

User: hci, UID: 10001

Group: hci, GID: 10001

When you view such files in the instance operating system (for example, by running ls -l), the files appear to be owned by an unknown or undefined user and group. Typically, this causes no issues.

However, if you run applications on the system instances that change file ownership (for example, security hardening scripts), changing the ownership of files owned by the hci user and group can cause the system to become unresponsive.

To avoid these issues:

1.Create the expected user and group on each instance:

sudo groupadd hci -g 10001

sudo useradd hci -u 10001 -g 10001

2.Configure your applications to not change the ownership of files owned by the hci user and group.

Trademarks, Legal disclaimer, Third-party software in this documentation

© 2017 Hitachi Vantara Corporation. All rights reserved.

Adding new instances

You may want to add additional instances to the system if:

You want to improve system performance.

You are running out of disk space on one or more instances.

 

Important:  

You cannot add new master instances, only new worker instances.

 

However, these situations may also be improved by adding additional CPU, RAM, or disks to the instances you already have. For guidance, see Hardware resources.

Trademarks, Legal disclaimer, Third-party software in this documentation

© 2017 Hitachi Vantara Corporation. All rights reserved.

Viewing instances

You can use the Administration App, CLI, and REST API to view a list of all system instances in the system.

Related topics:

Service list

Service units

Administration App instructions
Related CLI command(s)

getInstance

listInstances

For information on running CLI commands, see CLI reference.

Related REST API method(s)

GET /instances

GET /instances/{uuid}

For information on specific REST API methods, in the Administration App, click on the help icon (). Then:

To view the administrative REST API methods, click on Admin API.

To view the API methods used for performing searches, click on Search API.

For general information about the administrative REST API, see REST API reference.

Trademarks, Legal disclaimer, Third-party software in this documentation

© 2017 Hitachi Vantara Corporation. All rights reserved.

Removing instances

You would typically remove an instance from your system in these situations:

You are retiring the hardware on which the instance runs

The instance is in the Down state and cannot be recovered

You want to run a system with fewer instances

Trademarks, Legal disclaimer, Third-party software in this documentation

© 2017 Hitachi Vantara Corporation. All rights reserved.

Replacing a failed instance

If an instance suffers an unrecoverable failure, you need to replace that instance with a new one.

Steps:

1.In the Administration App, view the Monitoring > Instances page to determine whether the failed instance was a master instance.

2.Select a new server or virtual machine to add as a new instance to the system. For information on instance requirements, see Requirements for running system instances.

3.Remove the failed instance from the system. For information, see Removing instances.

 

WARNING! If the failed instance was a master, after removing it, you have only two master instances remaining. If any other instance fails while you are in this state, the system becomes completely unavailable until you add a third master back to the system by completing this procedure.

4.Add the replacement instance to the system. For information, see Adding new instances.

 

Important: If the instance you are replacing was a master instance, when you run setup on the replacement instance, the list of masters that you specify for the -m option needs to include:

The IP addresses of the two remaining healthy master instances.

The IP address of the new instance that you're adding.

For example, in a system with master instance IPs ranging from 192.0.2.1 to 192.0.2.3 and you are replacing instance 192.0.2.3 with 192.0.2.5, run setup with these options:

sudo bin/setup -i 192.0.2.5 -m 192.0.2.1,192.0.2.2,192.0.2.5

This does not apply when you're replacing a worker instance. In that case, specify the IP addresses of the 3 existing masters.

Trademarks, Legal disclaimer, Third-party software in this documentation

© 2017 Hitachi Vantara Corporation. All rights reserved.

 

  • Was this article helpful?