IBM s/390 manual File ownership, Minor problems

Page 35

The ckdconvaws command converts the AWSCKD format to the FLEX-ES format, and writes to the Linux file indicated.12 The volume being unzipped is a 3390-3 (and we must tell the ckdconvaws program this). The second operand, /s390/OS39RA, is the target location for the Linux file that will emulate the S/390 volume. Your disk layout may be different, and you need to adjust this path and name as required for your system.

The nnn and mmm numbers shown will increment as the program runs. When the volume is finished, use the root window to issue the command:

$

cd /

(in

the

flexes window)

#

umount /mnt/cdrom

(in

the

root window)

3390-3 volumes are held in two files in the original AWSCKD format. Both these files are usually placed in the same zip file. The ckdconvaws program handles this transition automatically.

We can pipe directly from the unzip program to the ckdconvaws program only if the emulated volume will be held in a single file, as we are doing here. If the volume will be held in several files, a named pipe must be used. This is more common with UnixWare or Open UNIX systems and is described in the Netfinity/EFS redbook.

Load the other CDs

Repeat the same process (mount, unzip/convert, umount) for the other CDs that are to be loaded. For the OS/390 R10 system, we used the following:

CD

CD File

Linux File

Disk Model

2

/mnt/cdrom/os390/os3raa.zip

/s390/OS3RAA

3390-3

3

/mnt/cdrom/os390/os39M1.zip

/s390/OS39M1

3390-3

4

/mnt/cdrom/os390/os39ha.zip

/s390/OS39HA

3390-3

3.3 File ownership

All of the files containing emulated S/390 volumes must be owned by userid flexes and groupid flexes. You can verify this, as follows:

# ls -al /s390

(check the

owner and group names)

# ls -al /s391

(if

you

have a second disk)

(if you

need to change ownership, do the following)

# su

 

(change

to

root, if not already root)

# chown

flexes:flexes /s390/OS39RA

(or

whatever file needs to be changed)

The “flexes:flexes” parameter format causes both the owner and the group name to be changed.

3.4 Minor problems

While working with various AD releases, we found two unusual situations.

12 The -r option indicates that ckdconvaws should create the output file, if it does not already exist.

Chapter 3. FLEX-ES and OS/390 installation 25

Image 35
Contents Bill Ogden ThinkPad Enabled for S/390Page International Technical Support Organization First Edition October Contents Shutting down Index Vi S/390 PID ThinkPad Enabled for S/390 Author Special noticeComments welcome IBM trademarksIntroduction ThinkPad/EFS systems Purpose of this redbookFLEX-ES Positioning with other small S/390s LinuxThinkPad/EFS hardware used Terminology Disk planning System and Linux installationDifferences Mount Point Device Requested Actual Type Purpose Linux installationThinkPad Partition Manually Partition12.17.150 Device Partition Type Default Boot12.17.210 255.255.255.0Gnome # df -h Installation notesMonitor Setup IBM 9513 T55A TFT No clock chip 24 bit Select Start X automatically# kill -s USR1 pidnumber PID number for xinetd Etc/xinetd.d # vi telnet# ps -ef grep xinetd 14 S/390 PID ThinkPad Enabled for S/390 FLEX-ES and OS/390 installation Brief introduction FLEX-ESPC Processor in ThinkPad Page Installation Installing the FLEX-ES license key # mkdir /s391 OS/390 AD systemsNext steps AD systemsBasic CD-ROM formats 2 OS/390 on CD-ROMFLEX-ES formats 3 OS/390 device configurationMount /dev/cdrom /mnt/cdrom Installation tasksUnzipping and installing Awsckd CD-ROM files An unzip programFile ownership Minor problemsFiles unzip in wrong order Volume in two separate zip filesFLEX-ES Operation Comments FLEX-ES system and resource definitions$ resadm -r Building a shell script$ cd /usr/flexes/rundir # resadm -s R10A.rescf$ sh shos Flexes ipl a80 0a82cs =stor IPL OS/390Terminal Solicitor A80,8 Operation and useUser terminal connection 11.42.47Rmf Linux TN3270Iodf requirements System performance monitors5 TCP/IP for OS/390 # exit Shutting down# resadm -T # resadm -k36 S/390 PID ThinkPad Enabled for S/390 Additional Topics Basic debugging Server memory Operating Systems Messages consoleSecurity Vmstat command CPU Importance of Linux swapping# cat /proc/partitions Using a second Linux hard diskUltrabay Second disk planning Device Volser Addr Use Disk layout AD systemPartition Mount Size Use Alternative method FLEX-ES FakeTape on OS/390222222 560Multi-system setup Function Keys Used X3270 client$ x3270 -model 3 -keymap pc -port tn3270 localhost $ x3270 -model 3 -keymap pc -port tn3270 localhostt91f# vi # cd /usr/lib/X11/app-defaults # cp X3270 X3270oldRemote resources System B Disk cachesWrites Cache Hits FSI Channel Adapters Tuning cachesizeDisk fragmentation Backup and restore considerationsScsi adapter for the ThinkPad $ tar -cvzf /holding/OS39RA.tarz /s390/OS39RA Using tar to back up S/390 volumes$ cd /usr/flexes/rundir $ sh buOS39RAc Using tar and ftpCD-RW drive 16 S/390 identificationRAS discussion Display PSW and registersLinux windows Verify ckd diskThinkPad power control Installing FLEX-ES upgradesCommon commands Useful Linux commandsText editors Multiple consoles, sessions, screens62 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 Basic definitions for a single HDD Appendix A. FLEX-ES definition listingsShell script for a single HDD Definitions for two HDDs Shell script for two HDDs System definitions Appendix B. FLEX-ES parametersCpu0 Cpu1 Cpu2 Emulated control unit types Resource definitionsTypical resource definitions Emulated device typesCKD disk resources Terminal resources LAN resources Tape resourcesCloned devices Common rules Resadm commandCLI commands 560 Home/tape3 Flexes mount A90 S390/WORK01710 Altcons 84 S/390 PID ThinkPad Enabled for S/390 Special notices 86 S/390 PID ThinkPad Enabled for S/390 Other resources How to get IBM RedbooksIBM Redbooks Referenced Web sitesIBM 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 System setup AD CD-ROM use System operation ThinkPad Enabled for S/390