包含在尋找其他文件熱門支援資源 | 以 PDF 格式下載這本書 (546 KB)
Chapter 4 Communications Suite Advanced FeaturesThis chapter describes some of the advanced features of Communications Suite. This chapter contains the following sections: Using Advanced Instant Messaging FeaturesThis section describes how to use Access Manager to provision users and how to configure archiving for Instant Messaging. Access Manager enables you to create roles and policies and apply those to users to define their access rights. Previously, this guide described how easy it is to assign a user to a given role. This section enables you to examine policy and role creation to define a new Instant Messaging policy. API Level FilteringIn The Instant Messaging Demo, you learned that access and privacy filters can be used by end users to block Instant Messaging traffic or presence updates from certain individuals. Additional flexibility can be obtained by deploying filters that perform text conversion or block certain payloads that contain viruses. For example, an administrator can create a filter that blocks or converts obscene words in an instant messaging conversation. Other uses include text translation, rich text to plain text conversion, or domain level blocking. Sun Java System Instant Messaging provides a Message Conversion API that developers can use to create more complex filters that can be applied to the Instant Messaging Server. Learn more about API level filtering from the Instant Messaging product documentation (http://docs.sun.com/app/docs/coll/1309.1).
|
iim_server.msg_archive.provider = "com.iplanet.im.server.IMPSArchive" |
Restart the Instant Messaging server.
/opt/SUNWiim/sbin/imadmin refresh |
Perform a poll, or a chat, to generate some Instant Messaging data. For performing poll or chat, see The Instant Messaging Demo.
Click the Search tab from within Duncan's Portal Server desktop.
In the Find field, type a key word such as poll or a word from the chat, and click Search.
The results of the search are displayed. Note that the poll results look like actual final poll results, not extraneous data points. Also, the entire conversation is returned, not just the sentence containing the keyword.
Sun Java System Instant Messaging has an HTTP proxy gateway to connect simple HTTP clients to the Instant Messaging server. Uses for this include phone clients, simple web-based clients, or other clients. You can install web-based clients such as jwchat into a web container and use them in conjunction with your host.
In addition to command-line tools and Access Manager, Communications Suite has a graphical user interface called Delegated Administrator, that you can use to provision users, domains, and service packages.
This section walks you through a scenario that uses Delegated Administrator as if you were a service provider hosting email for several small companies. As this service provider, you have just signed an agreement with a new company. You now need to provision the new domain and add the required mail service for that domain. As the administrator for the service provider, you must also create a domain administrator who has access to that specific domain only.
In this task, you create a new domain for hosting email and you assign different levels of service to this domain.
Type the following URL of Delegated Administrator in your web browser.
http://hostname/da/DA/Login
For example, http://wireless.map.beta.com/da/DA/Login.
Log in as user amadmin with password adminpass.
The main Delegated Administrator view appears. You are logged in to the root organization and the default domain appears in the organization list.
Click New Organization.
The New Organization pop-up window appears.
For the Organization name, type demoone.com, and for Domain Status, select Active and click Next.
Skip the Contact Information screen and click Next.
The Account Information screen appears.
Type demoone.com in the Domain field and click Next.
The Select Service Packages screen appears.
Because you are interested in only enabling hosted mail, choose Service Packages that only contain mail.
Several packages are available, depending on the desired mail quota. Select the bronze, gold, and platinum check boxes and click Next.
The Mail Service Details screen appears where you allow the administrator to define disk and attachment quotas for the domain.
For the Preferred Mail Host, type your host name, for example, wireless.map.beta.com and click Next.
The Quantity of Service Packages screen appears.
(Optional) If calendar service packs were chosen, establish calendar session timeouts and other attributes through Calendar Service Details.
Calendar Server has not been configured for hosted domains, so leave all the fields blank and click Next.
Define the number of Service Packages you would like to assign to this domain.
Because this is a small company of less than 50 people, assign 30 service packages for each type of service.
Click Finish.
You have created your first domain.
Click the Log Out link to exit Delegated Administrator.
You have just learned to create domains. In this demo, you will log in as the organization administrator and create users.
At the Delegated Administrator Login screen, log in as the domain-level administrator.
Use the ID admin_demoone.com. Use the password from the sectionTo Create a Domain.
To Create users for this company, click the New button.
The New User pop-up window appears.
Type the following:
First Name: Larry
Last Name: Brown
Display Name: Larry Brown
Click Next.
Skip the Contact Information screen and click Next.
The Select Service Package screen appears.
Select one of the three packages, for example, bronze. Click Next.
Type the mail service details.
Instead of accepting the default Email Address, change the email address to lbrown@demoone.com and click Next.
(Optional) If you chose a service pack that included calendar service when you originally created your domain, you will see a Calendar Service Details screen.
If you left all the calendar fields blank when you created the domain, you can leave all the fields blank in this screen also and click Next.
Change the Login ID from Larry_Brown to lbrown. Type the password demo and click Next.
Verify the User Information then click Finish to create the user.
Look in the Delegated Administrator user interface to see that the new user has been added to the demoone.com domain.
Click the Log Out link to exit Delegated Administrator.
Continue with the next task to verify that the user ID can log in.
Type the following URL of Communications Express in your web browser. For example,
http://wireless.map.beta.com/uwc |
For this example, the User Name is lbrown@demoone.com and the password is demo.
You are now logged into Communications Express as Larry Brown.
Send test messages to yourself or to other users, such as duncan, kathy, tina, and robert in the map.beta.com domain.
Although a Calendar tab exists in Communications Express, the tab is not functional because you did not enable hosted domains for Calendar Server during the initial installation. You can add or remove this Calendar tab at a later date if you deploy calendar hosted domains.
This section describes the commands needed to start and stop all the Communications Suite services.
You should stop services before attempting to start them.
To stop services:
/opt/SUNWiim/sbin/imadmin stop
/etc/init.d/amserver stop
/opt/SUNWwbsvr/https-wireless.map.beta.com/stop
/opt/SUNWics5/cal/sbin/stop-cal
/opt/SUNWmsgsr/sbin/stop-msg
/opt/DSServers/stop-admin
/opt/DSServers/sladp-wireless/stop-slapd
To start all services:
/opt/DSServers/start-admin
/opt/DSServers/slapd-wireless/start-slapd
/opt/SUNWmsgsr/sbin/start-msg
/opt/SUNWics5/cal/sbin/start-cal
/opt/SUNWwbsvr/https-wireless.map.beta.com/start
/etc/init.d/amserver start
/opt/SUNWiim/sbin/imadmin start