v92 Installation Guide
v92 Installation Guide
v92 Installation Guide
Legal Notice
Confidential computer software. Valid license from VSI required for possession, use or copying. Consistent with FAR 12.211 and 12.212,
Commercial Computer Software, Computer Software Documentation, and Technical Data for Commercial Items are licensed to the U.S.
Government under vendor's standard commercial license.
The information contained herein is subject to change without notice. The only warranties for VSI products and services are set forth in the
express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional
warranty. VSI shall not be liable for technical or editorial errors or omissions contained herein.
HPE, HPE Integrity, HPE Alpha, and HPE Proliant are trademarks or registered trademarks of Hewlett Packard Enterprise.
ii
x86-64 V9.2 Installation Guide
Preface ..................................................................................................................................... v
1. Introducing OpenVMS x86-64 V9.2 ................................................................................. v
2. Intended Audience ........................................................................................................... v
3. Using the VSI Customer Portal ......................................................................................... v
4. Other Related Documentation ........................................................................................... v
5. Licensing ....................................................................................................................... vi
5.1. Using VMware vSphere Hypervisor Licenses ......................................................... vi
Chapter 1. Preparing to Install V9.2 .................................................................................... 1
1.1. Tested Platforms ........................................................................................................... 1
1.2. Platforms Documentation .............................................................................................. 1
1.2.1. Recommended Settings for Virtual Machines ........................................................ 2
Chapter 2. Booting and Installing on a Virtual Machine .................................................... 3
2.1. Booting the Virtual Machine ......................................................................................... 3
2.2. Installing OpenVMS x86-64 V9.2 .................................................................................. 5
2.3. Post-Installation Steps for OpenSSH ............................................................................. 14
Chapter 3. Networking on V9.2 .......................................................................................... 17
3.1. Setting Up DECnet Phase IV ....................................................................................... 17
3.2. Configuring TCP/IP Services V6.0 ............................................................................... 17
Appendix A. Setting up a VMS Cluster ............................................................................. 25
A.1. Initial Preparation ....................................................................................................... 26
A.2. Creating the First Virtual Machine ............................................................................... 26
A.3. Starting the Virtual Machine ....................................................................................... 28
A.4. Adding a Node Using a Copy of an Existing System Disk .............................................. 29
A.5. Creating the Second Virtual Machine ........................................................................... 30
A.6. Finalizing Cluster Setup .............................................................................................. 30
A.7. Saving Your Cluster Setup .......................................................................................... 32
iii
x86-64 V9.2 Installation Guide
iv
Preface
VMS Software, Inc. (VSI) is an independent software company licensed by Hewlett Packard Enterprise
to develop and support the OpenVMS operating system.
Note
You cannot upgrade from previous versions of OpenVMS x86-64. You must perform a fresh install of
OpenVMS x86-64 V9.2.
2. Intended Audience
Users of this manual are expected to obtain and reference any additional documentation specific to their
hardware and environment. Users are expected to know how to identify the various devices involved in
their installation and be familiar with the console commands that are available on their system and virtual
machines.
Users should be experienced with the different virtual machine platforms where they plan to run
OpenVMS x86-64 V9.2 as a guest virtual machine.
Make sure you read the Release Notes, Installation Guide, and Boot Manager Guide prior to installing
OpenVMS x86-64 V9.2.
• VSI OpenVMS TCP/IP Services V5.7 documentation at Documentation — VMS Software, Inc.
[https://docs.vmssoftware.com/]
v
Preface
5. Licensing
During the installation, you will be prompted to enter Product Authorization Keys for the base operating
environment and any layered products that are not already included in the base OS.
A PAK is represented as a text structured file containing a series of named fields and unique values
that were generated by VSI. You have the option of deferring PAK entry until after the installation
and entering them using the OpenVMS LICENSE utility. If you choose to enter your PAKs during the
installation, you can either type the values of each requested field, or copy-and-paste the values into the
console (assuming your console connection supports this action, such as using a terminal emulator).
Use the named pipe functionality to map COM1/OPA0: on the VMS virtual machine to a pipe on a
management server on which a terminal emulator is installed.
With the VM system in client mode, use the following syntax: \\.\pipe_xxx
With the management system in server mode, use the following syntax: \\.\pipe_xxx, where xxx
is a unique string for each VM.
The terminal emulator should be set for serial connection at 115200 baud.
The following two figures show how to set up pipes for a local terminal emulator-based console.
vi
Preface
The following two figures show how to set up pipes between two local virtual machines where one plays
the role of VMS console. This could be a virtual machine guest running any OS that supports a terminal
emulator.
vii
Preface
viii
Preface
ix
Preface
x
Chapter 1. Preparing to Install V9.2
1.1. Tested Platforms
VSI has tested VSI OpenVMS x86-64 V9.2 with the following VMware products:
Important
Note that not all VMware license types are currently supported for running OpenVMS x86-64 V9.2.
VSI has tested VSI OpenVMS x86-64 V9.2 with the following Kernel-based Virtual Machine (KVM)
products. The following table includes the Linux version and QEMU version:
VSI has tested OpenVMS x86-64 V9.2 with Oracle VirtualBox 6.1.34 and regularly installs updates
when they are available.
See the VSI OpenVMS x86-64 V9.2 Release Notes for more information about supported virtual
environments.
1
Chapter 1. Preparing to Install V9.2
• Memory Minimum of 6 GB
• Boot Option: If present, disable Secure Boot, and select/enable UEFI or EFI (BIOS is not supported)
• Console Communication
• Network: Adapter Type or Device Model of e1000 (ESXi or KVM); 82540EM (VirtualBox)
• CD/DVD (physical or virtual) device with the OpenVMS installation kit (the .ISO file) assigned to it
2
Chapter 2. Booting and Installing on a
Virtual Machine
This chapter provides instructions to boot and install V9.2 on a guest VM. As a prerequisite, you should
use your host system's Platform Firmware Boot Manager (typically blue setup screens and menus) to set
your host system up to boot to the UEFI Shell. See the OpenVMS x86-64 Boot Manager User Guide for
more information.
Important
Examples shown in this section use VMware ESXi. Although some small differences in terminal
behavior, console appearance, and log output exist with other VM environments, these examples
should still be applicable regardless of your environment. In some environments, reboots of your VM
automatically brings up the OpenVMS Boot Manager prompt instead of the UEFI Shell prompt. To
avoid the possibility of odd character output and/or to ensure an accurate list of bootable devices for the
OpenVMS Boot Manager, type the EXIT command at the BOOTMGR> prompt, and immediately press
the ESC key repeatedly until your system's Platform Firmware Boot Manager screen is displayed. Then
simply hit the RETURN key and the BootMgr> prompt will be displayed again.
1. The following figure shows the graphics console that comes up when the VM is started. At the
Shell> prompt, enter the command map fs* to display the file systems available on your system.
2. Choose the file system that maps to the .ISO file that you have downloaded and set up as a CDROM/
DVD. The shell sees the .ISO file as a CDROM, so you need to choose an FSn that is labeled
CDROM. In the above example, we know that fs1 is the .ISO that we want to boot.
3. Knowing that fs1 is associated with the CDROM that is the .ISO, enter the following command to
run the Boot Manager:
fs1:\efi\vms\vms_bootmgr.efi
4. The OpenVMS Boot Manager is displayed in the graphics console as shown in the following figure.
3
Chapter 2. Booting and Installing on a Virtual Machine
Note
The graphics console may display somewhat differently when your hypervisor is running on a
Windows or on a Linux system. In the figure, the OpenVMS Boot Manager is running in an ESXi
client VM on an ESXi 7.0 server.
5. VSI recommends at this time to connect to the remote terminal/emulator of your choice using the
VM host's IP address and the port you set up for your VM. Below is the log of a terminal connection
using bash and telnet. Note the two telnet commands that are needed, and that a prompt is not yet
visible:
Bash-3.2$ telnet 10.0.1.10 2023
Trying 10.0.1.10. . .
Connected to myserver.mycompany.com.
Escape character is '^]'.
^]
telnet> unset crlf
Will send carriage returns as telnet <CR><NUL>.
^]
telnet> mode char
6. At the BOOTMGR> prompt on the graphics console, enter the DEVICES command to show the
devices that have bootable VMS file systems on them. You must boot from the one labeled as the
DVD, which should be the only device listed if this is your first OpenVMS installation.
7. At the BOOTMGR> prompt on the graphics console, type BOOTMGR> BOOT DKA0, where
DKA0 represents the DVD device.
4
Chapter 2. Booting and Installing on a Virtual Machine
8. When the DVD device is booted (that is, the OpenVMS installation kit is booted), the output on the
graphics console display is suppressed. The graphics console displays the following message.
9. You must now use the terminal/emulator screen to continue with the installation. The OpenVMS
Installation Menu should be displayed.
CPU messages have been removed from this portion of the log.
Installing required known files...
Configuring devices...
%EIA0, Link up: 1000 mbit, fdx, flow control (rcv only), 08-00-27-C5-F8-A1
5
Chapter 2. Booting and Installing on a Virtual Machine
Important
Throughout the procedure the OpenVMS installation menu is displayed. Please note that OpenVMS
x86-64 V9.2 does not support menu items # 3, 5, 6, and 7.
? - to repeat an explanation
^ - to change prior input (not always possible)
Ctrl/Y - to exit the installation procedure
You must enter the device name for the target disk on which
OpenVMS X86-64 will be installed.
OpenVMS V9.0 and later requires that the target system disk be
initialized with On-Disk Structure Level 5 (ODS-5).
Hard links can be enabled on ODS-5 disks. WBEM Services for OpenVMS
does not require hard links. (? for more information)
The password must be a minimum of 8 characters in length, and may not exceed
31 characters. It will be checked and verified.
6
Chapter 2. Booting and Installing on a Virtual Machine
The system will not accept passwords that can be guessed easily.
For your system to operate properly, you must set two parameters:
SCSNODE and SCSSYSTEMID.
SCSNODE can be from 1 to 6 letters or numbers. It must contain at least one letter.
If you plan to use DECnet, SCSNODE must be the DECnet Phase IV node name, or the
DECnet-Plus (Phase V) node synonym.
If you have multiple OpenVMS systems, the SCSNODE on each system must be unique.
DECnet_area_number.DECnet_node_number
You need to configure your local time zone. Please follow the prompts, which have been removed from
this log for brevity, to select your time zone.
If you have Product Authorization Keys (PAKs) to register,
you can register them now.
Note
You can register the PAKs now by responding YES to the prompt, or later by responding NO. You
register licenses later by using the SYS$UPDATE:VMSLICENSE.COM procedure or the LICENSE
REGISTER command.
The following products are part of the OpenVMS installation;
they will be installed along with the OpenVMS operating system:
You can also install the following optional products along with the OpenVMS operating system:
7
Chapter 2. Booting and Installing on a Virtual Machine
If you want to change your selections, you can do so later in the installation by answering
"NO" to the following question:
Do you want to install DECwindows Motif for OpenVMS X86-64 V1.8? (Yes/No) [Yes]
The DECnet-Plus kit is provided with the OpenVMS operating system kit.
DECnet Phase IV applications are supported by DECnet-Plus.
Do you want to install DECnet Phase IV for OpenVMS X86-64 V9.2? (Yes/No) [Yes]
The installation operation can provide brief or detailed descriptions. In either case, you
can request the detailed descriptions by typing ?.
The kit validation information has been removed from this log for brevity.
The following product has been selected:
You will be asked to choose options, if any, for each selected product and for
any products that may be installed to satisfy software dependency requirements.
Configuring VSI X86VMS OPENVMS V9.2: OPENVMS and related products Platform
Important
VSI recommends to accept the default for the reboot. Responding with No will abort the installation.
8
Chapter 2. Booting and Installing on a Virtual Machine
At this point, the installation procedure begins the execution phase and provides a list of products that
will be installed and other informational messages. This information has been removed from this log for
brevity.
VSI X86VMS SSL111 V1.1-1N: SSL111 for OpenVMS X86-64 V1.1-1N (Based on OpenSSL 1.1.1n)
Review the Installation Guide and Release Notes for post install directions.
Review the Installation Guide and Release Notes for post upgrade verification
suggestions.
If Kerberos will be run on this system, but has not been used previously, you need
to perform the following steps.
@SYS$STARTUP:KRB$CONFIGURE.COM
$ @SYS$STARTUP:KRB$STARTUP
$ @SYS$MANAGER:KRB$SYMBOLS
9
Chapter 2. Booting and Installing on a Virtual Machine
VSI X86VMS SSL111 V1.1-1N: SSL111 for OpenVMS X86-64 V1.1-1N (Based on OpenSSL
1.1.1n)
Review the Installation Guide and Release Notes for post install directions.
Review the Installation Guide and Release Notes for post upgrade verification
suggestions.
To use the Perl provided with this kit, run the following set-up command procedure,
assuming you installed in SYS$COMMON.
$ @sys$common:[perl-5_34]perl_setup.com
You may wish to put that command in SYS$MANAGER:SYLOGIN.COM to make Perl available
to all users on the system.
$ perldoc perldoc
$ perldoc perldelta
There are many Perl-related resources on the web; point your browser at:
http://www.perl.org
to get started, and thank you for using Perl for OpenVMS.
When the newly installed system is first booted, a special startup procedure will be
run. This procedure will:
10
Chapter 2. Booting and Installing on a Virtual Machine
You can install or upgrade the OpenVMS X86-64 operating system or you can install or
upgrade layered products that are included on the OpenVMS X86-64 distribution media.
You can also execute DCL commands and procedures to perform "standalone" tasks, such as
backing up the system disk.
Important
Throughout the procedure the OpenVMS installation menu is displayed. Please note that OpenVMS
x86-64 V9.2 does not support menu items # 3, 5, 6, and 7.
You must return back to the graphics console screen, and at the Shell> prompt, type the following to
bring up the VMS Boot Manager:
vms_bootmgr.efi
Note
You will observe that whatever is typed in the graphics console screen is echoed on your terminal/
emulator screen.
vms_bootmgr.efi
VIRTUAL MACHINE GUEST: VMware (TM) No Mouse support; Use Commands or Arrow Keys
11
Chapter 2. Booting and Installing on a Virtual Machine
Still on the graphics console screen, enter the DEVICES command to see the list of bootable devices and
ensure the HD/SATA Disk with the OpenVMS label you used during your installation is listed.
Type the BOOT command using the DKxn device with the correct label:
BOOTMGR>DEVICES
BOOTABLE DEVICES (System Disks, Installation Kits, other):
DKA0 (DVD) = FS1 UEFI: V9_2 OpenVMS: None 1338 MB SATA DVD
DKA100 (HD) = FS0 UEFI: V9_2 OpenVMS: MADREXSYS 12288 MB SATA Disk
Return to your terminal screen when you see the message that the graphical output has been suspended.
Booting...
%VMS_BOOTMGR-I-INSTALL, Booting an OpenVMS Installation Kit...
_______________________________________________
CPU messages have been removed from this portion of the log.
Installing required known files...
Configuring devices...
Informational system messages have been removed from this portion of the log.
AUTOGEN will now be run to compute the new system parameters. The system will then shut
down and reboot, and the installation or upgrade will be complete.
After rebooting you can continue with such system management tasks as:
AUTOGEN informational messages have been removed from this portion of the log.
The system is shutting down to allow the system to boot with the generated site-specific
parameters and installed images.
The system will automatically reboot after the shutdown and the upgrade will be complete.
12
Chapter 2. Booting and Installing on a Virtual Machine
System informational messages have been removed from this portion of the log.
VSI Dump Kernel SYSBOOT Jun 2 2022 11:43:57
Once again you must return to the graphics console to boot your device. At the Shell> prompt, type
VMS_BOOTMGR.EFI then at the BOOTMGR> prompt, enter the DEVICES command to see the
list of bootable devices and ensure the HD/SATA Disk with the OpenVMS label you used during your
installation is listed.
Type the BOOT command using the DKxn device with the correct label:
BOOTMGR>BOOT DKA100
Return to your terminal screen when you see the message that the graphical output has been suspended.
VSI OpenVMS Boot Manager: V9.2, Build 113 (Mar 28 2022)
VIRTUAL MACHINE GUEST: VMware (TM) No Mouse support; Use Commands or Arrow Keys
BOOTMGR> DEVICES
BOOTABLE DEVICES (System Disks, Installation Kits, other):
DKA100 (HD) = FS0 UEFI: V9_2 OpenVMS: MADREXSYS 12288 MB SATA Disk
DKA0 (DVD) = FS1 UEFI: V9_2 OpenVMS: None 1338 MB SATA DVD
BOOTMGR>BOOT DKA100
Booting...
CPU messages have been removed from this portion of the log.
%EIA0, Link up: 1000 mbit, fdx, flow control (rcv only), 08-00-27-C5-F8-A1
13
Chapter 2. Booting and Installing on a Virtual Machine
OPCOM messages have been removed from this portion of the log.
OPCOM messages have been removed from this portion of the log.
Accounting information:
Buffered I/O count: 2864 Peak working set size: 13968
Direct I/O count: 1444 Peak virtual size: 274624
Page faults: 3612 Mounted volumes: 0
Charged CPU time: 0 00:00:02.16 Elapsed time: 0 00:00:07.22
The installation is complete. The Welcome to OpenVMS banner and the Username: prompt is displayed
after pressing the Return/Enter key.
<enter>
Welcome to OpenVMS (TM) x86_64 Operating System, Version V9.2
Username: SYSTEM
Password:
4. Execute the following OpenSSH command procedures in the exact order listed:
a. $ @sys$common:[openssh.bin]ssh$create_account.com
b. $ @sys$common:[openssh.bin]ssh$create_startup_file.com
c. $ @sys$common:[openssh.bin]ssh$generate_keys.com
d. $ @sys$common:[openssh.bin]ssh$install_info.com
5. To begin using OpenSSH, it must also be started, which can be done by updating the system files
as described by SSH$INSTALL_INFO.COM and rebooting or by executing the following startup
procedure explicitly:
$ @SYS$STARTUP:SSH$STARTUP.COM
6. Also, you can define logical names for the SSH commands using:
$ @SSH$ROOT:[BIN]SSH$DEFINE_COMMANDS.COM
14
Chapter 2. Booting and Installing on a Virtual Machine
Note
The SSH$INSTALL_INFO.COM procedure, above, describes post-installation steps, first an update if
the system is part of a cluster, and then updates to apply to the system startup and shutdown command
files for any system, as follows:
1. In a cluster, on all the nodes that are going to use the same common ssh$root installation directory as
the current node, copy the following files to the SYS$STARTUP directory of each node:
SYS$STARTUP:SSH$STARTUP.COM
SYS$STARTUP:SSH$SHUTDOWN.COM
SYS$STARTUP:SSH$DEFINE_ROOT.COM
2. To automatically start OpenVMS OpenSSH during system startup, add the following line to the file
SYS$MANAGER:SYSTARTUP_VMS.COM after the TCPIP startup command procedure:
$ @SYS$STARTUP:SSH$STARTUP.COM
3. To shut down OpenVMS OpenSSH during system shutdown, add the following line to the file SYS
$MANAGER:SYSHUTDWN.COM:
$ @SYS$STARTUP:SSH$SHUTDOWN.COM
Running the command procedure SSH$DEFINE_COMMANDS.COM creates logical names for the
OpenSSH utility commands, as listed below. Individual users may add this command procedure to their
LOGIN.COM file, or it can be added to SYLOGIN.COM to define these logical names for all users.
• SCP
• SFTP
• SSH_ADD
• SSH_AGENT
• SSH_KEYGEN
• SSH_KEYSCAN
• SSH
Note
If SSH$DEFINE_COMMANDS.COM is run with the parameter "ALL", the following additional
commands will be defined. These commands are intended primarily for administrative purposes and
generally are not used by other users.
• SSHSTART
15
Chapter 2. Booting and Installing on a Virtual Machine
Starts and creates (if necessary) OpenSSH services. Before running this command, check the file
SSH$ROOT:[ETC]SSHD_CONFIG to ensure that SSH server configuration details are correct.
You may also need to modify the client configuration file SSH$ROOT:[ETC]SSH_CONFIG before
starting the services.
• SSHSTO*P
Stops OpenSSH services. If the parameter "ALL" is specified with this command, the service
definitions will be removed from the TCP/IP configuration.
• SSHSH*OW
Shows details of running OpenSSH processes including SSH connections, number of connected
clients, and so on. Note that each client connection consists of two processes, namely a process with
a name of the form SSHD_BGxxxxx (where xxxxx is the number of the associated BG device), and
a user process with a name of the form FTAxxx_USERNAME for the USERNAME in question.
The name of the user process can be changed by the user.
• SSHVER*SION
Displays information about the various OpenSSH programs, including version details and related
data.
16
Chapter 3. Networking on V9.2
This chapter provides information about networking options and instructions for DECnet Phase IV and
for VSI TCP/IP Services on OpenVMS x86-64 V9.2.
• To start the network in a batch job (speeds up startup) locate and uncomment the line:
$!$ SUBMIT SYS$MANAGER:STARTNET.COM
For more DECnet Phase IV documentation, visit Documentation — VMS Software, Inc. [https://
docs.vmssoftware.com]
Configuration options:
1 - Core environment
2 - Client components
3 - Server components
4 - Optional components
A - Configure options 1 - 4
[E] - Exit configuration procedure
17
Chapter 3. Networking on V9.2
Configuration options:
1 - Domain
2 - Interfaces
3 - Routing
4 - BIND Resolver
5 - Time Zone
A - Configure options 1 - 5
[E] - Exit menu
DOMAIN Configuration
Configuration options:
1 - Domain
2 - Interfaces
3 - Routing
4 - BIND Resolver
5 - Time Zone
A - Configure options 1 - 5
[E] - Exit menu
VSI TCP/IP Services for OpenVMS Interface & Address Configuration Menu
Configuration options:
Configuration options:
18
Chapter 3. Networking on V9.2
Requested configuration:
Node : <your_node>
Interface: IE0
IPCI : No
Address : 192.0.2.15/8
Netmask : 255.0.0.0 (CIDR bits: 8)
Hostname : <your_node>
VSI TCP/IP Services for OpenVMS Interface & Address Configuration Menu
Configuration options:
Configuration options:
1 - Domain
2 - Interfaces
3 - Routing
4 - BIND Resolver
5 - Time Zone
A - Configure options 1 - 5
[E] - Exit menu
If you enable dynamic ROUTED routing, this host will use the
Routing Information Protocol (RIP) - Version 1 to listen
for all dynamic routing information coming from other
hosts to update its internal routing tables.
It will also supply its own Internet addresses to
routing requests made from remote hosts.
19
Chapter 3. Networking on V9.2
Configuration options:
1 - Domain
2 - Interfaces
3 - Routing
4 - BIND Resolver
5 - Time Zone
A - Configure options 1 - 5
[E] - Exit menu
1 - Core environment
2 - Client components
3 - Server components
4 - Optional components
5 - Shutdown VSI TCP/IP Services for OpenVMS
6 - Startup VSI TCP/IP Services for OpenVMS
7 - Run tests
A - Configure options 1 - 4
[E] - Exit configuration procedure
Enter configuration option: 2
Configuration options:
A - Configure options 1 - 8
[E] - Exit menu
20
Chapter 3. Networking on V9.2
FTP Configuration
Configuration options:
A - Configure options 1 - 8
[E] - Exit menu
TELNET Configuration
21
Chapter 3. Networking on V9.2
Configuration options:
A - Configure options 1 - 8
[E] - Exit menu
1 - Core environment
2 - Client components
3 - Server components
4 - Optional components
5 - Shutdown VSI TCP/IP Services for OpenVMS
6 - Startup VSI TCP/IP Services for OpenVMS
7 - Run tests
A - Configure options 1 - 4
[E] - Exit configuration procedure
Enter configuration option: 3
Configuration options:
A - Configure options 1 - 21
[E] - Exit menu
Configuration options:
1 - Core environment
2 - Client components
3 - Server components
4 - Optional components
5 - Shutdown VSI TCP/IP Services for OpenVMS
6 - Startup VSI TCP/IP Services for OpenVMS
22
Chapter 3. Networking on V9.2
7 - Run tests
A - Configure options 1 - 4
[E] - Exit configuration procedure
Enter configuration option: 4
Configuration options:
A - Configure options 1 - 6
[E] - Exit menu
Configuration options:
1 - Core environment
2 - Client components
3 - Server components
4 - Optional components
A - Configure options 1 - 4
[E] - Exit configuration procedure
Begin Startup...
Configuration options:
23
Chapter 3. Networking on V9.2
1 - Core environment
2 - Client components
3 - Server components
4 - Optional components
A - Configure options 1 - 4
[E] - Exit configuration procedure
Confirm that your TCP/IP network has started and is configured. Enter:
$ show network
24
Appendix A. Setting up a VMS Cluster
This appendix provides instructions to create a VMS cluster with two Oracle VirtualBox VMs both
running on a Windows 10 system host with each using its own system disk.
Note
VSI development is providing the information in this appendix as one example of how to set up a cluster
on a virtual machine. There may be other or better ways to do this. VSI encourages our customers to find
other methods and to share them with us.
Use the following worksheet to list the names and addresses for your specific cluster environment.
Variables in monospace font are used throughout the instructions.
25
Appendix A. Setting up a VMS Cluster
1. Locate the V9.2 ISO file. You may have a zipped copy, which you should unzip.
2. On an existing OpenVMS system, enter these commands to create a 2GB disk file that can be
replicated as needed for each of the disks required:
$ LD CREATE EMPTY2GBDISK.DSK/SIZE=4194304/ERASE
$ LD CONNECT EMPTY2GBDISK.DSK LDA EMPTY$
$ INITIALIZE EMPTY$ EMPTY2GBDISK
$ LD DISCONNECT EMPTY$
$ ZIP EMPTY2GBDISK EMPTY2GBDISK.DSK
4. Unzip this archive four times to a folder where VirtualBox can access the DSK files. After each
Unzip, rename the resulting EMPTY2GBDISK.DSK to:
• <VM1_sysdisk_name>.DSK
• <VM1_paging_disk_name>.DSK
• <VM2_sysdisk_name>.DSK
• <VM2_paging_disk_name>.DSK
5. Make a VMDK file for each one using the following command:
vboxmanage internalcommands createrawvmdk -filename <x>.vmdk -rawdisk <x>.dsk
2. In the Name field, enter <VM1_name>. Accept the default for the Machine Folder field, set Type to
Other, and Version to Other/Unknown (64-bit).
26
Appendix A. Setting up a VMS Cluster
3. Click Next. VSI recommends that you set the memory size to 6144MB, then click Next again.
4. Select “Do not add a virtual hard disk”, then click Create and Continue from the warning.
6. In the Motherboard tab, uncheck Floppy and Optical, choose Chipset ICH9, and check Enable EFI.
7. In the Processor tab, VSI recommends that you set the CPU count to at least 2.
9. Click Add controller, select the AHCI (SATA) type controller. Add four disks to this controller in the
following order:
You must add each disk to the available drives first, and then select it for the VM.
11. Enable the first three adapters. The first adapter is used to connect to your extended network using
TCP/IP, and might include a VPN. The second adapter is used to connect to your local network
(which may be entirely within your host system) using TCP/IP. The third adapter is used to connect
your virtual machines using DECnet IV. All three adapters are used for cluster communication.
12. For Adapter 1, select the NAT adapter type (default value).
Note
This setting is determined by how your computer accesses the rest of your network from the VM.
In the example described here, the target machines are connected via VPN, which requires the NAT
adapter type. If you are using a local network, change the adapter type to Bridged.
Under Advanced, make sure Adapter Type is set to Intel PRO/1000 MT Desktop (82540EM), use
default MAC address, and make sure Cable Connected is checked.
Under Advanced, specify the same settings as Adapter 1 with the default MAC address, but make
sure Promiscuous is set to Deny.
14. Set up Adapter 3 the same way as Adapter 2 but override the MAC address with
<VM1_DECnet_mac_address>. This MAC address matches the DECnet address
<VM1_DECnet_address>.
15. From the Settings menu, select Ports. With our method, two ports with distinct port numbers
are used on each system. Ports 1 and 2 are COM1 and COM2 respectively. The Port Mode is
TCP. “Connect to existing pipe/socket” option should be unchecked, and Path/Address are set to
<VM1_port_number_1> and <VM1_port_number_2>.
27
Appendix A. Setting up a VMS Cluster
2. In the Virtual Machine console window that is created, the VM boot process should stop at the
Shell> prompt. If it does not, press ESC.
3. Click View, then click Scaled Mode. Close the Virtual Machine window.
4. In the Close Virtual Machine pop-up window, select Power Off the machine, and then click OK. This
sets “Power off” as the default action on close.
7. To find the CD-ROM and invoke the Boot Manager from it, enter the map -r command at the
Shell> prompt. Because the only bootable disk is the ISO kit file, just VMS_BOOTMGR should be
sufficient.
Enable auto-boot and set Flags to 800 before entering the BOOT DKA200 command to begin the
installation. You should install to the DKA0: disk with the following settings:
8. Important: When the system reboots to perform AUTOGEN, abort AUTO BOOT and manually
boot the new system disk with the command BOOT DKA0. Once the AUTOGEN step is done and
the system boots, log in and invoke CLUSTER_CONFIG_LAN.COM, option 1.
9. Answer Yes to the SCSI bus prompt and enter <cluster_number> and <cluster_password> when
requested.
11. Answer No to the quorum disk prompt. Skip the port allocation class and set EXPECTED_VOTES
to 1. You can safely ignore the warnings.
12. Run AUTOGEN again and let the system reboot as a single-node cluster.
13. At this point, you should modify several of the SYSGEN parameters. Refer to the VSI OpenVMS
System Management Utilities Reference Manual for the description of MODPARAMS.DAT and
update its contents and the CURRENT parameter settings. The values used should be from the
following list:
WINDOW_SYSTEM=1
DISK_QUORUM=""
NISCS_LOAD_PEA0=1
VAXCLUSTER=2
EXPECTED_VOTES=1
MSCP_LOAD=1
28
Appendix A. Setting up a VMS Cluster
MSCP_SERVE_ALL=5
INTERCONNECT="NI"
BOOTNODE="NO"
TTY_TYPAHDSZ=512
TTY_BUF=132
SCSNODE="<VM1_nodename>"
SCSSYSTEMID=<VM1_SCSSYSTEMID>
VOTES=1
2. To copy DKA0: (system disk of VM1) to DKA300: (this will become system disk of VM2), type in
the following commands:
$ MOUNT/FOREIGN DKA300:
$ BACKUP/IMAGE/IGNORE=INTERLOCK DKA0: DKA300:
3. To be able to change the label of DKA300:, first type in the following commands:
$ DISMOUNT DKA300:
$ MOUNT DKA300/OVERRIDE=ID
6. Connect and mount the memory disk container file using the following commands:
$ LD CONNECT DKA300:[VMS$COMMON.SYS$LDR]SYS$MD.DSK LDM LDDEV
$ MOUNT/OVER=ID LDDEV
7. Note the label of the memory disk. It will be of the form “MD20345927FD”. Change the last letter
to create a unique name. For example:
$ SET VOLUME LDDEV /LABEL=MD20345927FE
8. This gets a unique volume label into <VM2_sysdisk_name>’s memory disk. Before dismounting
the memory disk or the system disk, update several parameters, including SCSNODE and
SCSSYSTEMID:
$ MCR SYSGEN
SYSGEN> USE LDDEV:[SYS0.SYSEXE]X86_64VMSSYS.PAR
SYSGEN> SET SCSNODE "<VM2_nodename>"
SYSGEN> SET SCSSYSTEMID <VM2_SCSSYSTEMID>
SYSGEN> SET VOTES 0
SYSGEN> WRITE LDDEV:[SYS0.SYSEXE]X86_64VMSSYS.PAR
SYSGEN> EXIT
9. Dismount the memory disk before completing the other setup tasks for the new system disk.
$ DISMOUNT LDDEV
$ LD DISCONNECT LDDEV
29
Appendix A. Setting up a VMS Cluster
2. Go into VM1 Settings, click Storage and remove disk <VM2_sysdisk_name> (you will need to use
that disk in the new VM).
3. The process of creating VM2 is mostly the same as VM1 (as described in Section A.2), with a few
differences:
5. Start VM2 and perform steps 2 through 4 from Section A.3 of this document, so that the default
action on Close is Power Off instead of Save.
7. Locate and start the boot manager as for VM1. Enable auto-boot and set Flags to 800.
At this point, you should have a two-node cluster, running off separate system disks.
1. Initialize and mount the paging disk on each system, then create PAGEFILE.SYS and
SYSDUMP.DMP in [SYS0.SYSEXE] for each one.
2. Use 1,000,000 blocks for each file. Also, create a [SYSMGR] directory on this disk as a place to
save dumps from SDA.
30
Appendix A. Setting up a VMS Cluster
4. During the installation of OpenVMS, a minimal pagefile was created on the system disk. Use the
SHOW MEMORY command to confirm the exact location. You may want to delete this (which is
now on both system disks), and you should do this by renaming the file (to PAGEFILE.TMP, for
example), then rebooting each system before deleting the renamed file.
5. To set up the dump device, enter the following command on both systems:
$ SET DUMP_OPTIONS/DEVICE=DKA100:
6. Update MODPARAMS.DAT on each node for the changes that have been made. The following
lists are taken from the MODPARAMS contents generated by the installation and running
CLUSTER_CONFIG_LAN.COM:
EXPECTED_VOTES=1
MSCP_LOAD=1
MSCP_SERVE_ALL=5
INTERCONNECT="NI"
BOOTNODE="NO"
TTY_TYPAHDSZ=512
TTY_BUF=132
Note
Some of these values may not have been set to the desired values (probably MSCP_SERVE_ALL,
TTY_TYPAHDSIZ, and TTY_BUF). You need to edit both copies of MODPARAMS.DAT and use
SYSGEN to update the values in use. Do not forget to enter WRITE CURRENT.
7. To set the terminal (and any other) features you want, create a SYLOGIN.COM and/or
LOGIN.COM. Among other things, we use:
$ SET TERMINAL/WIDTH=132/PAGE=48/INSERT/INQUIRE
31
Appendix A. Setting up a VMS Cluster
The values above match the PuTTY setup of the terminal window used in these instructions.
• Set IE1 to static addresses that work with your local host’s network, so you can issue a TELNET
command to each node from your local host (but leave the node name associated with IE0).
These are <VM1_TCPIP_address_2> and <VM2_TCPIP_address_2>.
• Set Default route to an appropriate gateway value. VirtualBox works with 10.0.2.2.
• Make sure FTP and TELNET are both set as CLIENT and SERVER.
On VM1, enter:
$ MCR NCP DEFINE NODE <VM2_DECnet_address> NAME <VM2_nodename>
On VM2, enter:
$ MCR NCP DEFINE NODE <VM1_DECnet_address> NAME <VM1_nodename>
At this point, we have a two-node cluster, with each node running from its own system disk. Each node
has a private page/dump disk. The first node (VM1) also has the kit ISO as a third disk (optical drive).
For symmetry, the second node (VM2) also has an empty optical drive. For safety, only VM1 has a
cluster vote.
Shut down and power off both nodes. Then create a ZIP file of the four DSK files:
• <VM1_sysdisk_name>.DSK
• <VM1_paging_disk_name>.DSK
32
Appendix A. Setting up a VMS Cluster
• <VM2_sysdisk_name>.DSK
• <VM2_paging_disk_name>.DSK
2. On Windows 10, open your “VirtualBox VMs” folder, select all four files, and right-click the
selection.
4. The ZIP file is named after one of the files, so when the ZIP file is populated, rename it.
Note
If you need to restore just one disk from here, that does not mean you have to restore all of them.
Simply navigate to the ZIP folder and drag the disk file you need back to the original folder to
overwrite it.
33
Appendix A. Setting up a VMS Cluster
34