Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Draft version

...

This section describes how to migrate your HP Alpha system to CHARON-AXP. We will use a sample HP AlphaServer ES40 system running OpenVMS to demonstrate the migration procedure. The process is similar for all CHARON-AXP models.

As a first step it is reguired to create CHARON Virtual Machine (VM) using CHARON Virtual Machines Manager in the following way:

Press "Create VM from Template" button:

Image Added

Specify the HP Alpha model to be emulated and the name of the VM, press "Create" button. The VM will be created:

Image Added

Select the VM and go to "VM Configuration" section.

Press "Edit configuration file" to edit the template configuration file:

Image Added

Back to Table of Contents

Collecting information about the source HP Alpha system

The first next step is to determine the exact configuration of your HP Alpha hardware in order to create the CHARON -AXP VM configuration file.

Turn on your source HP Alpha system. At the ">>>" prompt, issue "show device" command:

...

Info

In case of Tru64 UNIX V5 running on the host system it is recommended to use the following commands to get information on the host configuration:

CommandDescription
#/sbin/hwmgr view devices

Get detailed information about the host hardware configuration

#/sbin/hwmgr show scsi

Get specific information about the host SCSI controllers and attached disks

#/sbin/hwmgr view hierarchy

Get information about the host controllers

Please reference to the Tru64 UNIX User's Guide for more details.

 

Div
classpagebreak

 


The source HP Alpha peripheral configuration in this example is:

ControllerDevices on controllerDescription
KZPBA

-DKA0 (RZ28)
-DKA100 (RZ22)
-DKA200 (RZ23) 
-MKA600 (tape) 

SCSI disk/tape controller
KGPSA-CA-DGA0 (RZ24)FC disk controller
OPA0 
System console

TSSTcorpCDDVDW SH-222BB

-DQA0IDE CD-ROM controller
EWA0 
Network interface, MAC address: "F8-D1-11-00-67-E6"

...

ComponentValue
System Type

AlphaServer ES40 6/667

Serial Number

SN01234567

Number of CPUs4
System memory512 Mb
 
Div
classpagebreak


Info

In some particular situations it is also important to know the exact placement of all the peripheral devices on HP Alpha PCI bus. To get that information issue "show config" command at ">>>" prompt of HP Alpha console, for example:

>>>show config

...

PCI Bus

Bus 00 Slot 03: DECchip 21142 Network Controller
ewa0.0.0.3.0 00-00-F8-03-9A-6D

Bus 00 Slot 07: Cypress PCI Peripheral Controller

Bus 00 Slot 07: Function 1: PCI IDE

Bus 00 Slot 07: Function 2: PCI IDE

Bus 00 Slot 07: PCI USB

Bus 00 Slot 08: DECchip 21052 PCI to PCI Bridge

Bus 01 Slot 08: ISP1040 Scsi Controller
pka0.7.0.1008.0 SCSI Bus ID 7
dka0.0.0.1008.0 RZ2DD-KS
dka400.4.0.1008.0 RRD45

>>>

The "show config" command collects the following information of placement of peripheral devices on PCI bus:

  • Bus number
  • Slot number
  • Function number

...

Back to Table of Contents

 
Div
classpagebreak


Creation of CHARON-AXP configuration file

Using the above info, the following configuration can be created instead of the template configuration file:

#
# HP AlphaServer model: AlphaServer ES40 6/667
#

set session hw_model = AlphaServer_ES40
set ace cpu_architecture = EV67
set rom dsrdb[0] = 1820 system_name = "AlphaServer ES40 6/667"

...

#
# Override default System Serial Number, set it to "SN01234567"
#

set rom system_serial_number = SN01234567

#
# Specify RAM size: 512 Mb
#

set ram size=512

#
# Map OPA0 console to "Putty" terminal emulator (included in CHARON-AXP kit)
#

load virtual_serial_line OPA0 port=10003 application="putty -load OPA0"

#
# Сonnect the emulator's DQA0 to the host's ATAPI CD/DVD-ROM drive.
#

set ide container="\\.\CdRom0"

#
# Load optional DE500BA PCI Ethernet Adapter (EWA0) and map it to the "Charon" host network interface
#

load DE500BA/dec21x4x EWA interface=EWA0
load packet_port/chnetwrk EWA0 interface="connection:Charon"

#
# Load DEC-KZPBA SCSI controller and map it to 3 disk containers and 1 tape container
#

load KZPBA PKA scsi_id = 7

set PKA container[0] = "C:\My disks\bootable.vdisk"
set PKA container[100] = "C:\My disks\RZ22.vdisk"
set PKA container[200] = "C:\My disks\RZ23.vdisk"

set PKA container[600] = "C:\My tapes\my_tape.vtape" 

#
# Load DEC-KGPSA-CA PCI FC adapter and map it to a disk container
#

load KGPSA FGA

set FGA container[0] = "C:\My disks\RZ24.vdisk"

...

Back to Table of Contents

 
Div
classpagebreak


Making disk images

In our example, possible mappings of KZPBA SCSI controller include disk and tape images. Tape images have not to be manually created whereas you have to provision disk images, as described below.

...

...> cd C:\
C:\> mkdir "My disks"

C:\> mkdir "My tapes" 

This operation can also be done using Windows Explorerbe done using Windows Explorer.

Alternatively it is possible to put the tape and disk images in CHARON VM Home Directory.

Start the "MkDisk" utility from by pressing "Disk Image generator" button in the "Start" menu to create disk images:

Image Removed

Host Information & Utilities" section of CHARON Virtual Machines Manager:

Image Added 

Div
classpagebreak

 


The main dialog of the utility will appear:

...

Select "Alpha AXP" in the "Select System" drop-down menu, "SCSI" in the "All Controllers" drop-down menu and "RZ24" (for example) in the "Select Disk Type" drop-down menu.

 

 
Div
classpagebreak


Press then the "Create Disk Image" button:

 

Div
classpagebreak

 


The utility will ask you to specify the output file name. Select the "C:\My disks" directory created just before (or create it directly in the dialog) and press "Save" button:

...

Back to Table of Contents

 
Div
classpagebreak


Installation of HP Alpha operating system

...

Create an empty disk image for installation of HP OpenVMS and another one for storing backups from the source HP Alpha system as it is shown in the section above.

Run CHARON -AXP VM and boot from the CDROM named "dqa0" ("migration.cfg" is the configuration file we use in this example):

...

example):

CHARON-AXP/ES40 for Windows x64 (AlphaServer ES40 6/667), Version 4.68.1660318100
(C) 2009-2014 2016 STROMASYS SA.
All rights reserved.

P00>>>boot dqa0

...

Now we are ready to create disk backups from the source HP Alpha system to CHARON -AXPVM.

Boot CHARON -AXP VM and make sure that the source HP Alpha system is available via DECnet. 

...

(info) The use of the "SHOW DEVICE /FILES" command would be of help to list opened files on a disk

Let's assume the CHARON -AXP VM system is node 1.400 in this example. Issue then the following commands from the source HP Alpha whose prompt is set to "source$ "

...

Once the backup procedure completes, the disk "DKA300" of CHARON -AXP VM will contain 3 savesets: "DKA0.BCK", "DKA100.BCK" and "DKA200.BCK"

...

Next, restore the new savesets to their corresponding virtual disks. Login to CHARON -AXP 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 CHARON -AXP VM and the original physical HP Alpha on the network at the same time, you must change the network identity of one (usually the CHARON -AXPVM).

The easiest way is to boot the CHARON -AXP VM virtualized system on the restored system disk with the network Disabled and configure new addresses, as needed.

(info) The NIC can be disabled with a "connection:disabled" statement in the CHARON configuration VM  configuration file.

Then Enable the network and reboot.

...

  • Connect a SCSI tape drive to CHARON-AXP host via a PCI card 
    • Map the tape drive in the CHARON -AXP VM configuration file

           a. Restore source HP Alpha system backups from tape to disk images via OpenVMS running on CHARON -AXPVM.
           b. Boot from standalone backups and restore its content to CHARON -AXP VM virtual disks

    • Dump source HP Alpha system backups to tape images with "mtd" utility and:
           a. Boot from freshly installed OpenVMS system and restore the tape images to CHARON -AXP VM virtual disks
           b. Boot from standalone backups and restore its content to CHARON -AXP VM virtual disks
  • Create a network cluster between the source HP Alpha system and CHARON -AXP VM (it is possible to use the source system as boot server); then simple backup from one disk to another:

    $ BACKUP/IMAGE/IGNORE=INTERLOCK REAL$DKA0: DKA0:

...