Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: 19401 replaced by 19402

Anchor
TopMigrationPageTOCTopMigrationPage
TOC
Include Page
KBCOMMON:KB-CSSstyle
KBCOMMON:KB-CSSstyle

...

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.

...

Include Page
KBCOMMON:DOC-GoToToc
KBCOMMON:DOC-GoToToc

Collecting information about the source HP Alpha system

...

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

>>>show device

sys0.0.0.0.0 SYS0 System ROOT Device
ewa0.0.0.1.1 EWA0 F8-D1-11-00-67-E6
pka0.0.0.2.1 PKA0 Q-Logic/ISP PCI SCSI HBA
pga0.0.0.3.1 PGA0 WWN 1000-0000-0248-C550
pqa0.0.0.15.0 PQA0 ALi 1553C Integrated IDE Controller
pqb0.0.1.15.0 PQB0 ALi 1553C Integrated IDE Controller
dqa0.0.0.15.0 DQA0 TSSTcorpCDDVDW SH-222BB
dka0.0.0.2.1 DKA0 DEC RZ28 (C)DEC
dka100.1.0.2.1 DKA100 DEC RZ22 (C)DEC
dka200.2.0.2.1 DKA200 DEC RZ23 (C)DEC
mka600.6.0.2.1 MKA600 Virtual SCSI Tape

>>>


Div
classpagebreak


To get more detailed information, boot OpenVMS and issue a "show device /full" command:

...

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-222BBAcer Labs 1543C IDE/ATAPI CD-ROM adapter

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

...

>>>show mem

System Memory Resources on 12-SEP-2016 2017 09:29:16.42

Physical Memory Usage (pages): Total Free In Use Modified
Main Memory (512.00MB) 65536 56496 8610 430

...

>>>

...

To find out the exact types of controllers and other useful information refer to the source HP Alpha system documentation.

Back to Table of Contents

...

Include Page
KBCOMMON:DOC-GoToToc
KBCOMMON:DOC-GoToToc

Div
classpagebreak


Creation of CHARON-AXP configuration file

Using the above infoinformation, the following configuration can be created:

#
# 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 the xtem from which CHARON-AXP runs
#

load operator_console OPA0set COM1 alias=OPA0 line=(console)

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

set ide container="/dev/cdrom"

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

load DE500BA/dec21x4x EWA interface=EWA0
load packet_port/chnetwrk EWA0 interface="eth1"

#
# 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] = "/my_disks/bootable.vdisk"
set PKA container[100] = "/my_disks/RZ22.vdisk"
set PKA container[200] = "/my_disks/RZ23.vdisk"

set PKA container[600] = "/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] = "/my_disks/RZ24.vdisk"

...

...

Include Page
KBCOMMON:DOC-GoToToc
KBCOMMON:DOC-GoToToc

Making disk images

In our example, possible mappings of the 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.

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 These directories are referenced in the sample configuration file above.

$ mkdir /my_disks
$ mkdir /my_tapes 

Next, create the disk images using the "mkdskcmdutility:

$ mkdskcmd -d rz24 -o /my_disks/rz24.vdisk
Please wait...
100% done
Success.
$ mkdskcmd -d rz23 -o /my_disks/rz23.vdisk
Please wait...
100% done
Success.
$ mkdskcmd -d rz22 -o /my_disks/rz22.vdisk
Please wait...
100% done
Success.
$ mkdskcmd -d rz28 -o /my_disks/bootable.vdisk
Please wait...100% done
Success.

Back to Table of Contents

...

Include Page
KBCOMMON:DOC-GoToToc
KBCOMMON:DOC-GoToToc

Installation of HP Alpha operating system

The next step is to transfer the data from the source HP Alpha system to CHARON-AXP. The easiest way to do this is via backup backups over the network. But for For this operation we need a bootable, network-enabled operating system on a CHARON-AXP disk image or physical disk.

...

(warning) DKA300 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 HP OpenVMS and another one for storing backups from the source HP Alpha system as it is shown in the section above.

...

$ es40.exe migration.cfg

initializing ...

polling for units on kzpba0, slot 2, bus 0, hose 1 ...
pka0.0.0.2.1 PKA0 Q-Logic/ISP PCI SCSI HBA

... enter console

CHARON-AXP/ES40 for Linux (AlphaServer ES40 6/667), Version 4.89.1820019402
(C) 2009-2016 2018 STROMASYS SA.
All rights reserved.

P00>>>boot dqa0

Install HP Alpha/VMS including DECnet on "dka400". The DECnet address must belong to the same area as the source HP Alpha system.

Login to the newly installed OpenVMS system and initialize the disk intended for backups storage. Let's assume it's prompt is "newvms$ ".

newvms$ INIT DKA300: SCRATCH
newvms$ MOUNT/SYSTEM/NOASSIST DKA300: SCRATCH

...

Include Page
KBCOMMON:DOC-GoToToc
KBCOMMON:DOC-GoToToc

Making remote backups

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

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

Login to the source HP Alpha system. S, stop all the batch queues, kick off the users, stop all applications and close databases if any. The commands listed in the SYS$MANAGER:SYSHUTDWN.COM file 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 this is a normal situation.

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

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

source$ BACKUP/IMAGE/IGNORE=INTERLOCK DKA0: 1.400"username password"::DKA300:[000000]DKA0.BCK/SAVE
source$ BACKUP/IMAGE/IGNORE=INTERLOCK DKA100: 1.400"username password"::DKA300:[000000]DKA100.BCK/SAVE
source$ BACKUP/IMAGE/IGNORE=INTERLOCK DKA200: 1.400"username password"::DKA300:[000000]DKA200.BCK/SAVE 

Once When the backup procedure completeswill be completed, the disk "DKA300" of the CHARON-AXP virtual machine will contain 3 savesets: "DKA0.BCK", "DKA100.BCK" and "DKA200.BCK"

...

Include Page
KBCOMMON:DOC-GoToToc
KBCOMMON:DOC-GoToToc

Div
classpagebreak


Restore backups to CHARON-AXP disks

Next, restore the new savesets to their corresponding virtual disks. Login to CHARON-AXP and issue this sequence of commands to restore all the savesets created on in the previous step:

newvms$ MOUNT/FOREIGN DKA0:
newvms$ BACKUP/IMAGE DKA300:[000000]DKA0.BCK/SAVE DKA0:
newvms$ DISMOUNT DKA0:
newvms$ MOUNT/FOREIGN DKA100:
newvms$ BACKUP/IMAGE DKA300:[000000]DKA100.BCK/SAVE DKA100:
newvms$ DISMOUNT DKA100:
newvms$ MOUNT/FOREIGN DKA200:
newvms$ BACKUP/IMAGE DKA300:[000000]DKA200.BCK/SAVE DKA200:
newvms$ DISMOUNT DKA200:

If you are going to have the CHARON-AXP and the original physical HP Alpha on the network at the same time, you must change the network identity of one (usually the CHARON-AXP).

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

...

Then Enable the network and reboot.

...

Include Page
KBCOMMON:DOC-GoToToc
KBCOMMON:DOC-GoToToc

Alternative ways of data transfer

...

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

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

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

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

...


Include Page
KBCOMMON:DOC-GoToToc
KBCOMMON:DOC-GoToToc