Table of Contents
Conventions
Throughout the document(s) these conventions are followed
Notation | Description |
$ | The dollar sign in interactive examples indicates an operating system prompt for VMS. The dollar sign can also indicate non superuser prompt for UNIX / Linux. |
# | The number sign represents the superuser prompt for UNIX / Linux. |
> | The right angle bracket in interactive examples indicates an operating system prompt for Windows command (cmd.exe). |
| Bold monospace type in interactive examples indicates typed user input. |
| Bold monospace type enclosed by angle brackets indicates command parameters and parameter values. |
| Monospace type in interactive examples, indicates command response output. |
[ ] | In syntax definitions, brackets indicate items that are optional. |
... | In syntax definitions, a horizontal ellipsis indicates that the preceding item can be repeated one or more times. |
| Italic monospace type, in interactive examples, indicates typed context dependent user input. |
The following definitions apply
Term | Description |
---|---|
Host | The system on which the emulator runs, also called the Charon server |
Guest | The operating system running on a Charon instance, for example, Tru64 UNIX, OpenVMS, Solaris, MPE or HP-UX |
Introduction
This section describes how to configure a CHARON-VAX for Linux CI cluster.
General description
The virtual CIXCD is the functional equivalent of a hardware CIXCD host adapter, with the exception that there is no physical layer to connect to a hardware CI infrastructure. Since the current host hardware is much faster than the physical CI implementation, such a connection - if it were possible - would greatly limit the virtual system throughput.
For data storage, the CIXCD connects to one or more virtual HSJ50 controllers that are loaded as a separate components in the configuration file. To configure VAX CI clusters, the virtual CIXCDs of the multiple CHARON-VAX/66X0 instances are interconnected via TCP/IP links.
It is advisable to start any field test based on the cluster examples provided below
Configuring (large) virtual VAX CI clusters requires many configurable parameters and a replicated identical definition of the shared virtual HSJ50 storage controllers in each virtual VAX instance.
The current CI implementation for CHARON-VAX/66x0 supports up to 8 VAX nodes in a virtual CI cluster and handles a maximum cluster size of 128 nodes. A single virtual CI network supports up to 256 storage elements.
For more details on CI configuration follow this link.
Configuration steps
To create CHARON-VAX CI cluster, both of the two elements must be configured:
"CIXCD" host adapter
"HSJ50" storage controller
CI hardware topology is emulated by establishing TCP/IP channels between the emulated CIXCD host adapters of each CHARON-VAX system. The emulated HSJ50 storage controllers are then connected to every CIXCD host adapter in the virtual CI network.
Cluster operation requires (virtual) disks that are simultaneously accessible by all CHARON-VAX nodes involved. This can be implemented for instance by using a properly configured iSCSI initiator / target structure or a fiber channel storage back-end. Disks on a multiport SCSI switch are not acceptable, as a SCSI switch does not provide true simultaneous access to multiple nodes.
It is advisable to start any field test with implementing the cluster examples provided below
Example 1: Dual node CI cluster with 4 shared disks
To setup two emulated VAX 6610 nodes, we need two host machines, preferably running the same version of Linux.
Assume that these host systems have network host names CASTOR and POLLUX in the host TCP/IP network.
The following are CHARON-VAX configuration files for the emulated VAX 6610 nodes running on CASTOR and POLLUX:
CASTOR node |
---|
...
|
POLLUX node |
---|
...
set DISKS scs_system_id=3238746238 mscp_allocation_class=1
|
Let's review both configurations step-by-step.
The first two lines of both configuration files load and establish parameters for the "PAA" CIXCD host adapter. Only 3 CIXCD parameters are important for us in this situation:
Parameter Description ci_node_id An integer value that specifies the address of the virtual CIXCD host adapter on the virtual CI network.
Possible values are from 0 through 127 (Initially set to 127).
port An integer value that specifies the TCP/IP port number at which the emulated CIXCD host adapter listens for connections from another emulated CIXCD host adapter with a certain CI node id. Possible values are from 1024 through 32767.
host A string value that specifies the TCP/IP host name (and optional TCP/IP port number) to connect to another emulated CIXCD host adapter with certain CI node.
The syntax for the string is “host-name[:port-no]”, with possible values for "port-no" in the range from 1024 through 32767.
Thus, CASTOR connects to POLLUX's port 11021 and listens for POLLUX's connection on port 11012, POLLUX connects to CASTOR's port 11012 and listens for CASTOR's connection on port 11021
The third and fourth lines of both configuration file "DISKS" HSJ50 storage controller and its parameters:
Parameter Description ci_host A string value that specifies an instance name of the emulated CIXCD host adapter serving the virtual CI network.
If this value is not set, CHARON-VAX tries to locate the host adapter automatically. This automatic lookup works only if the CHARON-VAX configuration has exactly one instance of an emulated CIXCD host adapter.
ci_node_id An integer value that specifies the address of the emulated HSJ50 storage controller on a virtual CI network. Possible values are from 0 through 7 (initially set to 0).
scs_system_id A string value that specifies the SCSNODENAME of the emulated HSJ50 storage controller.
The string is up to 10 characters long. Possible characters are uppercase letters A through Z , figures 0 through 9.
mscp_allocation_class An integer value that specifies the ALLOCLASS of an emulated HSJ50 storage controller.
Possible values are from 0 through 255 (initially set to 0).
In both configuration files, the data related to the emulated HSJ50 storage controller "DISKS" must be identical. Not following this rule can cause data corruption on the (virtual) disks.
- The next lines demonstrate mapping the "DISKS" HSJ50 storage controller to disk images, shared between both hosts. A "container" parameter is used for this purpose. This example assumes that all disk images are accessible from both host machines via network share (NFS, SAMBA) or some other realization.
Example 2: Triple node CI cluster with multiple iSCSI disks
In this example we assume that all three host systems have a iSCSI initiator and are connected to a common iSCSI server. The iSCSI disk server provides 8 virtual disks with R/W access on all hosts. These disks are configured as "/dev/sdc0" ... "/dev/sdc7" on each of the host machines.
Since the storage configuration must be identical on all three nodes, it is recommended to describe the storage structure in a separate configuration file (to be included in each CHARON-VAX configuration file with "include" instruction and name of the configuration file "disksets.cfg") and store it on a common network share ("/mnt/share") (NFS, SAMBA, etc):
|
CHARON-VAX configuration file for the emulated VAX 6610 node running on HOST001 is as follows:
|
CHARON-VAX configuration file for the emulated VAX 6610 node running on HOST002 is as follows:
|
CHARON-VAX configuration file for the emulated VAX 6610 node running on HOST003 is as follows:
|