Upload
others
View
20
Download
0
Embed Size (px)
Citation preview
CAD Sys Admin Training
Wednesday, November 06, 2019
Shelli Baker, CAD Delivery ManagerFrank Moore, Senior Support Consultant
Agenda
2
1. Introduction2. Public Safety CAD Admin Training 20203. Listener4. Best Practice - Overrides5. Distributing Files from the Database6. CAD Remarks7. Customizing the CAD Pulldown Menu8. Default View9. Monitors and Filters10. Auditing in CADDBM11. MCF vs WPF12. CAD Safeguards13. Q&A
• Training room B• Clean, Quite, Comfortable, State
of the Art training facility• Start of the art hardware• Latest Software• Onsite Café for Breakfast and
lunch• A barista for your morning and
afternoon coffee needs• Walking path around the lake• UX Team
Huntsville Training Facility
4
• Overview of Admin class offerings• Intro – 3 day – (spell CAD and Breathing) – Trainer: Frank Moore• Core – 4 day – (Cad admin experience or the Intro Class) – Trainer: Frank Moore• Advance – 4 day – (CAD admin experience or Intro and Core Classes) - Trainer: Frank Moore• Map Admin – 4 day – (CAD Mapping Admins) – Trainer: Steve Cain• MPS Admin – 4 day – (MPS Admins) – Trainer: John Gaines• WEB RMS – 4 day – (RMS Admins) – Trainer: Brian Evans
• Hexagon Safety and Infrastructure Events Web Site• https://www.hexagonsafetyinfrastructure.com/events
Huntsville Pubic Safety Admin Training
5
2020 Huntsville Training Schedule Subject to change
6
1. Listener – reading the registry, CAD DB Connection and CAD configurationa) What product installs Listenerb) Where is listener runningc) Where are the ports setd) Starting Listener
i. Connection (ports, terminal nodes) Bounce One
e) Keeping everything consistent (exporting and importing the registry)f) Trouble shooting Listener
i. TCP – Nodes – Ports – Time – DNS
g) Where is listener running?i. What machines are sending and reading Listener Packets
h) How does listener know which packets to read and which ones to ignore??i) What’s the difference in the listener on the client vs the server
Listener
7
1. Cross Traffic – causes and preventiona) Causes
i. Multiple configuration using the same ports in CADDBM• EXAMPLE: Production and test
ii. Switching Environments without bouncing listener• Listener not listening on the proper ports
iii. When creating a test system from the production system• Export DB – import DB – Change Security setting – Start dispatcher
Cross Traffic
8
1. Advantages of OVERRIDESa) Configuration
i. Clients vs Serversii. Different Agenciesiii. Dispatcher Position
b) Upgradesi. CADDBM is better then Visual Studio Changes
c) Parameter to turn on auditingi. Set Name - CADDBMii. General Details – EnableAudit
d) Why backup your overrides with the Configuration and Parameter Utilityi. Changing configuration messes something upii. Accidental deletion of something in CADDBM like Configuration records
• How quick can things go south. Deleting a Configuration Record.• Now you have to recover
Overrides
9
1. Distributing custom Files to client workstationa) Why – Consistent Client Configurations b) Where does everything go
i. Three locations• Bin directory of the executable
• C:\Program Files (x86)\Intergraph\”PRODUCT”\bin• CMAP base directory
• C:\Program Files (x86)\Common Files\Intergraph\ICAD• Cad Entities location
• C:\Windows\Microsoft.net\Cad
2. Download Files parameter tablea) Used for unknown files.
3. Are the CMAP and Bin subdirectories my only option for custom files?a) ..\..\..\..\temp
Distributing Client Files
10
1. Formatting in the Event Information Remark’s fielda) Easy to setup the default functionality
i. CADDBM>>Add On>>Miscellaneous>>Highlight Keyword
b) How to configure different colors for different types of words.i. Weapons (Gun, Knife…) defaultii. Animal (Dog, Snake, Alligator…) iii. Outside Agency (FBI, Secret Service, National Guard…) iv. Medication alerts (Insulin, Medication, v. Gaseous smells (Gas, Propane, Ammonia…)
c) Highlight Keywords and Remarks Priority Parametersi. EventCommentRickTextFactory
• Associating Style with the default highlight keywords or Custom Words
ii. RichTextStyleDefinition• Set Style for Highlight keyword and special lists
iii. EventCommentPriority• Sets the Priority Definition for remarks
Remarks - Highlighting Keywords
11
1. Add Event Remarks CMD - MonitorCMDKeya) Replaces - Add Event Comments – CDCMDKEY
2. Configurable Operator Name for System Commentsa) OperatorCommentType: General Details
3. Simple Remarks Controla) Older MCF Gadget Control
4. Security Groupa) CADDBM > Agency > Security Groups
5. Set Operator ID to be used for system actionsa) SystemActionID: General Detailsb) Used by: Unit alarm and Hold event timer expiration
i. Default is 0 (zero)
Remarks – Configuring Others
12
1. Adding something to the pulldown menu without Visual Studioa) MonitorCmdkey
i. Has the ability to add items to the pulldown menu or create a new pulldown menuii. @ - symbol starts the path to the pulldown menu
• Example @Tools\&Multi Line Command Line
b) MulitLineCmdLinei. OK it’s very limited in what you can do here but it’s still Cool!ii. More of an admins tool then everyday use
• Persistance doesn’t work with the Multi Line Command Line option.
c) ICM Event Searchi. If it’s in the MonitorCMDKey I can create a new pulldown
Addition to the Pulldown menu
13
1. Don’t fit the whole map, just the coverage areaa) CADDBMb) Parameter Listsc) GeneralDetailsd) Default View
i. Value = 1x 1y 2x 2y the blank space is the delimiter.
Ora) Dispatcher’s Save View Commandb) Parameter List
i. MonitorCMDDisp
Default View
14
1. Configuring Monitors are always funa) Tabbed Monitors and Filters
i. Why is –TAB equal to Monitor Window?
b) MonitorCMDDisp or Macroc) Creating Filters CADDBM or Dispatcher?
i. CADDBM• Quick if the filter is short and easy• Must know syntax to manually enter filter
ii. Dispatcher• Complicated• Long • Don’t know syntax
d) Filtering a Map Viewi. New map view –ev filter –un filter
e) Modify Users Custom Displayi. The save functionality doesn’t change the Users Custom Display.ii. Table display_filter_config
Configuring Monitors
15
1. CADDBM Auditinga) Parameter to turn on auditing
i. Set Name - CADDBMii. General Details – EnableAudit
2. Adding Highlight Keywords’ Dialog to auditinga) Edit_MCF to get the Dialog and Gadget IDs in dbmres.dll
i. 1301 - Dialogii. 141 - Insertiii. 142 - Updateiv. 1004 - Delete
b) Auditdialogsi. Parameter Name – Dialog IDii. Configuration name – Overrideiii. Values – Button IDSiv. Type – Cv. Description – meaningful description
Auditing in CADDBM
16
1. What is the safeguard in the CAD connectiona) DB_Config_History - DB_Config_Nameb) Registryc) How does this work?
DB Safe Guard
17
1. Binding Data from Database to DialogCustom Location Addition to Dispatcher Lab
a) MCFi. Visual Studio
• Add Combo Box• Get Dialog and Combo Box ID
• EditMCF.exeii. Configuration Records
• Dialog and Gadget IDs
b) WPFi. Cadentities
• Add flag if new columnii. Subscriptions
• Subscribe to CADentities Flagiii. Visual Studio - XAML
• Binding Codeiv. Change Publisher
• Monitor Database Changes
MCF vs WPF
Log Files
• Types of Log Files• Application Logs• ISM Services Logs• Configuring Logging• Logging & Debugging Tools• Log File Maintenance
Types of Log Files
• .log• .00x• .err
Application Logs• IDISP/ICALL
• Cad_log.00x• CADDBM
• Caddbm.err, dbm_log.00x, • CAD_BIP
• bip_startup.001,cad_bip.log,Others
Application Logs• Listener
• Cad_lstn.log, listener.log, lstnsvc.log, ISMListener_mmddyy.log• HADB/HAClient
• HaClientdbg<executable name>.log and HaClientErr<executable name>.log.
• ISM• ismMMDDYYYY.log, ISM-Service.log in C:\Program Files
(x86)\Intergraph\ISM\history-ISM• ISM defined services also have separate log files for each one
• Recommend Unit• ISM_RecommendUnit and RecommendUnitService for the service, and
logs for each time the recommend is run for an event
Configuring Logging
• IDISP/ICALL & CADDBM• DebugSettings parameter table
• HAClient• CAD Query Tool > Database > HA Database Configuration Options
• CFG_Param >>>>>
• Recommend
Logging/Debugging Tools
• DBG Command Lines• DBG TREE
• IPSLogs• IPSLog.exe is a utility meant to be used in the following ways:• To function as a startup utility where logs are collected prior to each application startup to
ensure logs are never overwritten.• To function as a log collection utility where a user manually initiates the tool to collect logs when
an issue occurs.• To function as a log collection tool on a Hexagon application server where one or more
applications are running or configured to run in ISM.• To function as an information collection tool where system and Hexagon file version information
is collected in addition to an automatic export of the Intergraph Public Safety registry.• ADPlus
• Microsoft Debugging Tool
Log File Examples
Recommend Unit Service
Log File Examples
Listener in Services Listener in ISM
Log File Examples
Listener Already Running Node Not Defined in Term Node
Log File Examples
• HAClient
Log File Examples
• Time Sync IssueHaError Critical: 0 : 2017-02-27 08:02:59.522 356 1816 CAD VerifyTimeIsWithinToleranceMessage = The clocks on the local and database server machines differ by more than the allowed tolerance.Server Time:2/20/2017 5:38:07 PM Client Time:2/27/2017 8:02:59 AM Tolearance 30Exception Type = Intergraph.Cad.Data.HaDataExceptionError Number = 34
Log File Examples
• Supp Info Config Missing
Log File Hints & Tricks
• Scroll to bottom of file for most recent details• Search for word ERROR• Search for word Command• Search for table_name• Review sql statements shown, copy and paste to
Query Tool/SSMS to run manually (may have to edit some)
*Log File Maintenance
Log files found on I/Dispatcher and I/Calltaker workstations generally are not needed unless system administrators are troubleshooting problems. By default ISM Administration will delete logs for services that run in ISM Administration that are older than 30 days. Often times, that is sufficient but could be changed in ISM Administration on a per workstation basis. This process does not delete log files that are not generated by services and applications that do not run in ISM Administration. Therefore a manual process should be established to remove log files to prevent the clients from normal operations because of lack of disk space. If necessary, a utility named IpsFileCleanup can be provided that allows for the automatic deleting of log files older than a certain number of days.
Questions and Answers
Thank You
33