cad sys admin training

33
CAD Sys Admin Training Wednesday, November 06, 2019 Shelli Baker, CAD Delivery Manager Frank Moore, Senior Support Consultant

Upload: others

Post on 25-Dec-2021

15 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: CAD Sys Admin Training

CAD Sys Admin Training

Wednesday, November 06, 2019

Shelli Baker, CAD Delivery ManagerFrank Moore, Senior Support Consultant

Page 2: CAD Sys Admin Training

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

Page 3: CAD Sys Admin Training

• 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

Presenter
Presentation Notes
NO more and no less than these tables. You must Copy them all or you WILL run into issues.
Page 4: CAD Sys Admin Training

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

Page 5: CAD Sys Admin Training

5

2020 Huntsville Training Schedule Subject to change

Page 6: CAD Sys Admin Training

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

Page 7: CAD Sys Admin Training

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

Page 8: CAD Sys Admin Training

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

Page 9: CAD Sys Admin Training

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

Page 10: CAD Sys Admin Training

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

Page 11: CAD Sys Admin Training

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

Page 12: CAD Sys Admin Training

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

Page 13: CAD Sys Admin Training

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

Page 14: CAD Sys Admin Training

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

Page 15: CAD Sys Admin Training

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

Page 16: CAD Sys Admin Training

16

1. What is the safeguard in the CAD connectiona) DB_Config_History - DB_Config_Nameb) Registryc) How does this work?

DB Safe Guard

Page 17: CAD Sys Admin Training

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

Page 18: CAD Sys Admin Training

Log Files

• Types of Log Files• Application Logs• ISM Services Logs• Configuring Logging• Logging & Debugging Tools• Log File Maintenance

Page 19: CAD Sys Admin Training

Types of Log Files

• .log• .00x• .err

Page 20: CAD Sys Admin Training

Application Logs• IDISP/ICALL

• Cad_log.00x• CADDBM

• Caddbm.err, dbm_log.00x, • CAD_BIP

• bip_startup.001,cad_bip.log,Others

Page 21: CAD Sys Admin Training

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

Page 22: CAD Sys Admin Training

Configuring Logging

• IDISP/ICALL & CADDBM• DebugSettings parameter table

• HAClient• CAD Query Tool > Database > HA Database Configuration Options

• CFG_Param >>>>>

• Recommend

Presenter
Presentation Notes
a
Page 23: CAD Sys Admin Training

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

Page 25: CAD Sys Admin Training

Log File Examples

Listener in Services Listener in ISM

Page 26: CAD Sys Admin Training

Log File Examples

Listener Already Running Node Not Defined in Term Node

Page 27: CAD Sys Admin Training

Log File Examples

• HAClient

Page 28: CAD Sys Admin Training

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

Page 29: CAD Sys Admin Training

Log File Examples

• Supp Info Config Missing

Page 30: CAD Sys Admin Training

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)

Page 31: CAD Sys Admin Training

*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.

Page 32: CAD Sys Admin Training

Questions and Answers

Presenter
Presentation Notes
Open up, if there is time for question and answer. Also talk about the training classes that will be coming up in 2019.
Page 33: CAD Sys Admin Training

Thank You

33