IBM s/390 manual 16 S/390 identification, CD-RW drive

Page 66

The tar function again took 12.6 minutes and the ftp function took less than one minute. We used a private 100 Mpbs LAN connection, with no other active systems on it. The target system (our Netfinity/EFS machine) was otherwise idle during this time. It would have been faster to ftp /s390/OS39RA than to tar it, but we wanted the disk compression offered by tar. We created the /s390/TP directory on the target system before we ran the script.

We elected to use a separate tar file for each volume. A single, combined tar file would be very large and too unwieldy. We simply made more shell scripts; two for each S/390 volume we wanted to back up.

We could, of course, take ADRDSSU backups (to FakeTape files) and then tar and ftp these files. This might be the best solution, although it would require the most processing and ThinkPad disk space.

There are clearly several ways to approach backup and restore for a ThinkPad/EFS system. We cannot recommend any as the right way, and you will probably use a combination of techniques. We strongly suggest that you take time to understand the options available, try whatever is appropriate for you, and establish a routine for taking backups.

This discussion has not mentioned backing up the Server operating system. Ideally, we should be able to capture the complete Server state in a form that can be restored by a standalone boot program. The options are somewhat limited, since our ThinkPad/EFS systems do not have tape drives or CD-RW drives. One option would be to completely duplicate the primary ThinkPad hard disk contents onto another hard disk in the UltraBay. We did not have time to explore this problem during this redbook project, but hope to address it in a future project.

5.15.3 CD-RW drive

At least one of the base ThinkPads used for EFS systems has an optional CD-RW drive. This obviously can be used for backup purposes, working from the Linux side and taking full-volume backups. It would be necessary to compress the S/390 volume first, to fit on a CD. Also, some disk staging may be necessary if two hard disks are used for EFS operation and one of these must be removed to mount the CD-RW drive in the Ultrabay.

5.16 S/390 identification

The S/390 instruction STIDP stores an 8-byte field:

0APLSSSSIIII0000

+---> the four zeros are constants

+-------> machine type (see notes below)

+-----------> arbitrary number set by manufacturer (serial number) +--------------> LPAR number

+---------------> processor number

+----------------> the hex digits 0A are normally constants

The processor type field for an EFS system has one of these values:

1245 is the processor type for a system based on xSeries 430 1247 is the processor type for a system obtained through PID 1246 is for all other EFS systems

The SSSS field is normally set to a unique value for each license and functions as a CPU serial number. The LPAR number is usually zero, but you can set it by a statement in the system definitions. The processor number corresponds to one of the processor numbers in your system definitions. For a single processor, this is normally zero.

56S/390 PID: ThinkPad Enabled for S/390

Image 66
Contents ThinkPad Enabled for S/390 Bill OgdenPage International Technical Support Organization First Edition October Contents Shutting down Index Vi S/390 PID ThinkPad Enabled for S/390 Special notice AuthorIBM trademarks Comments welcomeIntroduction Purpose of this redbook ThinkPad/EFS systemsFLEX-ES Linux Positioning with other small S/390sThinkPad/EFS hardware used Terminology System and Linux installation Disk planningDifferences Partition Manually Partition Linux installationThinkPad Mount Point Device Requested Actual Type Purpose255.255.255.0 Device Partition Type Default Boot12.17.210 12.17.150Gnome Select Start X automatically Installation notesMonitor Setup IBM 9513 T55A TFT No clock chip 24 bit # df -hEtc/xinetd.d # vi telnet # ps -ef grep xinetd# kill -s USR1 pidnumber PID number for xinetd 14 S/390 PID ThinkPad Enabled for S/390 FLEX-ES and OS/390 installation FLEX-ES Brief introductionPC Processor in ThinkPad Page Installation Installing the FLEX-ES license key AD systems OS/390 AD systemsNext steps # mkdir /s3912 OS/390 on CD-ROM Basic CD-ROM formats3 OS/390 device configuration FLEX-ES formatsAn unzip program Installation tasksUnzipping and installing Awsckd CD-ROM files Mount /dev/cdrom /mnt/cdromMinor problems File ownershipVolume in two separate zip files Files unzip in wrong orderFLEX-ES Operation FLEX-ES system and resource definitions Comments# resadm -s R10A.rescf Building a shell script$ cd /usr/flexes/rundir $ resadm -r$ sh shos Flexes ipl a80 0a82cs IPL OS/390 Terminal Solicitor=stor 11.42.47 Operation and useUser terminal connection A80,8System performance monitors Linux TN3270Iodf requirements Rmf5 TCP/IP for OS/390 # resadm -k Shutting down# resadm -T # exit36 S/390 PID ThinkPad Enabled for S/390 Additional Topics Basic debugging Operating Systems Messages console SecurityServer memory Vmstat command Importance of Linux swapping CPUUsing a second Linux hard disk Ultrabay# cat /proc/partitions Second disk planning Disk layout AD system Partition Mount Size UseDevice Volser Addr Use FLEX-ES FakeTape on OS/390 Alternative method560 222222Multi-system setup $ x3270 -model 3 -keymap pc -port tn3270 localhostt91f X3270 client$ x3270 -model 3 -keymap pc -port tn3270 localhost Function Keys Used# cd /usr/lib/X11/app-defaults # cp X3270 X3270old Remote resources# vi Disk caches System BWrites Cache Hits Tuning cachesize FSI Channel AdaptersBackup and restore considerations Scsi adapter for the ThinkPadDisk fragmentation Using tar to back up S/390 volumes $ tar -cvzf /holding/OS39RA.tarz /s390/OS39RAUsing tar and ftp $ cd /usr/flexes/rundir $ sh buOS39RAc16 S/390 identification CD-RW driveDisplay PSW and registers RAS discussionVerify ckd disk Linux windowsInstalling FLEX-ES upgrades ThinkPad power controlUseful Linux commands Common commandsMultiple consoles, sessions, screens Text editors62 S/390 PID ThinkPad Enabled for S/390 Frequently asked questions 64 S/390 PID ThinkPad Enabled for S/390 Frequently asked questions 66 S/390 PID ThinkPad Enabled for S/390 Frequently asked questions 68 S/390 PID ThinkPad Enabled for S/390 Appendix A. FLEX-ES definition listings Basic definitions for a single HDDShell script for a single HDD Definitions for two HDDs Shell script for two HDDs Appendix B. FLEX-ES parameters System definitionsCpu0 Cpu1 Cpu2 Resource definitions Emulated control unit typesEmulated device types Typical resource definitionsCKD disk resources Terminal resources Tape resources LAN resourcesCloned devices Resadm command Common rulesCLI commands Flexes mount A90 S390/WORK01 710 Altcons560 Home/tape3 84 S/390 PID ThinkPad Enabled for S/390 Special notices 86 S/390 PID ThinkPad Enabled for S/390 Referenced Web sites How to get IBM RedbooksIBM Redbooks Other resourcesIBM Redbooks collections Index Pipe Port Power control Terminal logo Terminal Solicitor 16, 18, 31, 39, 65 92 S/390 PID ThinkPad Enabled for S/390 Partners in Development ThinkPad Enabled for S/390 Page Page ThinkPad Enabled for S/390 System setup AD CD-ROM use System operation