Unnatended installation from SCSI
- Edit the Generic.prm file as below. Include the inst.auto= statement
Example:
ro ramdisk_size=40000 zfcp.allow_lun_scan=0 systemd.show_status=0 rd.znet=qeth,0.0.570a,0.0.570b,0.0.570c,layer2=1,portno=0,portname=OSAPORT ip=9.60.87.87::9.60.86.1:255.255.254.0:kvm1awb:enccw0.0.570a:none inst.repo=ftp://abassani:[email protected]/KVM inst.auto=ftp://abassani:[email protected]/KVM/kvmibm-ks.cfg
- On the KVM directory, create or copy the kvmibm-ks.cfg file.
#version=DEVEL
autopart --ondisks /dev/disk/by-id/dm-uuid-mpath-36005076303ffc70a00000000000020b2# Root password
rootpw --iscrypted $6$$Xr0ULqmWa2DFS65X30Qg2wKbIEFrAbp.uKPKycb4.Ub3mrV4OzjnlfmldCa1mAk6RDg2/6nFjSzj4dYcpIVeB.
# System timezone
timezone America/Sao_Paulo --nontp
# System language
lang en_US
# Network information
network --bootproto=static --device=enccw0.0.570a --gateway=9.60.86.1 --hostname=kvm1awb --ip=9.60.87.87 --netmask=255.255.254.0
kdump --enable --size=256
zfcp --devnum=8B00 --wwpn=50050763031B870A --fcplun=0x402040B200000000
zfcp --devnum=8A00 --wwpn=500507630310870A --fcplun=0x402040B200000000
Read the IBM Manual - KVM for IBM z Systems Planning and Installation for more options and the defaults.
E.g. if you don't specify the root password, the default is passw0rd.
- On the HMC, select the LPAR, expand Recovery, click on "Load from Removable Media or Server"
- Select FTP, type userid, password, and on the field "File Location (optional)" type the relative path to the KVM installation directory
You can follow the screen of one installation here on YouTube: https://www.youtube.com/watch?v=BS-iThzCCWI
take a look at this video:
Installation messages from Operating System Messages screen:
Message
"Uncompressing Linux...
"
"Ok, booting the kernel.
"
"[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.10.0-229.7.2.el7_1.kvmibm1_1_1.16.s390x (mockbuil
d@lnx2) (gcc version 4.8.3 20140911 (IBM 4.8.3-9) (GCC) ) #1 SMP Mon Jan 25 16:1
1:01 EST 2016
[ 0.000000] setup: Linux is running natively in 64-bit mode
[ 0.000000] cpu: The CPU configuration topology of the machine is: 0 0 0 8 3
8 / 3
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x00000000-0x7fffffff]
[ 0.000000] Normal [mem 0x80000000-0x2ffffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000-0x2ffffffff]
[ 0.000000] PERCPU: Embedded 12 pages/cpu @000000008c300000 s18944 r8192 d220
16 u49152
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pag
es: 3096576
[ 0.000000] Kernel command line: ro ramdisk_size=40000 zfcp.allow_lun_scan=0
systemd.show_status=0 rd.znet=qeth,0.0.570a,0.0.570b,0.0.570c,layer2=1,portno=0,
portname=OSAPORT ip=9.60.87.87::9.60.86.1:255.255.254.0:kvm1awb:enccw0.0.570a:no
ne inst.repo=ftp://abassani:[email protected]/KVM inst.auto=ftp://abassani:wd5
[email protected]/KVM/kvmibm-ks.cfg
[ 0.000000]
[ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.000000] Dentry cache hash table entries: 2097152 (order: 12, 16777216 byt
es)
[ 0.000000] Inode-cache hash table entries: 1048576 (order: 11, 8388608 bytes
)
[ 0.000000] Memory: 12323308k/12582912k available (6048k kernel code, 0k rese
rved, 3408k data, 340k init)
[ 0.000000] Write protected kernel read-only data: 0x100000 - 0x8b5fff
[ 0.000000] SLUB: HWalign=256, Order=0-3, MinObjects=0, CPUs=40, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=40.
[ 0.000000] console [ttyS0] enabled
[ 0.000000] allocated 50331648 bytes of page_cgroup
[ 0.000000] please try 'cgroup_disable=memory' option if you don't want memor
y cgroups
[ 0.699611] pid_max: default: 40960 minimum: 320
[ 0.699637] Security Framework initialized
[ 0.699644] SELinux: Initializing.
[ 0.699657] Mount-cache hash table entries: 4096
[ 0.699856] Initializing cgroup subsys memory
[ 0.699865] Initializing cgroup subsys devices
[ 0.699866] Initializing cgroup subsys freezer
[ 0.699868] Initializing cgroup subsys net_cls
[ 0.699869] Initializing cgroup subsys blkio
[ 0.699871] Initializing cgroup subsys perf_event
[ 0.699978] cpu: 8 configured CPUs, 12 standby CPUs
[ 0.701523] Brought up 8 CPUs
[ 0.701881] devtmpfs: initialized
[ 0.702880] atomic64 test passed
[ 0.702970] NET: Registered protocol family 16
[ 0.703778] SCSI subsystem initialized
[ 0.704749] NetLabel: Initializing
[ 0.704751] NetLabel: domain hash size = 128
[ 0.704752] NetLabel: protocols = UNLABELED CIPSOv4
[ 0.704761] NetLabel: unlabeled traffic allowed by default
"
"[ 1.193542] NET: Registered protocol family 2
[ 1.193651] TCP established hash table entries: 131072 (order: 8, 1048576 byt
es)
[ 1.194252] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
[ 1.194739] TCP: Hash tables configured (established 131072 bind 65536)
[ 1.194762] TCP: reno registered
[ 1.194768] UDP hash table entries: 8192 (order: 6, 262144 bytes)
[ 1.194899] UDP-Lite hash table entries: 8192 (order: 6, 262144 bytes)
[ 1.195092] NET: Registered protocol family 1
[ 1.195122] Unpacking initramfs...
"
"[ 4.051152] Freeing initrd memory: 25500K (2000000 - 38e7000)
[ 4.051308] Runtime instrumentation facility initialized
[ 4.051971] futex hash table entries: 4096 (order: 8, 1048576 bytes)
[ 4.052130] Initialise system trusted keyring
[ 4.052172] audit: initializing netlink socket (disabled)
[ 4.052189] type=2000 audit(1470423742.065:1): initialized
[ 4.082492] HugeTLB registered 1 MB page size, pre-allocated 0 pages
[ 4.083368] VFS: Disk quotas dquot_6.5.2
[ 4.083395] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 4.083534] msgmni has been set to 24118
[ 4.083584] Key type big_key registered
[ 4.084362] alg: No test for stdrng (krng)
[ 4.084371] NET: Registered protocol family 38
[ 4.084378] Key type asymmetric registered
[ 4.084381] Asymmetric key parser 'x509' registered
[ 4.084412] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 2
53)
[ 4.084486] io scheduler noop registered
[ 4.084488] io scheduler deadline registered (default)
[ 4.084506] io scheduler cfq registered
[ 4.084535] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[ 4.084556] hvc_iucv: The z/VM IUCV HVC device driver cannot be used without
z/VM
[ 4.084656] rdac: device handler registered
[ 4.084683] hp_sw: device handler registered
[ 4.084685] emc: device handler registered
[ 4.084687] alua: device handler registered
[ 4.084735] cio: Channel measurement facility initialized using format extend
ed (mode autodetected)
"
"[ 4.450523] drop_monitor: Initializing network drop monitor service
[ 4.450605] TCP: cubic registered
[ 4.450610] Initializing XFRM netlink socket
[ 4.450670] NET: Registered protocol family 10
[ 4.450839] NET: Registered protocol family 17
[ 4.450924] Loading compiled-in X.509 certificates
[ 4.451538] Loaded X.509 cert 'IBM Linux Driver Update Program: 05825743496a2
cef4be50f9a3e57666df6430fce'
[ 4.452150] Loaded X.509 cert 'IBM Linux kernel signing key: aae8ed6b57b6c29c
cc38fc38e060d3464e8acb5d'
[ 4.452158] registered taskstats version 1
[ 4.452338] Freeing unused kernel memory: 340K (93d000 - 992000)
[ 4.455908] systemd[1]: systemd 208 running in system mode. (+PAM +LIBWRAP +A
UDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ)
[ 4.456057] systemd[1]: Running in initial RAM disk.
[ 4.456088] systemd[1]: No hostname configured.
[ 4.456091] systemd[1]: Set hostname to <localhost>.
[ 4.456221] systemd[1]: Initializing machine ID from random generator.
[ 4.535681] systemd[1]: Starting -.slice.
[ 4.535788] systemd[1]: Created slice -.slice.
[ 4.535808] systemd[1]: Starting System Slice.
[ 4.535852] systemd[1]: Created slice System Slice.
[ 4.535869] systemd[1]: Starting Slices.
[ 4.535875] systemd[1]: Reached target Slices.
[ 4.535890] systemd[1]: Starting Timers.
[ 4.535896] systemd[1]: Reached target Timers.
[ 4.535912] systemd[1]: Starting Journal Socket.
[ 4.535941] systemd[1]: Listening on Journal Socket.
[ 4.535982] systemd[1]: Started dracut ask for additional cmdline parameters.
[ 4.536067] systemd[1]: Starting dracut cmdline hook...
[ 4.536260] systemd[1]: Starting Journal Service...
[ 4.536501] systemd[1]: Started Journal Service.
"
"[ 4.544540] device-mapper: uevent: version 1.0.3
[ 4.544580] device-mapper: ioctl: 4.29.0-ioctl (2014-10-28) initialised: dm-d
[email protected]
[ 4.545647] device-mapper: multipath: version 1.7.0 loaded
"
"[ 5.206690] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 5.208407] Loading iSCSI transport class v2.0-870.
[ 5.210937] iscsi: registered transport (tcp)
[ 5.224128] md: raid0 personality registered for level 0
[ 5.225625] md: raid1 personality registered for level 1
[ 5.227671] xor: measuring software checksum speed
"
"[ 5.323544] 8regs : 14429.200 MB/sec
"
"[ 5.423554] 8regs_prefetch: 17909.200 MB/sec
"
"[ 5.523568] 32regs : 19538.000 MB/sec
"
"[ 5.623556] 32regs_prefetch: 17873.600 MB/sec
[ 5.623559] xor: using function: 32regs (19538.000 MB/sec)
"
"[ 5.793561] raid6: int64x1 2457 MB/s
"
"[ 5.963554] raid6: int64x2 3819 MB/s
"
"[ 6.133559] raid6: int64x4 4033 MB/s
"
"[ 6.303549] raid6: int64x8 4072 MB/s
[ 6.303550] raid6: using algorithm int64x8 (4072 MB/s)
[ 6.303552] raid6: using intx1 recovery algorithm
[ 6.306642] md: raid6 personality registered for level 6
[ 6.306644] md: raid5 personality registered for level 5
[ 6.306645] md: raid4 personality registered for level 4
[ 6.309526] md: raid10 personality registered for level 10
[ 6.310868] md: linear personality registered for level -1
[ 6.320338] device-mapper: multipath round-robin: version 1.0.0 loaded
[ 6.337655] RPC: Registered named UNIX socket transport module.
[ 6.337657] RPC: Registered udp transport module.
[ 6.337658] RPC: Registered tcp transport module.
[ 6.337659] RPC: Registered tcp NFSv4.1 backchannel transport module.
"
"[ 6.465723] systemd-udevd[595]: starting version 208
"
"[ 6.577313] qeth: loading core functions
"
"[ 6.913763] ctcm: CTCM driver initialized
[ 6.942895] qeth 0.0.570a: Priority Queueing not supported
[ 6.946653] qeth: register layer 2 discipline
[ 6.952578] qdio: 0.0.570c OSA on SC 488 using AI:1 QEBSM:0 PRI:1 TDD:1 SIGA:
W AP
[ 6.966078] qeth 0.0.570a: The device represents a Bridge Capable Port
[ 6.967132] qeth 0.0.570a: MAC address 02:00:00:90:ab:f5 successfully registe
red on device enccw0.0.570a
[ 6.967138] qeth 0.0.570a: Device is a OSD Express card (level: 076a)
[ 6.967138] with link type OSD_1000 (portname: OSAPORT)
[ 6.969823] qeth 0.0.570a: QDIO data connection isolation is deactivated
"
"[ 7.023648] systemd-udevd[664]: renamed network interface eth0 to enccw0.0.57
0a
"
"dracut-initqueue[1413]: % Total % Received % Xferd Average Speed Time T
ime Time Current
dracut-initqueue[1413]: Dload Upload Total Spent Left Speed
"
"dracut-initqueue[1413]: 0 0 0 0 0 0 0 0 --:--:-- --:
--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00
:01 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:0
1 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:02
--:--:-- 0100 1056 100 1056 0 0 434 0 0:00:02 0:00:02 --
:--:-- 434
dracut-initqueue[1413]: % Total % Received % Xferd Average Speed Time T
ime Time Current
dracut-initqueue[1413]: Dload Upload Total Spent Left Speed
"
"dracut-initqueue[1413]: 0 0 0 0 0 0 0 0 --:--:-- --:
--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00
:01 --:--:-- 0 0 123M 0 0 0 0 0 0 --:--:-- 0:00:0
1 --:--:-- 0 86 123M 86 107M 0 0 37.5M 0 0:00:03 0:00:02
0:00:01 37.5M100 123M 100 123M 0 0 41.1M 0 0:00:03 0:00:03 --
:--:-- 41.1M
"
"[ 33.173508] loop: module loaded
[ 33.247994] EXT4-fs (dm-0): mounted filesystem with ordered data mode. Opts:
(null)
"
"[ 42.206687] systemd-journald[140]: Received SIGTERM
"
"[ 42.974742] type=1403 audit(1470423780.995:2): policy loaded auid=4294967295
ses=4294967295
[ 42.977255] systemd[1]: Successfully loaded SELinux policy in 391.355ms.
[ 43.011906] systemd[1]: Relabelled /dev and /run in 9.844ms.
"
"******************************************************************
Start kickstart installation
"
"Formatting disks... ---- 0%
Installing KVM for IBM z into disk mpatha... ---- 10%
"
" Installing progress ---- 0%
"
" Installing progress ---- 5%
"
" Installing progress ---- 10%
"
" Installing progress ---- 15%
"
" Installing progress ---- 20%
"
" Installing progress ---- 25%
"
" Installing progress ---- 30%
"
" Installing progress ---- 35%
"