HP Raining DataCorp. mvEnterprise manual MvEnterprise Disk Flushing Program

Page 30

1.11 mvEnterprise Disk Flushing Program

This program is available on the AIX systems, and would normally replace the native system syncd or fsflush daemons (background processes). The program is mvEnterprise machine specific and performs as follows:

￿￿The mvEnterprise database is divided into two segments; the space above the system file base (SYSBASE) and the space below it, enabling aggressive flushing of the data frames (those located above SYSBASE). Flushing of the workspace frames (below SYSBASE) is unnecessary.

￿￿The data space is divided into approximately equal sections (slices). Each section on a single drive is mmaped and flushed to disk. The disk flusher then sleeps a prescribed amount of time and then continues to the next section on the next disk drive.

￿￿This process allows flushing of the entire file system data space in approximately in n x m (where n equals the number of sections and m equals the sleep time in seconds). The defaults for the program are 60 sections and a one-second sleep, so the data space is synchronized to disk approximately once per minute.

NOTE: The workspace below SYSBASE is not normally synchronized (synced) since it contains no useful data in the event of a system crash.

￿￿After completing a number of data space flush cycles (loops), the program attempts to sync first the entire mvEnterprise virtual machine and finally the entire system. The last step is necessary because the user may have terminated the standard AIX synced process.

￿￿The act of syncing the entire machine may create the same performance problems the user is attempting to avoid. To minimize this possibility, most of the system should already be flushed before issuing the sync request. The program performs the following tasks:

￿￿Changes the sleep setting on the last pass through the data frames to a much smaller value.

￿￿Syncs sections of the work space using this smaller sleep time.

￿￿Executes fsync (an AIX system call) on the mvEnterprise file systems with the smaller sleep time.

￿￿Issues the system wide sync.

Page 28

mvEnterprise Release 4.1 on AIX

Installation Guide

Image 30
Contents MvEnterprise Release 4.1.0 on AIX Raining Data CorporationPage Table of Contents MvEnterprise Release 4.1 on AIX Installation Guide Installation Instructions Installation OverviewAlternate font Notation ConventionsNotation Explanation BoldAssembly Language Manual Part Number Additional DocumentationMvEnterprise Pick License Management All licensed ports are in use Before You Install Usr/config Usr/stat Cd /production Installation InstructionsMkdir production Tar -xvpf tapedevicenameInstall -o -m Prompt Response MvEnterprise Release 4.1 on AIX Installation Guide Mv prodpick prodpick.reg AbsrestoreFilerestore Cp -p pickoda prodpickEnter number of phantoms for restore, CR for none SYSTEM-UPGRADEMvEnterprise Release 4.1 on AIX Installation Guide Upgrade File Listing Account FileMvEnterprise Install Program How many mvEnterprise terminals?Enter initial data base names When done, type end Enter the name to be used for the mvEnterprise program?Cshrc Login Abs Support ScriptsKillpick Installation Options MmailaddrMvEnterprise Monitor Program #prodpick -istacked.dataData Flow y -X-on/off flow control defaultNo flow control passed to program as Input flow control onlyMvEnterprise Release 4.1 on AIX Installation Guide Current VFS = 36 Map = 1 Sequence = Adjusted lines = Current VFS = 48 Map = 1 Sequence = Adjusted lines =Prodpick Set the coldstart flag. Implied by options -a, or -f MvEnterprise Disk Flushing Program MvEnterprise Release 4.1 on AIX Installation Guide MvEnterprise Release 4.1 on AIX Installation Guide Extending Disk Space Prodpick -l0 -ePhantoms Prodpick -l0Users MvEnterprise Line Printer Driver Program Select Add Print QueueMvEnterprise Release 4.1 on AIX Installation Guide MvEnterprise Release 4.1 on AIX Installation Guide MvEnterprise Release 4.1 on AIX Installation Guide Select Change/Show Printer Characteristics Select Default Print Job AttributesProdpick.lj3pcl.99 Prodpick.lpd prodpick.lj3pcl.99 lj3pcl 10 -r & whereProdpick -l99 -oh -t/dev/prodpick.lj3pcl.99 Startptr 0,0,0,S99Startptr Configure the System for mvEnterprise on AIX Getting StartedSet -o emacs Set -oConfigure Tape Devices for mvEnterprise on AIX Select Tape Drive. The Tape Drive screen displays Special Considerations for 4mm DAT Units Special Considerations for Quarter-Inch Cartridge Tape UnitsMvEnterprise Release 4.1 on AIX Installation Guide Further Configuration Information For All Tape Devices Update the config.tape fileDev/rmt1.1 Configure Disks for mvEnterprise on AIX Volume Group name. Type mvevg00 MvEnterprise Release 4.1 on AIX Installation Guide Create a Logical Volume to Store mvEnterprise Data Select key Page Create a File System to Store mvEnterprise Data Select File Systems. The File Systems menu displaysSelect Mount Automatically at system restart?, then type yes Mounting the File System Create a Database to Store mvEnterprise Data EnterMvefs/mvelv00/DB0 Mvefs/mvelv02/DB1 end How many frames in this data space5000 minimum? Vi /etc/pse.conf Configure the System to use EthertapeUpdate the System to use Ethertape Xtiso Tcp Dev/xti/tcpUpdate the /etc/hosts File Index Etc/hostsMD-UPGRADE Utility