![]() | |
Sun Java System Communications Express 6 2004Q2 ����ָ�� |
�� 1 ��
��װ������ Communications ExpressSun Java System Communications Express �����ͻ���ģ�飺��������ͨѶ¼���͡��ʼ�����
������͡�ͨѶ¼���ͻ���ģ������Ϊ����Ӧ�ó������κ� Web �����ϲ���ģ��ڱ�ָ���н���ͳ��Ϊͳһ Web �ͻ��� (UWC)��Messenger Express �Ƕ�b�� Web �����ʼ�Ӧ�ó�����ʹ���ʼ�������� HTTP ����Messenger Express Ӧ���롰����͡�ͨѶ¼��ģ�鲿����ͬһ��ϵͳ�ϡ�Ҫ�� UWC ���� Messenger Express����ȷ���� uwcconfig.properties �ļ��е� mail.deployed ��������Ϊ��true������������ 4-5 ���ᵽ�����ʼ���ص����ԡ�
��ͨ����ܲ���Ӧ�ش�����֤��Ϣ4ʹ�� Messenger Express Multiplexor l�ӵ�����ϵͳ�ϲ���� Messenger Express���й�������� Messenger Express Multiplexor �IJ��裬��μ�Sun Java System Messaging Server ����ָ������ 5 �¡����ú����·�����������
�йظ���ϵ�ṹͼ�?��μ�ͼ 2-1��
���½�����ΰ�װ������ Communications Express��
���°��������⣺
ͨ�� Java Enterprise System ��װ����װ Communications ExpressҪ��װ Communications Express���밴�����������
- �� Sun Java Enterprise System ��װ������ʾ������б���ѡ�� Sun Java System Communications Express��
ע
ѡ�� Sun Java System Communications Express ���ڡ����ѡ�����еġ�Web ��Ӧ�ó�������б�������Զ�ѡ�С�Web Server�������ǣ����ϵͳ���Ѱ�װ�� Web Server������ø�ѡ�
- ����ʾ����װĿ¼����塣��2�ָ��ÿ�������Ʒ��Ŀ�갲װĿ¼����ơ�
������һ����
- �ڳ��ּ���������ʾ���������͡���塣
- ȷ��������������ͣ�
- ѡ��һ���������ͣ�Ȼ����һ������
���ѡ���Ժ����á�����ȷ��������˳��������� Communications Express ��Ʒ�����ã�
- ��ʱ������֡��������á���塣
������һ�����������������Ʒ������У���
- ��ɰ�װ��̡�
�Ⱦ���������� Communications Express ���������֮ǰ��ȷ��ִ�����²���
- ���� comm_dssetup.pl���汾 6.1�����汾 0.2���Ը����û�/�� Directory Server �е�ģʽ��ϸ��Ϣ�����Դ� Messaging Server �� Calendar Server ��Ʒ4���� comm_dssetup.p1 ������
�� Calendar �� Messaging Ŀ¼���� comm_dssetup.pl �ű���
- ��� PAB Directory Server ���û�/�� Directory Server ��ͬ�������� comm_dssetup.pl���汾 6.1�����汾 0.2������ PAB Directory Server�����Դ� Messaging Server �� Calendar Server ��Ʒ4���� comm_dssetup.p1 ������
- ȷ�� Solaris ϵͳ�ϵ� /etc/hosts �ļ���������Ŀ��
<ip-of system> <FQHN> <hostname>
���磬129.158.230.64 bugie.siroe.varrius.com budgie
- ȷ����Ϊϵͳ������һ�������������
Ҫ�� UNIX ϵͳ������һ�������������
- �� /etc/nsswitch.conf �ļ������� hosts ��������ϸ��Ϣ�����磬
hosts:files dns nis
����������Ʒ������˵�������������������ʱӦʹ�õ�˳����Ʒ������˳��Ϊ��files��dns �� nis��
- ȷ�� /etc/hosts �ļ����ݼ���� IP ��ַ�����}����������
���磬���ϵͳ IP ��ַΪ 129.158.230.64��������� /etc/hosts �ļ��н� IP ��ַ����Ϊ��
129.158.230.64 bugie.siroe.varrius.com budgie
����
129.158.230.64 bugie.siroe.varrius.com budgie loghost
����� IP ��ַʾ��Ϊ��
129.158.230.64 budgie
���� Communications Express
- �Թ���Ա�û���ݵ�¼��
- �ڵ���������֮ǰ����������ʾ���á�
- ת�� <uwc-basedir>/SUNWuwc/sbin Ŀ¼��
uwc-basedir �� Communications Express �����İ�װĿ¼�������� JES ��װ����ġ���װĿ¼�������Ϊ Communications Express �����Ŀ¼·����
- Ȼ�����
./config-uwc �Ա��� GUI ģʽ�µ������ù��ߡ�
./config-uwc - nodisplay �Ա��ڿ���̨ģʽ�µ������ù��ߡ�
- ��ʱ����������������²��轫ָ������� Communications Express �����á�
- ��ӭ��
���ó���ĵ�һ������ǰ�Ȩҳ�档ѡ����һ���������ѡ��ȡ���˳�
- ѡ��Ҫ�洢���ú�����ļ���Ŀ¼����
ѡ�� Communications Express ���ú�����ļ��Ĵ��Ŀ¼�����磬/var/opt/SUNWuwc��
������һ������
- ������һ��С�������ڣ�ָʾ����װ��������������Ҫ������ʱ�䡣
- ѡ��Ҫ���õ������
��ѡ��Ҫ���õ��������ȡ��ѡ��ϣ�����õ������
- ����l�ӡ�
���ó�����ʹ�ô��������ʾ�������� DNS ����4��b����l�ӡ�
���������ʾҪ���� Communication Express ��������ơ�
DNS ��������ʾ DNS Server ���� DNS ����
������һ������
- ѡ�� Web ����
����ʾ��ѡ����ѡ��Ҫʹ�õ� Web �������ѡ��Ϊ��
- �����ѡ�� Application Server ��Ϊ Web ����
- ��ʱ������֡�Application Server ������ϸ��Ϣ����塣
�������ָ��������ϸ��Ϣ��
��װĿ¼����2�ѡ��װ Application Server �ı��ذ�װĿ¼��
��Ŀ¼����2�ѡ�� Application Server ����Ŀ¼��
�ĵ���Ŀ¼����2�ѡ�� Application Server ���ĵ���Ŀ¼��
������ʵ����������Ҫ���� Communications Express �� Application Server ʵ�����ơ�
����������ʶ��������Ҫ���� Communications Express ������������ʶ��
������ʵ�� HTTP �˿��������ṩ HTTP ����� Application Server �˿ںš����Ƿ��� Communications Express Ӧ�ó�����ʹ�õ� HTTP �˿ڡ�
������һ������
ע
�ڴ˴�ָ�� HTTP �˿ںš����Ҫ���ð�ȫ�� HTTP �˿ںţ��������� Communications Express ��ָ����Ҫ���ð�ȫ�Ķ˿ںţ���μ��� 3 �¡�Ϊ Communications Express ����ϵͳ������ SSL ģʽ��ʹ�� Communications Express �������ṩ�ĺ������ò��衣
- ����һ��С����ڣ�ָʾ������֤ Application Server ʵ���������Ҫ������ʱ�䡣
������ù�����l�ӵ� Application Server ʵ������ʾһ�������Ϣ��������ܡ�����ִ�а�װ��̣����ߵ�������ѡ���ٴ�ָ�� Application Server ������ϸ��Ϣ��
- Application Server ����ʵ����ϸ��Ϣ��
ָ�� Application Server �Ĺ���ʵ����ϸ��Ϣ��������ʹ�ù���ʵ����ϸ��Ϣ�� Application Server ������ Communications Express��
Administration Server �˿������� Administration Server �˿ںš�
����Ա�û� ID���������Ա���û���ʶ��
����Ա�������������Ա���û����
��ȫ�� Administration Server ʵ����ѡ��˸�ѡ����ָ�� Application Server �Ĺ���ʵ���ڰ�ȫģʽ�����С�
ȡ��ѡ��˸�ѡ���ָ�� Application Server �Ĺ���ʵ������ģʽ�����С�
������һ������
�����ѡ������ݣ�������һ���ڣ�ȷ�� Application Server ����ʵ��ǰ������ģʽ������ȷ�����˳��ڡ�
- �� Web Ӧ�ó����ģ����ơ�
������ Application Server �ϲ��� Communications Express Ӧʹ�õ�ģ����ơ�
������һ������
- �����ѡ�� Web Server ��Ϊ Web ����
- ��ʱ������ʾ��Web Server ������ϸ��Ϣ����塣
ָ������ Web Server ʵ����ϸ��Ϣ����װ����ʹ�ô˴�ָ���� Web Server ��ϸ��Ϣ�� Web Server �ϲ��� Communications Express��
�������Ŀ¼����2�ѡ�� Web Server �İ�װ��Ŀ¼�����磬/opt/SUNWwbsr/
������ʵ���ʶ��������Ҫ���� Communications Express �� Web Server ʵ�����磬budgie.siroe.varrius.com��
����������ʶ��������Ҫ���� Communications Express ������������ʶ�����磬https-budgie.siroe.varrius.com
HTTP �˿ڡ����� Web Server ������� HTTP �˿ںš����Ƿ��� Communications Express ��ʹ�õ� HTTP �˿ڡ�
ע
���Ҫ���ð�ȫ�� HTTP �˿ںţ��������� Communications Express ��ָ����Ҫ���ð�ȫ�Ķ˿ںţ���μ��� 3 �¡�Ϊ Communications Express ����ϵͳ������ SSL ģʽ��ʹ�� Communications Express �������ṩ�ĺ������ò��衣
������һ������
- ����һ��С����ڣ�ָʾ������֤ Web Server ʵ���������Ҫ������ʱ�䡣
������ù�����l�ӵ� Web Server ʵ������ʾһ�������Ϣ��������ܡ�����ִ�а�װ��̣����ߵ�������ѡ��ָ������ Web Server ������ϸ��Ϣ��
- Web �����û����顣
ָ�� Web �����������з���ı�ʶ��
Web �����û� ID����ʱ������ʾ�û���ݿ��е� Web �����û���ʶ��
Web ������ ID����ʱ������ʾ����ݿ��е� Web �������ʶ��
������һ������
���������װһЩ�������ݣ��������ļ���Ŀ¼����Щ�ļ���Ŀ¼��ӵ��Ȩ�������������ᵽ�� Web �����û����顣ֻ�� Web �����û��ű�����������ݵ��ļ���Ŀ¼�Ķ�ȡ��д��Ȩ�ޡ�
ע
ȷ�����ڴ����������� Web �����û� ID ���� ID ֵ��ȷ�������������ֵ������ܻᵼ�� Communications Express ��ʧ�ܡ�
- URI ·�����á�
����Ӧ�����в��� Communications Express �� URI�����磬/uwc��
������һ������
- �Ƿ���Ҫ�й���֧�֣�
ѡ���ѡ��������� Communications Express �й���֧�֡�
������һ������
- �û�/�� Directory (LDAP) Server ��ϸ��Ϣ��
����������ϸ��Ϣ��
LdapURL���� ldap://user-group-ldap-hostname:user-group-ldap-port �ĸ�ʽָ���û�/�� LDAP URL��
�� DN�������û�/�����Ա�� LDAP ������ơ�
�����������û�/�����Ա�İ��
������һ������
- DC �����
���� DC ����Ļ������ơ�Communications Express ��ʹ�ô˺�4�������õ��й���
������һ������
- Ĭ������
����Ĭ�������������û���¼��δָ������ʱʹ�õ�Ĭ����
- Ϊ�����¼���� Identity Server
Ҫʹ�� Identity Server ���õ����¼����ѡ��Ϊ Sun Java System Communications Express ���ñ�ʶ֧�֡���
- �����Ϊ Sun Java System Communications Express ���ñ�ʶ֧�֣�����ʾ��Identity Server ��ѡ���塣
�ڴ���������� Identity Server ��ѡ����¼ URL��Identity Server ����Ա DN �Ϳ��
��¼ URL���� <Э��>://<Identity Server �����>:<Identity Server �˿�>/<amserver ������·��>/UI/Login �ĸ�ʽָ�� Identity Server ��¼ URL��
����Ա DN������ Identity Server ����Ա�� LDAP ������ƣ��� DN=uid=amAdmin, ou=people, <Identity Server ���>
����Ա���������� Identity Server ����Ա�Ŀ��
������һ������
- Messaging Express �˿�
ֻ���ڡ�ѡ��Ҫ���õ�����������ѡ�����ʼ����ʱ���Ż���ʾ����塣
�����ṩ Messenger Express �������ڵĶ˿ںš�
������һ������
- Calendar HTTP Server ���Ͷ˿�����
ֻ���ڡ�ѡ��Ҫ���õ�����������ѡ�����������ʱ���Ż���ʾ����塣
Calendar HTTP Server ����������� Calendar Server �������
Calendar HTTP Server �˿ں������� Calendar Server �� HTTP �˿ںš�
������һ������
- Calendar Server ������ϸ��Ϣ
ֻ���ڡ�ѡ��Ҫ���õ�����������ѡ�����������ʱ���Ż���ʾ����塣
����Ա�û� ID������ Calendar Server �Ĺ���Ա��ơ����磬calmaster��
����Ա�û����������� Calendar Server �Ĺ���Ա���
ע
ȷ���˴������ Calendar ����Ա�û� ID ֵ�� Calendar Server ics.conf �ļ����ᵽ�� service.admin.calmaster.userid ֵ��Ӧ��
������һ������
- PAB Directory Server ��ϸ��Ϣ��
����ͨѶ¼ LDAP Server ���û��ĸ���ͨѶ¼��Ϣ��
LDAP URL��ָ�� PAB �洢�� LDAP ���Ͷ˿ڡ�url �ĸ�ʽӦ��Ϊ��ldap://PAB-ldap-hostname:PAB-ldap-portnumber
�� DN��ָ�����ڰ� PAB �洢�� LDAP DN���˴�ָ���İ� DN Ӧ�þ��й����� o=PiServerDB ����ݵ���ӦȨ�ޡ�
������������
������һ������
- ������
���ó�����������Ƿ����㹻�Ĵ��̿ռ䣬Ȼ����г������õ������
����b������������� Communications Express��
������ء����Ը���κ����ñ���
����ȡ������˳����ó���
- ��ʱ������ʾ���������״̬��ժҪ��
������һ������
- ������ժҪ������г����ó����״̬��������ϸ���ϡ���ť���Բ鿴��־��
Ҫ������ù�̣��밴�մ˴��ṩ�ĺ������ò�����в���
��������˵��
ע
ȷ������Ϥ Communications Express �ļ���λ�á�
���� Communications Express �����ļ���λ�� <uwc-deployed-path>/WEB-INF/config Ŀ¼�¡�uwc-deploy-path �������ù��ߵġ�ѡ��Ҫ�洢���ú�����ļ���Ŀ¼������������Ŀ¼��
�й����ò������ϸ��Ϣ����μ�ָ�ϵ��� 3 �¡�Ϊ Communications Express ����ϵͳ������ 7 �¡����ÿͻ��ˡ���
���� Communications Express ����ִ�����²���
- �����Ϊ Communications Express ������ Identity Server����μ��� 5 �¡����� Communications Express �� Identity Server�����˽�ʹ�� Communications Express 4���� Identity Server ��ȷ��������ִ�е����ò��衣
- Ҫ�� Communications Express �������ʼ������������ SSO���й����� Messaging Express �� Communications Express ����Ϣ����μ��� 4 �¡�ʵ�ֵ����¼����
- ��¼�����û���Ĭ����ͼ��Ĭ������£���ͨѶ¼��������Ϊ�û���Ĭ����ͼ����ͨ��༭ uwcdomainconfig.properties �ļ��еIJ��� uwc-user-attr-sunUCDefaultApplication����Ĭ����ͼ����Ϊ��������ʼ������й� uwc-user-attr-sunUCDefaultApplication �������Ϣ����μ��� uwcdomainconfig.properties �ļ������ò����еIJ��֡�
- ת�� <calendar-server-install-directory>/SUNWics5/cal/bin/config�����磬/opt/SUNWics5/cal/bin/config����
�༭ ics.conf �ļ��������������ݣ�
- service.http.allowadminproxy = "yes"
- service.http.admins = <Calendar http ����Ĵ������Ա>
- service.admin.calmaster.userid = <�� uwcconfig.properties ��Ϊ calendar.wcap.adminid ָ����ֵ>
- service.admin.calmaster.cred = <�� uwcconfig.properties ��Ϊ calendar.wcap.passwd ָ����ֵ>
- service.wcap.anonymous.allowpubliccalendarwrite = "yes"
- service.http.allowanonymouslogin = "yes"
- service.calendarsearch.ldap = "no"
- ����ѱ༭�� ics.conf �ļ����������� Calendar Server ��ʹ�����Ч��
- ���ѡ�� Web Server ��Ϊ Web ������������ Web Server��
- ���ѡ�� Application Server ��Ϊ Web ����Ϊ Communications Express ������ Identity Server���������� Application Server��
- Communications Express ���Ѿ�������Դ�����·�����ʸ�Ӧ�ó���
http://Web-Container-host:Web-Container-port/URI path
����
Web-Container-host �������������� Communications Express Ӧ�ó���� Web ����ʵ��������
Web-Container-port �������������� Communications Express Ӧ�ó���� Web ����ʵ��Ķ˿ںš�
URI path ���ڡ�URI ·�����á������ָ����·����
ȡ������ Communications Express������� Web Server �� Application Server �������� Communications Express ���Ҿ����Ҫȡ������ Communications Express����ִ�����²��裺
��װ������ Messaging Server �� Communications Express ��ʹ�õ�һ��ṹ�����û�а�װ������ Messaging Server �������а�װ Communications Express����ʹ�õ�һ����ƿռ�4�����û�/����Ŀ������Ҫ������ DIT ӳ�䵽˫����ƿռ��Լ����û�/����Ŀ��
���²��ֽ����� Communications Express ���ʹ��˫ DIT ����ƣ��Լ����е�һ����ƿռ�ṹ���ӳ�䵽˫����ƿռ䡣
˫����ƿռ����
Communications Express ����ƿռ�Ӧ��}��Ŀ¼��Ϣ�� (DIT)��һ����֯���һ���������DC �����֯����û�������Ŀ��DC ���� DNS �ṹ��ϵͳʹ������Ϊ�������Ŀ����֯�������DC �����������������ض������ԡ�
˫����ƿռ���ƵĹ���ʽ
�����ֽ��� Communications Express ���ʹ��˫ DIT ���ơ�
�� Communications Express �����û�/����Ŀʱ�����Ȳ鿴 DC �����û�/�����ڵ㣬����ȡ inetDomainBaseDN ���Ե�ֵ�������Ա������֯�����ʵ���û�/����Ŀ���� DN ���á�
ʹ������ģ�ͣ�Communications Express ����֧�����κ����͵�Ŀ¼���д洢����Ŀ������� DC ���е�������ڵ�ָ��������������ҵ������û�����֯��ڵ㡣
Ϊʲôʹ��}��Ŀ¼��Ϣ��
��˫������ṩ��������ǿ���ܣ�
��ν����� DIT ӳ�䵽˫����ƿռ䣿
�ٶ���֯��ĸ��Ϊ��o=isp
�ٶ���ǰʹ�õ���֯ DN �� o=siroe.com,o=isp���û�����Ϊ ou=People,o=siroe.com,o=isp
- Ϊ DC ���һ���� o=internet��
����ʹ�� Directory Server ����̨4���������
- �ڴ� DC �������棬����һ������Ŀ���� DN Ϊ
dc=siroe,dc=com,o=internet��
��ʹ�� ldapmodify ��������� LDIF 4��������Ŀ��
���
��֯�����o=isp
��֯��ƣ�siroe
DNS ����siroe.com
��֯ DN��o=siroe.com,o=isp
�ʼ�����ʹ�����¶���������ԣ�
�����ࣺ
mailDomain, nsManagedDomain
���ԣ�
mailDomainStatus, preferredMailHost, mailDomainDiskQuota, mailDomainMsgQuota
mailDomainReportAddress, nsMaxDomains, nsNumUsers, nsNumDomains, nsNumMailLists
LDIF �ļ�ʾ��
ʹ�� ldapmodify ������Խ� LDIF �ļ���Ŀ��ӵ� DC ��