IBM s/390 manual Device Partition Type Default Boot, 12.17.210, 255.255.255.0, 12.17.150

Page 20

We selected a completely arbitrary size, 150 MB, for a Linux swap partition. In the light of later experience, this could probably be smaller. However, it is a small fraction of our available space and appeared to be a safe choice. The Red Hat documentation indicated that 32 MB was the maximum possible boot partition size, so we selected that. Again, it could probably be smaller.

It may take some experimentation with Disk Druid to mark a partition as Linux swap. We suggest simply working with the Disk Druid options (Add, Delete, Edit) until you succeed.

The documentation did not provide much guidance for selecting the amount of space for Linux itself. We elected to put all of Linux into the root file system, and arbitrarily assigned 3000 MB for this.7 (If you elect to install “everything” in RH7.1, you will need about 2.5 GB. Our more minimal installation actually used about 1.1 GB.) If you have more Linux or UNIX experience, you might want to create several file systems for Linux8 instead of placing everything in a single root file system. Other than having about 25 MB available in /usr (for later FLEX-ES installation and working files), there are no special requirements for your Linux disk configuration.

We then assigned all the remaining space on this drive to a partition with the mount point /s390. This name is arbitrary, but clearly indicates the intended purpose of the partition.

At this point, we had only a single hard disk installed. Our second hard disk will eventually replace the CD-ROM drive; we cannot have both the CD-ROM drive and the second hard disk installed at the same time. We initialized the second drive later.

The installation prompts continued with fairly basic items:

Choose partition to format: ALL (place asterisk in all lines)

LILO Configuration, special parameters: (leave blank) OK

LILO Configuration, where to place boot record: MBR

LILO Configuration: OK

Device

Partition Type

Default

Boot

/dev/hda5

Linux native

*

Linux

Network Configuration:

 

 

 

[ ] use bootp/dhcp

(deselect this)

 

IP address:

 

9.12.17.210

 

Netmask:

 

255.255.255.0

 

Default gateway:

9.12.17.150

 

Primary name server:

 

 

 

Secondary name server:

 

 

Ternary name server:

 

 

 

Hostname Configuration:

 

 

 

Hostname: tpefs1

 

 

 

Security level: No Firewall

(use the space bar to change it)

Mouse: 3 button PS/2 mouse

 

 

 

Language support: English

 

 

 

Time Zone: (as appropriate)

 

 

Root password: xxxxxxxx

 

(must be at least 6 characters)

Add user: aaaaaaa

 

 

(use your name)

User password: xxxxxxxx

 

(must be at least 6 characters)

The No Firewall security option was appropriate for our purposes, but may not match your needs. As far as we know, this has no particular FLEX-ES security implications9 and you can select the options appropriate for your needs. Select any user name you like for the Add User function, but do not select the name flexes. (flexes is a special name for FLEX-ES and will be

7We intentionally specified considerably more space than we needed. We assumed the extra space would be useful for a variety of purposes.

8Separate file systems for /tmp and /home are the most common alternatives.

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

Image 20
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 Linux installation ThinkPadPartition Manually Partition Mount Point Device Requested Actual Type PurposeDevice Partition Type Default Boot 12.17.210255.255.255.0 12.17.150Gnome Installation notes Monitor Setup IBM 9513 T55A TFT No clock chip 24 bitSelect Start X automatically # df -h# 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 FLEX-ES Brief introductionPC Processor in ThinkPad Page Installation Installing the FLEX-ES license key OS/390 AD systems Next stepsAD systems # mkdir /s3912 OS/390 on CD-ROM Basic CD-ROM formats3 OS/390 device configuration FLEX-ES formatsInstallation tasks Unzipping and installing Awsckd CD-ROM filesAn unzip program 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 CommentsBuilding a shell script $ cd /usr/flexes/rundir# resadm -s R10A.rescf $ resadm -r$ sh shos Flexes ipl a80 0a82cs =stor IPL OS/390Terminal Solicitor Operation and use User terminal connection11.42.47 A80,8Linux TN3270 Iodf requirementsSystem performance monitors Rmf5 TCP/IP for OS/390 Shutting down # resadm -T# resadm -k # exit36 S/390 PID ThinkPad Enabled for S/390 Additional Topics Basic debugging Server memory Operating Systems Messages consoleSecurity Vmstat command Importance of Linux swapping CPU# cat /proc/partitions Using a second Linux hard diskUltrabay Second disk planning Device Volser Addr Use Disk layout AD systemPartition Mount Size Use FLEX-ES FakeTape on OS/390 Alternative method560 222222Multi-system setup X3270 client $ x3270 -model 3 -keymap pc -port tn3270 localhost$ x3270 -model 3 -keymap pc -port tn3270 localhostt91f Function Keys Used# vi # cd /usr/lib/X11/app-defaults # cp X3270 X3270oldRemote resources Disk caches System BWrites Cache Hits Tuning cachesize FSI Channel AdaptersDisk fragmentation Backup and restore considerationsScsi adapter for the ThinkPad 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 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 How to get IBM Redbooks IBM RedbooksReferenced Web sites 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