300 likes | 449 Views
Progress Database Admin. Jeffrey A. Brown – Engineering Support, Technical Consultant (Jeffrey.Brown@infor.com). Introduction. Agenda. Infor Installation Standards Log Files Progress Properties Files Progress Explorer Tool Start / Query / Stop environment Crash Recovery.
E N D
Progress Database Admin Jeffrey A. Brown – Engineering Support, Technical Consultant (Jeffrey.Brown@infor.com)
Agenda • Infor Installation Standards • Log Files • Progress Properties Files • Progress Explorer Tool • Start / Query / Stop environment • Crash Recovery
Infor Filesystem Standards • File Systems • /db (striped filesystem) • /rd (striped filesystem)
Directories /db • /db/nxt.db • /db/nxt.bi • /db/nxt.lg • /db/nxt.lk
Directories /db/sort • /db/sort/DBI* • /db/sort/lbi* • /db/sort/srt*
Directories /rd • /rd/bin • /rd/opsys/*.pf • /rd/dlc • /rd/dlc/bin • /rd/appsrv/code • /rd/tmp
Infor Standard Ports • Most are defined in MARC • Should be defined in the /etc/services file • Test ports are the same using 7200 range
Infor Standard Ports nxt 7100/tcp # SX database appsrv 7120/tcp # SX appserver twl 7160/tcp # TWL twlappsrv 7161/tcp # TWL appserver twlsxappsrv 7162/tcp # TWL SX appserver nxtadmsrv 7180/tcp # adminserver port nxtadmsrvadmin 7181/tcp # adminserver admin port nxtnamesrv 7182/udp # nameserver port
Progress 9.x Log Files • New log files in Progress 9.x • $DLC/bin/proenv • $WRKDIR • exit out when done • Most logs are found in /rd/tmp • Some are in /db/sort
Progress 9.x Log Files • admserv.log • exceptions.log • default.log • AdminServerSystemOut.log • NS1.ns.log • appsrv.broker.log / appsrv.server.log • rptlog#### • rptmgr.err
Progress 9.x Log Files • dbstats.log • Summary • Empty blocks • Free blocks
Progress 9.x Properties Files • No database parameter files for Progress 9.x • Admin server reads from “properties” files. • The properties files are stanza based. • You may use Marc or the Progress Explorer Tool to make modifications. • DO NOT edit these files by hand!
Progress 9.x Properties Files • V8 used many parameter files (/rd/opsys/nxtdb.pf) • $DLC/properties/conmgr.properties • Database Broker • All Databases Registered • $DLC/properties/ubroker.properties • Admin Server • Name Server • App Broker • Etc. • DO NOT edit these files by hand!
Progress 9.x Properties Files • Utilities to help validate your changes: ubconfig nsconfig asconfig (-name appsrv) dbconfig • These utilities are in $DLC/bin
Database Workshop Working With Databases (hands-on)
Working With Databases • Setup Progress environment variables • Progress Explorer tool • Progress configuration files • ubroker.properties • conmgr.properties
Working With Databases • Starting the Admin Server • Validating startup of Admin Server • Validating startup of Nameserver
Working With Databases • Start broker • Validate database broker startup • shared memory • Unix process • lock file • Stop broker
Working With Databases • emergency shutdown • log file • progress editor (errors messages)
Working With Databases • start APW • start BIW
Working With Databases • crash recovery • truncate bi file
Dump & Load – Exercise (hands-on) Data - .bd Structure - .df File - .db
Review • Question & Answer Session
Questions ? ? ? ? ? ? ? ? ? ? ? ?