Survey
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Cisco Unity Connection Version 2.0 Database TOI Matt Penning – [email protected] Presentation_ID © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 1 Agenda Overview of changes File layout Troubleshooting Presentation_ID © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 2 Major Changes from CUC 1.2 Port to Informix Dynamic Server (IDS) IDS is the DBMS of choice for VTG, and a port was required since SQL Server doesn’t run on Linux. This involved porting several hundred stored procedures. Port to Linux Database components such as DbEvent and ConfigData were ported from Windows to Linux. Presentation_ID © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 3 Major Changes (cont) Setup scripts now in Python The database setup scripts had to be completely re-written since they were primarily in “Transact-SQL” language which is only supported by MS-SQL Server. Database is fixed size IDS does not support dynamic database growth, so the databases are of a fixed size. Connection runs separate instance of IDS Connection has it’s own separate instance of IDS so that there are not conflicts with other VTG applications. Presentation_ID © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 4 File layout Data files (called “chunks” in IDS): /var/opt/cisco/connection/db 1048576000 May 22 14:33 mbx16_dbs 1072000 May 31 12:08 mbx_dbs 524288000 Jun 19 10:40 dir_dbs 262144000 Jun 19 13:40 dir16_dbs 1048576000 Jun 19 14:00 temp_dbs 786432000 Jun 19 14:00 rpt_dbs 307200000 Jun 19 14:00 root_dbspace 225280000 Jun 19 14:00 log_dbs 131072000 Jun 19 14:00 dyn_dbs Presentation_ID © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 5 File layout (cont) Log files Database system message log file path: /var/opt/cisco/connection/log/informix.log Database system console message path: /var/opt/cisco/connection/log/console.ciscounity.log Available via RTMT Presentation_ID © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 6 Troubleshooting Logs Counter CLI Presentation_ID © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 7 CLI for Database show cuc tech dbserver all show cuc tech dbserver integrity show cuc tech dbserver log diagnostic show cuc tech dbserver log message show cuc tech dbserver status show cuc tech dbschemaversion show cuc dbcontents show cuc dbconsistency show cuc dbschema show cuc dbtable contents show cuc dbtable list Presentation_ID © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 8 CLI (cont) show cuc dbtable schema show cuc dbview contents show cuc dbview list show cuc dbview schema show cuc dbserver disk show cuc dbserver sessions all show cuc dbserver sessions list show cuc dbserver session show cuc dbserver user list show cuc dbserver user waiting run cuc dbquery Presentation_ID © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 9 Q and A Questions? Matt Penning – [email protected] Presentation_ID © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 10 Presentation_ID © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 11