14
9.0 Filipe Miranda <[email protected]> Global Lead for Red Hat Products on IBM z Systems and Power Systems Red Hat Inc. Q&A about RHEL on z Systems BCP © Copyright Red Hat Inc 2015

Linux on z Systems BCP - people.redhat.compeople.redhat.com/fmiranda/systemz/slide_decks/Customer... · For all other questions related to system administration please refer to the

Embed Size (px)

Citation preview

Page 1: Linux on z Systems BCP - people.redhat.compeople.redhat.com/fmiranda/systemz/slide_decks/Customer... · For all other questions related to system administration please refer to the

9.0

Filipe Miranda <[email protected]>Global Lead for Red Hat Products on IBM z Systems and Power SystemsRed Hat Inc.

Q&A about RHEL on z SystemsBCP

© Copyright Red Hat Inc 2015

Page 2: Linux on z Systems BCP - people.redhat.compeople.redhat.com/fmiranda/systemz/slide_decks/Customer... · For all other questions related to system administration please refer to the

Topics for this session

Red Hat in a nutshell

Red Hat and IBM Collaboration

RHEL installation process summary on z Systems (using z/VM)

User end *feeling* on RHEL for z Systems

Administrators guide - is it different to do it on RHEL of z Systems?

Q&A

© Copyright Red Hat Inc 2015

Page 3: Linux on z Systems BCP - people.redhat.compeople.redhat.com/fmiranda/systemz/slide_decks/Customer... · For all other questions related to system administration please refer to the

© Copyright Red Hat Inc 2015

Red Hat in a Nutshell

* Red Hat Client Data, 2014

Page 4: Linux on z Systems BCP - people.redhat.compeople.redhat.com/fmiranda/systemz/slide_decks/Customer... · For all other questions related to system administration please refer to the

Red Hat Enterprise Linux Lifecycle

© Copyright Red Hat Inc 2015

Page 5: Linux on z Systems BCP - people.redhat.compeople.redhat.com/fmiranda/systemz/slide_decks/Customer... · For all other questions related to system administration please refer to the

Red Hat and IBM Collaboration

© Copyright Red Hat Inc 2015

z Systems

Decades of collaboration between Red Hat and IBM

https://access.redhat.com/certifications

https://access.redhat.com/site/articles/111663

Page 6: Linux on z Systems BCP - people.redhat.compeople.redhat.com/fmiranda/systemz/slide_decks/Customer... · For all other questions related to system administration please refer to the

RHEL on z installation process summary

© Copyright Red Hat Inc 2015

These files can be found at the images directory from the RHEL7.x installation treekernel.img initrd.img redhat.exec generic.prm

highly recommended to edit the PRM file locally in your desktop and then copy it to the z/VM Virtual Machine.

This is how the stock generic.prm file would look like:

ro ramdisk_size=40000 cio_ignore=all,!condev

Example of generic.prm (consult your system’s admin):

ro ramdisk_size=40000 cio_ignore=all,!condev ip=10.16.10.71::10.16.111.254:21:train8.redhat.com:enccw0.0.0600:none rd.znet=qeth,0.0.0600,0.0.0601,0.0.0602,layer2=1 nameserver=10.16.46.244 nameserver=10.16.36.30 rd.dasd=0.0.0100 inst.repo=http://RHEL7.1/s390x/os

Page 7: Linux on z Systems BCP - people.redhat.compeople.redhat.com/fmiranda/systemz/slide_decks/Customer... · For all other questions related to system administration please refer to the

© Copyright Red Hat Inc 2015

To copy files over to z/VM, open a Linux terminal on your desktop:# ftp <FQDN for the z/VM>

login <login> password <password>

Example:

site fix 80 bin put kernel.img KERNEL.IMG put initrd.img INITRD.IMG ascii put redhat.exec REDHAT.EXEC put generic.prm GENERIC.PRM

RHEL on z installation process summary

Page 8: Linux on z Systems BCP - people.redhat.compeople.redhat.com/fmiranda/systemz/slide_decks/Customer... · For all other questions related to system administration please refer to the

© Copyright Red Hat Inc 2015

RHEL on z installation process summary1 2

3

4

Page 9: Linux on z Systems BCP - people.redhat.compeople.redhat.com/fmiranda/systemz/slide_decks/Customer... · For all other questions related to system administration please refer to the

© Copyright Red Hat Inc 2015

RHEL on z installation process summary

5

6

7

Page 10: Linux on z Systems BCP - people.redhat.compeople.redhat.com/fmiranda/systemz/slide_decks/Customer... · For all other questions related to system administration please refer to the

User end *feeling* when using RHEL on z

© Copyright Red Hat Inc 2015

When working with RHEL on z things to be aware of:

- Name of the network interfaces is different:enccw0.0.0600: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1492 qdisc pfifo_fast state UNKNOWN qlen 1000 link/ether 02:00:01:00:00:e6 brd ff:ff:ff:ff:ff:ff inet 10.16.105.65/21 brd 10.16.111.255 scope global enccw0.0.0600 valid_lft forever preferred_lft forever

- Disk names when using ECKD disks are different:Disk /dev/dasda: 2461 MB, 2461040640 bytes, 600840 sectors Units = sectors of 1 * 4096 = 4096 bytes Sector size (logical/physical): 4096 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes

- Additional tools specific to the s390x platform are available:s390utils-debuginfo.s390x : Debug information for package s390utils s390utils.s390x : Utilities and daemons for IBM System/z s390utils-base.s390x : S390 base tools s390utils-cmsfs.s390x : CMS file system tools s390utils-cmsfs-fuse.s390x : CMS file system based on FUSE s390utils-cpuplugd.s390x : Daemon that manages CPU and memory resources s390utils-devel.s390x : Development files s390utils-iucvterm.s390x : z/VM IUCV terminal applications s390utils-mon_statd.s390x : Monitoring daemons for Linux in z/VM s390utils-osasnmpd.s390x : SNMP sub-agent for OSA-Express cards s390utils-zdsfs.s390x : z/OS data set access based on FUSE s390utils-ziomon.s390x : S390 ziomon tools

Page 11: Linux on z Systems BCP - people.redhat.compeople.redhat.com/fmiranda/systemz/slide_decks/Customer... · For all other questions related to system administration please refer to the

User end *feeling* when using RHEL on z

© Copyright Red Hat Inc 2015

Most of the other administrative tasks are the same on all platforms:

To groups and users is the same on all platforms:groupadd tsgroup useradd tsuser1 -m -s /usr/bin/ts-shell -g ts-shell -G tsgroup

To change directories and files permissions and ownership is the same on all platforms:

ls -l testfile -rw-r--r--. 1 root root 0 May 8 10:50 testfile

chown user1.user1 testfile chmod 700 testfile

ls -l testfile -rwx------. 1 user1 user1 0 May 8 10:50 testfile

To delete users is the same on all platforms userdel user1

Page 12: Linux on z Systems BCP - people.redhat.compeople.redhat.com/fmiranda/systemz/slide_decks/Customer... · For all other questions related to system administration please refer to the

Red Hat System Administrators Guide

© Copyright Red Hat Inc 2015

For all other questions related to system administration please refer to the System Administrator’s Guide: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/System_Administrators_Guide/index.html

Page 13: Linux on z Systems BCP - people.redhat.compeople.redhat.com/fmiranda/systemz/slide_decks/Customer... · For all other questions related to system administration please refer to the

Draft Document for Review May 6, 2015 7:19 am SG24-8147-01

Redbooks

Front cover

The Virtualization Cookbook for Linux on IBM z Systems

Lydia Parziale

Berthold Gunreben

Filipe Miranda

Paul W Novak

Ken Werner

Additional References

© Copyright Red Hat Inc 2015

http://www.ibm.com/developerworks/linux/linux390/documentation_red_hat.html#rhel7 http://www.redbooks.ibm.com

Not yet released, planned for last quarter of 2015

Page 14: Linux on z Systems BCP - people.redhat.compeople.redhat.com/fmiranda/systemz/slide_decks/Customer... · For all other questions related to system administration please refer to the

Filipe Miranda <[email protected]>Global Lead for Red Hat Products on IBM z Systems and Power SystemsRed Hat Inc.