Top Banner
Prophet 21 Array System Operations I System Operations suite: course 1 of 3
42

System Operations I - EpicorSystem Operations suite ySystem Operations II yRun the recommended purges and Reogs yAdd and Maintain users on IBM and Array yEnsure the appropriate control

Jul 08, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: System Operations I - EpicorSystem Operations suite ySystem Operations II yRun the recommended purges and Reogs yAdd and Maintain users on IBM and Array yEnsure the appropriate control

Prophet 21 Array

System Operations I

System Operations suite: course 1 of 3

Page 2: System Operations I - EpicorSystem Operations suite ySystem Operations II yRun the recommended purges and Reogs yAdd and Maintain users on IBM and Array yEnsure the appropriate control

This class is designed for…

Array AIX - System Administrators

Page 3: System Operations I - EpicorSystem Operations suite ySystem Operations II yRun the recommended purges and Reogs yAdd and Maintain users on IBM and Array yEnsure the appropriate control

Objectives

Sign on to the Operating systemKnowledge of Basic system commandsUnderstand the Four types of BackupsCreate a bootable disk tape for recoveryInterpret key processing scripts in the job-streamMonitor and troubleshoot printing functionsUse system shutdown commands

Page 4: System Operations I - EpicorSystem Operations suite ySystem Operations II yRun the recommended purges and Reogs yAdd and Maintain users on IBM and Array yEnsure the appropriate control

Overview

Basic System CommandsDisk SpaceFile Backup and RecoveryDisk CleanupSMITMonitoring Process CommandsPrinting CommandsShutdown commandOnline Solutions – finding Help Documents

Page 5: System Operations I - EpicorSystem Operations suite ySystem Operations II yRun the recommended purges and Reogs yAdd and Maintain users on IBM and Array yEnsure the appropriate control

Basic System CommandsLogging In or Onto the System: Prog “$”

Page 6: System Operations I - EpicorSystem Operations suite ySystem Operations II yRun the recommended purges and Reogs yAdd and Maintain users on IBM and Array yEnsure the appropriate control

Basic System CommandsLogging In or Onto the System: Root “#”

Page 7: System Operations I - EpicorSystem Operations suite ySystem Operations II yRun the recommended purges and Reogs yAdd and Maintain users on IBM and Array yEnsure the appropriate control

Basic System CommandsSigning off the system

exitCtrl d

Page 8: System Operations I - EpicorSystem Operations suite ySystem Operations II yRun the recommended purges and Reogs yAdd and Maintain users on IBM and Array yEnsure the appropriate control

Disk Space

df command

Page 9: System Operations I - EpicorSystem Operations suite ySystem Operations II yRun the recommended purges and Reogs yAdd and Maintain users on IBM and Array yEnsure the appropriate control

File Management Commands

Change Directory cdPresent Working Directory pwdList lsCopy cpMove mvRemove rmDelete del

APPLICATION SHARING

Page 10: System Operations I - EpicorSystem Operations suite ySystem Operations II yRun the recommended purges and Reogs yAdd and Maintain users on IBM and Array yEnsure the appropriate control

Online Help Screens for commands:

Manual Help (built into Unix):

man cd - help for Change Directoryman cp - help for Copy

Space bar = next pageEnter = next line of helpq = quit

Page 11: System Operations I - EpicorSystem Operations suite ySystem Operations II yRun the recommended purges and Reogs yAdd and Maintain users on IBM and Array yEnsure the appropriate control

File Backup and Recovery

Backups – 4 types to Maintain SystemBootable Clone TapeDaily BackupWeekly BackupMonthend Backup

Page 12: System Operations I - EpicorSystem Operations suite ySystem Operations II yRun the recommended purges and Reogs yAdd and Maintain users on IBM and Array yEnsure the appropriate control

Backup - Bootable Clone Tape

Creating a mksysb tape*:1. Signon as root2. Type in df >/tmp/df.log4. Type smit mksysb

*Should be run once per month

Page 13: System Operations I - EpicorSystem Operations suite ySystem Operations II yRun the recommended purges and Reogs yAdd and Maintain users on IBM and Array yEnsure the appropriate control

Bootable Clone Tape (maksysb)

(press F4 List for options)

Page 14: System Operations I - EpicorSystem Operations suite ySystem Operations II yRun the recommended purges and Reogs yAdd and Maintain users on IBM and Array yEnsure the appropriate control

Daily Backup

The nightly backup command looks like:

cd /

find data13 olog prt tss home var/spool/mail/*cqcs -print | cpio -ovcC32 > /dev/rmt0

bkuptss.sh

(You must be in the root directory!)

Page 15: System Operations I - EpicorSystem Operations suite ySystem Operations II yRun the recommended purges and Reogs yAdd and Maintain users on IBM and Array yEnsure the appropriate control

Weekly Backup

The weekly backup command looks like:

cd /find . -print | cpio -ovcC32 > /dev/rmt0

bkupall.sh

(You must also be in the root directory!)

Page 16: System Operations I - EpicorSystem Operations suite ySystem Operations II yRun the recommended purges and Reogs yAdd and Maintain users on IBM and Array yEnsure the appropriate control

Month end Backup

Run during the month end process.Additional scripts used for backup:

ARMOV - run before MBS080 (AR Month Start)

APMOV - run before MAP027 (AP Month Start)

GLMOV - before MGL013 (GL Monthly Update)

Page 17: System Operations I - EpicorSystem Operations suite ySystem Operations II yRun the recommended purges and Reogs yAdd and Maintain users on IBM and Array yEnsure the appropriate control

Restore

Using the CPIO command to restore

An example of a restore command:cpio –ivcC32umdl < /dev/rmt0 "data13/live/WOBR*"

This command will restore the WOBR* to the disk

Compared to the full backup command:find . -print | cpio -ovcC32 > /dev/rmt0

Page 18: System Operations I - EpicorSystem Operations suite ySystem Operations II yRun the recommended purges and Reogs yAdd and Maintain users on IBM and Array yEnsure the appropriate control

Recovery

Why Recover?What you need: Clone Tape (mksysb tape)

Full (weekly) system backup Daily BackupA copy of the df command

Two Step Process:Restore using one or more backup from aboveApply the TRANSACTION LOGGER.

Page 19: System Operations I - EpicorSystem Operations suite ySystem Operations II yRun the recommended purges and Reogs yAdd and Maintain users on IBM and Array yEnsure the appropriate control

Transaction Logger – Error Writing Recovery

1. Error writing recovery message in the morning:FIX: logon as root

chown prog:users /olog/RCLOGchmod 777 /olog/RCLOG

The users MUST log off and back on to clear the error.2. Error writing recovery message later in the day:

FIX: Moving existing RCLOG file to /data13logon as rootdf –k /olog (check here to see if 100%)mv RCLOG.Z /data13mv RCLOG /data13cp /tss/macros/RCLOG /olog/RCLOG

The users MUST log off and back on to clear the error.

Page 20: System Operations I - EpicorSystem Operations suite ySystem Operations II yRun the recommended purges and Reogs yAdd and Maintain users on IBM and Array yEnsure the appropriate control

Disk Cleanup – Ready for a New Day1. START.SH2. KILLA.SH

If the time to start is within one minute the WARNING part of the screen will display:

Page 21: System Operations I - EpicorSystem Operations suite ySystem Operations II yRun the recommended purges and Reogs yAdd and Maintain users on IBM and Array yEnsure the appropriate control

Disk Cleanup – Ready for a New Day

3. BCKUP.SH4. CLEAN.SH5. MORNI.SH6. ENABL.SH7. LASTS.SH

Page 22: System Operations I - EpicorSystem Operations suite ySystem Operations II yRun the recommended purges and Reogs yAdd and Maintain users on IBM and Array yEnsure the appropriate control

SMIT – System Management Interface Tools

Page 23: System Operations I - EpicorSystem Operations suite ySystem Operations II yRun the recommended purges and Reogs yAdd and Maintain users on IBM and Array yEnsure the appropriate control

SMIT

Let’s look at getting around smit…

Page 24: System Operations I - EpicorSystem Operations suite ySystem Operations II yRun the recommended purges and Reogs yAdd and Maintain users on IBM and Array yEnsure the appropriate control

SMIT – Getting AroundSecurity and Users

12

3

Page 25: System Operations I - EpicorSystem Operations suite ySystem Operations II yRun the recommended purges and Reogs yAdd and Maintain users on IBM and Array yEnsure the appropriate control

SMIT – What do the symbols mean?

Page 26: System Operations I - EpicorSystem Operations suite ySystem Operations II yRun the recommended purges and Reogs yAdd and Maintain users on IBM and Array yEnsure the appropriate control

SMIT – The Command Status Screen

APPLICATION SHARING

Page 27: System Operations I - EpicorSystem Operations suite ySystem Operations II yRun the recommended purges and Reogs yAdd and Maintain users on IBM and Array yEnsure the appropriate control

SMIT – Function Keys

Fl - Help – built in smit help

F2 - Refresh the screen

F3 - Cancel the current screen and return to the previous screen

F4 - List - display of possible values for current field, if list is available

F5 - Reset - Undo or erase the contents of the current field

Page 28: System Operations I - EpicorSystem Operations suite ySystem Operations II yRun the recommended purges and Reogs yAdd and Maintain users on IBM and Array yEnsure the appropriate control

SMIT – Function Keys

F6 - Command – shows the command line for that action

F7 - Edit the contents of the current field

F8 - Present the IMAGE pop-up panel

F9 - Shell – brings you into the shell within SMIT

F10 - Exit SMIT and return to shell without committing

Page 29: System Operations I - EpicorSystem Operations suite ySystem Operations II yRun the recommended purges and Reogs yAdd and Maintain users on IBM and Array yEnsure the appropriate control

SMIT – Screen Symbols

SYMBOLS:• Required field - shown to the left of User Name

+ List of possible values is available for this field

# Numeric value is expected for this field

/ File pathname is expected for this field

Page 30: System Operations I - EpicorSystem Operations suite ySystem Operations II yRun the recommended purges and Reogs yAdd and Maintain users on IBM and Array yEnsure the appropriate control

SMIT – Screen Symbols

RARELY USED SYMBOLS? An invisible field

X A hexadecimal number is expected for this field

Page 31: System Operations I - EpicorSystem Operations suite ySystem Operations II yRun the recommended purges and Reogs yAdd and Maintain users on IBM and Array yEnsure the appropriate control

Monitoring Process CommandsActive Processes on the system

who – shows who is logged on the machine.

Command = who |pg

Page 32: System Operations I - EpicorSystem Operations suite ySystem Operations II yRun the recommended purges and Reogs yAdd and Maintain users on IBM and Array yEnsure the appropriate control

Monitoring Process CommandsActive Processes on the system

ps aux – list all the processes running by CPU usage

Command = ps aux |pg

Page 33: System Operations I - EpicorSystem Operations suite ySystem Operations II yRun the recommended purges and Reogs yAdd and Maintain users on IBM and Array yEnsure the appropriate control

Monitoring Process CommandsActive Processes on the system

ps aux – adding the grep command

grep = global regular expression patternallows you to perform a search

Command = ps aux |grep prog |pg

Page 34: System Operations I - EpicorSystem Operations suite ySystem Operations II yRun the recommended purges and Reogs yAdd and Maintain users on IBM and Array yEnsure the appropriate control

Monitoring Process CommandsReport statistics on Users, System and CPU

topas Command

Command = topas

Page 35: System Operations I - EpicorSystem Operations suite ySystem Operations II yRun the recommended purges and Reogs yAdd and Maintain users on IBM and Array yEnsure the appropriate control

Printing CommandsPrint information about print service

lpstat or lpstat |pg

qadm –D LPT or qadm –U LPT

Page 36: System Operations I - EpicorSystem Operations suite ySystem Operations II yRun the recommended purges and Reogs yAdd and Maintain users on IBM and Array yEnsure the appropriate control

Printing CommandsFinding Print jobs – View and Re-print

Using the PRTMNT – print maintenance

APPLICATION SHARING

Fast Path Method:

99 enter

PRTMNT enter

Page 37: System Operations I - EpicorSystem Operations suite ySystem Operations II yRun the recommended purges and Reogs yAdd and Maintain users on IBM and Array yEnsure the appropriate control

Printing CommandsFinding Print jobs to view and reprint

Page 38: System Operations I - EpicorSystem Operations suite ySystem Operations II yRun the recommended purges and Reogs yAdd and Maintain users on IBM and Array yEnsure the appropriate control

Shutdown command

Stops the system – halts all processesProtects open file systemsOptions most used and recommended:

shutdown - F = Fast Shutdownshutdown - Fr = Shutdown and Reboot

Page 39: System Operations I - EpicorSystem Operations suite ySystem Operations II yRun the recommended purges and Reogs yAdd and Maintain users on IBM and Array yEnsure the appropriate control

Summary

Sign on to the Operating systemKnowledge of Basic system commandsUnderstand the Four types of BackupsCreate a bootable disk tape for recoveryInterpret key processing scripts in the job-streamMonitor and troubleshoot printing functionsUse system shutdown commands

Page 40: System Operations I - EpicorSystem Operations suite ySystem Operations II yRun the recommended purges and Reogs yAdd and Maintain users on IBM and Array yEnsure the appropriate control

For More Information…For More Information…• Visit Prophet 21 on the web: www.p21.com

• View P21 University course offerings

• Browse Documentation

• Search the Solutions database

• Submit a web case

• Email Consulting Services: [email protected]

• Email Professional Services Sales: [email protected]

Page 41: System Operations I - EpicorSystem Operations suite ySystem Operations II yRun the recommended purges and Reogs yAdd and Maintain users on IBM and Array yEnsure the appropriate control

P21 Array Customer Web Site

www.p21.comLog into the Left hand side SOLUTIONSEnter your keywords

troubleshoot printing

Page 42: System Operations I - EpicorSystem Operations suite ySystem Operations II yRun the recommended purges and Reogs yAdd and Maintain users on IBM and Array yEnsure the appropriate control

System Operations suite

System Operations IIRun the recommended purges and ReogsAdd and Maintain users on IBM and ArrayEnsure the appropriate control files are in placeSet up the control files related to your printers

System Operations IIICreate permanent parameters to automate

running programs and reportsCreate, modify, and delete job-streamsDispatch job-streamsUnderstand scripts used to troubleshoot jobstreams