system operations i - epicorsystem operations suite ysystem operations ii yrun the recommended...
TRANSCRIPT
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
Overview
Basic System CommandsDisk SpaceFile Backup and RecoveryDisk CleanupSMITMonitoring Process CommandsPrinting CommandsShutdown commandOnline Solutions – finding Help Documents
File Management Commands
Change Directory cdPresent Working Directory pwdList lsCopy cpMove mvRemove rmDelete del
APPLICATION SHARING
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
File Backup and Recovery
Backups – 4 types to Maintain SystemBootable Clone TapeDaily BackupWeekly BackupMonthend Backup
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
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!)
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!)
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)
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
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.
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.
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:
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
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
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
SMIT – Screen Symbols
RARELY USED SYMBOLS? An invisible field
X A hexadecimal number is expected for this field
Monitoring Process CommandsActive Processes on the system
who – shows who is logged on the machine.
Command = who |pg
Monitoring Process CommandsActive Processes on the system
ps aux – list all the processes running by CPU usage
Command = ps aux |pg
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
Printing CommandsPrint information about print service
lpstat or lpstat |pg
qadm –D LPT or qadm –U LPT
Printing CommandsFinding Print jobs – View and Re-print
Using the PRTMNT – print maintenance
APPLICATION SHARING
Fast Path Method:
99 enter
PRTMNT enter
Shutdown command
Stops the system – halts all processesProtects open file systemsOptions most used and recommended:
shutdown - F = Fast Shutdownshutdown - Fr = Shutdown and Reboot
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
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]
P21 Array Customer Web Site
www.p21.comLog into the Left hand side SOLUTIONSEnter your keywords
troubleshoot printing
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