SlideShare uma empresa Scribd logo
1 de 91
Baixar para ler offline
Bill Malchisky Jr.
Effective Software Solutions, LLC
The Domino 10 RHEL 7 Primer
CollabSphere 2018 Sponsors
● Introduction
● Important Insights
● Subscription Management
● Systemd
● Journald
● Containers
● A Few Upgrade Tips
● Reference Material
● Your Questions
Agenda
Introduction
● If you do anything that causes you or your
company harm with what you see here,
neither the presenter nor anyone connected
with the conference is responsible
● But, my services are available to assist if you
need help. :-)
Disclaimer
Many of the new features of
RHEL 7.x are provided through
open source projects Red Hat
does not run
Thus, they inherit the work and
the changes
Important Notation
This is consistent across all versions
− Handy if you are touching a box built
by another admin
− Or if you suspect your documentation
is incorrect/incomplete
Finding the Current Release (Good)
The redhat-release file can be edited to
install some third party apps,
destroying accuracy
Instead, doublecheck with RPM
But… This is Better
Important Insights
● Domino on Docker will be built
on CentOS
A Linux only offering
● Release target is Oct 10, 2018
● Support to provide best effort
for CentOS
A Few Useful Tidbits on Domino 10 Linux
● Tips and opinions for changes to
file locations, filesystem sizing,
memory requirements all remain
under NDA—-as of this writing
● When I can discuss the details, I
will update——-if needed——-my
previous recommendations on
filesystem partitioning for IBM
software plus planning
particulars
Domino 10 Installation Status
OS Version
RHEL 7.4+
SLES 11 & 12
AIX 7.2
IBM i 7.2
Domino 10 Minimum OS Requirements
● Ext4 now supports 50TB file system size
Previously, 16TB
● XFS is the default FS
− Automatically assigned to / via Anaconda
− Very difficult to resize an XFS
filesystem
− Best for partitions > 50TB; up to 500TB
● The directories /bin, /sbin, /lib, and /lib64
are now nested under /usr.
Filesystem Changes in RHEL 7
Red Hat offers Preupgrade Assistant
− Assesses the current system
− Provides list of potential issues
“An in-place upgrade requires a lot of troubleshooting and planning and
should only be done if there is no other choice.”
--RHEL 7 Installation Guide, Chapter 3, “Planning for Installation...”
In-place Upgrade vs. Clean Install
In case the last slide wasn't clear... go clean!
preupgrade-assistant risk check found EXTREME risks
for this upgrade.
Run preupg --riskcheck --verbose to view these risks.
Continuing with this upgrade is not recommended.
In-place Upgrade vs. Clean Install (2)
Before
Start
Confirm Install
However, Updates are Really Easy
Red Hat security keys import prompt
Update — Checkpoint
Success
After — Verify the new release version
Update — Final Status
RHEL7 provides new terminology to
better capture what technology
offers
Old Term New Term
Runlevels Target units
Tasks Units
init scripts Systemd service units
Updated Linux Lexicon
Good News on Transitioning
To ease into the new terminology and
system commands, systemd will accept
——-for now——-the RHEL6 command set
Examples:
1. service
2.chkconfig
3. runlevel
4.init
# chkconfig cups on
Note: Forwarding request to 'systemctl enable cups.service'.
Source: “Overview of systemd for RHEL 7” https://access.redhat.com/articles/754933
● RHEL7 utilizes firewalld
● New Dynamic Firewall
● Project homepage: http://www.firewalld.org/
● Beginners Guide
https://www.certdepot.net/rhel7-get-
started-firewalld/
● Red Hat's Thomas Woerner's Training Video
https://www.youtube.com/watch?
v=XhwvT05Puhs
Security Changes: Bye, Bye iptables
● “Why am I having network problems after
firewalld is restarted?”
https://success.docker.com/article/why-am-
i-having-network-problems-after-firewalld-
is-restarted
● With systemd, firewalld starts before Docker
● “If you start or restart firewalld after
Docker, you need to restart the Docker
daemon to enable the iptables rules again.”
Docker Conflict with firewalld & systemd
Firewalld can be disabled for iptables
− CertDepot has an article with the full
command set to install iptables, enable it,
and disable the firewalld unit
− https://www.certdepot.net/rhel7-disable-
firewalld-use-iptables/
Falling Back to iptables
If “rescue” appears on kernel
command line, system automatically
enters rescue mode
(rescue.target or runlevel 1)
Remember — New Boot Behavior
• Check overall system state
#systemctl is-system-running
• List installed timer units with elapse next
#systemctl list-timers
• Display unit's original unit file to display
full configuration
#systemctl cat {unit_pattern}
Useful Commands in systemd 219
Source: systemctl man page
Help — systemctl Output Table
systemctl is-system-running command states
● RHEL 7.4
https://access.redhat.com/documentation/
en-us/red_hat_enterprise_linux/7/html/
7.4_release_notes/
● RHEL 7.5
https://access.redhat.com/documentation/
en-us/red_hat_enterprise_linux/7/html/
7.5_release_notes/
New RHEL Changes
Full major feature list for the two most recent releases
A few thousand lines of files displayed
Running the update command
(Future reference)
Checking for any available security updates
How to Install Just the Security Updates
● RH Technote
https://access.redhat.com/security/
vulnerabilities/2679271
● Affected Red Hat Products impacted:
− RHEL 7.2, 7.3 for CVE-2016-7795
− RHEL 7.0, 7.1 for CVE-2016-7796
Another Reason to Update to RHEL 7.4
• Systemd — Denial of Service Vulnerability
Subscription Management
A few useful commands: list, status, attach
Red Hat transitioned to Red Hat Subscription Management (RHSM) for
all Red Hat products July 31st, 2017
Subscription Management Creates Simplicity
● Basic Registration with or without
parameters
#subscription-manager register --username
<username> --password <password>
● List all available subscriptions
#subscription-manager list --available –all
● Attach to appropriate subscription
− #subscription-manager attach –-auto
OR
− #subscription-manager attach –pool=<poolID>
Three Fundamental RHSM Commands
List all available subscriptions
[root@server1 ~]# subscription-manager list --available
+-------------------------------------------+
Available Subscriptions
+-------------------------------------------+
ProductName: RHEL for Physical Servers
ProductId: MKT-rhel-server
PoolId: ff8080812bc382e3012bc3845ca000cb
Quantity: 10
Expires: 2011-09-20
Footnote: Output provided via the Red Hat Subscription Manual, Section 4.3.1
“How Do I Find My Pool ID?”
Two key directory paths where
confirmation information is stored:
− /etc/pki/{consumer, entitlement, product}/*.pem
− /etc/rhsm/{rhsm.conf, facts/}
Key RHSM Directories
Red Hat provides three convenient
ways to attach your server to a
subscription certificate
kickstartfirstboot
Manually run
RHSM
Red Hat
Subscription
Registration
Registering Your New Server Three Ways
Subscription Manage Full Command Set 1-2
Primary modules
Subscription Manage Full Command Set 2-2
Other modules
Relevancy: post version 1.1.9-1, attach
supersedes the now deprecated
subscribe
Determining the RHSM Version
• Access via
-h or
–-help
• Attach and
Register
offer the
most
options
Subscription Manager Notation — Help
Primary Subscription Manager commands
provide sub-commands
Powerful option: attach's -–quantity command
− Allows assignment for multiple subscriptions
to cover multi-socket servers
− [root@server1 ~]# subscription-manager
attach --pool=XYZ01234567 –-quantity=2
Footnote: Output provided via the Red Hat Subscription Manual, Section 4.4
Handling Multiple Socket Servers
• Two Quick Use Cases
1. Sans Internet access, you are unable to
access Red Hat's subscription server
2. Allocate a license before installation
• Solution
Easy, with import
− Get subscription file (.pem) via Customer Portal
− Run this command:
− # subscription-manager import --certificate {/path/to/
file.pem}
– # subscription-manager import --certificate=/root/certs/
607687452896356798.pem
– Successfully imported certificate 607687452896356798.pem
My (Pre-Prod) Server is Not Online Yet
Recycling Subscriptions is easy – ensure you
use the correct method
− Remove expunges the subscribed
certificate(s) assigned to the system,
BUT keeps it registered with RHSM
− Unregister removes and deletes the
system's registration record
Removal vs. Unregister
● Each registered product provides an
identifying X.509 certificate
/etc/pki/entitlement/<serial_number>.pem
● To remove a product's subscription, use the
above certificate(s)' respective serial
number(s)
If a product's serial number is “527”, then:
− #subscription-manager remove –-serial=527
− #subscription-manager remove –-all
Precise Removal
● #subscription-manager list
No installed products to list
● Check to ensure /etc/pki/product-default has a respective .pem file
● Ensure file permissions of 644 are set, with root:root
Error: “No Installed Products Found”
• You can also verify the RHSM log file:
/var/log/rhsm/rhsm.log
One of the best methods to learn
about RHSM is to RTFM
$man subscription-manager
Finally, to Acquire Additional Information
Systemd
Creating systemd Jargon Lucidity
Name Function
systemd The system and service manager
Controls start, stop, and management of services
Collection of daemons, utilities, targets, libraries,
and core programs
Grown to be much more than an init service
systemdctl Command to query/manage systemd actions
● Is backwards compatible with SysV init scripts
● On-demand daemon activation
● System state snapshots
● Never loses initial log messages
● Kills all service components cleanly
● Server boots faster
− Uses fewer scripts
− Increased task (unit) parallelization
• Requires more reboots for patch installation than previously
“What Does systemd Do For Me?”
● Systemd uses binary log files
● Binary logs can become corrupted
Cases of/references to systemd log
corruption found online
● Backup the systemd Journal frequently
to avoid pain later
Safety Tip
Path Provides
/etc/systemd Global systemd configuration
/etc/systemd/system/ Systemd unit files created by
systemctl enable, plus administrator
created and managed units
Supersedes runtime units (/run/
systemd/system)
/run/systemd/system/ Systemd units created at runtime
/usr/lib/systemd/system Service configuration files
/etc/systemd/system Custom service configuration files
/usr/lib/systemd/system/ RPM packages' distributed units
Systemd’s Distributed File Locations
Command Provides
# systemctl --version Systemd version
# systemctl start sshd Start a service
# systemctl stop sshd Stop a service
# systemctl {enable,
disable} sshd
Enable/disable a service at boot
# systemctl status sshd Display current sevice status
# systemctl status --all Display status for all status
Note: You can also include the .service extension above
Use systemctl for System Interactions
Basic command set for systemctl
Command Provides
# systemd-analyze Startup/boot-up duration
# systemd-analyze critical-
chain [<app>.service] |
[unit.target]
Linked list of boot-time tasks &
times; examples -
service = rcdomino.service
target = basic.target
# systemd-analyze dump Provides long human-readable
serialization of boot process
Advanced Analysis Queries
Basic command set for systemd-analyze
Available systemd Unit Types
The previous slide's robust table provided via:
RHEL 7 System Administration Guide, Table 8.1
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/
html/System_Administrators_Guide/chap-
Managing_Services_with_systemd.html#tabl-Managing_Services_with_systemd-
Introduction-Units-Types
Available systemd Unit Types — Attribution
Use the following command:
#systemctl
Displaying Currently Active Units
It’s a long list. Here is the concluding output
Displaying Currently Active Units (2)
Use the following command:
#systemctl list-unit-files
Determining Installed Units
Note: systemctl
command output
now pipes into
more
“You thought that was fast? I thought it was
fast. Well was it?” —Annabelle in Maverick
RHEL 7.2
RHEL 7.5
Boot Process Time Check
Note: Some output can provide a false positive as time may be dependent upon socket
activation and unit parallel execution
Boot Process Critical-Chain Time Check
Source: https://access.redhat.com/solutions/2142121
Runlevel Translation Table from sysVinit
Source: https://access.redhat.com/solutions/2142121
Set Default
# systemctl set-default <desired>.target
In real-time
systemctl isolate [multi-user.target |
graphical.target]
Changing Runlevel Targets via systemd
Journal — The system event log file
Creating Journal Jargon Lucidity
Name Function
Journal New systemd log file
journald The Journal service (daemon)
journalctl Tool allowing access to the Journal logs
• Systemd manages the RHEL7 system log
through the Journal component
− Written via systemd-journald.service
− Run #journalctl
• Notations
− Listed time stamps converted to local time zone
of your system
− Beginning of a boot is tagged for parsing
− Color coded fonts for errors, warning, and
notices
Searching the systemd Journal
● Print recent sshd entries, refresh as written
#journalctl `which sshd` -f
● Print most recent 100 lines
#journalctl -n 100
● Reverse display order
#journalctl -r
● List time-based subset
− #journalctl --since=yesterday
− From previous boot: #journalctl -b
Only helpful if just recently booted
Useful Journald Query Commands
● Display recent boots
#journalctl -–list-boots
● Display all messages for current
user or system
− #journalctl –-user
− #journalctl --system
Useful Journald Query Commands (2)
● Filter by priority
− #journalctl -p {emerg, alert, crit, err, warning,
notice, info, debug}
− #journalctl -p crit
● Filter by (output) forms
#journalctl -o {14 values}; eg. verbose, export, json
● Filter by log fields: $man system.journal-fields for a list
− #journalctl -F {fieldname}
− #journalctl fieldname={value}
● Combine queries for surgical precision
#journalctl —p warning --since=“2018-7-25 01:00:00”
● Live feed - last ten lines in real-time
#journalctl -f
Useful Journald Query Commands (3)
● Data stored in /run/log/journal
But are purged after each reboot
● If permanency is desired – one way is below:
− #mkdir /var/log/journal
− #echo “SystemMaxUse=75M” >> /etc/systemd/
journald.conf
● Append the parameter to the journald.conf file
● You could use vi as well to append the line
− #systemctl restart systemd-journald
Journal Useful Tips
Journald provides a simple command:
#journalctl –-disk-usage
Let’s See How Big the Journal Is
Containers
● CollabSphere contains great content via its sessions
● Two such cases discuss Docker Containers
1. IS101 - Adopt Domino running in Docker Containers
by Slobodan Lohja
2. IS102 - An Introduction to Configuring Domino for
Docker by Gabriella Davis
● Thus, this section provides an OS level taste
Stating the Section’s Scope
What are they?
Source: “What are Linux containers?”, Red Hat site article
https://www.redhat.com/en/insights/containers
Linux® containers keep applications and their runtime
components together
by combining lightweight application
isolation with an image-based deployment method.
Containers package applications with the files
on which they depend. This reduces the friction between
development and operations, simplifies application deployment,
and accelerates delivery
cycles—allowing
you to deliver value to customers faster.
Containers Conundrum
Let’s Get Visual
Source: “What are Linux containers?”, Red Hat site article
https://www.redhat.com/en/insights/containers
Collaborate Compose Modernize
Dev and Ops get
apps in prod faster
Enables microservices
deployment and recycling
Avoid maintaining
physical environments
with traditional
applications
Mobile, Social, Web, Cloud
All make good deployment candidates
Three Ways Containers Can Help Admins
Source: “What are Linux containers?”, Red Hat site article
https://www.redhat.com/en/insights/containers
Just because an application is contained,
does not imply it is secure...
“Security is just as important
Inside a container as
it is anywhere else
in your Infrastructure.”
--Josh Bressers
Red Hat
Security Strategist
Source: “What are Linux containers?”, Red Hat site article
https://www.redhat.com/en/insights/containers
Security is of the Utmost Importance
● Buildah – fully supported now
Simplifies Docker container image creation
● OverlayFS: Docker container storage default
● Kubernetes RPMs, container images, plus
docker-latest package deprecated
See Red Hat OpenShift for full support
Footnotes: Red Hat –
https://rhelblog.redhat.com/2018/04/10/container-related-changes-in-red-hat-
enterprise-linux-7-5/
https://www.redhat.com/en/resources/The-Business-Value-of-Red-Hat-OpenShift
There Are Container Changes in RHEL 7.5
A Few Upgrade Tips
● RHEL6+ you are required to create
a user with firstboot
● User attributes are minimized
● Solution: create an ephemeral
account
● Login as root
● Create new accounts properly
● Expunge the ephemeral account
Mandatory User Account Creation at Install
Use findmnt to locate a new filesystem
● e.g. USB drive, second HDD
● $findmnt
Finding Mounted Hardware
● Primary vendor documentation
http://partnerweb.vmware.com/GOSIG/
RHEL_7.html
● VMware Knowledge Base articles on RHEL7
https://kb.vmware.com/s/global-search/
%40uri#q=%22rhel%207%22&sort=relevancy
VMware Tips
Become Even Smarter
Through Reading
Reference Material
● Understanding Linux Filesystems: ext4
and Beyond
https://opensource.com/article/
18/4/ext4-filesystem
● XFS and Other File Systems in Red
Hat Enterprise Linux 7
https://access.redhat.com/articles/
796293
Understanding Linux Filesystems: ext4 and Beyond
● Migration from EXT4 to XFS
https://access.redhat.com/documentation/en-us/
red_hat_enterprise_linux/7/html/
storage_administration_guide/migrating-ext4-
xfs#differences-ext4-xfs
● Appendix E. Reference Table for ext4 and XFS
Commands
https://access.redhat.com/documentation/en-us/
red_hat_enterprise_linux/7/html/
installation_guide/appe-ext4-to-xfs-command-
reference
Understanding Linux Filesystems: ext4 and Beyond (2)
“New Red Hat Enterprise Linux 7
Security Feature: systemd-journald”
https://access.redhat.com/blogs/
766093/posts/1976263
Security: systemd-journald vs. syslog
systemd Cheat Sheet for Red Hat
Enterprise Linux 7
https://access.redhat.com/
articles/systemd-cheat-sheet
A Great systemd Command Reference
● Containers, Microservices, and
Orchestrating the Whole Symphony
https://opensource.com/business/14/12/
containers-microservices-and-
orchestrating-whole-symphony
● Red Hat Experts Author The Containers Blog
http://rhelblog.redhat.com/tag/containers/
Container Enablement
“Securing Containers Before They
Take Over the World” – The Stack
https://thestack.com/security/
2016/01/21/red-hat-insider-
securing-containers-before-
they-take-over-the-world/
Container Security
Performance Tuning View CertDepot
https://www.certdepot.net/rhel7-
apply-tuning-profile-server/
Red Hat Server Tuning Profiles
Red Hat offers a nice step-by-step
guide here
https://access.redhat.com/
documentation/en-US/
Red_Hat_Enterprise_Linux/7/
html/Installation_Guide/sect-
making-usb-media.html
Need Help Burning an ISO Image to USB
• Co-founder of Linuxfest at Lotusphere/Connect
• Speaker at 40+ Lotus®/IBM® LUGs/Conferences
• Co-authored two Linux IBM Redbooks
• IBM Champion for Collaboration Solutions
2018, 2017, 2016, 2015, 2014, 2013, 2011-2012
• Linux aficionado
Quick Background
Bill Malchisky Jr.
william.malchisky@effectivesoftware.com
@billmalchisky
Skype: FairTaxBill
Blog: http://billmal.com
Follow-up — Contact Information

Mais conteúdo relacionado

Mais procurados

Bewährte Praktiken für HCL Notes/Domino-Sicherheit Teil 1: Der Notes-Client
Bewährte Praktiken für HCL Notes/Domino-Sicherheit Teil 1: Der Notes-ClientBewährte Praktiken für HCL Notes/Domino-Sicherheit Teil 1: Der Notes-Client
Bewährte Praktiken für HCL Notes/Domino-Sicherheit Teil 1: Der Notes-Client
panagenda
 

Mais procurados (20)

Auto Update(AUT) - HCL Notes
Auto Update(AUT) -  HCL NotesAuto Update(AUT) -  HCL Notes
Auto Update(AUT) - HCL Notes
 
Domino 365 DNUG 2020
Domino 365 DNUG 2020Domino 365 DNUG 2020
Domino 365 DNUG 2020
 
Planning & Completing An IBM Connections Upgrade
Planning & Completing An IBM Connections UpgradePlanning & Completing An IBM Connections Upgrade
Planning & Completing An IBM Connections Upgrade
 
MES102 - Verse on Premises 2.0 Best Practices
MES102 - Verse on Premises 2.0 Best PracticesMES102 - Verse on Premises 2.0 Best Practices
MES102 - Verse on Premises 2.0 Best Practices
 
What We Wish We Had Known: Becoming an IBM Connections Administrator
What We Wish We Had Known: Becoming an IBM Connections AdministratorWhat We Wish We Had Known: Becoming an IBM Connections Administrator
What We Wish We Had Known: Becoming an IBM Connections Administrator
 
New! getting domino current is easier than you think v5
New! getting domino current is easier than you think v5New! getting domino current is easier than you think v5
New! getting domino current is easier than you think v5
 
Domino V10 and How to Get There - IBM Think 2019
Domino V10 and How to Get There - IBM Think 2019Domino V10 and How to Get There - IBM Think 2019
Domino V10 and How to Get There - IBM Think 2019
 
HCL Sametime V11 installation - tips
HCL Sametime V11 installation - tipsHCL Sametime V11 installation - tips
HCL Sametime V11 installation - tips
 
INF107 - Integrating HCL Domino and Microsoft 365
INF107 - Integrating HCL Domino and Microsoft 365INF107 - Integrating HCL Domino and Microsoft 365
INF107 - Integrating HCL Domino and Microsoft 365
 
Deep Dive AdminP Process - Admin and Infrastructure Track at UKLUG 2012
Deep Dive AdminP Process - Admin and Infrastructure Track at UKLUG 2012Deep Dive AdminP Process - Admin and Infrastructure Track at UKLUG 2012
Deep Dive AdminP Process - Admin and Infrastructure Track at UKLUG 2012
 
HCL Sametime V11 - Step by Step
HCL Sametime V11 - Step by StepHCL Sametime V11 - Step by Step
HCL Sametime V11 - Step by Step
 
IBM Connect 2016 - 60+ in 60 - Admin Tips Power Hour
IBM Connect 2016 - 60+ in 60 - Admin Tips Power HourIBM Connect 2016 - 60+ in 60 - Admin Tips Power Hour
IBM Connect 2016 - 60+ in 60 - Admin Tips Power Hour
 
Best Practices for Installing IBM Verse on Premises
Best Practices for Installing IBM Verse on PremisesBest Practices for Installing IBM Verse on Premises
Best Practices for Installing IBM Verse on Premises
 
HCL Sametime Meetings server upgrade to V11.6
HCL Sametime Meetings server upgrade to V11.6HCL Sametime Meetings server upgrade to V11.6
HCL Sametime Meetings server upgrade to V11.6
 
HCL Sametime V11 - Step by Step v1.1 (include FP2)
HCL Sametime V11 - Step by Step v1.1 (include FP2)HCL Sametime V11 - Step by Step v1.1 (include FP2)
HCL Sametime V11 - Step by Step v1.1 (include FP2)
 
1084: Planning and Completing an IBM Connections Upgrade
 1084: Planning and Completing an IBM Connections Upgrade 1084: Planning and Completing an IBM Connections Upgrade
1084: Planning and Completing an IBM Connections Upgrade
 
Harness the power of XPages in Lotus Domino
Harness the power of XPages in Lotus DominoHarness the power of XPages in Lotus Domino
Harness the power of XPages in Lotus Domino
 
engage 2019 - 15 Domino v10 Admin features we LOVE
engage 2019 - 15 Domino v10 Admin features we LOVEengage 2019 - 15 Domino v10 Admin features we LOVE
engage 2019 - 15 Domino v10 Admin features we LOVE
 
IBM Connect 2014 BP103: Ready, Aim, Fire: Mastering the Latest in the Adminis...
IBM Connect 2014 BP103: Ready, Aim, Fire: Mastering the Latest in the Adminis...IBM Connect 2014 BP103: Ready, Aim, Fire: Mastering the Latest in the Adminis...
IBM Connect 2014 BP103: Ready, Aim, Fire: Mastering the Latest in the Adminis...
 
Bewährte Praktiken für HCL Notes/Domino-Sicherheit Teil 1: Der Notes-Client
Bewährte Praktiken für HCL Notes/Domino-Sicherheit Teil 1: Der Notes-ClientBewährte Praktiken für HCL Notes/Domino-Sicherheit Teil 1: Der Notes-Client
Bewährte Praktiken für HCL Notes/Domino-Sicherheit Teil 1: Der Notes-Client
 

Semelhante a The Domino 10 RHEL 7 Primer

Setup of EDA tools and workstation environment variables in NCTU 307 Lab. wor...
Setup of EDA tools and workstation environment variables in NCTU 307 Lab. wor...Setup of EDA tools and workstation environment variables in NCTU 307 Lab. wor...
Setup of EDA tools and workstation environment variables in NCTU 307 Lab. wor...
Michael Lee
 

Semelhante a The Domino 10 RHEL 7 Primer (20)

AIX Advanced Administration Knowledge Share
AIX Advanced Administration Knowledge ShareAIX Advanced Administration Knowledge Share
AIX Advanced Administration Knowledge Share
 
UPGRADING FROM ORACLE ENTERPRISE MANAGER 10G TO CLOUD CONTROL 12C WITH ZERO D...
UPGRADING FROM ORACLE ENTERPRISE MANAGER 10G TO CLOUD CONTROL 12C WITH ZERO D...UPGRADING FROM ORACLE ENTERPRISE MANAGER 10G TO CLOUD CONTROL 12C WITH ZERO D...
UPGRADING FROM ORACLE ENTERPRISE MANAGER 10G TO CLOUD CONTROL 12C WITH ZERO D...
 
Red Hat Linux 5 Hardening Tips - National Security Agency
Red Hat Linux 5 Hardening Tips - National Security AgencyRed Hat Linux 5 Hardening Tips - National Security Agency
Red Hat Linux 5 Hardening Tips - National Security Agency
 
SHARE.ORG Orlando 2015
SHARE.ORG Orlando 2015SHARE.ORG Orlando 2015
SHARE.ORG Orlando 2015
 
Relax-and-Recover Automated Testing
Relax-and-Recover Automated TestingRelax-and-Recover Automated Testing
Relax-and-Recover Automated Testing
 
2009-03-13 Atlanda System z Council Meeting
2009-03-13 Atlanda System z Council Meeting2009-03-13 Atlanda System z Council Meeting
2009-03-13 Atlanda System z Council Meeting
 
Powervc upgrade from_1.3.0.2_to_1.3.2.0
Powervc upgrade from_1.3.0.2_to_1.3.2.0Powervc upgrade from_1.3.0.2_to_1.3.2.0
Powervc upgrade from_1.3.0.2_to_1.3.2.0
 
LISA15: systemd, the Next-Generation Linux System Manager
LISA15: systemd, the Next-Generation Linux System Manager LISA15: systemd, the Next-Generation Linux System Manager
LISA15: systemd, the Next-Generation Linux System Manager
 
The Linux Audit Framework
The Linux Audit FrameworkThe Linux Audit Framework
The Linux Audit Framework
 
Red Hat for IBM System z Update v5
Red Hat for IBM System z Update v5Red Hat for IBM System z Update v5
Red Hat for IBM System z Update v5
 
Rac on NFS
Rac on NFSRac on NFS
Rac on NFS
 
Rhel7 vs rhel6
Rhel7 vs rhel6Rhel7 vs rhel6
Rhel7 vs rhel6
 
Linux Desktop Automation
Linux Desktop AutomationLinux Desktop Automation
Linux Desktop Automation
 
Adop and maintenance task presentation 151015
Adop and maintenance task presentation 151015Adop and maintenance task presentation 151015
Adop and maintenance task presentation 151015
 
linux installation.pdf
linux installation.pdflinux installation.pdf
linux installation.pdf
 
Inspection and maintenance tools (Linux / OpenStack)
Inspection and maintenance tools (Linux / OpenStack)Inspection and maintenance tools (Linux / OpenStack)
Inspection and maintenance tools (Linux / OpenStack)
 
How to Use EXAchk Effectively to Manage Exadata Environments
How to Use EXAchk Effectively to Manage Exadata EnvironmentsHow to Use EXAchk Effectively to Manage Exadata Environments
How to Use EXAchk Effectively to Manage Exadata Environments
 
2008-07-30 IBM Teach the Teacher (IBM T3), Red Hat Update for System z
2008-07-30 IBM Teach the Teacher (IBM T3), Red Hat Update for System z2008-07-30 IBM Teach the Teacher (IBM T3), Red Hat Update for System z
2008-07-30 IBM Teach the Teacher (IBM T3), Red Hat Update for System z
 
Oracle forms and reports 11g installation on linux
Oracle forms and reports 11g installation on linuxOracle forms and reports 11g installation on linux
Oracle forms and reports 11g installation on linux
 
Setup of EDA tools and workstation environment variables in NCTU 307 Lab. wor...
Setup of EDA tools and workstation environment variables in NCTU 307 Lab. wor...Setup of EDA tools and workstation environment variables in NCTU 307 Lab. wor...
Setup of EDA tools and workstation environment variables in NCTU 307 Lab. wor...
 

Mais de Bill Malchisky Jr.

Mais de Bill Malchisky Jr. (10)

Engage 2016 - Adm01 - Back from the Dead: When Bad Code Kills a Good Server
Engage 2016 - Adm01 - Back from the Dead: When Bad Code Kills a Good ServerEngage 2016 - Adm01 - Back from the Dead: When Bad Code Kills a Good Server
Engage 2016 - Adm01 - Back from the Dead: When Bad Code Kills a Good Server
 
Linux School: Advanced Administration for IBM Software
Linux School: Advanced Administration for IBM SoftwareLinux School: Advanced Administration for IBM Software
Linux School: Advanced Administration for IBM Software
 
Infrastructure Fitness and Design Simplicity for IBM Mobile Connect
Infrastructure Fitness and Design Simplicity for IBM Mobile ConnectInfrastructure Fitness and Design Simplicity for IBM Mobile Connect
Infrastructure Fitness and Design Simplicity for IBM Mobile Connect
 
Considering The Cloud? Thinking Beyond The Readme File
Considering The Cloud? Thinking Beyond The Readme FileConsidering The Cloud? Thinking Beyond The Readme File
Considering The Cloud? Thinking Beyond The Readme File
 
The Ultimate IBM and Lotus on Linux Workshop for Windows Admins
The Ultimate IBM and Lotus on Linux Workshop for Windows AdminsThe Ultimate IBM and Lotus on Linux Workshop for Windows Admins
The Ultimate IBM and Lotus on Linux Workshop for Windows Admins
 
Lotus on Linux Report 2010
Lotus on Linux Report 2010Lotus on Linux Report 2010
Lotus on Linux Report 2010
 
The eDiscovery Primer for Lotus Domino Admins
The eDiscovery Primer for Lotus Domino AdminsThe eDiscovery Primer for Lotus Domino Admins
The eDiscovery Primer for Lotus Domino Admins
 
Raising the ROI of IT with IBM Client for Smart Work
Raising the ROI of IT with IBM Client for Smart WorkRaising the ROI of IT with IBM Client for Smart Work
Raising the ROI of IT with IBM Client for Smart Work
 
Lowering Costs: Should We Consider Lotus On Linux?
Lowering Costs: Should We Consider Lotus On Linux?Lowering Costs: Should We Consider Lotus On Linux?
Lowering Costs: Should We Consider Lotus On Linux?
 
IamLUG -- Lotus On Linux Report
IamLUG -- Lotus On Linux ReportIamLUG -- Lotus On Linux Report
IamLUG -- Lotus On Linux Report
 

Último

Último (20)

Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 

The Domino 10 RHEL 7 Primer

  • 1. Bill Malchisky Jr. Effective Software Solutions, LLC The Domino 10 RHEL 7 Primer
  • 3. ● Introduction ● Important Insights ● Subscription Management ● Systemd ● Journald ● Containers ● A Few Upgrade Tips ● Reference Material ● Your Questions Agenda
  • 5. ● If you do anything that causes you or your company harm with what you see here, neither the presenter nor anyone connected with the conference is responsible ● But, my services are available to assist if you need help. :-) Disclaimer
  • 6. Many of the new features of RHEL 7.x are provided through open source projects Red Hat does not run Thus, they inherit the work and the changes Important Notation
  • 7. This is consistent across all versions − Handy if you are touching a box built by another admin − Or if you suspect your documentation is incorrect/incomplete Finding the Current Release (Good)
  • 8. The redhat-release file can be edited to install some third party apps, destroying accuracy Instead, doublecheck with RPM But… This is Better
  • 10. ● Domino on Docker will be built on CentOS A Linux only offering ● Release target is Oct 10, 2018 ● Support to provide best effort for CentOS A Few Useful Tidbits on Domino 10 Linux
  • 11. ● Tips and opinions for changes to file locations, filesystem sizing, memory requirements all remain under NDA—-as of this writing ● When I can discuss the details, I will update——-if needed——-my previous recommendations on filesystem partitioning for IBM software plus planning particulars Domino 10 Installation Status
  • 12. OS Version RHEL 7.4+ SLES 11 & 12 AIX 7.2 IBM i 7.2 Domino 10 Minimum OS Requirements
  • 13. ● Ext4 now supports 50TB file system size Previously, 16TB ● XFS is the default FS − Automatically assigned to / via Anaconda − Very difficult to resize an XFS filesystem − Best for partitions > 50TB; up to 500TB ● The directories /bin, /sbin, /lib, and /lib64 are now nested under /usr. Filesystem Changes in RHEL 7
  • 14. Red Hat offers Preupgrade Assistant − Assesses the current system − Provides list of potential issues “An in-place upgrade requires a lot of troubleshooting and planning and should only be done if there is no other choice.” --RHEL 7 Installation Guide, Chapter 3, “Planning for Installation...” In-place Upgrade vs. Clean Install
  • 15. In case the last slide wasn't clear... go clean! preupgrade-assistant risk check found EXTREME risks for this upgrade. Run preupg --riskcheck --verbose to view these risks. Continuing with this upgrade is not recommended. In-place Upgrade vs. Clean Install (2)
  • 17. Red Hat security keys import prompt Update — Checkpoint
  • 18. Success After — Verify the new release version Update — Final Status
  • 19. RHEL7 provides new terminology to better capture what technology offers Old Term New Term Runlevels Target units Tasks Units init scripts Systemd service units Updated Linux Lexicon
  • 20. Good News on Transitioning To ease into the new terminology and system commands, systemd will accept ——-for now——-the RHEL6 command set Examples: 1. service 2.chkconfig 3. runlevel 4.init # chkconfig cups on Note: Forwarding request to 'systemctl enable cups.service'. Source: “Overview of systemd for RHEL 7” https://access.redhat.com/articles/754933
  • 21. ● RHEL7 utilizes firewalld ● New Dynamic Firewall ● Project homepage: http://www.firewalld.org/ ● Beginners Guide https://www.certdepot.net/rhel7-get- started-firewalld/ ● Red Hat's Thomas Woerner's Training Video https://www.youtube.com/watch? v=XhwvT05Puhs Security Changes: Bye, Bye iptables
  • 22. ● “Why am I having network problems after firewalld is restarted?” https://success.docker.com/article/why-am- i-having-network-problems-after-firewalld- is-restarted ● With systemd, firewalld starts before Docker ● “If you start or restart firewalld after Docker, you need to restart the Docker daemon to enable the iptables rules again.” Docker Conflict with firewalld & systemd
  • 23. Firewalld can be disabled for iptables − CertDepot has an article with the full command set to install iptables, enable it, and disable the firewalld unit − https://www.certdepot.net/rhel7-disable- firewalld-use-iptables/ Falling Back to iptables
  • 24. If “rescue” appears on kernel command line, system automatically enters rescue mode (rescue.target or runlevel 1) Remember — New Boot Behavior
  • 25. • Check overall system state #systemctl is-system-running • List installed timer units with elapse next #systemctl list-timers • Display unit's original unit file to display full configuration #systemctl cat {unit_pattern} Useful Commands in systemd 219
  • 26. Source: systemctl man page Help — systemctl Output Table systemctl is-system-running command states
  • 27. ● RHEL 7.4 https://access.redhat.com/documentation/ en-us/red_hat_enterprise_linux/7/html/ 7.4_release_notes/ ● RHEL 7.5 https://access.redhat.com/documentation/ en-us/red_hat_enterprise_linux/7/html/ 7.5_release_notes/ New RHEL Changes Full major feature list for the two most recent releases
  • 28. A few thousand lines of files displayed Running the update command (Future reference) Checking for any available security updates How to Install Just the Security Updates
  • 29. ● RH Technote https://access.redhat.com/security/ vulnerabilities/2679271 ● Affected Red Hat Products impacted: − RHEL 7.2, 7.3 for CVE-2016-7795 − RHEL 7.0, 7.1 for CVE-2016-7796 Another Reason to Update to RHEL 7.4 • Systemd — Denial of Service Vulnerability
  • 31. A few useful commands: list, status, attach Red Hat transitioned to Red Hat Subscription Management (RHSM) for all Red Hat products July 31st, 2017 Subscription Management Creates Simplicity
  • 32. ● Basic Registration with or without parameters #subscription-manager register --username <username> --password <password> ● List all available subscriptions #subscription-manager list --available –all ● Attach to appropriate subscription − #subscription-manager attach –-auto OR − #subscription-manager attach –pool=<poolID> Three Fundamental RHSM Commands
  • 33. List all available subscriptions [root@server1 ~]# subscription-manager list --available +-------------------------------------------+ Available Subscriptions +-------------------------------------------+ ProductName: RHEL for Physical Servers ProductId: MKT-rhel-server PoolId: ff8080812bc382e3012bc3845ca000cb Quantity: 10 Expires: 2011-09-20 Footnote: Output provided via the Red Hat Subscription Manual, Section 4.3.1 “How Do I Find My Pool ID?”
  • 34. Two key directory paths where confirmation information is stored: − /etc/pki/{consumer, entitlement, product}/*.pem − /etc/rhsm/{rhsm.conf, facts/} Key RHSM Directories
  • 35. Red Hat provides three convenient ways to attach your server to a subscription certificate kickstartfirstboot Manually run RHSM Red Hat Subscription Registration Registering Your New Server Three Ways
  • 36. Subscription Manage Full Command Set 1-2 Primary modules
  • 37. Subscription Manage Full Command Set 2-2 Other modules
  • 38. Relevancy: post version 1.1.9-1, attach supersedes the now deprecated subscribe Determining the RHSM Version
  • 39. • Access via -h or –-help • Attach and Register offer the most options Subscription Manager Notation — Help Primary Subscription Manager commands provide sub-commands
  • 40. Powerful option: attach's -–quantity command − Allows assignment for multiple subscriptions to cover multi-socket servers − [root@server1 ~]# subscription-manager attach --pool=XYZ01234567 –-quantity=2 Footnote: Output provided via the Red Hat Subscription Manual, Section 4.4 Handling Multiple Socket Servers
  • 41. • Two Quick Use Cases 1. Sans Internet access, you are unable to access Red Hat's subscription server 2. Allocate a license before installation • Solution Easy, with import − Get subscription file (.pem) via Customer Portal − Run this command: − # subscription-manager import --certificate {/path/to/ file.pem} – # subscription-manager import --certificate=/root/certs/ 607687452896356798.pem – Successfully imported certificate 607687452896356798.pem My (Pre-Prod) Server is Not Online Yet
  • 42. Recycling Subscriptions is easy – ensure you use the correct method − Remove expunges the subscribed certificate(s) assigned to the system, BUT keeps it registered with RHSM − Unregister removes and deletes the system's registration record Removal vs. Unregister
  • 43. ● Each registered product provides an identifying X.509 certificate /etc/pki/entitlement/<serial_number>.pem ● To remove a product's subscription, use the above certificate(s)' respective serial number(s) If a product's serial number is “527”, then: − #subscription-manager remove –-serial=527 − #subscription-manager remove –-all Precise Removal
  • 44. ● #subscription-manager list No installed products to list ● Check to ensure /etc/pki/product-default has a respective .pem file ● Ensure file permissions of 644 are set, with root:root Error: “No Installed Products Found” • You can also verify the RHSM log file: /var/log/rhsm/rhsm.log
  • 45. One of the best methods to learn about RHSM is to RTFM $man subscription-manager Finally, to Acquire Additional Information
  • 47. Creating systemd Jargon Lucidity Name Function systemd The system and service manager Controls start, stop, and management of services Collection of daemons, utilities, targets, libraries, and core programs Grown to be much more than an init service systemdctl Command to query/manage systemd actions
  • 48. ● Is backwards compatible with SysV init scripts ● On-demand daemon activation ● System state snapshots ● Never loses initial log messages ● Kills all service components cleanly ● Server boots faster − Uses fewer scripts − Increased task (unit) parallelization • Requires more reboots for patch installation than previously “What Does systemd Do For Me?”
  • 49. ● Systemd uses binary log files ● Binary logs can become corrupted Cases of/references to systemd log corruption found online ● Backup the systemd Journal frequently to avoid pain later Safety Tip
  • 50. Path Provides /etc/systemd Global systemd configuration /etc/systemd/system/ Systemd unit files created by systemctl enable, plus administrator created and managed units Supersedes runtime units (/run/ systemd/system) /run/systemd/system/ Systemd units created at runtime /usr/lib/systemd/system Service configuration files /etc/systemd/system Custom service configuration files /usr/lib/systemd/system/ RPM packages' distributed units Systemd’s Distributed File Locations
  • 51. Command Provides # systemctl --version Systemd version # systemctl start sshd Start a service # systemctl stop sshd Stop a service # systemctl {enable, disable} sshd Enable/disable a service at boot # systemctl status sshd Display current sevice status # systemctl status --all Display status for all status Note: You can also include the .service extension above Use systemctl for System Interactions Basic command set for systemctl
  • 52. Command Provides # systemd-analyze Startup/boot-up duration # systemd-analyze critical- chain [<app>.service] | [unit.target] Linked list of boot-time tasks & times; examples - service = rcdomino.service target = basic.target # systemd-analyze dump Provides long human-readable serialization of boot process Advanced Analysis Queries Basic command set for systemd-analyze
  • 54. The previous slide's robust table provided via: RHEL 7 System Administration Guide, Table 8.1 https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/ html/System_Administrators_Guide/chap- Managing_Services_with_systemd.html#tabl-Managing_Services_with_systemd- Introduction-Units-Types Available systemd Unit Types — Attribution
  • 55. Use the following command: #systemctl Displaying Currently Active Units
  • 56. It’s a long list. Here is the concluding output Displaying Currently Active Units (2)
  • 57. Use the following command: #systemctl list-unit-files Determining Installed Units Note: systemctl command output now pipes into more
  • 58. “You thought that was fast? I thought it was fast. Well was it?” —Annabelle in Maverick RHEL 7.2 RHEL 7.5 Boot Process Time Check
  • 59. Note: Some output can provide a false positive as time may be dependent upon socket activation and unit parallel execution Boot Process Critical-Chain Time Check
  • 61. Source: https://access.redhat.com/solutions/2142121 Set Default # systemctl set-default <desired>.target In real-time systemctl isolate [multi-user.target | graphical.target] Changing Runlevel Targets via systemd
  • 62. Journal — The system event log file
  • 63. Creating Journal Jargon Lucidity Name Function Journal New systemd log file journald The Journal service (daemon) journalctl Tool allowing access to the Journal logs
  • 64. • Systemd manages the RHEL7 system log through the Journal component − Written via systemd-journald.service − Run #journalctl • Notations − Listed time stamps converted to local time zone of your system − Beginning of a boot is tagged for parsing − Color coded fonts for errors, warning, and notices Searching the systemd Journal
  • 65. ● Print recent sshd entries, refresh as written #journalctl `which sshd` -f ● Print most recent 100 lines #journalctl -n 100 ● Reverse display order #journalctl -r ● List time-based subset − #journalctl --since=yesterday − From previous boot: #journalctl -b Only helpful if just recently booted Useful Journald Query Commands
  • 66. ● Display recent boots #journalctl -–list-boots ● Display all messages for current user or system − #journalctl –-user − #journalctl --system Useful Journald Query Commands (2)
  • 67. ● Filter by priority − #journalctl -p {emerg, alert, crit, err, warning, notice, info, debug} − #journalctl -p crit ● Filter by (output) forms #journalctl -o {14 values}; eg. verbose, export, json ● Filter by log fields: $man system.journal-fields for a list − #journalctl -F {fieldname} − #journalctl fieldname={value} ● Combine queries for surgical precision #journalctl —p warning --since=“2018-7-25 01:00:00” ● Live feed - last ten lines in real-time #journalctl -f Useful Journald Query Commands (3)
  • 68. ● Data stored in /run/log/journal But are purged after each reboot ● If permanency is desired – one way is below: − #mkdir /var/log/journal − #echo “SystemMaxUse=75M” >> /etc/systemd/ journald.conf ● Append the parameter to the journald.conf file ● You could use vi as well to append the line − #systemctl restart systemd-journald Journal Useful Tips
  • 69. Journald provides a simple command: #journalctl –-disk-usage Let’s See How Big the Journal Is
  • 71. ● CollabSphere contains great content via its sessions ● Two such cases discuss Docker Containers 1. IS101 - Adopt Domino running in Docker Containers by Slobodan Lohja 2. IS102 - An Introduction to Configuring Domino for Docker by Gabriella Davis ● Thus, this section provides an OS level taste Stating the Section’s Scope
  • 72. What are they? Source: “What are Linux containers?”, Red Hat site article https://www.redhat.com/en/insights/containers Linux® containers keep applications and their runtime components together by combining lightweight application isolation with an image-based deployment method. Containers package applications with the files on which they depend. This reduces the friction between development and operations, simplifies application deployment, and accelerates delivery cycles—allowing you to deliver value to customers faster. Containers Conundrum
  • 73. Let’s Get Visual Source: “What are Linux containers?”, Red Hat site article https://www.redhat.com/en/insights/containers
  • 74. Collaborate Compose Modernize Dev and Ops get apps in prod faster Enables microservices deployment and recycling Avoid maintaining physical environments with traditional applications Mobile, Social, Web, Cloud All make good deployment candidates Three Ways Containers Can Help Admins Source: “What are Linux containers?”, Red Hat site article https://www.redhat.com/en/insights/containers
  • 75. Just because an application is contained, does not imply it is secure... “Security is just as important Inside a container as it is anywhere else in your Infrastructure.” --Josh Bressers Red Hat Security Strategist Source: “What are Linux containers?”, Red Hat site article https://www.redhat.com/en/insights/containers Security is of the Utmost Importance
  • 76. ● Buildah – fully supported now Simplifies Docker container image creation ● OverlayFS: Docker container storage default ● Kubernetes RPMs, container images, plus docker-latest package deprecated See Red Hat OpenShift for full support Footnotes: Red Hat – https://rhelblog.redhat.com/2018/04/10/container-related-changes-in-red-hat- enterprise-linux-7-5/ https://www.redhat.com/en/resources/The-Business-Value-of-Red-Hat-OpenShift There Are Container Changes in RHEL 7.5
  • 78. ● RHEL6+ you are required to create a user with firstboot ● User attributes are minimized ● Solution: create an ephemeral account ● Login as root ● Create new accounts properly ● Expunge the ephemeral account Mandatory User Account Creation at Install
  • 79. Use findmnt to locate a new filesystem ● e.g. USB drive, second HDD ● $findmnt Finding Mounted Hardware
  • 80. ● Primary vendor documentation http://partnerweb.vmware.com/GOSIG/ RHEL_7.html ● VMware Knowledge Base articles on RHEL7 https://kb.vmware.com/s/global-search/ %40uri#q=%22rhel%207%22&sort=relevancy VMware Tips
  • 81. Become Even Smarter Through Reading Reference Material
  • 82. ● Understanding Linux Filesystems: ext4 and Beyond https://opensource.com/article/ 18/4/ext4-filesystem ● XFS and Other File Systems in Red Hat Enterprise Linux 7 https://access.redhat.com/articles/ 796293 Understanding Linux Filesystems: ext4 and Beyond
  • 83. ● Migration from EXT4 to XFS https://access.redhat.com/documentation/en-us/ red_hat_enterprise_linux/7/html/ storage_administration_guide/migrating-ext4- xfs#differences-ext4-xfs ● Appendix E. Reference Table for ext4 and XFS Commands https://access.redhat.com/documentation/en-us/ red_hat_enterprise_linux/7/html/ installation_guide/appe-ext4-to-xfs-command- reference Understanding Linux Filesystems: ext4 and Beyond (2)
  • 84. “New Red Hat Enterprise Linux 7 Security Feature: systemd-journald” https://access.redhat.com/blogs/ 766093/posts/1976263 Security: systemd-journald vs. syslog
  • 85. systemd Cheat Sheet for Red Hat Enterprise Linux 7 https://access.redhat.com/ articles/systemd-cheat-sheet A Great systemd Command Reference
  • 86. ● Containers, Microservices, and Orchestrating the Whole Symphony https://opensource.com/business/14/12/ containers-microservices-and- orchestrating-whole-symphony ● Red Hat Experts Author The Containers Blog http://rhelblog.redhat.com/tag/containers/ Container Enablement
  • 87. “Securing Containers Before They Take Over the World” – The Stack https://thestack.com/security/ 2016/01/21/red-hat-insider- securing-containers-before- they-take-over-the-world/ Container Security
  • 88. Performance Tuning View CertDepot https://www.certdepot.net/rhel7- apply-tuning-profile-server/ Red Hat Server Tuning Profiles
  • 89. Red Hat offers a nice step-by-step guide here https://access.redhat.com/ documentation/en-US/ Red_Hat_Enterprise_Linux/7/ html/Installation_Guide/sect- making-usb-media.html Need Help Burning an ISO Image to USB
  • 90. • Co-founder of Linuxfest at Lotusphere/Connect • Speaker at 40+ Lotus®/IBM® LUGs/Conferences • Co-authored two Linux IBM Redbooks • IBM Champion for Collaboration Solutions 2018, 2017, 2016, 2015, 2014, 2013, 2011-2012 • Linux aficionado Quick Background
  • 91. Bill Malchisky Jr. william.malchisky@effectivesoftware.com @billmalchisky Skype: FairTaxBill Blog: http://billmal.com Follow-up — Contact Information