Gyroscope Extensions For Lucas Rel 1

Download Report

Transcript Gyroscope Extensions For Lucas Rel 1

Unity Connection 2.0(1)
Messaging Architecture Overview
TOI
June 2007
Jane Rygg
[email protected]
© 2003, Cisco Systems, Inc. All rights reserved. Proprietary and Confidential
1
Overview
• Architectural Changes
• System Maintenance
• Troubleshooting
Presentation_ID
© 2003, Cisco Systems, Inc. All rights reserved. Proprietary and Confidential
2
Architectural Changes
• Removal of StreamServer
• Remove of IIS SMTP Server
• Addition of our own SMTP Server (java javamail) used for
VPIM and outgoing SMTP notifications
• No change to Notifier (except SMS not available until next
release).
• No change to MTA (except for support for VPIM).
• No change to IMAP Server (except performance
improvements)
• No change to structure of UMSS message database
• No change to UMSS Tasks
Presentation_ID
© 2003, Cisco Systems, Inc. All rights reserved. Proprietary and Confidential
3
Messaging Architecture
User
CPCA Client
Message Record
&
Play
Message Record
&
Play
Access
Messages
CDE (TUI)
TTS Text
messages
Message Submission
&
Retrieval
Message Submission
&
Retrieval
JNI
Microsoft
Exchange
Server
UMSS access
CsMalUmss
CsMalIMAP
Notifier
Message
Notification
Access
Attachments
IDS Server
Access
Attachments
Subscriber
Messages
Access
UMSS
Directory
CsMALUmss
SMTP Notification
Messages
SMTP
Pickup
Store
Message
Header
Outgoing
VPIM
messages
Drop
Folder
File Store
S
M
T
P
Access
Message
Headers
Access
Message
Headers
UMSS
IMAP/SMTP Client
Tomcat
IMAP
Server
CML
Access
Text
Messages
`
MTA
Store
Attachments
S
E
R
V
E
R
VPIM
Messages
Outgoing
VPIM
messages
VPIM
Server
Incoming
VPIM
Messages
Ex-Drop
Folder
Outgoing
Notification
messages
L1 Server
Corporate Fire Wall
Remote
SMTP
Servers
Presentation_ID
SMTP
Communication
Corporate
SMTP
Server
Remote
SMTP
Servers
© 2003, Cisco Systems, Inc. All rights reserved. Proprietary and Confidential
4
Message Flow - Delivery
Application (Conversations,
CPCA, etc) using CML
CsMa
MTA
UMSS Message Database
File System
SMTP Server
Create draft message
Gather recipients,
recording, and
message info from
sender
Submit draft message
Wait for messages
in MTA drop folder
Message into MTA drop
Submit complete
Move message to MTA
queue
Pull message from
queue and parses
message
Local recipient: store message parts as files
Wait for messages in
SMTP pickup folder
Local recipient: store headers in db
Sends new message event to NotifyQ
Remote recipients (VPIM): message into SMTP pickup
SMTP to VPIM
Presentation_ID
© 2003, Cisco Systems, Inc. All rights reserved. Proprietary and Confidential
5
Message Flow – IMAP Retrieval
IMAP Client
IMAP Server
UMSS Message Database
File System
User selects message
IMAP dialog to Logon, Select, Fetch
Maps IMAP sequence
number to message in
UMSS
Marks message seen
Sends read event to NotifyQ
Performs query to get header
Returns header
User opens audio attachment
IMAP dialog to Logon, Select, Fetch
Maps IMAP sequence
number to message in
UMSS
Gets attachment info for message
Retrieves file for attachment
Base64 encodes audio
Returns audio to client
Presentation_ID
© 2003, Cisco Systems, Inc. All rights reserved. Proprietary and Confidential
6
Message Flow – Message Deletion
Application (Conversations,
CPCA, etc) using CML
Subscriber
(not last)
deletes
message
CsMal
UMSS Message Database
File System
UMSS SysAgent Task
Issues message delete
Deletes reference to msg
Subscriber
(last) deletes
message
Issues message delete
Deletes reference to msg
Get list messages with no recipients
Get list files associated with each message
Delete files associated with msg
Delete file references for message
Delete message reference
Presentation_ID
© 2003, Cisco Systems, Inc. All rights reserved. Proprietary and Confidential
7
System Maintenance
• System Mailboxes
• UMSS Tasks
Presentation_ID
© 2003, Cisco Systems, Inc. All rights reserved. Proprietary and Confidential
8
System Mailboxes
• Unity Connection Mailbox
• Undeliverable Messages DL
Presentation_ID
© 2003, Cisco Systems, Inc. All rights reserved. Proprietary and Confidential
9
UMSS Tasks
Message Aging
Based on message aging rules, cleans
expired messages from the mailbox of
the Unity Subscriber. Does not delete
associated audio file(s).
Clean Deleted Messages
This task deletes messages from Unity
databases and the file system which
have been deleted by all its recipients
Purge Empty Message
Stream File Directories
Monitor Disk Space
Removes directories from which all
message stream files have been deleted
Monitors Unity System directories and
sends alerts if disk volume is getting full
(over 90%).
Presentation_ID
© 2003, Cisco Systems, Inc. All rights reserved. Proprietary and Confidential
10
UMSS Tasks Continued
Monitor Bad Mail
Monitors the MTA bad mail and STMP
bad mail folders, which may contain
messages that could not be delivered or
NDRed, and reports the number of
messages.
Monitor System
Mailboxes
Monitors the system mailboxes and
reports the number of messages per
Clean Orphaned
Messages
Cleans orphaned messages from the
Unity database and the file system.
Clean Orphaned
Message Stream Files
Cleans orphaned message stream files
from the file system.
Presentation_ID
mailbox.
Note: Rare and unexpected error case
Note: Rare and unexpected error case
© 2003, Cisco Systems, Inc. All rights reserved. Proprietary and Confidential
11
Troubleshooting
• Message Tracking diagnostics for normal
message delivery and retrieval
• Troubleshooting MWI problem
• Troubleshooting SMTP Notification
problem – access SMTP Server bad mail
folder
• Access UmssMtaBadMail Folder with
contrived scenario to generate bad mail
• Using CLI to access bad mail folders
Presentation_ID
© 2003, Cisco Systems, Inc. All rights reserved. Proprietary and Confidential
12
Accessing Bad Mail Folders with RTMT
Using RTMT Log and Trace Central
Remote Browse for Trace Files for
• Unity Connection Message Transfer Agent
• Unity Connection SMTP Server
When the remote browse is ready, the bad mail folders will
appear if there are any files in the folders.
• The folder UmssMtaBadMail under Unity Connection
Message Transfer Agent
• The folder badmail under Unity Connection SMTP Server
Presentation_ID
© 2003, Cisco Systems, Inc. All rights reserved. Proprietary and Confidential
13
Accessing Bad Mail Folders with CLI
Using CLI to access the bad mail folders
To list the files in the SMTP Server bad mail folder
• file list activelog cuc/badmail
For the MTA bad mail folder
• file list activelog cuc/UmssMtaBadMail
Then get the one you want (you'll need an SFTP server):
• file get activelog cuc/badmail/<file name>
or
• file get activelog cuc/UmssMtaBadMail/<file name>
Presentation_ID
© 2003, Cisco Systems, Inc. All rights reserved. Proprietary and Confidential
14
If Cannot Access Bad Mail Folders
If the UmssMtaBadMail and/or badmail folders do not show up in RTMT Log and Trace Central
or under cuc using CLI file commands, then the following commands can be run to after
gaining root access on the system.
cd /common/var-connection-2*
ln -s /common/var-connection/smtp/default/badmail log/badmail
ln -s /common/var-connection/spool/UmssMtaBadMail log/UmssMtaBadMail
cd /common/var-connection/smtp/default
chmod +x badmail
Presentation_ID
© 2003, Cisco Systems, Inc. All rights reserved. Proprietary and Confidential
15
Presentation_ID
© 2001, Cisco Systems, ©
Inc.
2003,
All rights
Ciscoreserved.
Systems, Inc. All rights reserved. Proprietary and Confidential
16