S/390
S/390
Virtual Image Facility
Virtual Image Facility
for Linux (VIF)
for Linux (VIF)
Introduction
Introduction
S/390 Virtual Image Facility for Linux S/390 Virtual Image Facility for Linux
A way to run multiple Linux images on S/390 A way to run multiple Linux images on S/390
More capacity than LPAR More capacity than LPAR
Linux-based administration Linux-based administration
Shared resources Shared resources
Requires only limited S/390 skills Requires only limited S/390 skills
ICKDSF ICKDSF IOCP IOCP HMC/SE HMC/SE
Introduction
Introduction
(continued)
(continued)
IBM S/390 Integrated Facility for Linux IBM S/390 Integrated Facility for Linux
Linux-only processor engines Linux-only processor engines
Standalone Linux Standalone Linux
Virtual Image Facility for Linux Virtual Image Facility for Linux
Less expensive than full-function engines Less expensive than full-function engines
9672 G5 and G6 and zSeries 900 only 9672 G5 and G6 and zSeries 900 only
No change to processor model code No change to processor model code
No change in licensed software charges for No change in licensed software charges for
Virtual Image Facility for
Virtual Image Facility for
Linux
Linux
Product Overview
Product Overview
Conceptual Structure
Conceptual Structure
VIF DASD VIF systemVIF image paging space Linux DASD partitions
Network VIF Management Client Linux Logical Partition Network
Linux Linux Linux
Virtual Image Facility Hypervisor
Virtual Image Facility Hypervisor
Based on virtual machine technology Based on virtual machine technology
Installs from 3480 tape to 3390 DASD Installs from 3480 tape to 3390 DASD
Requires real network connection Requires real network connection
Provides Linux image management Provides Linux image management
DASD DASD Storage Storage Processors Processors Network Network
Virtual Image Facility Hypervisor
Virtual Image Facility Hypervisor
(continued)
(continued)
Provides volume management Provides volume management
Image DASD partitions Image DASD partitions
Hypervisor paging Hypervisor paging
Provides DASD partition management Provides DASD partition management
Virtual Image Facility Hypervisor
Virtual Image Facility Hypervisor
(continued)
(continued)
Provides system management Provides system management
Backup and restore configuration Backup and restore configuration
Collect problem determination data Collect problem determination data
Reconfigure internal network Reconfigure internal network
Install Linux image from FTP site Install Linux image from FTP site
Produce hardware error report Produce hardware error report
Apply VIF service Apply VIF service
Virtual Image Facility Hypervisor
Virtual Image Facility Hypervisor
(continued)
(continued)
Provides image console support Provides image console support
Telnet to hypervisor Telnet to hypervisor
LOGIN <image-name>
LOGIN <image-name>
Master Linux Image
Master Linux Image
Predefined image named
Predefined image named LINUX0LINUX0
64 MB storage 64 MB storage
850 MB R/W partition 850 MB R/W partition
3 MB R/O partition (
3 MB R/O partition (vifvif command) command)
Must be installed and configured using Must be installed and configured using
standard distribution (SuSE, TurboLinux) standard distribution (SuSE, TurboLinux)
Runs system management client Runs system management client
Console always on HMC Console always on HMC
Operating System Messages
Operating System Messages task task
Other Linux Images
Other Linux Images
Customer-defined Customer-defined
From LINUX0 using client program From LINUX0 using client program
May need to add volumes to hypervisor May need to add volumes to hypervisor
Image DASD partitions Image DASD partitions
Hypervisor paging Hypervisor paging
Virtual Image Facility for
Virtual Image Facility for
Linux
Linux
Planning
Planning
Planning Tasks
Planning Tasks
Sizing Sizing Storage Storage Processor Processor Network Planning Network PlanningSizing
Sizing
Many Linux environments consist of a large Many Linux environments consist of a large
number of lightly used machines number of lightly used machines
Key for S/390 is to determine the number of Key for S/390 is to determine the number of
active machines active machines
Can estimate storage requirements Can estimate storage requirements
Can estimate processor requirements Can estimate processor requirements
Guidelines for initial configuration only Guidelines for initial configuration only
Engage with IBM or Business Partner to use Engage with IBM or Business Partner to use
SIZE390 program SIZE390 program
Sizing:
Sizing:
Storage
Storage
Real Storage = Images x 0.5 + Active x (15 + (Files x File Size)) Paging Factor
Images: Images defined
Active: Images busy per interval
Files: Mean number of files accessed
File Size: Mean size of files accessed (MB)
Storage Sizing Examples
Storage Sizing Examples
16 24 32 40 48 56 64
Mean Image Size (MB) 0 50 100 150 200 250 300 350
Real Storage Size (MB)
Factor = 2 Factor = 3 Factor = 4 10 Images, all active
Sizing:
Sizing:
Processor
Processor
Each active image requires processor Each active image requires processor
resources resources
For no contention, allow one processor per For no contention, allow one processor per
Network Planning
Network Planning
Each image with a network connection Each image with a network connection
requires an IP address requires an IP address
Virtual Image Facility requires an IP address Virtual Image Facility requires an IP address
Images must be in subnetwork separate from Images must be in subnetwork separate from
Virtual Image Facility Virtual Image Facility
Images may have dedicated network Images may have dedicated network
connection(s) connection(s)
Internal network connections are fast and Internal network connections are fast and
inexpensive inexpensive
Hardware Management Console
Hardware Management Console
Planning
Planning
Consider enabling Web access Consider enabling Web access
Virtual Image Facility for
Virtual Image Facility for
Linux
Linux
Installation
Installation
Major Steps
Major Steps
Define Logical Partition Define Logical Partition
Restore distribution volume Restore distribution volume
Configure VIF Configure VIF
Define Logical Partition
Define Logical Partition
Use HMC or SE to define LPAR Use HMC or SE to define LPAR
Update IOCDS (if necessary) Update IOCDS (if necessary)
Device access Device access 3390 DASD 3390 DASD Network interfaces Network interfaces Tape drive Tape drive
Restore To Disk
Restore To Disk
Use ICKDSF to initialize target 3390 volume Use ICKDSF to initialize target 3390 volume
(if necessary) (if necessary)
Load from distribution tape Load from distribution tape
Load parameter AUTOxxxx Load parameter AUTOxxxx
xxxx is 3390 device number xxxx is 3390 device number
Check for disabled wait state (via
Check for disabled wait state (via Hardware Hardware
Messages
Configure VIF
Configure VIF
IPL from 3390 DASD IPL from 3390 DASD
Invoke
Invoke Operating System MessagesOperating System Messages task task Respond to configuration prompts
Respond to configuration prompts
Console Message Access:
Console Message Access:
Console Message Access:
Console Message Access:
Select VIF Image
Select VIF Image
Console Message Access:
Console Message Access:
Console Message Access:
Console Message Access:
View Messages
View Messages
Console Message Access:
Console Message Access:
Console Message Access:
Console Message Access:
View Response
View Response
Sample Configuration Responses
Sample Configuration Responses
Hypervisor system residence Label
Hypervisor system residence Label vif300vif300 Hypervisor network device address
Hypervisor network device address e24e24
Hypervisor network port number
Hypervisor network port number 22
Hypervisor network type
Hypervisor network type ethernetethernet
Hypervisor network MTU size
Hypervisor network MTU size 14921492
Hypervisor IP address
Hypervisor IP address 192.168.98.110192.168.98.110
Hypervisor IP mask
Hypervisor IP mask 255.255.255.0255.255.255.0
Hypervisor gateway IP address
Sample Configuration Responses
Sample Configuration Responses
(continued)
(continued)
Master Linux network type
Master Linux network type internalinternal Master Linux IP address
Master Linux IP address 192.168.1.10192.168.1.10
Master Linux IP mask
Master Linux IP mask 255.255.255.255255.255.255.255
FTP server IP address
FTP server IP address 192.168.98.1192.168.98.1
FTP server user name
FTP server user name tmcctmcc
FTP server password
FTP server password guestguest
FTP server account or null
FTP server account or null
Installation file path and name
Installation file path and name tmcc/vif/suse7iucv.instmcc/vif/suse7iucv.ins
Install Master Linux
Install Master Linux
Invoke
Invoke Operating System MessagesOperating System Messages task task Configure network
Configure network
Augment configuration (if needed) Augment configuration (if needed)
Telnet to master Linux Telnet to master Linux
Proceed depending on Linux distribution Proceed depending on Linux distribution
After the boot image has been created, use After the boot image has been created, use
the
the vifvif IMAGE SET command to change the IMAGE SET command to change the boot device
boot device
Sample SuSE Linux Configuration
Sample SuSE Linux Configuration
Reply "0" to network prompt Reply "0" to network prompt Issue following commands: Issue following commands:
insmod dasd dasd=201,203 insmod dasd dasd=201,203
mount /dev/dasdb1 /mnt -r mount /dev/dasdb1 /mnt -r
ifconfig iucv0 192.168.1.10 pointopoint ifconfig iucv0 192.168.1.10 pointopoint
192.168.98.110 mtu 1492 192.168.98.110 mtu 1492
route add default gw 192.168.98.110 route add default gw 192.168.98.110
inetd inetd
Considerations
Considerations
Master Linux access is critical Master Linux access is critical
Only authorized
Only authorized vifvif command user command user
Take appropriate measures Take appropriate measures
Do not run risky experiments on LINUX0 Do not run risky experiments on LINUX0
e.g., install an untested new distribution e.g., install an untested new distribution Provide appropriate protection for
Provide appropriate protection for rootroot Can reinstall (restore) VIF over existing Can reinstall (restore) VIF over existing
system without losing customization system without losing customization
Considerations
Considerations
(continued)
(continued)
Backup function requires Linux-based Backup function requires Linux-basedsolution solution
Can automate VIF system management Can automate VIF system management
Virtual Image Facility for
Virtual Image Facility for
Linux
Linux
Positioning
Positioning
Target Market
Target Market
Customers who want to run more than a few Customers who want to run more than a few
Linux images Linux images
Customers who do not run VM Customers who do not run VM
Customers with spare processor and storage Customers with spare processor and storage
capacity capacity
Customers with G5, G6, or z900 who can add Customers with G5, G6, or z900 who can add
Virtual Image Facility for
Virtual Image Facility for
Linux
Linux
Availability
Availability
General Availability
General Availability
5739-A01 GA September 29, 2000 5739-A01 GA September 29, 2000One-time charge per processor One-time charge per processor
Warranty service via e-mail, fax, postal mail Warranty service via e-mail, fax, postal mail
5739-SPT GA September 29, 2000 5739-SPT GA September 29, 2000
Software Service and Support Software Service and Support Annual charge per processor Annual charge per processor
Telephone service, emergency repair, defect Telephone service, emergency repair, defect
Virtual Image Facility for
Virtual Image Facility for
Linux
Linux
For more information, visit
For more information, visit
http://www.s390.ibm.com/linux/vif/
http://www.s390.ibm.com/linux/vif/
Announcement Letter Announcement Letter Specification Sheet Specification SheetGuide and Reference
Guide and Reference
How-to information
How-to information