Anchor | ||||
---|---|---|---|---|
|
Include Page | ||||
---|---|---|---|---|
|
...
Info |
---|
If CHARON-VAX based virtual system needs to be created from scratch, refer to this Application Note describing how to find proper Qbus addresses and Vectors for each virtul device. |
...
Include Page | ||||
---|---|---|---|---|
|
Div | ||
---|---|---|
| ||
Creating CHARON Virtual Machine
As a first step it is required to create a CHARON Virtual Machine (VM) using the CHARON Virtual Machines Manager in the following way:
Press the "Create VM from Template" button:
Div | ||
---|---|---|
| ||
Specify the HP VAX model to be emulated and the name of the VM , then press the "Create" button:
The VM will be created:
Div | ||
---|---|---|
| ||
Select the VM and switch to from the left pane and press the "VM Edit Configuration" tab.Press the "Edit Configuration file" button:
The VM configuration file will be opened in Windows default text editorNotepad. Now we are ready to update this file to reprocude the file can be updated to reproduce the target HP VAX configuration.
...
Include Page | ||||
---|---|---|---|---|
|
Div | ||
---|---|---|
| ||
Collecting information about the source VAX system
The first step is to determine the exact configuration of your VAX hardware in order to create the CHARON VM configuration file.
Turn on your source VAX system. At the ">>>" prompt, issue the "show qbus
" and "show device
" commands:
|
...
To find out the exact types of controllers please refer to the source VAX system documentation.
...
Include Page | ||||
---|---|---|---|---|
|
Div | ||
---|---|---|
| ||
Creation of CHARON-VAX configuration file
Using the above infoinformation, the following configuration parameters and values can be createdset in the configuration file:
|
Note the Qbus addresses specification:
- The number is prefixed with "0", meaning it is an octal value.
- The number of digits reflects the 22 bit Qbus architecture.
Additional DHQ11 serial lines can be mapped later. For now, only 2 lines are configured. They are mapped to IP ports 10010 and 10011.
The DESQA controller is mapped to a network interface having the name "Charon". This interface will be used for the CHARON VM (see the Installation section for more details) on this particular host.
...
Include Page | ||||
---|---|---|---|---|
|
Div | ||
---|---|---|
| ||
Making disk images
In our example, possible mappings the mapping of the RQDX3 controller and the TQK50 tapes include physical devices and disk and tape images. Tape The tape images should have not to be manually created , whereas you the disk images have to provision disk images, be created as described below.
Our example creates disk images of the original physical type. In reality, this step is the best opportunity in the migration to provision bigger larger disks to get extra storage space.
Create special directories for storing disk and tape images, as needed. Created The created directories are referenced in the sample configuration file above.
...
Alternatively it is possible to put the tape and disk images in the CHARON VM Home Directory.
Start the "MkDisk" utility by pressing the "Virtual Disk Image generatorTool" button in the "Host Information & Utilities" tab of the CHARON Virtual Machines Manager:
Div | ||
---|---|---|
| ||
The main following dialog of the utility will appear:
Select "VAX" in the "Select System" drop-down menu, "MSCP" in the "All Controllers" drop-down menu and "RZ24" (for example) in the "Select Disk Type" drop-down menu.
...
Press then the "Create Disk Image" button:
Div | ||
---|---|---|
| ||
The utility will ask you to specify the output file name. Select the "C:\My disks" directory created just before (that has been created earlier, or create it directly in the dialog) , and press the "Save" button:
The "MkDisk" utility will create the requested disk image:
...
Repeat this sequence for the disks "RZ28.vdisk", "RZ22.vdisk" and "RZ23.vdisk". Place them in the same folder.
...
Include Page | ||||
---|---|---|---|---|
|
Div | ||
---|---|---|
| ||
Installation of VAX operating system
The next step is to transfer the data from the source VAX system to CHARON VM. The easiest way to do this is via backup over the network . But but for this operation we need a bootable , network-enabled operating system on a CHARON-VAX disk image or physical disk is needed.
The example configures the CHARON-VAX MicroVAX 3600 system for installation of VAX/VMS from a distribution CD-ROM (usually it is "\\.\CdRom0" if the host has only one CD-ROM drive):
...
DUA3 will be the disk where all the source disks will be copied , so its size needs to be big large enough to store all the disk backup images.
Create an empty disk image for installation of VAX/VMS and another one for storing backups from the source VAX system as it is shown in the section above.
Run the CHARON VM and boot from the CDROM named "dua4" ("migration.cfg" is the configuration file we use in this example):
...
Install VAX/VMS including DECnet on "dua2". The DECnet address must belong to the same area as the source VAX system.
Login to the newly installed VMS system and initialize the disk intended for backups storagethat will be used to store the backups. Let's assume it's its prompt is "newvms$
"
|
Making remote backups
Include Page | ||||
---|---|---|---|---|
|
Making remote backups
Now we are ready to create disk backups from of the source VAX system to on the CHARON -VAXVM.
Boot the CHARON VM and make sure that the source VAX system is available via DECnet.
Login to the source VAX system. Stop all the batch queues, kick off the users, stop all application the applications and close the databases if anythere are. The commands listed in SYS$MANAGER:SYSHUTDWN.COM may be helpful. The goal is to close as many files as possible. The system disk will have several files opened (pagefile, swapfile, etc.) , but and this is a normal situation.
The use of the "SHOW DEVICE /FILES" command would be of help to know files opened on a disk
Issue (let's assume that the CHARON-VAX .
In this example, the CHARON VM system is node 1.400 in this example).
Issue the following commands from the source VAX. Let's assume it's login its prompt is "source$
":
|
Once When the backup procedure completesoperation will be completed, the disk "DUA3" of the CHARON VM will contain 2 savesets: "DUA0.BCK" and "DUA1.BCK"
...
.
Include Page | ||||
---|---|---|---|---|
|
Restore backups to CHARON-VAX disks
Next, restore the new savesets to The savesets have now to be restored on their corresponding virtual disks. Login to the CHARON VM guest OS and issue this sequence of commands to restore all the savesets created on the previous step:
|
If you are going to have the CHARON VM and the original physical VAX on the network at the same time, you must change the network identity of one (system, usually the CHARON -VAX)VM.
The easiest way is to boot the CHARON VM on the restored system disk with the network Disabled disabled and to configure new addresses , as needed. then enable the network and reboot.
The NIC can be disabled with a interface="
connection:(disabled)"
statement in the CHARON VM cfg configuration file.
Then Enable the network and reboot.
...
Include Page | ||||
---|---|---|---|---|
|
Alternative ways of data transfer
...
- Connect a SCSI tape drive to the CHARON-VAX / CHARON-PDP host via a PCI card
- Map the tape drive in the CHARON VM configuration file
a. Restore the source VAX system backups from tape to disk images via VMS/RSX11/RT11 running on the CHARON VM
b. Boot from standalone backups and restore its the content to CHARON to the CHARON VM virtual disks - Dump the source VAX/PDP11 system backups to tape images with using the "mtd" utility and:
a. Boot from the freshly installed VMS/RSX11/RT11 system and restore the tape images to the CHARON VM virtual disks
b. Boot from the standalone backups backup and restore its the content to CHARON to the CHARON VM virtual disks
- Map the tape drive in the CHARON VM configuration file
Create a network cluster between the source VAX/PDP11 system and the CHARON VM (it is possible to use the source system as a boot server); then perform simple backup backups from one disk to another:
$ BACKUP/IMAGE/IGNORE=INTERLOCK REAL$DUA0: DUA0:
Include Page | ||
---|---|---|
|
...
|