13.07.2015 Views

Picture Perfect 4.6 Enterprise Edition User Manual - UTCFS Global ...

Picture Perfect 4.6 Enterprise Edition User Manual - UTCFS Global ...

Picture Perfect 4.6 Enterprise Edition User Manual - UTCFS Global ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 4Managing your network database55ercmd.shHealth checks and other monitoring and management tasks that are specific to ER can be performedwith the command line function /cas/er/bin/ercmd.sh. The ercmd.sh script can be used to:• Get replication participating server information (list of servers)• Get table synchronization status• Get table replicating status• <strong>Manual</strong>ly re-synchronize table data• <strong>Manual</strong>ly re-synchronize data on a server• Extend the size of the ER database spaces when a new subhost is added to the configuration• Create a tar file with diagnostic information from all ER logs created on the system• Remove ER from the serverThe script can be run as root or ppadmin user.In addition, cronjobs, database tasks, and database issued events are used to monitor the ERsystem for:• ER database space at 90%• Server times being out of synch• Running out of sequences• ER errors (ATS/RIS files)• ER internal failureNote: Failed ER transactions are logged to files in the /ppbackup/ats and /ppbackup/ris directories.Table 5 lists the command options and arguments for ercmd.sh.Table 5.ercmd.sh optionsOptionDescription--list This option displays the names of the hosts participating in ER. See Chapter 5,Running ercmd.sh --list.--status [-b table_name]--createsupportfile--addchunks -d dbspace_name -n sizeThis option displays the replication status for replicated tables; optionally takesthe table_name argument to display the replication status for the specifiedtable.• When run on the nethost, shows the replication status for all tables on allhosts. See Chapter 5, Running ercmd.sh --status.• When run on a subhost, shows the replication status for itself and nethost.Note: The cdr_er_display_config.sh script can also be used to displaythe ER configuration and current state. This script displays 'cdr list server' datain a user-friendly manner with hostnames instead of group names (groupnames are not indicative of the host.)This option creates a tar file that contains ER diagnostic information forCustomer Support for troubleshooting purposes.The tar file is stored in /cas/log/pp_er_diag_data.tarThis option extends the ER database space. The addchunks option callscdr_er_ext_dbspace.sh to add new a new chunk (in MB) of databasespace for ER.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!