Course Overview

AIX Korn Shell Programming Course Overview

IBM AIX Korn Shell Programming training course is designed to give delegates practical experience in developing and writing shell scripts. Most of the built-in shell commands are introduced together with the main program control structures. The course also gives practical experience using a range of IBM AIX tools to manipulate text and incorporate into AIX shell scripts.

Exercises and examples are used throughout the course to give practical hands-on experience with the techniques covered.

Course Objectives

To provide the skills needed to develop and customise shell programs and to make effective use of a wide range of standard AIX programming and development tools.

Course Content

AIX Korn Shell Programming Training Course

Course Contents – DAY 1

Course Introduction

  • Administration and Course Materials
  • Course Structure and Agenda
  • Delegate and Trainer Introductions

Session 1: UNIX COMMAND REVIEW

  • Basic Unix commands
  • General commands
  • File and directory handling commands
  • Filename generation characters
  • I/O Redirection features
  • Other commands

Session 2: GETTING STARTED

  • What is a shell script?
  • Development guidelines
  • Creating and editing shell scripts
  • Naming and storing shell scripts
  • Executing shell scripts
  • Exercise: Write a simple shell script

Session 3: USING VARIABLES

  • Environment variables
  • Local variables
  • Assigning values to variables
  • Assessing variable values
  • Using quotes
  • Delimiting variable names
  • Echo control sequences
  • Exercise: Add variables to a script

Session 4: INTEGER ARITHMETIC

  • Using the expr command
  • Using the (( )) notation
  • Exercises: Add integer arithmetic to a shell script

Session 5: HANDLING RUN TIME DATA

  • The read command
  • Command line arguments
  • Exercise: Writing a generic shell script
  • Exercise: Writing an interactive shell script

Session 6: CONDITIONAL EXECUTION

  • The if statement
  • The test command
  • Exercise: Adding validation to previous scripts

Session 7: ADDITIONAL KORN,BASH & POSIX SYNTAX

  • Other test notations
  • Default and substitute variables
  • Exit status codes
  • Exercise

AIX Korn Shell Programming Training Course

Course Contents – DAY 2

Session 8: LOOP CONSTRUCTS

  • The while loop
  • The until loop
  • The for loop
  • The while true and until false loops
  • Loop control commands
  • Exercise: Enhancing the previously written scripts
  • Exercise: Writing a script to copy files using a ‘for’ loop
  • Exercise: Writing a script to generate numbers with the ‘while’ loop

Session 9: MULTI-BRANCH DECISIONS

  • The case statement
  • Menu driven applications
  • Exercise: Developing and writing a menu system

Session 10: SCRIPTING WITH AWK

  • Fundamentals of AWK
  • Basic AWK scripts
  • AWK within Bash constructs
  • Exercise: AWK scripts

Session 11: FUNCTIONS

  • What is a function?
  • Syntax
  • Examples
  • Creating a Function Library
  • Exercise: Add a function to a script

Session 12: INTERRUPT HANDLING

  • Interrupt signals
  • Trapping interrupts
  • Exercise: Adding traps to the menu script

Appendix A: ADDITIONAL FEATURES AND FACILITIES

  • The exec commands
  • The includes notation
  • More about loops
  • Arrays

Appendix B: VIM QUICK REFERENCE

Appendix C: UNIX COMMANDS QUICK REFERENCE

Appendix D: ADDITIONAL EXERCISES

AIX Korn Shell Programming Training Course

Course Contents – DAY 3

Session 13: BACKUP AND RESTORE UTILITIES

  • Backing-up and restoring files
  • Basic and advanced use of tar
  • Compression utilities gzip,bzip2,zip and compress
  • Exercise: Backing up and restoring files using tar
  • Exercises: Compressing files

Session 14: BACKGROUND JOB SCHEDULING

  • Scheduling jobs with the cron command
  • Scheduling jobs with the at command
  • Exercises: Running background jobs

Session 15: COMMANDS FOR COMPARING FILES

  • Compare files with the cmp command
  • Compare and format files with pr
  • Compare files with the comm command
  • Compare files with the diff and sdiff commands
  • Compare large files with the bdiff command
  • Exercises: Identifying file differences

Session 16: SPLITTING FILES

  • The fold command
  • Split files using context and content rules
  • Exercises: Splitting files

AIX Korn Shell Programming Training Course

Course Contents – DAY 4

Session 17: IDENTIFYING AND TRANSLATING CHARACTERS

  • od – octal dump
  • Use cat to display non-printing characters
  • View and format files with nl
  • The expand and unexpand commands to convert between tab and space characters
  • The tr command for character translation
  • Exercises: Translating characters with tr

Session 18: REGULAR EXPRESSION NOTATION REVIEW

  • Standard regular expressions
  • Searching with grep
  • Metacharacters,positional characters and quantifiers
  • Extended regular expressions
  • POSIX character classes
  • PERL expressions

Session 19: THE STREAM EDITOR sed

  • sed command line syntax
  • sed script files
  • sed command processing
  • sed addresses and simple instructions
  • sed pattern space and hold space
  • Grouping sed commands
  • Hold and get functions
  • Advanced flow control
  • Write output to temporary files
  • Exercises: Text processing with sed

Session 20: FUNDAMENTALS OF AWK

  • Basic AWK usage
  • AWK program-files
  • AWK scripts
  • AWK variables
  • Pattern matching with AWK
  • AWK extended patterns

Session 21: AWK OPERATORS

  • AWK operators
  • AWK arithmetic operations
  • AWK output
  • Formatting output with printf
  • Exercises: Create awk scripts to extract selected data from a file and generate reports

AIX Korn Shell Programming Training Course

Course Contents – DAY 5

Session 22: AWK PROGRAM CONTROL STRUCTURES

  • The BEGIN and END functions
  • The AWK if construct
  • The AWK else if construct
  • The AWK while construct
  • Other program control statements
  • The AWK break,continue and exit statements
  • User defined functions
  • Exercises: Create AWK scripts and program-files utilising program control structures

Session 23: AWK FUNCTIONS

  • AWK string functions
  • AWK length,tolower,toupper,index,sub,gsub,match,substr,split,sprintf,system and getline functions
  • Exercises: Generate AWK scripts and program-files to extract and format data using AWK functions

Session 24: AWK ARRAYS

  • AWK associative arrays
  • Multi-dimensional arrays
  • Exercises: Create AWK associative arrays to process text files and generate reports

Session 25: MISCELLANEOUS TOOLS

  • bc (calculator)
  • fuser (testing for files in use)
  • getops (checking options passed to shell scripts)
  • printf (formatting screen output)
  • logger (script logging)
  • xargs (generating arguments for a command)
  • eval (re-evaluating variables)
  • Exercises: Using tools within a shell script

Course Overview

AIX Jumpstart for UNIX/Linux Professionals Course Overview

This IBM AIX Jumpstart for Experienced UNIX/Linux Administrators training course is targeted at cross-training experienced HP-UX,SUN Solaris and other UNIX Administrators who wish to implement and manage systems capable of running the AIX Operating System. Students attending this course should therefore have a good understanding and experience of managing and running UNIX like systems.

Reference will be made to the AIX commands required to administer the system,although practical work will concentrate on using the System Management Interface Tool (SMIT) to achieve the course objectives. Although the course is based on AIX Version 7.1,it is also appropriate for prior releases of AIX.

Exercises and examples are used throughout the course to give practical hands-on experience with the techniques covered.

Course Objectives

On completion of the AIX Jumpstart for UNIX/Linux Professionals course the delegate will have practical experience of the Systems Management Interface Tool (SMIT),allowing them to administer an AIX System.

Course Content

AIX Jumpstart for UNIX/Linux Professionals Training Course

Course Contents – DAY 1

Course Introduction

  • Administration and Course Materials
  • Course Structure and Agenda
  • Delegate and Trainer Introductions

Session 1: INTRODUCTION TO THE P-SERIES

  • The P-SERIES Product Line
  • RISC Technology
  • P-Series Product Range For The Power6
  • P-Series Product Range For The Power7
  • Hardware Management Console
  • The AIX Operating System

Session 2: SYSTEM MANAGEMENT TOOLS

  • System Management Commands
  • Using SMIT
  • SMIT Special Characters and Keys
  • Smit.log and smit.script Files
  • The smit Command
  • IBM Systems Director Console
  • Web Based System Manager
  • Exercise: Remotely connect to a host using WSM

Session 3: STARTUP AND SHUTDOWN

  • The /etc/init Procedure
  • Startup Modes
  • The /etc/inittab File and the rc Startup Scripts
  • Inittab Commands
  • Using the alog Program
  • System Resource Controller Commands
  • The /etc/shutdown Script
  • Exercise: Start and stop processes using SMC

Session 4: SOFTWARE INSTALLATION AND MAINTENANCE

  • Units of Installation
  • Filesets,Packages and Licensed Program Products
  • Bundles
  • Update and Maintenance Bundles
  • Software States
  • Installing Patches and Fixes
  • Exercise: Install,enquire and remove software

Session 5: DEVICE

  • Introduction to the Object Data Manager (ODM)
  • Listing Devices
  • Interpreting Location Codes
  • Self-configuring Devices
  • Adding,Changing and Removing Devices
  • Exercise: Add and remove devices using the command line and smit

AIX Jumpstart for UNIX/Linux Professionals Training Course

Course Contents – DAY 2

Session 6: THE LOGICAL VOLUME MANAGER

  • The AIX Approach to Disk Storage
  • Volume Groups,Physical Volumes and Logical Volumes
  • Volume Group Descriptor Areas
  • Mirroring
  • Striping
  • Disk Placement Policies
  • Migrating Physical Volume Data
  • Useful Commands
  • Exercise: Creating,Extending and Mirroring a Logical Volume

Session 7: AIX FILESYSTEMS

  • The AIX Native File System
  • Superblocks and I-nodes
  • Journaling of File System Data
  • Creating a File System
  • Mounting of Filesystems
  • Managing Filesystems
  • The /etc/filesystems File
  • Removing Filesystems
  • Using the fsck Command
  • Exercise: Creating,Extending and Removing a Filesystem

Session 8: BACKUP AND RESTORE

  • Backup Devices
  • mksysb and savevg Commands
  • The backup Command
  • The restore Command
  • Tape Control Commands
  • Exercise: Use of Backup And Restore,including mksysb

AIX Jumpstart for UNIX/Linux Professionals Training Course

Course Contents – DAY 3

Session 9: OBJECT DATA MANAGER

  • ODM Components and Commands
  • Object Classes
  • Descriptor Information
  • Objects
  • Searching The ODM
  • The ODM Database
  • Data Base File Names
  • ODM File Locations
  • cfgmgr And The ODM
  • The Predefined Database Files
  • Predefined Devices
  • Predefined Attributes
  • Customised Devices
  • Customised Attributes
  • ODM Class Usage
  • Additional Device Object Classes
  • Predefined Connection
  • Customised Dependency
  • Customised Device Driver
  • Customised Vital Product Data
  • Exercise: Add a device by manipulating the ODM

Session 10: PROBLEM SOLVING TOOLS

  • Error Log Facility
  • Error Log Input Components
  • Error Reporting from SMIT
  • The errpt Command
  • Sample Summary/Intermediate/Detailed Report Output
  • Interpreting LVM Error Log Entries
  • Error Log Maintenance
  • Error Notification Facility
  • Notification Methods
  • The syslogd Daemon

Session 11: SYSTEM INITIALISATION

  • System Startup and The Boot Process
  • The Bootlist and BLV
  • The Boot Logical Volume
  • Repairing the BLV
  • Using Bootlists
  • Boot Problems
  • Service Processors
  • Accessing A System That Will Not Boot Normally
  • Accessing A Volume Group And Starting A Shell
  • Accessing A Volume Group Without Mounting Filesystems
  • The LED Display
  • Interpreting Flashing LED Codes
  • Location Codes
  • Understanding SCSI Addressing
  • Maintaining Firmware Levels
  • AIX Initialisation
  • The Three RC Boot Phases
  • More about the cfgmgr
  • Boot Problem Management
  • Exercise: Destroy the BLV and then re-create a new BLV

AIX Jumpstart for UNIX/Linux Professionals Training Course

Course Contents – DAY 4

Session 12: LVM SYSTEM DATA AND RECOVERY

  • LVN System Data
  • LVM Identifiers
  • LVM Data on Disk Control Blocks
  • Other LVM Locations
  • How the LVM uses the ODM
  • Physical Volumes and the ODM
  • Volume Groups and the ODM
  • Logical Volumes and the ODM
  • LVM Problems in the ODM
  • Re-synchronizing the ODM
  • VGDA and Quorum
  • Forcing a varyonDisk Replacement Techniques
  • Possible Errors After Disk Replacement
  • Exporting and Importing Volume Groups
  • Exercise: Mirror a whole disk and recover a corrupt Logical Volume

Session 13: ALTERNATE DISK INSTALLATION

  • Alternate Disk Installation
  • Installing a mksysb Image On Another Disk
  • Cloning the Running rootvg to Another Disk
  • Removing an Alternate Disk Installation
  • Exercise: Clone the roovg and remove the Alternate Disk Installation

AIX Jumpstart for UNIX/Linux Professionals Training Course

Course Contents – DAY 5

Session 14: BASIC NETWORKING

  • Define TCP/IP Terminology
  • Define Routing (Static and Dynamic)
  • TCP/IP Commands and Utilities
  • Configure TCP/IP for a Network Interface
  • Configure a Static Route
  • Test Network Connectivity
  • Test Route Connectivity
  • Basic TCP/IP Applications
  • Exercise: Configure TCP/IP
  • Exercise: Use TCP/IP Commands to:
    • Login to a Remote System
    • Transfer Files To/From a Remote System

Session 15: AIX INSTALLATION

  • Installation for Classical and PCI Models
  • Console and Language Definitions
  • Other Installation Settings
  • Configuration Assistant Menu

AIX Jumpstart for UNIX/Linux Professionals Training Course

Addendum: Reference Materials (Sections below are provided within the course handbook for additional reading)

Session 16: Appendix A

  • AIX TECHNOLOGY LEVELS AND SERVICE PACKS

Session 17: Appendix B

  • LOGICAL VOLUME SPREADING

Session 18: Appendix C

  • AIX MULTIBOS

Session 19: Appendix D

  • AIX INTRODUCTION TO NIM

Course Overview

Provide focused training for experienced UNIX administrators on how to install, customize, and administer the AIX operating system in a multiuser IBM Power server partitioned environment. The course is based on AIX 7.3 running on a Power system managed by Hardware Management Console version 10 and provides practical discussions that are appropriate to earlier AIX releases.

Virtual Learning

This interactive training can be taken from any location, your office or home and is delivered by a trainer. This training does not have any delegates in the class with the instructor, since all delegates are virtually connected. Virtual delegates do not travel to this course, Global Knowledge will send you all the information needed before the start of the course and you can test the logins.

Course Objectives

  • Install the AIX operating system, filesets, and RedHat Package Manager (RPM) packages
  • Perform system startup and shutdown
  • Discuss and use system management tools such as System Management Interface Tool (SMIT) and IBM Systems Director console for AIX
  • Manage physical and logical devicesDiscuss the purpose of the logical volume manager
  • Perform logical volume and file system managementPerform and restore system backups
  • Use the AIX error log and RMC as tools in problem determination
  • Configure Transmission Control Protocol/Internet Protocol (TCP/IP) networking 

Course Content

Day 1

  • Welcome
  • Unit 1: Introduction to AIX and IBM Power servers
  • Exercise 1: Introduction to AIX and IBM Power servers
  • Unit 2: AIX system management tools
  • Exercise 2: Using system management tools in AIX
  • Unit 3: AIX software installation and maintenance
  • Exercise 3: AIX software installation and maintenance
  • Unit 4: System configuration and devices
  • Exercise 4: System configuration and devices

Day 2

  • Unit 5: TCP/IP networking
  • Exercise 5: TCP/IP implementation
  • Unit 6: System startup and shutdown
  • Exercise 6: System startup and shutdown
  • Unit 7: Basics of configuring logical partitions
  • Exercise 7: Configuring logical partitions
  • Unit 8: AIX installation
  • Exercise 8: AIX installation
  • Unit 9: Working with the Logical Volume Manager

Day 3

  • Exercise 9: Working with LVM
  • Unit 10: File systems administration
  • Exercise 10: File systems administration
  • Unit 11: The Object Data Manager
  • Exercise 11: The Object Data Manager
  • Unit 12: LVM metadata
  • Exercise 12: LVM metadata issues
  • Unit 13: Disk management procedures
  • Exercise 13: Disk management procedures

Day 4

  • Unit 14: Backup and restore
  • Exercise 14: Backup and restore
  • Unit 15: Error monitoring
  • Exercise 15: Error monitoring
  • Unit 16: System initialization – I
  • Exercise 16: System initialization – I (Parts 1-3)

Day 5

  • Exercise 16: System initialization – I (Part 4)
  • Unit 17: System initialization – II
  • Exercise 17: System initialization – II
  • Unit 18: The AIX system dump facility
  • Exercise 18: System dump
  • Unit 19, Advanced install techniques Topic 1: Alternate disk installation
  • Exercise 19, Advanced install techniques Topic 1: Alternate Disk
  • Unit 19, Advanced install techniques Topic 2: Using multibos
  • Exercise 19: Advanced install techniques Topic 2: multibos
  • Optional Appendix A: Survey of additional AIX facilities
  • Optional Appendix B: Printers and queues

Course Overview

AIX Fundamentals Course Overview

IBM AIX Operating System and Korn Shell Programming training course introduces the delegate to the main concepts of the AIX Operating System. The most commonly used commands are described in detail as are the command line wildcard and redirection facilities. The mechanisms by which a user acquires a login environment are discussed and the main features of the Korn/Posix/Bash Shells are introduced.

It is designed to give delegates practical experience in developing and writing shellscripts. Most of the built-in shell commands are introduced together with the main program control structures.

Similarly,the course is targeted to closely follow the official IBM AIX curriculum for certification.

Exercises and examples are used throughout the course to give practical hands-on experience with the techniques covered.

Course Objectives

To provide the skills needed to work productively in an IBM AIX environment to develop and customise shell programs.

Course Content

AIX Fundamentals Training Course

Course Contents – DAY 1

Course Introduction

  • Administration and Course Materials
  • Course Structure and Agenda
  • Delegate and Trainer Introductions

Session 1: INTRODUCTION TO THE AIX OPERATING SYSTEM

  • A brief history of UNIX / Linux
  • The UNIX / Linux kernel
  • The UNIX / Linux file system structure
  • File and directory management commands
  • Absolute vs Relative Pathnames
  • Further basic commands
  • Exercise: Navigating the file system

Session 2: BASIC COMMANDS

  • Command line syntax
  • Basic file handling commands
  • Basic Directory handling commands
  • Filename wildcard characters
  • Using commands with logical AND and OR
  • Sequential command execution
  • Exercise: Manipulating files and directories

Session 3: REDIRECTION AND PIPES

  • Input and Output redirection
  • Redirecting errors
  • Piping commands
  • Exercise: Using redirection and pipe facilities

AIX Fundamentals Training Course

Course Contents – DAY 2

Session 4: INTRODUCTION TO THE vi/Vim EDITOR

  • Overview of the vi/Vim editor
  • The language of vi
  • Undoing and Redoing changes
  • Input Mode and Last Line Mode
  • Further vi functions
  • Executing commands within vi / Vim
  • Customising the vi / Vim Environment
  • Getting Help
  • Exercises: Using the vi editor

Session 5: SEARCHING AND REPLACING TEXT

  • Searching and replacing text using the vi/Vim editor
  • Using regular expressions (regex)
  • Using sed for search and replace
  • Searching for text with grep,egrep and fgrep
  • Exercises: Searching and Replacing Text

Session 6: RECALLING AND EDITING COMMANDS

  • Overview
  • The bash shell
  • The korn shell
  • Exercises: Recall and Edit Commands

Session 7: FILE PERMISSIONS AND ACCESS CONTROL

  • Users and user groups
  • File access permissions
  • Changing file attributes
  • Switching users and user groups
  • Linking files
  • Exercise: Setting and access permissions

AIX Fundamentals Training Course

Course Contents – DAY 3

Session 8: FILTERING AND FORMATTING TEXT

  • Overview
  • The paste command
  • The cut command
  • An introduction to awk
  • The nl command
  • Exercises: Filtering Text

Session 9: PROCESSES

  • What is a process?
  • Monitoring processes
  • Killing processes
  • Background processes
  • Job Control
  • Grouping commands
  • Exercise: Monitoring and controlling processes

Session 10: THE USER ENVIRONMENT

  • Customising the .profile or .bash_profile
  • Customising the .kshrc or .bashrc
  • Exercise: Setting up an environment

Session 11: MORE BASIC COMMANDS

  • The find command
  • Using xargs command
  • Using the locate command
  • The df command
  • The cut command
  • The sort command
  • Finding duplicate content
  • Number sequencing
  • Exercise: More Basic Commands

AIX Fundamentals Training Course

Course Contents – DAY 4

Session 12: UNIX COMMAND REVIEW

  • Basic Unix commands
  • General commands
  • File and directory handling commands
  • Filename generation characters and regular expressions (regex)
  • I/O Redirection features
  • Other commands

Session 13: GETTING STARTED

  • What is a shell script?
  • Development guidelines
  • Creating and editing shell scripts
  • Naming and storing shell scripts
  • Executing shell scripts
  • Exercise: Write a simple shell script

Session 14: USING VARIABLES

  • Environment variables
  • Local variables
  • Assigning values to variables
  • Assessing variable values
  • Using quotes
  • Delimiting variable names
  • echo control sequences
  • Exercise: Add variables to a script

Session 15: INTEGER ARITHMETIC

  • Using the expr command
  • Using the (( )) notation
  • Exercise: Add integer arithmetic to a shell script

Session 16: HANDLING RUN TIME DATA

  • The read command
  • Command line arguments
  • Exercise: Writing a generic shell script
  • Exercise: Writing an interactive shell script

Session 17: CONDITIONAL EXECUTION

  • The if statement
  • The test command
  • Exercise: Adding validation to previous scripts

Session 18: ADDITIONAL KORN,BASH & POSIX SYNTAX

  • Other test notations
  • Default and substitute variables
  • Exit status codes
  • Exercise

AIX Fundamentals Training Course

Course Contents – DAY 5

Session 19: LOOP CONSTRUCTS

  • The while loop
  • The until loop
  • The for loop
  • The while true and until false loops
  • Loop control commands
  • Exercise: Enhancing the previously written scripts
  • Exercise: Writing a script to copy files using a ‘for’ loop
  • Exercise: Writing a script to generate numbers with the ‘while’ loop

Session 20: MULTI-BRANCH DECISIONS

  • The case statement
  • Menu driven applications
  • Exercise: Developing and writing a menu system

Session 21: SCRIPTING WITH AWK

  • Fundamentals of AWK
  • Basic AWK scripts
  • AWK within Bash constructs
  • Exercise: AWK scripts

Session 22: FUNCTIONS

  • What is a function?
  • Syntax
  • Examples
  • Exercise: Add a function to a script

Session 23: INTERRUPT HANDLING

  • Interrupt signals
  • Trapping interrupts
  • Exercise: Adding traps to the menu script

Appendix A: ADDITIONAL FEATURES AND FACILITIES

  • The exec commands
  • The includes notation
  • More about loops
  • Arrays

Appendix B: VIM QUICK REFERENCE

Appendix C: UNIX COMMANDS QUICK REFERENCE

Appendix D: ADDITIONAL EXERCISES

Course Overview

AIX Basics Course Overview

This IBM AIX Operating System training course introduces the delegate to the main concepts of the AIX Operating System. The most commonly used commands and utilities are described in detail as are the command line wildcard and redirection facilities. The mechanisms by which a user acquires a login environment are discussed and the main features of the Korn/Posix/Bash Shells are introduced.

Similarly,the course is targeted to closely follow the official IBM AIX curriculum for certification.

Exercises and examples are used throughout the course to give practical hands-on experience with the techniques covered.

Course Objectives

To provide the skills needed to work productively in the AIX environment.

Course Content

AIX Basics Training Course

Course Contents – DAY 1

Course Introduction

  • Administration and Course Materials
  • Course Structure and Agenda
  • Delegate and Trainer Introductions

Session 1: INTRODUCTION TO THE AIX OPERATING SYSTEM

  • A brief history of UNIX / Linux
  • The UNIX / Linux kernel
  • The UNIX / Linux file system structure
  • File and directory management commands
  • Absolute vs Relative Pathnames
  • Further basic commands
  • Exercise: Navigating the file system

Session 2: BASIC COMMANDS

  • Command line syntax
  • Basic file handling commands
  • Basic Directory handling commands
  • Filename wildcard characters
  • Using commands with logical AND and OR
  • Sequential command execution
  • Exercise: Manipulating files and directories

Session 3: REDIRECTION AND PIPES

  • Input and Output redirection
  • Redirecting errors
  • Piping commands
  • Exercise: Using redirection and pipe facilities

AIX Basics Training Course

Course Contents – DAY 2

Session 4: INTRODUCTION TO THE vi/Vim EDITOR

  • Overview of the vi/Vim editor
  • The language of vi
  • Undoing and Redoing changes
  • Input Mode and Last Line Mode
  • Further vi functions
  • Executing commands within vi / Vim
  • Customising the vi / Vim Environment
  • Getting Help
  • Exercises: Using the vi editor

Session 5: SEARCHING AND REPLACING TEXT

  • Searching and replacing text using the vi/Vim editor
  • Using regular expressions (regex)
  • Using sed for search and replace
  • Searching for text with grep,egrep and fgrep
  • Exercises: Searching and Replacing Text

Session 6: RECALLING AND EDITING COMMANDS

  • Overview
  • The bash shell
  • The korn shell
  • Exercises: Recall and Edit Commands

Session 7: FILE PERMISSIONS AND ACCESS CONTROL

  • Users and user groups
  • File access permissions
  • Changing file attributes
  • Switching users and user groups
  • Linking files
  • Exercise: Setting and access permissions

AIX Basics Training Course

Course Contents – DAY 3

Session 8: FILTERING AND FORMATTING TEXT

  • Overview
  • The paste command
  • The cut command
  • An introduction to awk
  • The nl command
  • Exercises: Filtering Text

Session 9: PROCESSES

  • What is a process?
  • Monitoring processes
  • Killing processes
  • Background processes
  • Job Control
  • Grouping commands
  • Exercise: Monitoring and controlling processes

Session 10: THE USER ENVIRONMENT

  • Customising the .profile or .bash_profile
  • Customising the .kshrc or .bashrc
  • Exercise: Setting up an environment

Session 11: MORE BASIC COMMANDS

  • The find command
  • Using xargs command
  • Using the locate command
  • The df command
  • The cut command
  • The sort command
  • Finding duplicate content
  • Number sequencing
  • Exercise: More Basic Commands

Course Overview

AIX Advanced Shell Programming Tools Course Overview

This IBM AIX Advanced Shell Programming Tools training course is designed to give delegates practical experience using a range of AIX tools to manipulate text and incorporate them into AIX shell scripts.

Exercises and examples are used throughout the course to give practical hands-on experience with the techniques covered.

Course Objectives

To provide the knowledge and skills to make effective use of a wide range of standard AIX programming and development tools.

Course Content

AIX Advanced Shell Programming Tools Training Course

Course Contents – DAY 1

Course Introduction

  • Administration and Course Materials
  • Course Structure and Agenda
  • Delegate and Trainer Introductions

Session 1: BACKUP AND RESTORE UTILITIES

  • Backing-up and restoring files
  • Basic and advanced use of tar
  • Compression utilities gzip,bzip2,zip and compress
  • Exercise: Backing up and restoring files using tar
  • Exercises: Compressing files

Session 2: BACKGROUND JOB SCHEDULING

  • Scheduling jobs with the cron command
  • Scheduling jobs with the at command
  • Exercises: Running background jobs

Session 3: COMMANDS FOR COMPARING FILES

  • Compare files with the cmp command
  • Compare and format files with pr
  • Compare files with the comm command
  • Compare files with the diff and sdiff commands
  • Compare large files with the bdiff command
  • Exercises: Identifying file differences

Session 4: SPLITTING FILES

  • The fold command
  • Split files using context and content rules
  • Exercises: Splitting files

AIX Advanced Shell Programming Tools Training Course

Course Contents – DAY 2

Session 5: IDENTIFYING AND TRANSLATING CHARACTERS

  • od – octal dump
  • Use cat to display non-printing characters
  • View and format files with nl
  • The expand and unexpand commands to convert between tab and space characters
  • The tr command for character translation
  • Exercises: Translating characters with tr

Session 6: REGULAR EXPRESSION NOTATION REVIEW

  • Standard regular expressions
  • Searching with grep
  • Metacharacters,positional characters and quantifiers
  • Extended regular expressions
  • POSIX character classes
  • PERL expressions

Session 7: THE STREAM EDITOR sed

  • sed command line syntax
  • sed script files
  • sed command processing
  • sed addresses and simple instructions
  • sed pattern space and hold space
  • Grouping sed commands
  • Hold and get functions
  • Advanced flow control
  • Write output to temporary files
  • Exercises: Text processing with sed

Session 8: FUNDAMENTALS OF AWK

  • Basic AWK usage
  • AWK program-files
  • AWK scripts
  • AWK variables
  • Pattern matching with AWK
  • AWK extended patterns

Session 9: AWK OPERATORS

  • AWK AND,OR and range operators
  • AWK arithmetic operations
  • AWK output
  • Formatting output with printf
  • Exercises: Create awk scripts to extract selected data from a file and generate reports

AIX Advanced Shell Programming Tools Training Course

Course Contents – DAY 3

Session 10: AWK PROGRAM CONTROL STRUCTURES

  • The BEGIN and END functions
  • The AWK if construct
  • The AWK else if construct
  • The AWK while construct
  • Other program control statements
  • The AWK break,continue and exit statements
  • User defined functions
  • Exercises: Create AWK scripts and program-files utilising program control structures

Session 11: AWK FUNCTIONS

  • AWK string functions
  • AWK length,tolower,toupper,index,sub,gsub,match,substr,split,sprintf,system and getline functions
  • Exercises: Generate AWK scripts and program-files to extract and format data using AWK functions

Session 12: AWK ARRAYS

  • AWK associative arrays
  • Multi-dimensional arrays
  • Exercises: Create AWK associative arrays to process text files and generate reports

Session 13: MISCELLANEOUS TOOLS

  • bc (calculator)
  • fuser (testing for files in use)
  • getops (checking options passed to shell scripts)
  • printf (formatting screen output)
  • logger (script logging)
  • xargs (generating arguments for a command)
  • eval (re-evaluating variables)
  • Exercises: Using tools within a shell script

Course Overview

Develop the skills to use kernel traces, trace based utilities, and svmon to measure and analyze CPU, memory, and I/O performance issues on IBM systems running AIX. Reinforce each lecture during extensive hands-on lab exercises and get practical experience applicable to their performance management requirements.

This course provides lectures and hands on labs in a face-to-face classroom setting. The course is also offered in a live virtual classroom environment (ILO – Instructor Led Online) with hands-on labs Advanced Tools for AIX Performance Analysis (ILO) (AX520).

Virtual Learning

This interactive training can be taken from any location, your office or home and is delivered by a trainer. This training does not have any delegates in the class with the instructor, since all delegates are virtually connected. Virtual delegates do not travel to this course, Global Knowledge will send you all the information needed before the start of the course and you can test the logins.

Course Objectives

Use the trace facility to collect data and create a trace reportUse the kernel trace facilities to analyze CPU performance issuesDescribe causes and impacts of high context switching ratesIdentify what causes a thread to block and what causes a later wake upExplain the relationship between the output of svmon -G, svmon -P, and svmon -SCalculate the amount of memory in use on the systemExplain the relationship between svmon, vmstat, and ipcs outputCategorize the memory in use on the system by segment typeIdentify which processes are using the most memoryIdentify which segments are using the most paging spaceDescribe the characteristics of asynchronous I/O, synchronous I/O, direct I/O and concurrent I/OIdentify if the expected type of I/O is being executedTune asynchronous I/O

Course Content

Day 1

  • (00:30) Welcome
  • (01:00) Unit 1 – Trace Facilities
  • (01:00) Exercise 1 – Trace Facilities
  • (02:30) Unit 2 – Advanced Memory Topics – I
  • (00:20) Exercise 2 – Advanced Memory Topics – I

Day 2

  • (02:30) Unit 3 – Advanced Memory Topics – II
  • (00:40) Exercise 3 – Advanced Memory Topics – II
  • (02:00) Unit 4 – Advanced CPU Topics – I
  • (00:30) Exercise 4 – Advanced CPU Topics – I
  • (00:25) (optional) Exercise 4 – Advanced CPU Topics – I (Part 2)

Day 3

  • (02:00) Unit 5 – Advanced CPU Topics – II
  • (00:30) Exercise 5 – Advanced CPU Topics – II
  • (02:00) Unit 6 – Advanced I/O Topics – I
  • (00:45) Exercise 6 – Advanced I/O Topics – I – Part 1
  • (00:30) (optional) Exercise 5 – Advanced CPU Topics – II (Parts 2 & 3)

Day 4

  • (00:35) Exercise 6 – Advanced I/O Topics – I – Part 2
  • (02:00) Unit 7 – Advanced I/O Topics – II
  • (01:45) Exercise 7 – Advanced I/O Topics – II
  • (00:20) (optional) Exercise 7 – Advanced I/O Topics – II – (Part 3)

Course Overview

This course is designed to enhance the skills of a IBM i System Operator. In this class, we will explain the concept of how LPAR works and discuss the functions provided by the HMC. We will discuss the IBM i Access Family of products in general and Access Client Solutions, specifically.

We will discuss the different types of security that you can implement in order to control who has access to your data and what they can do with that data if they are allowed access. We will discuss security control via system values, user and group profiles, authorization lists, and adopted authority.

This course will help you to develop additional skills in the areas of work management and how to create a basic CL program. In the area of CL programming, we will discuss concepts of programming, then how to create a basic CL program using the traditional application development tools PDM and SEU. You will also learn the steps to create a menu using SDA. You will learn some tips that you can use to help improve your IBM i operations. We will also discuss about journaling overview and some tips which improved operator work.

Virtual Learning

This interactive training can be taken from any location, your office or home and is delivered by a trainer. This training does not have any delegates in the class with the instructor, since all delegates are virtually connected. Virtual delegates do not travel to this course, Global Knowledge will send you all the information needed before the start of the course and you can test the logins.

Course Objectives

  • Explain the concept of how LPAR works
  • Explain the functions served by the HMC
  • Explain the functions of IBM i Access Client Solutions
  • Explain how user versus resource security are implemented
  • Explain the difference between group profiles and authorization lists
  • Describe how adopted authority works
  • Describe how work is managed on the system and the concepts of the performance tuning process on the system
  • Explain how Management Central can be used to manage a single system or a network of Power i servers
  • Perform the steps to create a basic CL program using both the traditional (PDM and SEU) application development tools
  • Perform the steps to create a menu using SDA
  • Provide some tips on how you can improve your operations

Course Content

  • LPAR concepts and overview
  • Console options and HMC overview
  • Basic management using HMC
  • IBM i Access Family overview
  • IBM i Access Client Solutions
  • Security concepts and overview
  • System values
  • User security
  • Resource security
  • Authorization lists and adopted authority
  • Work management: Concepts and overview
  • Work management: Subsystem concepts and overview
  • Work management: Job processing concepts and interactive jobs
  • Work management: Job processing concepts of other job types
  • Work management: Submitting and tracking of batch jobs
  • Programming concepts
  • CL programming concepts
  • CL programming using PDM and SEU- Creating a menu using SDA
  • Tips for improved operation
  • Journaling overview and basic operation

Course Overview

This course provides instruction and practice in the use of the more complex S/390 Assembler Language facilities for the experienced assembler language programmer. The course includes a discussion of standard linkage conventions, use of BSAM/QSAM and selected system macros, the macro definition language, and reentrant coding considerations.

Emphasis is placed on enhancing skills in problem resolution through analysis of more complex system-provided dumps.

Virtual Learning

This interactive training can be taken from any location, your office or home and is delivered by a trainer. This training does not have any delegates in the class with the instructor, since all delegates are virtually connected. Virtual delegates do not travel to this course, Global Knowledge will send you all the information needed before the start of the course and you can test the logins.

Course Objectives

After this course participants should be able to:

  • Identify data management considerations and access methods
  • Code assembler language programs which:
    • Conform to standard linkage conventions using save area chaining
    • Define and use BSAM/QSAM datasets through standard I/O macros
  • Define and execute user macros which contain:
    • Positional and/or keyword parameters
    • Fixed or variable entry parameter lists
    • Conditional assembly logic
  • Use variable length storage operations (that is, EX, MVCL, and so on)
  • Employ more complex instructions (that is, TR, TRT, BXLE, and so on)
  • Access JCL parameter data
  • Employ LE date/time handling services
  • Identify reentrant coding considerations and dynamic storage acquisition

Course Content

Day 1

  • (00:15) Welcome
  • (01:00) Unit 1: Review
  • (00:15) Unit 2: Assembler instructions
  • (01:45) Unit 3: Linkage
  • (01:30) Unit 4: LE date/time handling
  • (02:30) Exercise 1: PARM handling and search

Day 2

  • (00:15) Lab review
  • (03:00) Unit 5: Access methods: BSAM/QSAM
  • (03:00) Exercise 2: File handling

Day 3

  • (00:15) Lab review
  • (00:30) Unit 6: Assembler compile-time options
  • (00:30) Unit 7: SNAP dumps
  • (03:30) Unit 8: Macros and the Conditional Assembly Language
  • (02:30) Exercise 3: Macro modification

Day 4

  • (00:25) Lab review
  • (01:15) Unit 9: Miscellaneous instructions
  • (00:25) Unit 10: Floating point data
  • (00:25) Unit 11: Reentrant coding
  • (00:15) Class wrap-up

Course Overview

This course describes advanced operator actions to implement new policies, coupling facilities, structures and sysplex related operational enhancements. It diagnoses problems and demonstrates recovery techniques in these areas. These include:

  • Identifying HMC problems and recovery, including IPL problems during system and sysplex activation
  • Recovery with and without SFM policies
  • Couple data set failures
  • CF and CF structure failures

Labs are provided to submit jobs to format CDS, define policies, start and verify that they are working as desired, identify any policy change pending conditions and correct as needed. Labs take students through the required steps to implement ECS, GRS star, JES checkpoint, Operlog, Logrec, and SM duplexing on the CF. Students will also identify potential problems during the implementation process, identify various CDS and other sysplex related problems. Students will remove a CF from the sysplex as in the case of required maintenance to a CF; add a new CF to the sysplex and perform system and CF failure and recovery scenarios.

Course Objectives

  • Use the HMC classic or tree UI:
    • Identify and define operational usage of the HMC with CPC and IMAGE groups and objects
    • Determine object status, build, identify, and assign activation profiles
  • Describe the difference between:
    • Base sysplex and a Parallel Sysplex
    • Resource sharing and data sharing
  • Identify and describe Parallel Sysplex hardware and software key components:
    • Coupling facilities, couple data sets and STP hardware
    • z/OS operating system, XCF and XES code
    • IEASYSxx and COUPLExx statements used in a sysplex
  • Describe how signaling is provided in a sysplex
  • Describe structure types and usage by the CF
  • Identify CF availability characteristics
  • Explain the difference between ICF and non-ICF configurations, benefits and availability requirements
  • Describe system managed CF structure duplexing and its purpose
  • Identify System z CF link connectivity options
    • Internal and external CF link types and speeds, including PSIFB link options
  • Identify commands to use to determine operational state of sysplex components
    • z/OS Systems
    • CF, CF links and structures
  • Describe the steps used to initialized a system image into a sysplex during NIP
  • Identify and explain key NIP messages that surface during sysplex initialization
  • Describe why WTOR messages can be issued for normal and problem scenarios during sysplex initialization
  • Properly remove a system from the sysplex
  • Describe z/OS 1.10 and 1.11 changes that relate to how systems are removed from the sysplex
  • Describe the purpose and use of sysplex couple data sets
  • Identify and explain new information provided in the output of the D XCF, C command with z/OS 1.10, 1.11, and 1.12
  • Describe CFRM policy requirements to define CFs and structures
  • Use commands to manage couple data sets and identify support options
  • Describe CFRM CDS format options to support and how they are used
  • Describe the difference between a GRS ring and a GRS star complex
  • Identify GRS star requirements and its structure attributes
  • Describe how JES2 checkpoint uses the CF
  • Use the JES2 reconfiguration dialog to move checkpoint from DASD to CF
  • Identify recovery options for JES2 checkpoint
  • Describe enhanced catalog sharing, operation and recovery considerations
  • Explain the purpose of the system logger component in a sysplex
  • Describe how Operlog and logrec can use logstreams and structures in a sysplex
  • Identify CF logger recovery actions for system, CF logger failures
  • Describe recovery terms and use for:
    • Rebuild percent and SFM weights
    • Structure and connector persistence
  • Remove a coupling facility
  • Activate CFRM policies
  • Explain, identify and correct policy pending conditions
  • List different command options to move structures in and out of CFs
  • Define Reallocate command usage and benefits
  • Identify structure hang recovery options
  • Add an external CF to the sysplex
  • Manage Reset profile to update IOCDS pointer
  • Activate CFRM policy, verify CF connectivity and resolve policy pending conditions
  • List and describe recent OS enhancements addressing sympathy sickness
  • Describe the purpose and use of SFM
  • Activate an SFM policy, verify SFM policy settings and identify SFM action messages
  • Describe the purpose and use of ARM
  • Activate a default ARM policy and verify ARM status
  • Describe Server Time Protocol (STP)
    • Identify various STP terminology and supported configurations
  • Identify DB2 overall configuration and structure recovery concepts
  • Identify the steps necessary to remove or delete:
    • DB2 cache structure for group buffer pools
    • CICS temporary storage queue pool structures
    • RACF database cache structures
    • IMS OSAM and VSAM cache structures
    • IRLM lock structure
    • DB2 list (SCA) structure
    • VSAM RLS lock and cache structures
    • IMS shared-queue or EMH structures
    • Global resource serialization lock structure

Course Content

Day 1

  • Welcome
  • Unit 1 – Parallel Sysplex overview
  • Machine lab exercises

Day 2

  • Unit 2 – Sysplex initialization, CDS usage, and recovery
  • Machine lab exercises

Day 3

  • Unit 3 – Managing CFs, structures, policies, and recovery
  • Machine lab exercises

Day 4

  • Unit 4 – Dynamic CF implementation, Sysplex Failure Manager, and Automatic Restart Manager
  • Machine lab exercises

Day 5

  • Machine lab exercises
  • Unit 5 – STP, DB2 and structure recovery and removal overview