FDRPASVM environment


The type of environment that you plan to run FDRPASVM is important. The following factors must be considered:

  • Type of disk array
  • Type of Linux applications
  • Amount of DASD being used
  • Amount of DASD in a directory maintenance product

Type of disk array

What disk array manufacturer and how many volumes do you plan to swap data from and to:

Manufacturer

From

To

EMC



Hitachi



IBM DS80xx



IBM DS81xx



IBM DS83xx



IBM DS87xx



IBM DS88xx



Determining the type and amount of DASD being migrated

Amount of DASD being used

How many GB/TB of data is planned to be swapped?

The QUERY DASD and QUERY DASD DETAILS commands can be used to show all volumes attached to SYSTEM. However, calculating the space of all DASD on a system can be cumbersome. We recommend that you use the CALCDASD EXEC that is described in the next section.

CALCDASD EXEC

To make understanding how much DASD is being used easier, a REXX EXEC named CALCDASD has been made available. It is provided on the FDRMAINT 691 disk. If you do not yet have FDRPASVM installed, you can download a copy of it from the Additional Resources area for FDRPASVM in the BMC Support.

Following is an example of the help output:

==> calcdasd ?
Synopsis:
 Calculate the amount and types of DASD on a system and report
Syntax is:
 >>-CALCDASD-+---------------+-+------------------------------+-><
 |-rdev----------| | |
 | <-----------< | '-(-+---------+--+----------+--+
 '-rdev1-rdev2---' |-HELP----| | |
 |-SHORT---| '-SortOpts-'
 |-FREE----|
 |-PAV-----|
 |-OFFLINE-|
 |-CSV-----|
 '-ALL-----'
SortOpts:
 --+------------+--+------------+--+------------+--
 |-SORTRDEV---| |-SORTRDEV---| | |
 |-SORTVOLSER-| |-SORTVOLSER-| '-DESCENDING-'
 |-SORTMFG----| |-SORTMFG----|
 '-SORTCYLS---' '-SORTCYLS---'
Where:
 no rdev range: Query all DASD (QUERY DASD)
 rdev range: Query these addresses (QUERY rdev)
Options:
 HELP: Show this screen
 SHORT: Don't include one line of output/DASD device
 FREE|PAV|OFFLINE Report only on free/PAV/offline DASD
 CSV: Generate a comma separated values file
 ALL: Also show FREE, PAV and OFFLINE DASD (Q 0-FFFF)
Sort Options - primary and secondary sort fields:
 SORTRDEV: Sort by real device address (default)
 SORTVOLSER: Sort by volume serial number
 SORTMFG: Sort by manufacturer
 SORTCYLS: Sort by number of cylinders
 DESCENDING: Sort in descending EBCDIC (default: ascending)
Examples:
 Create CSV file: pipe cms calcdasd (csv |> calcdasd csv a
 Send to a file: pipe cms calcdasd (all |> calcdasd output a

For a complete report, we recommend that you use the ‘(ALL’ option and send the output to a file as is shown in the last line of the help output.

For more information on CALCDASD, see the following:

FDRPASVM_Chapter_321_image3.gif

FDRPASVM_Chapter_321_image5.gif

Before you start your z/VM system migration, please send output from CALCDASD to the BMC Support.https://support.compuware.com/s/

Following is an example of the output of CALCDASD on a small z/VM system.

==> calcdasd
calcdasd
Run on VMLAB63B, V6.3(1302) at 13:46:02 EDT TUESDAY 09/23/14
Rdev Volser Mfg SSID CCA HPF Allocation Model Cylinders
---- ------ --- ---- --- --- ---------- ----- ---------
1880 63BRES HTC 9002 40 + CP-Owned 3390-9 10017
1881 63BCOM HTC 9002 41 + CP-Owned 3390-9 10017
1882 63BREL HTC 9002 42 + System 3390-9 10017
1883 63BSP1 HTC 9002 43 + CP-Owned 3390-9 10017
1884 63BPG1 HTC 9002 44 + CP-Owned 3390-9 10017
1885 63BW01 HTC 9002 45 + System 3390-9 10017
1886 VM1886 HTC 9002 46 + System 3390-9 10017
1887 VM1887 HTC 9002 47 + System 3390-9 10017
1888 VM1888 HTC 9002 48 + System 3390-9 10017
188D 63BSP2 HTC 9002 4D + CP-Owned 3390-9 10017
188F 63BPG2 HTC 9002 4F + CP-Owned 3390-9 10017
4607 VM4607 EMC 0301 07 + System 3390-9 10017
Total volumes reported on: 12
Number of DASD models CP-OWN SYSTEM ATT'D Total
3390-1s (1113 cylinders): 0 0 0 0
3390-2s (2226 cylinders): 0 0 0 0
3390-3s (3339 cylinders): 0 0 0 0
3390-9s (10017 cylinders): 6 6 0 12
3390-As (sizes > 65520): 0 0 0 0
----- ------ ------ ------
Total DASD models: 6 6 0 12
CP-owned volumes:
Slot Vol-ID Rdev Type Status SSIOwner SysOwner
1 63BRES 1880 Own Online and attached -------- --------
5 63BCOM 1881 Own Online and attached -------- --------
10 63BSP1 1883 Own Online and attached -------- VMLAB63B
11 63BSP2 188D Own Online and attached -------- --------
254 63BPG2 188F Own Online and attached -------- --------
255 63BPG1 1884 Own Online and attached -------- VMLAB63B
CP-owned TDISK PAGE SPOOL and DRCT allocation:
Type Volumes Cylinders GB % used
---- ------- --------- ---- -------
TDISK 0 0 0.00 0.00
PAGE 2 20033 17.03 6.33
SPOOL 2 20033 17.03 0.86
DRCT 1 20 0.02 15.00
------- --------- ---- -------
Total: 5 40086 34.07 3.60
Total cylinder allocation:
Type Cylinders GB
---- --------- ----
CP-OWNED 60102 51.08
SYSTEM 60102 51.08
ATTACHED 0 0.00
--------- -------
Total DASD: 120204 102.17
WARNING: only 2 spool volumes - use (DRAIN 60 on FDRPAS MONITOR command
WARNING: only 2 page volumes - use (DRAIN 60 on FDRPAS MONITOR command

The CALCDASD EXEC has other options that may be useful:

  • FREE – to report on just free DASD devices
  • SHORT – to print a summary without one line of output per DASD device
  • PAV – to report on PAV or HyperPAV base and alias devices
  • OFFLINE – to report on offline DASD devices
  • CSV – to create comma-separated values files for input to a spreadsheet
  • SORTRDEV – to sort by real device address (default)
  • SORTVOLSER – to sort by the volume serial number
  • SORTMFG – to sort by the disk manufacturer (z/VM 6.2 and later)
  • SORTCYLS – to sort by the number of cylinders
  • DESCENDING – to change the sort order from ascending to descending - it should also be noted that a secondary sort order can be specified by following the first SORT* option with a second one

Determining the type of VTOC on volumes

DASD volumes can have different Volume Table of Contents (VTOCs), depending on whether they were formatted on z/VM or z/OS.

  • A z/OS-style VTOC starts on cylinder 0, track 1, record 1, with a size of 14 tracks
  • A z/VM-style VTOC starts on cylinder 0, track 0, record 5

If you want to SWAP volumes from z/VM with z/OS-style VTOCs, one of two approaches is recommended.

  1.  If you are in a position to rewrite the z/OS-style VTOCs to z/VM style, format cylinder 0 of each volume to be migrated with the z/VM CPFMTXA command.
  2.  If you are not able to rewrite the VTOCs, add a SELECT statement after all MOUNT statements in the SWAP task for all volumes to be migrated. For example:
    MOUNT VOL=LX4201,SWAPUNIT=6201
    SELECT FROM(CYL=0),TO(CYL=65519)

The ending cylinder value must be as large as or larger than the highest cylinder number on the largest DASD to be swapped; 65519 as shown handles any DASD up to the size of a 3390-54. If you have EAV volumes larger than this, contact BMC Support for the proper values for the SELECT statement. Do not include z/OS volumes in a run with this MOUNT statement. For more detailed information see the FDRPAS user manual.

To determine which types of VTOCs your volumes have, the DDR command with the TYPE subcommand can be used. For convenience, a small tool named QLABEL EXEC has been made available that utilized the DDR command. To query volumes, they must first be ATTACHed to the virtual machine you are logged on to. Following is an example of using the EXEC against a string of 15 volumes.

==> att 4640-464e *

DASD 4640 ATTACHED TO MAINT 4640 WITH DEVCTL HYPERPAV BASE

DASD 464E ATTACHED TO MAINT 464E WITH DEVCTL HYPERPAV BASE
==> qlabel 4640-464e
Rdev Key Label Volser VTOC
---- ---- ----- ------ ----
4640 VOL1 VOL1 VM4640 z/VM
4641 VOL1 FDR3 S11S01 z/VM
4642 VOL1 VOL1 VM4642 z/VM
4643 VOL1 VOL1 VM4643 z/VM
4644 VOL1 VOL1 VM4644 z/VM
4645 VOL1 FDR3 S12S01 z/VM
4646 VOL1 FDR3 S12P01 z/VM
4647 VOL1 FDR3 S12W01 z/VM
4648 VOL1 FDR3 S1COM1 z/VM
4649 VOL1 FDR3 S10RL1 z/VM
464A VOL1 FDR3 S11S02 z/VM
464B VOL1 FDR3 S11P02 z/VM
464C VOL1 FDR3 S12S02 z/VM
464D VOL1 VOL1 VM464D z/OS
464E VOL1 VOL1 VM464E z/VM

z/VM VTOC pointers (0000000005) found: 14
z/OS VTOC pointers (0000000101) found: 1
  WARNING: SELECT FROM(0),TO(EndCyl) statement

The output shows that the DASD volume at real device address 464D has a z/OS-style VTOC, and a warning that the SELECT statement is recommended.

The QLABEL EXEC is provided on the FDRMAINT 191 disk. If you do not yet have FDRPASVM installed, you can download a copy of it from the Additional Resources area for FDRPASVM from BMC Support.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*