Installing OpenVMS on VirtualBox: Difference between revisions

From VSI OpenVMS Wiki
Jump to navigation Jump to search
How to install VSI OpenVMS x86-64 V9.2 on Oracle VM VirtualBox 7
 
Polluks (talk | contribs)
mNo edit summary
 
(2 intermediate revisions by one other user not shown)
Line 11: Line 11:
#: d. In the '''Version''' dropdown, select '''Other/Unknown (64-bit)'''.
#: d. In the '''Version''' dropdown, select '''Other/Unknown (64-bit)'''.
# On the '''Hardware''' page of the wizard, set '''Base Memory''' to at least 8GB. Click '''Next'''.  
# On the '''Hardware''' page of the wizard, set '''Base Memory''' to at least 8GB. Click '''Next'''.  
# On the '''Hard disk''', set the size of your virtual hard disk and click '''Next'''.  
# <div id="Step4"></div> On the '''Hard disk''', set the size of your virtual hard disk and click '''Next'''.
# Click '''Finish'''. <br>
# Click '''Finish'''. <br>
<br>
==== Configuring Your Virtual Machine ====
==== Configuring Your Virtual Machine ====
Before you can install VSI OpenVMS x86-64 on your virtual machine, you must configure it. Follow these steps:<br>
Before you can install VSI OpenVMS x86-64 on your virtual machine, you must configure it. Follow these steps:<br>
Line 22: Line 21:
#:: ii. Make sure the '''Enable I/O APIC''' and '''Enable EFI''' options are checked.
#:: ii. Make sure the '''Enable I/O APIC''' and '''Enable EFI''' options are checked.
#: b. Go to '''Storage''' > '''Storage Devices'''.
#: b. Go to '''Storage''' > '''Storage Devices'''.
#:: i. Select the default IDE controller, then click '''Remove Controller'''  
#:: i. Select the default IDE controller, then click '''Remove Controller''' ([[File:IconI.png|frameless|20px]])
<gallery>
#:: ii. Click '''Add Controller''' ([[File:IconII.png|frameless|20px]]) and pick PIIX4 (Default IDE), then change type to AHCI.  
Example.jpg|Caption1
#:: iii. Once you have created the controller, click '''Adds Hard Disk''' ([[File:IconIII.png|frameless|20px]]) and add the 40GB hard disk (6 GB being the minimum size) that you have created in [[#Step4|Step 4]] of the [[#Creating_a_Virtual_Machine|Creating a Virtual Machine]] topic.
Example.jpg|Caption2
#:: iv. Click '''Adds Optical Drive''' ([[File:IconIV.png|frameless|20px]]) and select your OpenVMS ISO file.
</gallery>
#: c. Go to '''Network'''.  
 
#:: i. Click the '''Attached to''' dropdown and select '''Host-only Adapter'''.  
 
#:: ii. From the '''Adapter type''' dropdown, select '''Intel PRO/1000 MT Server'''.  
 
#: d. Go to '''Serial Ports'''.  
 
#:: i. Check '''Enable Serial Port'''.  
 
#:: ii. Set '''Port Mode''' to '''TCP'''.  
 
#:: iii. Uncheck '''Connect to existing pipe/socket'''.  
 
#:: iv. In the '''Path/Address''' field, type the port number that you want to use. In this procedure, we will use port 2023.
Set the Name and Folder for your VM.
#: e. Click '''OK''' to apply the changes and close the '''Settings''' window. <br>
 
In the ISO Image field, specify the path to your OpenVMS ISO file.
 
In the Type dropdown, select Other.
 
In the Version dropdown, select Other/Unknown (64-bit).
 
On the Hardware page of the wizard, set Base Memory to at least 8GB. Click Next.
 
On the Hard disk, set the size of your virtual hard disk and click Next.
 
Click Finish.
 
Configuring Your Virtual Machine
 
Before you can install VSI OpenVMS x86-64 on your virtual machine, you must configure it. Follow these steps:  
 
Once you have created your VM, right-click it and select Settings from the menu.
 
In the Settings window, do the following:  
 
Go to System > Motherboard > Extended Features.
 
From the Chipset dropdown, select ICH9.
 
Make sure the Enable I/O APIC and Enable EFI options are checked.
 
Go to Storage > Storage Devices.
 
Select the default IDE controller, then click Remove Controller ().
 
Click Add Controller () and pick PIIX4 (Default IDE), then change type to AHCI.  
 
Once you have created the controller, click Adds Hard Disk () and add the 40GB hard disk (6 GB being the minimum size) that you have created in step 4 of the Creating a Virtual Machine topic.  
 
Click Adds Optical Drive () and select your OpenVMS ISO file.  
 
Go to Network.  
 
Click the Attached to dropdown and select Host-only Adapter.  
 
From the Adapter type dropdown, select Intel PRO/1000 MT Server.  
 
Go to Serial Ports.  
 
Check Enable Serial Port.  
 
Set Port Mode to TCP.  
 
Uncheck Connect to existing pipe/socket.  
 
In the Path/Address field, type the port number that you want to use. In this procedure, we will use port 2023.  
 
Click OK to apply the changes and close the Settings window.  
 
When you need the console, use Putty with:  
When you need the console, use Putty with:  
:: i. Your port name
:: ii. Host name: '''127.0.0.1'''
:: iii. Connection type: '''Raw'''.<br>


Your port name
Don't forget to change '''Local echo''' and '''Local line''' editing to '''Force off''' in '''Terminal settings'''. You can also enter OPA0 at the <code> BOOTMGR></code> prompt for a built-in terminal (starting with V9.2-3).<br>
 
==== Installing VSI OpenVMS x86-64 ====
Host name:127.0.0.1
# Select your virtual machine and click [[File:IconV.png|frameless|20px]]. If you have set everything up correctly, you will see the VSI Boot Manager screen:
 
#:[[File:Command Line 1.png|frame|none]]
Connection type: Raw. 
# '''Optional''': At the <code> BOOTMGR></code> prompt, type <code> DEVICES</code> to display the list of available disks. The list should include the DKA100 disk.
 
# Enter <code> BOOT DKA100</code>. After the progress meter reaches 100%, you should see the following screen:
Don't forget to change Local echo and Local line editing to Force off in Terminal settings. You can also enter OPA0 at the BOOTMGR> prompt for a built-in terminal (starting with V9.2-3).  
#:[[File:Command Line 2.png|frame|none]]
 
# Run your terminal emulator software (in this example, we will be using Putty).  
Installing VSI OpenVMS x86-64  
# Set the connection type to '''Telnet'''.  
 
# Set the '''Local Echo''' and '''Local Line''' Editing options to '''Force Off'''.
Select your virtual machine and click . If you have set everything up correctly, you will see the VSI Boot Manager screen:  
#:: '''Note''': In Putty, you will find these options under the '''Terminal''' category.  
 
# Connect to <code> localhost</code>. You should see the following output:  
#:[[File:Command Line 3.png|frame|none]]
 
# Enter <code> 1</code>.
Optional: At the BOOTMGR> prompt, type DEVICES to display the list of available disks. The list should include the DKA100 disk.  
# Answer <code> INITIALIZE</code> to the <code> Do you want to INITIALIZE or to PRESERVE?</code> question.
 
# At the <code> Enter device name for target disk:</code> prompt, enter <code> DKA0:</code>
Enter BOOT DKA100. After the progress meter reaches 100%, you should see the following screen:  
# At the <code> Enter volume label for target system disk: [X86SYS]</code> prompt, type the name for your system disk. In this example, we will name it <code> systemDisk</code>.  
 
# At the <code> Do you want to enable hard links?</code> prompt, specify whether you want to enable hard links. It is up to you, but in this example we will answer <code> yes</code>.
# You will see a prompt asking you to confirm your choice. For the sake of brevity, such prompts will not be mentioned in this document.  
 
# <div id="Step14"></div> Set and confirm the password for your SYSTEM account.  
Run your terminal emulator software (in this example, we will be using Putty).  
#:: '''Note''': If you get an error at this stage, press Backspace several times before you enter the password. This is a terminal emulator issue.  
 
# At the <code> Enter SCSNODE:</code> prompt, specify the name for your OpenVMS node. In this example, we will type in <code> x86</code>.  
Set the connection type to Telnet.  
# Answer <code> YES</code> to the <code> Do you plan to use DECnet?</code> question and agree to the suggested address.  
 
# The next 3 prompts will ask you to specify the time zone related information.  
Set the Local Echo and Local Line Editing options to Force Off.  
# Answer <code> NO</code> to the <code> Do you want to register any Product Authorization Keys?</code> question.
 
# Agree to install '''DECWindows Motif''' and '''DECnet-Plus for OpenVMS x86-64'''.  
Note: In Putty, you will find these options under the Terminal category.  
# Answer <code> NO</code> to the <code> Do you always want detailed descriptions?</code> question.  
 
# Answer <code> YES</code> to the <code> Do you want the defaults for all options?</code> question.  
Connect to localhost. You should see the following output:  
# Answer <code> YES</code> to the <code> Can the system be REBOOTED after the installation completes?</code> question.  
 
# Answer <code> NO</code> to the <code> Do you want to review the options?</code> question.  
# Wait for the <code> Portion done:</code> meter to reach 100%. After that, you will be asked to press Enter to continue several times.   
 
# At the <code> Enter CHOICE or ? for help: (1/2/3/4/5/6/7/8/9/?)</code> prompt, enter <code> 9</code>. The system will shut down.  
Enter 1.  
# When you see the <code> **** Hit any key to reboot system ****</code> output, press Enter. The system will reboot.  
 
# At the <code> BOOTMGR></code> prompt, enter <code> BOOT DKA0:</code>. The system will boot and shut down.  
Answer INITIALIZE to the Do you want to INITIALIZE or to PRESERVE? question.  
#
 
#:[[File:Command Line 4.png|frame|none]]
At the Enter device name for target disk: prompt, enter DKA0:  
When you see the <code> BOOTMGR></code> prompt again, enter <code> BOOT DKA0:</code> and wait for the system to boot. Press Enter when you see an output similar to the one below:  
 
# At the <code> Username:</code> prompt, set the name for your system account. In this example, we will type in <code> system</code>.  
At the Enter volume label for target system disk: [X86SYS] prompt, type the name for your system disk. In this example, we will name it systemDisk.  
# Enter the password that you have set in [[#Step14|Step 14]].<br>
 
You have successfully installed OpenVMS. Now, before you can use the system, you must perform several post-installation configuration steps. Do not close your Putty window.<br>
At the Do you want to enable hard links? prompt, specify whether you want to enable hard links. It is up to you, but in this example we will answer yes.
 
You will see a prompt asking you to confirm your choice. For the sake of brevity, such prompts will not be mentioned in this document.  
 
Set and confirm the password for your SYSTEM account.  
 
Note: If you get an error at this stage, press Backspace several times before you enter the password. This is a terminal emulator issue.  
 
At the Enter SCSNODE: prompt, specify the name for your OpenVMS node. In this example, we will type in x86.  
 
Answer YES to the Do you plan to use DECnet? question and agree to the suggested address.  
 
The next 3 prompts will ask you to specify the time zone related information.  
 
Answer NO to the Do you want to register any Product Authorization Keys? Question.    
 
Agree to install DECWindows Motif and DECnet-Plus for OpenVMS x86-64.  
 
Answer NO to the Do you always want detailed descriptions? question.  
 
Answer YES to the Do you want the defaults for all options? question.  
 
Answer YES to the Can the system be REBOOTED after the installation completes? question.  
 
Answer NO to the Do you want to review the options? question.  
 
Wait for the Portion done: meter to reach 100%. After that, you will be asked to press Enter to continue several times.   
 
At the Enter CHOICE or ? for help: (1/2/3/4/5/6/7/8/9/?) prompt, enter 9. The system will shut down.  
 
When you see the **** Hit any key to reboot system **** output, press Enter. The system will reboot.  
 
At the BOOTMGR> prompt, enter BOOT DKA0:. The system will boot and shut down.  
 
When you see the BOOTMGR> prompt again, enter BOOT DKA0: and wait for the system to boot. Press Enter when you see an output similar to the one below:  
 
Text
 
Description automatically generated
 
At the Username: prompt, set the name for your system account. In this example, we will type in system.  
 
Enter the password that you have set in step 14.  
 
You have successfully installed OpenVMS. Now, before you can use the system, you must perform several post-installation configuration steps. Do not close your Putty window.  
 
Post-installation configuration
 
Configuring VSI TCP/IP Services and DHCP
 
Important: The procedure below assumes you already have a network with a running DHCP server.
 
To configure VSI TCP/IP Services and DHCP, follow these steps:
 
In your Putty window, at the $ prompt, enter @sys$startup:tcpip$startup
 
Answer YES to the Autoconfigure TCP/IP Services using DHCP client question.
 
You will get several system output messages. The last one will contain the IP address that has been assigned to your OpenVMS node.
 
At the $ prompt, enter @tcpip$config
 
Select 1 - Core environment.
 
Select 2 – Interfaces.
 
Select 2 – <IP address>, where <IP address> is the address that was assigned to IE0.
 
Select 2 - Set “<IP address>” as the default hostname.
 
Enter a hostname for your address. It can be any string of symbols.
 
Answer YES to the Set the hostname to <your_host_name> question.
 
Answer YES to the Update system hostname on live system question.
 
In the VSI TCP/IP Services for OpenVMS Interface & Address Configuration Menu, select option 2 – <your_IP_address>    <your_host_name>.
 
Select 3 - Add to configuration database.
 
Select option 2 – <your_IP_address>   <your_host_name> again.
 
Select 4 - Add to IPCI database.
 
Exit the configuration menu.
 
Optional: To make sure everything works correctly so far, ping the IP address that you specified earlier. Do not close your Putty window.
 
Configuring SSH
 
To configure OpenSSH on your OpenVMS system, follow these steps:
 
In your Putty window, at the $ prompt, enter reboot to reboot your virtual machine.
 
Enter BOOT DKA0 and re-login to the system.
 
At the $ prompt, enter @tcpip$config
 
Select 6 - Startup VSI TCP/IP Services for OpenVMS.
 
Exit the configuration menu.
 
At the $ prompt, enter:
 
$ @sys$common:[openssh.bin]ssh$create_account.com
 
Give the default answer to the Enter default UIC group number for OpenSSH account prompt.
 
Enter the following commands in this order:
 
$ @sys$common:[openssh.bin]ssh$create_startup_file.com
$ @sys$common:[openssh.bin]ssh$generate_keys.com
 
$ @sys$common:[openssh.bin]ssh$install_info.com
 
Note: After entering the second command, make sure that SSH keys were generated.
 
Close the current Putty session.
 
Establish a Telnet connection to the system via the IP address that was assigned to your system by DHCP (step 4 of the Configuring VSI TCP/IP Services and DHCP topic).
 
Login to the system.
 
Enter the following commands:
 
$ set terminal/inquiry
 
$ set terminal/insert
 
Type in EDIT SYSTARTUP_VMS.COM
 
In the file, find and uncomment the following line:
 
@SYS$STARTUP:TCPIP$STARTUP.COM
 
Scroll to the end of the file and insert the following lines before $ EXIT:
 
$ @sys$common:[openssh.bin]SSH$STARTUP.COM
 
$ @sys$sysdevice:[vms$common.openssh.bin]SSH$DEFINE_COMMANDS
 
Press Ctrl+Z to save the changes and close the file.
 
Enter EDIT SYLOGICALS.COM
 
In the file, find and uncomment this block of lines:
 
$! DEFINE/SYSTEM/EXECUTIVE SYSUAF                    SYS$SYSTEM:SYSUAF.DAT
 
$! DEFINE/SYSTEM/EXECUTIVE SYSUAFALT                SYS$SYSTEM:SYSUAFALT.DAT
 
$! DEFINE/SYSTEM/EXECUTIVE SYSALF                    SYS$SYSTEM:SYSALF.DAT
 
$! DEFINE/SYSTEM/EXECUTIVE RIGHTSLIST                SYS$SYSTEM:RIGHTSLIST.DAT
 
$! DEFINE/SYSTEM/EXECUTIVE NETPROXY                  SYS$SYSTEM:NETPROXY.DAT
 
$! DEFINE/SYSTEM/EXECUTIVE NET$PROXY                SYS$SYSTEM:NET$PROXY.DAT
 
$! DEFINE/SYSTEM/EXECUTIVE NETOBJECT                SYS$SYSTEM:NETOBJECT.DAT
 
$! DEFINE/SYSTEM/EXECUTIVE NETNODE_REMOTE            SYS$SYSTEM:NETNODE_REMOT`
 
$! DEFINE/SYSTEM/EXECUTIVE LMF$LICENSE              SYS$SYSTEM:LMF$LICENSE.L`
 
$! DEFINE/SYSTEM/EXECUTIVE VMSMAIL_PROFILE          SYS$SYSTEM:VMSMAIL_PROFI`
 
$! DEFINE/SYSTEM/EXECUTIVE VMS$OBJECTS              SYS$SYSTEM:VMS$OBJECTS.D`
 
$! DEFINE/SYSTEM/EXECUTIVE VMS$AUDIT_SERVER          SYS$MANAGER:VMS$AUDIT_SE`
 
$! DEFINE/SYSTEM/EXECUTIVE VMS$PASSWORD_HISTORY      SYS$SYSTEM:VMS$PASSWORD_`
 
$! DEFINE/SYSTEM/EXECUTIVE VMS$PASSWORD_DICTIONARY  SYS$LIBRARY:VMS$PASSWORD`
 
$! DEFINE/SYSTEM/EXECUTIVE NETNODE_UPDATE            SYS$MANAGER:NETNODE_UPDA`
 
$! DEFINE/SYSTEM/EXECUTIVE VMS$PASSWORD_POLICY      SYS$LIBRARY:VMS$PASSWORD`
 
$! DEFINE/SYSTEM/EXECUTIVE LAN$NODE_DATABASE        SYS$SYSTEM:LAN$NODE_DATA`
 
$! DEFINE/SYSTEM/EXECUTIVE VMS$CLASS_SCHEDULE        SYS$SYSTEM:VMS$CLASS_SCH`


Save and close the file.  
=== Post-installation configuration ===
==== Configuring VSI TCP/IP Services and DHCP ====
'''Important:''' The procedure below assumes you already have a network with a running DHCP server.  
To configure VSI TCP/IP Services and DHCP, follow these steps:<br>


Reboot the system.  
# In your Putty window, at the $ prompt, enter <code> @sys$startup:tcpip$startup</code>
# <div id="Step2"></div> Answer <code> YES</code> to the <code> Autoconfigure TCP/IP Services using DHCP client</code> question.
: You will get several system output messages. The last one will contain the IP address that has been assigned to your OpenVMS node.
# At the <code> $</code> prompt, enter <code> @tcpip$config</code>
# Select <code> 1 - Core environment.</code>
# Select <code> 2 – Interfaces.</code>
# Select <code> 2 – <IP address></code>, where <IP address> is the address that was assigned to IE0.
# Select <code> 2 - Set “<IP address>” as the default hostname</code>
# Enter a hostname for your address. It can be any string of symbols.
# Answer <code> YES</code> to the <code> Set the hostname to <your_host_name></code> question.
# Answer <code> YES</code> to the <code> Update system hostname on live system</code> question.
# In the VSI TCP/IP Services for OpenVMS Interface & Address Configuration Menu, select option <code> 2 – <your_IP_address>    <your_host_name></code>.
# Select <code> 3 - Add to configuration database</code>.
# Select <code> option 2 – <your_IP_address>    <your_host_name></code> again.
# Select <code> 4 - Add to IPCI database</code>.
# Exit the configuration menu.
# '''Optional''': To make sure everything works correctly so far, ping the IP address that you specified earlier. Do not close your Putty window.<br>


To verify that everything has been set up correctly, try and establish an SSH connection to your virtual machine.
==== Configuring SSH ====
To configure OpenSSH on your OpenVMS system, follow these steps: <br>
# In your Putty window, at the $ prompt, enter <code> reboot</code> to reboot your virtual machine.
# Enter <code> BOOT DKA0</code> and re-login to the system.
# At the <code> $</code> prompt, enter <code> @tcpip$config</code>
# Select <code> 6 - Startup VSI TCP/IP Services for OpenVMS</code>.
# Exit the configuration menu.
# At the $ prompt, enter:
#:: <code> $ @sys$common:[openssh.bin]ssh$create_account.com</code>
# Give the default answer to the <code> Enter default UIC group number for OpenSSH account</code> prompt.
# Enter the following commands in this order:
#:: <code> $ @sys$common:[openssh.bin]ssh$create_startup_file.com</code>
#:: <code> $ @sys$common:[openssh.bin]ssh$generate_keys.com</code>
#:: <code> @sys$common:[openssh.bin]ssh$install_info.com</code>
#:: '''Note''': After entering the second command, make sure that SSH keys were generated.
# Close the current Putty session.
# Establish a '''Telnet''' connection to the system via the IP address that was assigned to your system by DHCP ([[#Step2|Step 2]] of the [[#Configuring_VSI_TCP/IP_Services_and_DHCP|Configuring VSI TCP/IP Services and DHCP]] topic).
# Login to the system.
# Enter the following commands:
#:: <code> $ set terminal/inquiry</code>
#:: <code> $ set terminal/insert</code>
# Type in <code> EDIT SYSTARTUP_VMS.COM</code>
# In the file, find and uncomment the following line:
#:: <code> @SYS$STARTUP:TCPIP$STARTUP.COM</code>
# Scroll to the end of the file and insert the following lines before <code> $ EXIT:</code>
#:: <code> $ @sys$common:[openssh.bin]SSH$STARTUP.COM</code>
#:: <code> $ @sys$sysdevice:[vms$common.openssh.bin]SSH$DEFINE_COMMANDS</code>
# Press Ctrl/Z to save the changes and close the file.
# Enter <code> EDIT SYLOGICALS.COM</code>
# In the file, find and uncomment this block of lines:
<pre>:$! DEFINE/SYSTEM/EXECUTIVE SYSUAF                    SYS$SYSTEM:SYSUAF.DAT
:$! DEFINE/SYSTEM/EXECUTIVE SYSUAFALT                SYS$SYSTEM:SYSUAFALT.DAT
:$! DEFINE/SYSTEM/EXECUTIVE SYSALF                    SYS$SYSTEM:SYSALF.DAT
:$! DEFINE/SYSTEM/EXECUTIVE RIGHTSLIST                SYS$SYSTEM:RIGHTSLIST.DAT
:$! DEFINE/SYSTEM/EXECUTIVE NETPROXY                  SYS$SYSTEM:NETPROXY.DAT
:$! DEFINE/SYSTEM/EXECUTIVE NET$PROXY                SYS$SYSTEM:NET$PROXY.DAT
:$! DEFINE/SYSTEM/EXECUTIVE NETOBJECT                SYS$SYSTEM:NETOBJECT.DAT
:$! DEFINE/SYSTEM/EXECUTIVE NETNODE_REMOTE            SYS$SYSTEM:NETNODE_REMOT`
:$! DEFINE/SYSTEM/EXECUTIVE LMF$LICENSE              SYS$SYSTEM:LMF$LICENSE.L`
:$! DEFINE/SYSTEM/EXECUTIVE VMSMAIL_PROFILE          SYS$SYSTEM:VMSMAIL_PROFI`
:$! DEFINE/SYSTEM/EXECUTIVE VMS$OBJECTS              SYS$SYSTEM:VMS$OBJECTS.D`
:$! DEFINE/SYSTEM/EXECUTIVE VMS$AUDIT_SERVER          SYS$MANAGER:VMS$AUDIT_SE`
:$! DEFINE/SYSTEM/EXECUTIVE VMS$PASSWORD_HISTORY      SYS$SYSTEM:VMS$PASSWORD_`
:$! DEFINE/SYSTEM/EXECUTIVE VMS$PASSWORD_DICTIONARY  SYS$LIBRARY:VMS$PASSWORD`
:$! DEFINE/SYSTEM/EXECUTIVE NETNODE_UPDATE            SYS$MANAGER:NETNODE_UPDA`
:$! DEFINE/SYSTEM/EXECUTIVE VMS$PASSWORD_POLICY      SYS$LIBRARY:VMS$PASSWORD`
:$! DEFINE/SYSTEM/EXECUTIVE LAN$NODE_DATABASE        SYS$SYSTEM:LAN$NODE_DATA`
:$! DEFINE/SYSTEM/EXECUTIVE VMS$CLASS_SCHEDULE        SYS$SYSTEM:VMS$CLASS_SCH`
</pre>
# Save and close the file.
# Reboot the system.
# To verify that everything has been set up correctly, try and establish an SSH connection to your virtual machine.

Latest revision as of 09:19, 18 July 2025

Installing VSI OpenVMS x86-64 V9.2 on Oracle VM VirtualBox 7

Creating a Virtual Machine

To create a virtual machine in VirtualBox, follow these steps:

  1. Run Oracle VM VirtualBox and select Machine > New from the main menu. The Create Virtual Machine wizard opens.
  2. On the Virtual machine Name and Operating System page of the wizard, do the following:
    a. Set the Name and Folder for your VM.
    b. In the ISO Image field, specify the path to your OpenVMS ISO file.
    c. In the Type dropdown, select Other.
    d. In the Version dropdown, select Other/Unknown (64-bit).
  3. On the Hardware page of the wizard, set Base Memory to at least 8GB. Click Next.
  4. On the Hard disk, set the size of your virtual hard disk and click Next.
  5. Click Finish.

Configuring Your Virtual Machine

Before you can install VSI OpenVMS x86-64 on your virtual machine, you must configure it. Follow these steps:

  1. Once you have created your VM, right-click it and select Settings from the menu.
  2. In the Settings window, do the following:
    a. Go to System > Motherboard > Extended Features.
    i. From the Chipset dropdown, select ICH9.
    ii. Make sure the Enable I/O APIC and Enable EFI options are checked.
    b. Go to Storage > Storage Devices.
    i. Select the default IDE controller, then click Remove Controller ()
    ii. Click Add Controller () and pick PIIX4 (Default IDE), then change type to AHCI.
    iii. Once you have created the controller, click Adds Hard Disk () and add the 40GB hard disk (6 GB being the minimum size) that you have created in Step 4 of the Creating a Virtual Machine topic.
    iv. Click Adds Optical Drive () and select your OpenVMS ISO file.
    c. Go to Network.
    i. Click the Attached to dropdown and select Host-only Adapter.
    ii. From the Adapter type dropdown, select Intel PRO/1000 MT Server.
    d. Go to Serial Ports.
    i. Check Enable Serial Port.
    ii. Set Port Mode to TCP.
    iii. Uncheck Connect to existing pipe/socket.
    iv. In the Path/Address field, type the port number that you want to use. In this procedure, we will use port 2023.
    e. Click OK to apply the changes and close the Settings window.

When you need the console, use Putty with:

i. Your port name
ii. Host name: 127.0.0.1
iii. Connection type: Raw.

Don't forget to change Local echo and Local line editing to Force off in Terminal settings. You can also enter OPA0 at the BOOTMGR> prompt for a built-in terminal (starting with V9.2-3).

Installing VSI OpenVMS x86-64

  1. Select your virtual machine and click . If you have set everything up correctly, you will see the VSI Boot Manager screen:
  2. Optional: At the BOOTMGR> prompt, type DEVICES to display the list of available disks. The list should include the DKA100 disk.
  3. Enter BOOT DKA100. After the progress meter reaches 100%, you should see the following screen:
  4. Run your terminal emulator software (in this example, we will be using Putty).
  5. Set the connection type to Telnet.
  6. Set the Local Echo and Local Line Editing options to Force Off.
    Note: In Putty, you will find these options under the Terminal category.
  7. Connect to localhost. You should see the following output:
  8. Enter 1.
  9. Answer INITIALIZE to the Do you want to INITIALIZE or to PRESERVE? question.
  10. At the Enter device name for target disk: prompt, enter DKA0:
  11. At the Enter volume label for target system disk: [X86SYS] prompt, type the name for your system disk. In this example, we will name it systemDisk.
  12. At the Do you want to enable hard links? prompt, specify whether you want to enable hard links. It is up to you, but in this example we will answer yes.
  13. You will see a prompt asking you to confirm your choice. For the sake of brevity, such prompts will not be mentioned in this document.
  14. Set and confirm the password for your SYSTEM account.
    Note: If you get an error at this stage, press Backspace several times before you enter the password. This is a terminal emulator issue.
  15. At the Enter SCSNODE: prompt, specify the name for your OpenVMS node. In this example, we will type in x86.
  16. Answer YES to the Do you plan to use DECnet? question and agree to the suggested address.
  17. The next 3 prompts will ask you to specify the time zone related information.
  18. Answer NO to the Do you want to register any Product Authorization Keys? question.
  19. Agree to install DECWindows Motif and DECnet-Plus for OpenVMS x86-64.
  20. Answer NO to the Do you always want detailed descriptions? question.
  21. Answer YES to the Do you want the defaults for all options? question.
  22. Answer YES to the Can the system be REBOOTED after the installation completes? question.
  23. Answer NO to the Do you want to review the options? question.
  24. Wait for the Portion done: meter to reach 100%. After that, you will be asked to press Enter to continue several times.
  25. At the Enter CHOICE or ? for help: (1/2/3/4/5/6/7/8/9/?) prompt, enter 9. The system will shut down.
  26. When you see the **** Hit any key to reboot system **** output, press Enter. The system will reboot.
  27. At the BOOTMGR> prompt, enter BOOT DKA0:. The system will boot and shut down.

When you see the BOOTMGR> prompt again, enter BOOT DKA0: and wait for the system to boot. Press Enter when you see an output similar to the one below:

  1. At the Username: prompt, set the name for your system account. In this example, we will type in system.
  2. Enter the password that you have set in Step 14.

You have successfully installed OpenVMS. Now, before you can use the system, you must perform several post-installation configuration steps. Do not close your Putty window.

Post-installation configuration

Configuring VSI TCP/IP Services and DHCP

Important: The procedure below assumes you already have a network with a running DHCP server. To configure VSI TCP/IP Services and DHCP, follow these steps:

  1. In your Putty window, at the $ prompt, enter @sys$startup:tcpip$startup
  2. Answer YES to the Autoconfigure TCP/IP Services using DHCP client question.
You will get several system output messages. The last one will contain the IP address that has been assigned to your OpenVMS node.
  1. At the $ prompt, enter @tcpip$config
  2. Select 1 - Core environment.
  3. Select 2 – Interfaces.
  4. Select 2 – <IP address>, where <IP address> is the address that was assigned to IE0.
  5. Select 2 - Set “<IP address>” as the default hostname
  6. Enter a hostname for your address. It can be any string of symbols.
  7. Answer YES to the Set the hostname to <your_host_name> question.
  8. Answer YES to the Update system hostname on live system question.
  9. In the VSI TCP/IP Services for OpenVMS Interface & Address Configuration Menu, select option 2 – <your_IP_address> <your_host_name>.
  10. Select 3 - Add to configuration database.
  11. Select option 2 – <your_IP_address> <your_host_name> again.
  12. Select 4 - Add to IPCI database.
  13. Exit the configuration menu.
  14. Optional: To make sure everything works correctly so far, ping the IP address that you specified earlier. Do not close your Putty window.

Configuring SSH

To configure OpenSSH on your OpenVMS system, follow these steps:

  1. In your Putty window, at the $ prompt, enter reboot to reboot your virtual machine.
  2. Enter BOOT DKA0 and re-login to the system.
  3. At the $ prompt, enter @tcpip$config
  4. Select 6 - Startup VSI TCP/IP Services for OpenVMS.
  5. Exit the configuration menu.
  6. At the $ prompt, enter:
    $ @sys$common:[openssh.bin]ssh$create_account.com
  7. Give the default answer to the Enter default UIC group number for OpenSSH account prompt.
  8. Enter the following commands in this order:
    $ @sys$common:[openssh.bin]ssh$create_startup_file.com
    $ @sys$common:[openssh.bin]ssh$generate_keys.com
    @sys$common:[openssh.bin]ssh$install_info.com
    Note: After entering the second command, make sure that SSH keys were generated.
  9. Close the current Putty session.
  10. Establish a Telnet connection to the system via the IP address that was assigned to your system by DHCP (Step 2 of the Configuring VSI TCP/IP Services and DHCP topic).
  11. Login to the system.
  12. Enter the following commands:
    $ set terminal/inquiry
    $ set terminal/insert
  13. Type in EDIT SYSTARTUP_VMS.COM
  14. In the file, find and uncomment the following line:
    @SYS$STARTUP:TCPIP$STARTUP.COM
  15. Scroll to the end of the file and insert the following lines before $ EXIT:
    $ @sys$common:[openssh.bin]SSH$STARTUP.COM
    $ @sys$sysdevice:[vms$common.openssh.bin]SSH$DEFINE_COMMANDS
  16. Press Ctrl/Z to save the changes and close the file.
  17. Enter EDIT SYLOGICALS.COM
  18. In the file, find and uncomment this block of lines:
:$! DEFINE/SYSTEM/EXECUTIVE SYSUAF                    SYS$SYSTEM:SYSUAF.DAT
:$! DEFINE/SYSTEM/EXECUTIVE SYSUAFALT                 SYS$SYSTEM:SYSUAFALT.DAT
:$! DEFINE/SYSTEM/EXECUTIVE SYSALF                    SYS$SYSTEM:SYSALF.DAT
:$! DEFINE/SYSTEM/EXECUTIVE RIGHTSLIST                SYS$SYSTEM:RIGHTSLIST.DAT
:$! DEFINE/SYSTEM/EXECUTIVE NETPROXY                  SYS$SYSTEM:NETPROXY.DAT
:$! DEFINE/SYSTEM/EXECUTIVE NET$PROXY                 SYS$SYSTEM:NET$PROXY.DAT
:$! DEFINE/SYSTEM/EXECUTIVE NETOBJECT                 SYS$SYSTEM:NETOBJECT.DAT
:$! DEFINE/SYSTEM/EXECUTIVE NETNODE_REMOTE            SYS$SYSTEM:NETNODE_REMOT`
:$! DEFINE/SYSTEM/EXECUTIVE LMF$LICENSE               SYS$SYSTEM:LMF$LICENSE.L`
:$! DEFINE/SYSTEM/EXECUTIVE VMSMAIL_PROFILE           SYS$SYSTEM:VMSMAIL_PROFI`
:$! DEFINE/SYSTEM/EXECUTIVE VMS$OBJECTS               SYS$SYSTEM:VMS$OBJECTS.D`
:$! DEFINE/SYSTEM/EXECUTIVE VMS$AUDIT_SERVER          SYS$MANAGER:VMS$AUDIT_SE`
:$! DEFINE/SYSTEM/EXECUTIVE VMS$PASSWORD_HISTORY      SYS$SYSTEM:VMS$PASSWORD_`
:$! DEFINE/SYSTEM/EXECUTIVE VMS$PASSWORD_DICTIONARY   SYS$LIBRARY:VMS$PASSWORD`
:$! DEFINE/SYSTEM/EXECUTIVE NETNODE_UPDATE            SYS$MANAGER:NETNODE_UPDA`
:$! DEFINE/SYSTEM/EXECUTIVE VMS$PASSWORD_POLICY       SYS$LIBRARY:VMS$PASSWORD`
:$! DEFINE/SYSTEM/EXECUTIVE LAN$NODE_DATABASE         SYS$SYSTEM:LAN$NODE_DATA`
:$! DEFINE/SYSTEM/EXECUTIVE VMS$CLASS_SCHEDULE        SYS$SYSTEM:VMS$CLASS_SCH`
  1. Save and close the file.
  2. Reboot the system.
  3. To verify that everything has been set up correctly, try and establish an SSH connection to your virtual machine.