�A�Ω� UNIX �� Sun Java Enterprise System 5 �ɯū�n |
�� 15 ��
Portal Server�����y�z�p��N Portal Server �ɯŨ� Java ES 5 (�o�檩�� 5)�GSun Java System Portal Server 7.1�C
����²�n���еo�檩�� 5 �Ҥ䴩�����P�ɯŸ�|���ɯŪ`�N�ƶ��A�[�\�b Solaris �M Linux �@�~�t�ΤW���ɯŧ@�~�G
Portal Server �ɯ�²�����`�y�z�U�C�|�v�T Portal Server �ɯŦ� Java ES 5 (�o�檩�� 5) ���@��h���G
��� Java ES �o�檩�� 5 Portal Server
Java ES �o�檩�� 5 Portal Server �۹��o�檩�� 4 �Ө����D�n�o�檩���A�]�t�\�h�s�\��P�W�j�\��C�\�h�ܧO�b�o�檩�� 4 �H�᪺�u�{�ɥ\��o�檩���v(IFR) ���i�檺�C�۹�� IFR �Ө��A�o�檩�� 5 �Ȭ����n���\���ܧ�C���� IFR �W�j�\��ηs�\���T�A�аѾ\�uSun Java System Portal Server 7.1 ���������v(http://docs.sun.com/app/docs/doc/820-0898/6ncjuat45?a=view)�C�S�O�O�A�o�檩�� 4 ��O��z�����w�� psadmin ��O�Ҩ�N�C
Portal Server �ɯŸ�T��n
�� 15-2 ��ܤ䴩�� Portal Server �� Java ES �o�檩�� 5 ���ɯŸ�|�C�Ӫ�A�Ω� Solaris �M Linux �@�~�t�ΡC
Portal Server ���
�U����ܥi��� Portal Server �n��ɯżv�T����������C
Portal Server �ɯŵ���
Portal Server ���ɯŵ����@���M��b�� 1 ���u�ɯųW���v�����Ъ��\�h�Ҷq�]�!G�ɯŸ�|�BJava ES �������̩ۨʡB��ܩʤɯŻP����ɯŤ��t���B�h����ҳ��p���C
���`�N�|���X�i��v�T Portal Server �ɯųW�������D�A�ǥH�� Portal Server �i��@��ʪ����СC
�ۮe�ʰ��D
�o�檩�� 5 Portal Server ���ФF�ΨӺz Portal Server �P Portal Server Secure Remote Access ���� psadmin ��O�������@�����ܧ�C�аѾ\�uSun Java System Portal Server 7.1 Command-Line Reference�v(http://docs.sun.com/doc/819-5030)�C
�]���A�o�檩�� 5 Portal Server �ä��V�U�ۮe������ Portal Server Secure Remote Access ���� (�]�A SRA Gateway�BRewriter Proxy �M Netlet Proxy) �������A��h����ҳ��p���b��溥�i���ɯŪ��L��p��~�C�b Java ES �o�檩�� 5 ���A�Ҧ� Portal Server ��ҥH�� Portal Server Secure Remote Access �����ҳ��ݭn�P�B�C
�t�~�A�ӧO Portal Server ���� (�]�A��ʦs���) �ä��V�U�ۮe�������F�Ҧ����ݭn�P Java ES �o�檩�� 5 �P�B�C
���~�A�o�檩�� 5 Portal Server �P�� Portal Server �����ҨϥΪ� Directory Server ��Ƭ[�c�����s�b���ۮe�ʡC�����ۮe�ʷ|�v�T�ϥάۦP Directory Server ��Ƥ��h�� Portal Server ��Ұ�檺���i���ɯšC
Portal Server �̩ۨ�
Portal Server ���L Java ES ���̩ۨʥi��|�v�T�ɯũM���s�t�m Portal Server �n�骺�{�ǡC�Ҧp�APortal Server �����Υ\��W���ܧ�i��ݭn Portal Server �̿ध���ɯŪ����C�ɯŦ������ݨD��M����骺�ɯŸ�|�C
Portal Server ��U�C Java ES ���̩ۨʡG
- �@�Τ���C Portal Server ��S�w�� Java ES �@�Τ��̩ۨ� (�аѾ\�� 1-9)�C
- Web �e���C Portal Server �� Web �e���A�Ȩ㦳�j��ʪ��̩ۨʡA���̥i�� Java ES Web Server�BJava ES Application Server �ΨӦ� Weblogic �M WebSphere ����O�t�� Web �e�����ѡC
�Ƶ�
����O�t�� Web �e���������p�A���䴩�N Portal Server �ɯŨ�o�檩�� 5�C���Ӧ� Weblogic �M WebSphere �� Web �e���������p�A�z������o�檩�� 5 Portal Server �����s�w�ˡC
- Access Manager (�� Access Manager SDK)�C Portal Server �� Access Manager ���j��ʪ��̩ۨʡA�i���@��ϥΪ̴��ѻ{�ҩM���v�A�ȡA�]�A�榸�n�J�C�p�G Access Manager �O�b���ݹq���W���A�h Access Manager SDK �b����W�����i�ΡC
- Directory Server�C Portal Server �� Directory Server ���j��ʪ��̩ۨʡA��̥Ω��x�s�ǥ� Access Manager �s��ϥΪ̸�ơC�]���APortal Server �ɯťi��ݭn����ؿ�Ҧ��C
- Portal Server Secure Remote Access�C Portal Server �� Portal Server Secure Remote Access ����ܩʪ��̩ۨʡA��̥i�z�L Gateway�BRewriter Proxy �M Netlet Proxy ���Ѧw�����ݦs��C
- Java DB�C Portal Server �� Java DB ����ܩʪ��̩ۨʡA��̥Ωѹ�h�� portlet 3�ε{�����䴩�C
- Service Registry�C Portal Server �� Service Registry ���j��ʪ��̩ۨʡA��̥ΩѽsĶ�һݪ��{���w�C
- Communications Express�C Portal Server �� Communications Express (Sun Java Communications Suite ����) ����ܩʪ��̩ۨʡA��̥Ω�V�@��ϥΪ̴��ѶǰT�Φ�ƾ�q�D�CCommunications Express ���A�O Java ES ���~����C
��ܩʪ��ɯŰ��D
�@��Ө��A��M Java ES �o�檩�� 5 �䴩�b�q���W���Ҧ�����ܩʤɯšA��ѩ� Portal Server ��p���h����L Java ES ���㦳�̩ۨʡA�]���n�{�ҦU�� Java ES �o�檩����������N�զX�O�D�`�x��C
�]���APortal Server �䴩�P Access Manager �� Web �e������@�զ�����ɯŤ�סC
- �p�G�z�n�q Java ES �o�檩�� 4 �ɯ� Portal Server�C �z�i�H�b�ɯ� Portal Server ���e��N Directory Server�BAccess Manager �� Web �e�� (Web Server �� Application Server) �ɯŨ�o�檩�� 5�A�Ϊ̱z�]�i�H�u�N Portal Server �ɯŨ�o�檩�� 5 (���L����O�d�b��o�檩�� 4 �h��)�A��z�L�k�Ϥ@�Ǭ̤ۨ���O�d�b�o�檩�� 4 �ӱN��L�̤ۨ���ɯŨ�o�檩�� 5�C
- �p�G�z�n�q Java ES �o�檩�� 3 �ɯ� Portal Server�C �b�ɯ� Portal Server ���e�A�z�����N Directory Server�BAccess Manager �M Web �e�� (Web Server �� Application Server) �ɯŨ�o�檩�� 4 �εo�檩�� 5�A��z�L�k�ϥ��̤ۨ���O�d�b�o�檩�� 3�A�]�L�k�N�@�Ǭ̤ۨ���ɯŨ�o�檩�� 4 �ӱN��L�̤ۨ���ɯŨ�o�檩�� 5�C
- �p�G�z�n�q Java ES �o�檩�� 2 �ɯ� Portal Server�C �b�ɯ� Portal Server ���e�A������N Directory Server�BAccess Manager �H�� Web �e�� (Web Server �� Application Server) �ɯŨ�o�檩�� 4 �εo�檩�� 5�C�J����d�U�o�檩�� 2 �W�����̤ۨ���A�]����N�@�Ǭ̤ۨ���ɯŨ�o�檩�� 4�A�ӱN��L�̤ۨ���ɯŨ�o�檩�� 5�C
Web �e���ɯŤ��
Portal Server �i���p�� Web Server �� Application Server ���Ѫ� Web �e�����C�o�ˡA��Ҧb�� Web �e���i��]�ݭn�ɯŨ�o�檩�� 5�A�ϱo Portal Server ���ɯŧ�[����C�N�o�@�I�Ө��A���@�ǥi� Web �e���ɯŤ�סA�C�|��U�?�C
�ɯ� Portal Server (�Ҧp�ϥ� psupgrade �{���ɮ�) �Ӭ��� 15-4 �����X�A�ɯŤ�״��ѾA��ȮɡA�S�O�O�n�i�� Web �e�������j�����ɯŮɡA�����ܤp�ߡC
��ɯ�
�b��ɯŤ��APortal Server �P�@�~�t�Χ��|�i��ɯ� (�p��ɯšJ Java ES �P�@�~�t�γn�����ҭz)�A�o�ؤɯťi�ĥέ�a�ɯŧ@�~�t�Ϊ���k�Ӱ��G
- �ƥ�{���� Portal Server ��ơC
�p�ݥ��n��ƪ���m�A�аѾ\ Portal Server ����C
- �ɯŧ@�~�t�ΡC
�ɯŮɷ|��˫O�d�{�����ɮרt�ΡC
- �ɯŨ�o�檩�� 5 Portal Server�C
�ЮھڤɯŸ�|�A�Ѿ\��������3�p�`�C
�q Java ES �o�檩�� 4 �ɯ� Portal Server���`�]�A�N Portal Server �q Java ES 2005Q4 (�o�檩�� 4) �ɯŨ� Java ES 5 (�o�檩�� 5) �������T�C
�Ƶ�
���`���A�Ω�H�U�S�?�p�GPortal Server ���p�b Application Server Web �e�����A�B�O��q�o�檩�� 2 �ɯŨ�o�檩�� 3 �� 4�A�M��A�ɯŨ�o�檩�� 5�C�ثe�|���䴩�e�z���ɯŸ�|�C
���`�[�\�H�U�D�D�G
²��
�N Java ES �o�檩�� 4 Portal Server �ɯŨ�o�檩�� 5 �ɡA�ЦҼ{�ɯŵ{�Ǫ��U�C�h���G
- �@��ɯŤ�k�C �ϥΤɯŵ{���� psupgrade �Ӱ��ɯšC���{���ɷ|�w�˷s���M�˳n��B�b���n�ɾE���t�m��ơB��s���g���ɮפαN Portal Server Web 3�ε{�����s���p�� Web �e���C
- �ɯŬ̩ۨʡC Portal Server ��@�� Java ES �@�Τ��̩ۨ� (�аѾ\�� 1-9)�C��M�o�檩�� 5 Portal Server �P�o�Ǧ@�Τ��o�檩�� 4 �����ۮe�A��@�Τ��ɯŤ��M�O���n���A�o�O�]���ΨӤɯ� Portal Server �� psupgrade �{���ɻݭn�ϥ� ANT �@�Τ��o�檩�� 5 �����C
�o�檩�� 5 Portal Server �٨̿� Web �e���BAccess Manager �M Directory Server�A�p Portal Server �̩ۨ����ҭz�C�䴩�ɯųo�Ǭ̩ۨʪ���ؤ�k (�аѾ\��ܩʪ��ɯŰ��D)�G
- �V�U�ۮe�ʡC �o�檩�� 5 Portal Server ���V�U�ۮe�o�檩�� 4 �����C
- �ɯŦ^�_�C �N Portal Server ���o�檩�� 5 �ɯŦ^�_��o�檩�� 4 �]�A�_��o�檩�� 4 �M�˳n��B�_��o�檩�� 4 �ؿ��ƥH�αN Portal Server Web 3�ε{�����s���p�� Web �e���C
- ���x���D�C �ɯ� Portal Server ���@���k�b Solaris �� Linux �@�~�t�ΤW���ۦP�A��b Solaris OS �W�A�o�檩�� 5 Portal Server �w�˦b�s��|���A�Ӧb Linux OS �W���w�˸�|�h�P�o�檩�� 4 �ۦP�C
�ɯŵo�檩�� 4 Portal Server
���`�y�z�p��b Solaris �� Linux ���x�W�N Portal Server �q Java ES �o�檩�� 4 �ɯŨ� Java ES �o�檩�� 5�C��Y�ӥD�D�̿७�x�S�w���{�ǮɡA�ӥD�D�N��X��A�Ϊ��@�~�t�ΡC���`�[�\�H�U�D�D�G
�o�檩�� 4 �ɯūe�@�~
�ɯ� Portal Server ���e�A3�Ӱ��U�C�@�~�G
���ҥثe������T
�z�i�ϥΤU�C��O���� Portal Server ���ثe�����G
PortalServer6-base/bin/version
�� 15-5 Portal Server �������ҿ�X
Java ES �o�檩��
Portal Server �����s��
�o�檩�� 2
6.3
�o�檩�� 3
6.3.1
�o�檩�� 4
6.3.11
IFR �o�檩��
7.0
�o�檩�� 5
7.1
1�o�檩�� 3 �P�o�檩�� 4 ���ߤ@�t�O�b��ɵ{���C�z�i�ϥ� Solaris showrev -p | grep patch_ID ��O�M Linux rpm -qa sun-portal-core ��O�A�ñN�����P�uJava ES �o�檩�� 4 �ɯū�n�v���C�X�������i����A���ˬd�o�檩�� 4 �ɵ{���C
�ɯ� Portal Server �̤ۨ���
�@�몺��ij�O�N�q���t�� (�ιB�����) �����Ҧ� Java ES ���ɯŨ� Java ES �o�檩�� 5�C
��M�o�檩�� 5 Portal Server �P Java ES �@�Τ��o�檩�� 4 �����ۮe�A��@�Τ��ɯŤ��M�O���n���A�o�O�]���ΨӤɯ� Portal Server �� psupgrade �{���ɻݭn�ϥ� ANT �@�Τ��o�檩�� 5 �����C
�p�G�z��ܱN��� Portal Server ���~����̤ۨ���ɯŨ�o�檩�� 5�A�h�����������ݭn�ɯ� (�аѾ\��ܩʪ��ɯŰ��D)�C�b�ɯ� Portal Server ���e�A�z3�ӥH�U�C���ǤɯṲ̆ۨ��� (���L�i��w�g�ɯŹL�����̤ۨ���)�C
- �@�Τ���C �b�ɯ� Java ES �@�Τ��������ѤF�N Java ES �@�Τ���P�o�檩�� 5 �P�B����ܡC
- Directory Server�C �b�� 5 ���uDirectory Server�v�����ѤF�N Directory Server �ɯŨ�o�檩�� 5 ����ܡC
- Web �e���n��C �b�� 7 ���uWeb Server�v�M�� 11 ���uApplication Server�v���'O���ѤF�ɯ� Web Server �M Application Server ����ܡC
- Access Manager (Access Manager SDK)�C �b�� 14 ���uAccess Manager�v�����ѤF�N Access Manager �ɯŨ�o�檩�� 5 ����ܡC
- Portal Server Secure Remote Access�C �b�� 16 ���uPortal Server Secure Remote Access�v�����ѤF�N Portal Server Secure Remote Access �ɯŨ�o�檩�� 5 ����ܡC
- Java DB�C �b�� 8 ���uJava DB�v�����ѤF�N Java DB �ɯŨ�o�檩�� 5 ����ܡC
- Service Registry�C �b�� 12 ���uService Registry�v�����ѤF�N Service Registry �ɯŨ�o�檩�� 5 ����ܡC
- Communications Express�C �b�uSun Java Communications Suite Upgrade Guide�v(http://docs.sun.com/doc/819-7561) �����ѤF�N Communications Express �ɯŨ�o�檩�� 5 ����ܡC
��o���n���t�m��T�M�K�X
�� Web �e���ɯŤ�צөw (�аѾ\�� 15-4)�Apsupgrade �{���ɻݭn�z��J�K�X�Ψ�L Web �e���t�m��Ƭ����T�C���P Web �e���ɯŤ�ݭn����T�p�� 15-6 ���ҭz�C�b�}�l�ɯ� Portal Server ���e�A�аȥ��N�����T�[�H�զX�C
�� 15-6 �U�� Web �e���ɯŤ�פ� psupgrade �{���ɩһݪ���T
��T
�ɯŤ��1
Web Server 7.x �d�ҭȡG
��� 2Application Server 8.x �d�ҭȡG��� 52
�b Web Server 7.0 �W�ɯ� Portal Server (�O/�_)
2
�O
���A��
Web �e���w�˥ؿ�
2 �M 5
WebServer7-base
AppServer8Install-base
Web �e�����&�A����ҦW��
2
https-configName2
���A��
Web �e����ҦW��
5
���A��
server1
Web �e����ҥؿ�
2
WebServer7Config-base/
https-configName4/���A��
Portal ��ҳ��p�ؿ�
5
���A��
AppServer8Config-base/
domains/domainNameWeb �e����ҳs����
2 �M 5
80
80
Web �e����Ҩ�w
2 �M 5
http
http
Web �e���t�m�W��
2
configName4
���A��
Web �e�����W��
5
���A��
domain1
Web �e�����ڥؿ�
2 �M 5
WebServer7Config-base/
https-configName4/docs/AppServer8Config-base/
domains/domainName/
docrootWeb �e���z�D��W��
2 �M 5
localhost
localhost
Web �e���z�s����
2 �M 5
8989
4848
Web �e���z��w
2 �M 5
https
https
Web �e���z�ϥΪ� ID
2 �M 5
admin
admin
Web �e���z�K�X
2 �� 5
Web �e���D�K�X
3 �� 5
���A��
�ؿ�z�� (cn=Directory manager) �K�X
1 �� 5
SRA �O��ϥΪ̱K�X3
1 �� 5
Access Manager �z��K�X
1 �� 5
Directory Server ldapuser �K�X
1 �� 5
�J�f���� ID4
1 �� 5
1Web �e���ɯŤ�� 5 �A�Ω�q�o�檩�� 2 �ɯ� Portal Server�C
2configName ���w�]�ȬO hostName.domainName�C
3�� Portal Server Secure Remote Access �����H Portal Server �w�ˮɡA�ݭn����T�ӹ�o�Ǥ���i��t�m�C
4���������Ѽƴ��Ѱߤ@���D�ŭȡC�ȥ����Ѧr�<Ʀr�զ��A�ӥB�i�H�]�t�s�r�� (-)�C
�ƥ� Portal Server �o�檩�� 4 �t�m��T
�N Portal Server �ɯŨ�o�檩�� 5 ���ݭn���s�t�m Portal Server �n��C���L�A���w���_���Apsupgrade �{���ɱN�|�ƥ�U�C�x�s�t�m��T���ؿ�G
�O�� Java ���>� (JVM) �]�w
�b�ɯ� Portal Server ���e�A�p�G�U�C Web �e�� JVM �]�w�P�w�]�Ȥ��P�A�аO��U�ӡC
JVM �]�w����m�� Web �e���өw�A�p�U�?�ҭz�C
�y��A�z�N�ݭn�ˬd�o�� JVM �]�w�O�_�]�� Portal Server �ɯŵ{�Ǧ��ܧ�C
�����t��ž����t�m
�p�G�J��z�L�t��ž��s�� Portal Server ��Ҫ����p�A�ΨӰt�m�����s�� LOAD_BALANCER_URL �S�ʪ��ȷ|�z�Z Portal Server �ɯšC�]���b���ɯŤ��e�A�����ק惡�]�w�C�Y�n�ק� LOAD_BALANCER_URL �S�ʳ]�w�G
- �Ъ`�N�U�C���ǰt�m�ɮצ��W (�䤤�@�Ǥ䴩�i�H�b����w�˪� Portal Server Secure Remote Access ����)�G
PortalServer6Config-base/PSConfig.properties
PortalServer6Config-base/GWConfig.properties (�p�G Gateway �b����)
PortalServer6Config-base/RWPConfig.properties (�p�G Rewriter Proxy �b����)
PortalServer6Config-base/NLPConfig.properties (�p�G Netlet Proxy �b����)- �N LOAD_BALANCER_URL �S�ʪ��ثe�ȰO��b�o�ǰt�m�ɮפ��C
- �N LOAD_BALANCER_URL �S�ʪ��ȭקאּ��V���� Portal Server ��ҡG
LOAD_BALANCER_URL=portalHostName:port/portal
���� Directory Proxy Server �t�m
�p�G�J�� Portal Server ��ҳz�L Directory Proxy Server ��Ҧs�� Directory Server �����p�A�h�b���ɯŤ��e�����ק� Directory Proxy Server �D��P�s���]�w�A�M��A�b�ɯŧ�������_�쬰��l�ȡC
�ק�A��]�w�G
�ɯŵo�檩�� 4 Portal Server (Solaris)
���`�Q�v�T Portal Server �ɯŵ{�Ǫ��`�N�ƶ��A���۴��ѹ�{�ǥ���������C
�ɯŪ`�N�ƶ� (Solaris)
�N Portal Server �n��ɯŨ�o�檩�� 5 �ɭn�Ҽ{�U�C�`�N�ƶ��G
- �P�ɤɯŹ�3��P�@�w�˪� Portal Server �v�����Ҧ� Portal Server ��ҡC
- Portal Server �n��]�A���@�Ǥ��P���⪺�l����A��O�������@�_�ɯšG
- Portal-base�C�]�A�z Mbeans ���H�����z�n��B�n�J�[�c�λP�ʵ����n��A���̥������M�˦b�@�_�C
- Portal Server Web 3�ε{���C�]�A�@�Ǧb Web �e�������p�� Web 3�ε{���C�ܤֳo�䤤���@�� Web 3�ε{���ݭn�Ӧ� Access Manager ���䴩�A�H�α��U�ӬO�Ӧ� Directory Server ���䴩�C
- Secure Remote Access core�C�䴩 Portal Server Secure Remote Access ���n��G���O�b Jar �ɮפ����@�� servlet �M applet �H�εL�k�b Web �e�������p���@�Ǥ䴩�ɮסC
- psupgrade �{���ɷ|�۰ʰ���D��W�w�ˤF���� Portal Server �l����H�έ��� Web �e���̤ۨ���C�Ҧp�A�{���ɷ|�d�ߨt�ΥH����z�N�b�䤤���p Portal Server Web 3�ε{���� Application Server �� Web Server �������A�÷|��i�H�����T�ӭק復�ШD����T�C
�ɯŵ{�� (Solaris)
�U�z�{�ǾA�Ω�����ɯŪ��q���W�� Portal Server�C
- �ХH�W�ŨϥΪ̨���n�J�Φ����W�ŨϥΪ̡C
su -
- �p�G�|����榹�ʧ@�A�бN�Ҧ��@�Τ���P�o�檩�� 5 �P�B�C
�� 2 ���u�ɯ� Java ES �@�Τ���v�����ѤF��ܡC
���b�B�J 8 ����� psupgrade �{���ɨӻ��A���B�J�O���n����M���C
- ����i��b���a��檺 Portal Server Secure Remote Access Gateway�BRewriter Proxy �� Netlet Proxy ������ҡC
PortalServer6-base/bin gateway stop
PortalServer6-base/bin netletd stop
PortalServer6-base/bin rwproxyd stop�ˬd�{�ǬO�_�w�g����G
Gateway�Gnetstat -an | grep 443
Rewriter Proxy�Gnetstat -an | grep 10443
Netlet Proxy�Gnetstat -an | grep 10555- �p�G Access Manager �P Portal Server �'O���p�b���P�� Web �e�����A�нT�w Access Manager ���b���C
- �p�G���b���A�бҰ� Portal Server�A�o�i�ǥѱҰʨ䳡�p�쪺 Web �e���ӹ�{�C
Web Server 6.x�G
WebServer-base/https-instanceName/startWeb Server 7.0�G
Admin Server--
WebServer7Config-base/admin-server/bin/startserv
Instance Server--
WebServer7Config-base/https-configName/bin/startservApplication Server 8.x�G
AppServer8-base/bin/asadmin start-domain --user admin_ID
--password password domainName- �]�w psupgrade �{���ɩһݪ��������ܼ� (ANT_HOME �M JAVA_HOME)�C�Ҧp�A
export ANT_HOME=/usr/sfw
export JAVA_HOME=/usr/jdk/entsys-j2se- �нT�w�z�q���W������洫�Ŷ��C
������ɭ�h�A3�N�洫�Ŷ��]�w������ RAM �e�q���⭿�C
- �q Java ES �o�檩�� 5 �o�檫����� psupgrade �{���ɡC
cd os_arch/Products/portal_svr/Tools/upgrade/bin
./psupgrade�䤤 os_arch �P�z�Ҧb���x�۲šA�Ҧp Solaris_sparc�C
psupgrade �{���ɷ|����w�w�˪� Portal Server ����Υ��g�ƮM�˳n��A�I�s Java ES �w�˵{���H�w�˷s���M�˳n��A�ìd�ߨt�ΥH�������z�N�b�䤤���p Portal Server Web 3�ε{���� Web �e������m�P�s���Ψ�L��T�C�� Web �e���ɯŤ�צөw (�аѾ\�� 15-4)�A�{���ɷ|�n�D�z��J�N Portal Server ���p��A�� Web �e�����һݭn����L��T�C
�� 15-6 ��ܤF�� 15-4 �����P Web �e���ɯŤ�שҭn�D����T�C
�Ƶ�
�аȥ��� psupgrade �Ѽƿ�J���T���ȡA�]���z�L�k��^���ܧ̡A�ӥB�]����^�_�� psupgrade �{���ɩҰ����ܧ�C�Y�n�^�_��� Portal Server ��ƪ��ܧ�A�z�������
�M��xզA����� psupgrade�C
- �p�����n�A�д_�� Web �e�� JVM �]�w�C
�Y�n�T�w JVM �]�w�䴩�o�檩�� 5 Portal Server�A�а��H�U�B�J�G
- �ˬd�z�b�ɯūe�O�� Portal Server Web �e�� JVM �]�w�O�_�]�ɯŵ{�Ǧ��ܧ�C
�аѾ\�O�� Java ���>� (JVM) �]�w�C
- �p�G�]�w�w�g�ܧ�A�бN���̦^�_���z�b�ɯūe�O��ȡC
�нT�w�]�A�H�U JVM �]�w (�Y�Ϥ��e���]�w)�G
<jvm-options>-XX:MaxPermSize=256m</jvm-options>
<jvm-options>-XX:+CMSPermGenSweepingEnabled</jvm-options>
<jvm-options>-XX:+CMSClassUnloadingEnabled</jvm-options>- ���� Web �e���A�M��N�䭫�s�ҰʡC
���ިä��ݭn�b�Ҧ����p�U�����s�Ұ� Web �e���A��o�˰��i�T�O Portal Server �b���ק諸���A�U�ҰʡC
- ���� Web �e���A�p�U�ҥܡG
Web Server 6.x�G
WebServer-base/https-instanceName/stopWeb Server 7.0�G
Admin Server--
WebServer7Config-base/admin-server/bin/stopserv
Instance Server--
WebServer7Config-base/https-configName/bin/stopservApplication Server 8.x�G
AppServer8-base/bin/asadmin stop-domain --user admin_ID
--password password domainName- �ϥ��B�J 5 ������O���s�Ұ� Web �e���C
�ɯŵo�檩�� 4 Portal Server (Linux)
���`�Q�v�T Portal Server �ɯŵ{�Ǫ��`�N�ƶ��A���۴��ѹ�{�ǥ���������C
�ɯŪ`�N�ƶ� (Linux)
�b Linux OS �W�A�o�檩�� 5 Portal Server ���w�˸�|�P�o�檩�� 4 �ۦP�A���F�o�@�I�~�A�b Linux ���x�M Solaris ���x�W�N Portal Server �n��ɯŨ�o�檩�� 5 �ҦҼ{���`�N�ƶ��ۦP (�аѾ\�ɯŪ`�N�ƶ� (Solaris))�C�]���A��w�˵o�檩�� 5 RPM �ɡApsupgrade �{���ɷ|�������e�� RPM�C
�ɯŵ{�� (Linux)
�U�z�{�ǾA�Ω�����ɯŪ��q���W�� Portal Server�C
- �ХH�W�ŨϥΪ̨���n�J�Φ����W�ŨϥΪ̡C
su -
- �p�G�|����榹�ʧ@�A�бN�Ҧ��@�Τ���P�o�檩�� 5 �P�B�C
�� 2 ���u�ɯ� Java ES �@�Τ���v�����ѤF��ܡC
���b�B�J 8 ����� psupgrade �{���ɨӻ��A���B�J�O���n����M���C
- ����i��b���a��檺 Portal Server Secure Remote Access Gateway�BRewriter Proxy �� Netlet Proxy ������ҡC
PortalServer6-base/bin gateway stop
PortalServer6-base/bin netletd stop
PortalServer6-base/bin rwproxyd stop�ˬd�{�ǬO�_�w�g����G
Gateway�Gnetstat -an | grep 443
Rewriter Proxy�Gnetstat -an | grep 10443
Netlet Proxy�Gnetstat -an | grep 10555- �p�G Access Manager �P Portal Server �'O���p�b���P�� Web �e�����A�нT�w Access Manager ���b���C
- �p�G���b���A�бҰ� Portal Server�A�o�i�ǥѱҰʨ䳡�p�쪺 Web �e���ӹ�{�C
Web Server 6.x�G
WebServer-base/https-instanceName/startWeb Server 7.0�G
Admin Server--
WebServer7Config-base/admin-server/bin/startserv
Instance Server--
WebServer7Config-base/https-configName/bin/startservApplication Server 8.x�G
AppServer8-base/bin/asadmin start-domain --user admin_ID
--password password domainName- �]�w psupgrade �{���ɩһݪ��������ܼ� (ANT_HOME �M JAVA_HOME)�C�Ҧp�A
export ANT_HOME=/opt/sun
export JAVA_HOME=/usr/jdk/entsys-j2se- �нT�w�z�q���W������洫�Ŷ��C
������ɭ�h�A3�N�洫�Ŷ��]�w������ RAM �e�q���⭿�C
- �q Java ES �o�檩�� 5 �o�檫����� psupgrade �{���ɡC
cd os_arch/Products/portal_svr/Tools/upgrade/bin
./psupgrade�䤤 os_arch �P�z�Ҧb���x�۲šA�Ҧp Linux_x86�C
psupgrade �{���ɷ|����w�w�˪� Portal Server ����Υ��g�ƮM�˳n��A�I�s Java ES �w�˵{���H�w�˷s���M�˳n��A�ìd�ߨt�ΥH�������z�N�b�䤤���p Portal Server Web 3�ε{���� Web �e������m�P�s���Ψ�L��T�C�� Web �e���ɯŤ�צөw (�аѾ\�� 15-4)�A�{���ɷ|�n�D�z��J�N Portal Server ���p��A�� Web �e�����һݭn����L��T�C
�� 15-6 ��ܤF�� 15-4 �����P Web �e���ɯŤ�שҭn�D����T�C
�Ƶ�
�аȥ��� psupgrade �Ѽƿ�J���T���ȡA�]���z�L�k��^���ܧ̡A�ӥB�]����^�_�� psupgrade �{���ɩҰ����ܧ�C���ܡG�b��� psupgrade �{�������e�A�гƥ�z���t�ΡC
- �ק� PortalServer7Config-base/platform.conf.default �t�m�ɮסC
�q�U�����ɮפ��ƻs�]�t gateway.logging.password ���@��A���ɮO�� psupgrade �ƥ�G
PortalServer6Config-base.bak/platform.conf.default
�ñN�Ӧ�m�� PortalServer7Config-base/platform.conf.default ���C
- �p�����n�A�д_�� Web �e�� JVM �]�w�C
�Y�n�T�w JVM �]�w�䴩�o�檩�� 5 Portal Server�A�а��H�U�B�J�G
- �ˬd�z�b�ɯūe�O�� Portal Server Web �e�� JVM �]�w�O�_�]�ɯŵ{�Ǧ��ܧ�C
�аѾ\�O�� Java ���>� (JVM) �]�w�C
- �p�G�]�w�w�g�ܧ�A�бN���̦^�_���z�b�ɯūe�O��ȡC
�нT�w�]�A�H�U JVM �]�w (�Y�Ϥ��e���]�w)�G
<jvm-options>-XX:MaxPermSize=256m</jvm-options>
<jvm-options>-XX:+CMSPermGenSweepingEnabled</jvm-options>
<jvm-options>-XX:+CMSClassUnloadingEnabled</jvm-options>- ���� Web �e���A�M��N�䭫�s�ҰʡC
���ިä��ݭn�b�Ҧ����p�U�����s�Ұ� Web �e���A��o�˰��i�T�O Portal Server �b���ק諸���A�U�ҰʡC
- ���� Web �e���A�p�U�ҥܡG
Web Server 6.x�G
WebServer-base/https-instanceName/stopWeb Server 7.0�G
Admin Server--
WebServer7Config-base/admin-server/bin/stopserv
Instance Server--
WebServer7Config-base/https-configName/bin/stopservApplication Server 8.x�G
AppServer8-base/bin/asadmin stop-domain --user admin_ID
--password password domainName- �ϥ��B�J 5 ������O���s�Ұ� Web �e���C
���Ҥɯ�
�z�i�ϥΤU�C��O���ҵo�檩�� 5 �M�˳n�骺�w�ˡG
�аѾ\�� 15-5 ������X�ȡC
�Y�n���ҧ���ɯšA�нT�{ Portal Desktop �|��ܥX�ӡA�B psadmin �z���ε{���]�i�H�p���ҭz�a�ϥΡC
�z�]�i�H�ˬd�H�U�ɯŰO���ɡG
�o�檩�� 4 �ɯū�@�~
�Ъ`�N�B�z�H�U���p�һݭn���ɯū�{�ǡG
�E���ۭq web-src ���
�p�G�z�w�g�W�[�F�ۭq��� (�Ҧp�v���Bjavascript �ɮשΨ�L����ɮ�) �ΨӱN portal.war �غc��H�U�ؿ�G
PortalServer6-base/web-src
�z�����N�o���B�~���ɮƻs��o�檩�� 5 Portal Server ������3�ؿ�G
PortalServer7-base/web-src
���s���p�ۭq Portlet 3�ε{��
�p�G�z�w�g�إߨó��p�F�ۭq portlet 3�ε{���A�h�����b�ɯŨ�o�檩�� 5 Portal Server �����ʭ��s���p�o�� portlet�C�Y����ܳ]�w�ɶ��رN�|�s�b�B�q�D�W�ٱN�|��ܡA�]�u��b���s���p���ۭq portlet ����~�|�ݨ줺�e�C
�ϥΤU�C��O���s���p portlet�G
PortalServer7-base/bin/psadmin deploy-portlet
�z�i�H�b�H�U��m�M���3 .war �� XML �ɮרӽT�{���s���p�G
PortalServer7Data-base/portals/Upgraded/war
�E���ۭq�� Portlet 3�ε{��
�H Sun Java Web Console (SJWC) �Ҵ��Ѥ��ϥΪ̤����[�c����¦�� portlet 3�ε{���ݭn��ʾE���ܵo�檩�� 5 �í��s���p�C
�S�O���O�A���ݨD�A�Ω�|�� Web 3�ε{���A�o�|��3�ε{�������n�ۭq�Φw�˨�J�f����d�� portlet 3�ε{���H Portal Server �@�_�'G�A���̤'O�O�Gfilesharing�Bsurveys�Bwiki�Brssportlet�C�b�ɯŴv��A�|�N�o�ǽd�� portlet 3�ε{���ץ���~�᪺�����m�� portlet 3�ε{���ϰ줤���ϺФW�C�p�G�z�w�g�ۭq�F�o�� portlet 3�ε{���Ѧۤv�ϥΡA�h�ݭn��ʱN���̾E���ܵo�檩�� 5 �í��s�i�泡�p�FPortal Server �ɯŵ{�Ǥ��|�B�z���̡C
�̹w�]�A�|���p�䤤�@�� portlet 3�ε{�� (filesharing �M surveys)�A�ӥB��إߪ8s�ɡA���̥i�ѨϥΪ̨ϥΡC
�z�i�H�ϥΤU�C�{�ǤɯšB�ۭq�έ��s���p��� SJWC �� portlet 3�ε{���Cfilesharing portlet 3�ε{�������d�ҨϥΡG
- ��#�Y�o�檩�� 5 SJWC jar �ɮסC
- mkdir /tmp/lh
- cd /tmp/lh
- /usr/jdk/entsys-j2se/bin/jar xvf PortalServer7-base/portlet/communityportlets.war
WEB-INF/lib/commons-beanutils.jar
WEB-INF/lib/commons-collections-3.1.jar
WEB-INF/lib/commons-digester.jar
WEB-INF/lib/commons-logging.jar
WEB-INF/lib/dataprovider.jar WEB-INF/lib/jsf-api.jar
WEB-INF/lib/jsf-impl.jar WEB-INF/lib/webui.jar- ���s�R�W�䤤�@���ɮסC
mv WEB-INF/lib/commons-collections-3.1.jar
WEB-INF/lib/commons-collections.jar- ��� filesharing portlet 3�ε{���C
cd PortalServer7Config-base/portals/portal1/portletapps/filesharing
- �[�J�g�L��s�� SJWC �{���w�C
jar uvf src/filesharing.war.tokenized -C /tmp/lh WEB-INF
- �ۭq filesharing portlet 3�ε{���C
ant customize
- ���s���p filesharing portlet 3�ε{���C
- PortalServer7-base/bin/psadmin undeploy-portlet -u amadmin
-f passwordfile -p portal_id -i instance_id -g filesharing- ant deploy
- �ЦܤU�C�ؿ� (�� Web �e���өw)�G
Application Server 8.x�G
AppServer8Config-base/domains/domain1/applications/j2ee-modules/
communityportlets/WEB-INFWeb Server 6.x�G
WebServer6-base/https-instanceName/webapps/https-instanceName/
communityportlets/WEB-INFWeb Server 7.x�G
WebServer7Config-base/https-configName/web-app/https-configName/
communityportlets/WEB-INF- �}�� sun-web.xml �ɮסA�æb�̫�@�椧�e (�]�N�O�b sun-web-app ����аO���e) �[�W�H�U�o�@��G
<class-loader delegate="false"/>
- ���s�Ұ� Web �e���C
���Ҥ�3�ε{���q�D�����s��
�N�o�檩�� 4 Portal Server �ɯŨ�o�檩�� 5 �ɡA���Ҥ�3�ε{���q�D�t�����ƩM�갲���s���C�Y�n�ץ��o�dzs���A�а��U�C�{�ǡC
- �n�J PSConsole�C
- �q [�@��@�~] ���Ҥ��A��@�U [�z�q�D�P�e��]�C
- ��� [DeveloperSample [Org]] ���� DN�A�M���@�U [�T�w]�C
- ��� [JSPTabContainer [�w�]]] ���� [�˵�����]�C
- �b [MyFrontPageTabPanelContainer] �U�A��@�U [3�ε{���q�D]�C
�N�|�b�k�����ج[�W���3�ε{���q�D�S�ʡC
�Y�n�˵�S�w�y����Ҫ��S�ʡA�Ы�@�U [���ߦn�]�w]�A�M�ᴣ�� [�y�����] �ȡGde�Bfr�Bes�Bja�Bko�Bzh�Bzh_CN�Bzh_TW�C
- �s�� [userApps] �S�ʡC
- �s�� [target] �S�ʡC
- �b [target] �S�ʤ���@�U [�s���...] �s���C
�N�|�X�{�t���{���ؼЪ����㦡��C
- �q�M�椤�����U�C�ؼСG
NetMailLite|
NetMailServlet?nsid=newHTMLSessionNetMailLite|
NetMailServlet?nsid=newHTMLSessionNetMail|NetMailServlet?nsid=newAppletSession
- �����U�C���ƥX�{���ؼСG
Instant Messenger (Java WebStart)|
IMLaunch?provider=IMChannel&launch=jnlp&last=false���T�s��j�M��A��
��N�o�檩�� 4 Portal Server �ɯŨ�o�檩�� 5 �ɡA�j�M��A���|�P Portal Server �9j�}�ӡA�]���|�ܧ���j�M��A���� URL �s��C
�]���A�z������ʭק��@�F SearchProvider �� DiscussionProvider �������Ҧ��J�f��q�D (�Ҧp Search�BDiscussionLite�BDiscussions �H�� Instant Messaging �q�D) ���u��ܳ]�w�ɡv�C�S�O���O�A�z�����ק�o�dzq�D�� searchServer �S�� (�L�צb���´�Ψ���h�ŤW�A���̳��i��b�u��ܳ]�w�ɡv���o��) �H���T�ѷӷj�M��A���C�ק� searchServer �ȡA�p�U�ҥܡG
�P�ɡA�w�� Instant Messaging �q�D�AInstant Messaging Server �t�m�S�� (iim_arch.portal.search) �]�����H�s���j�M��A�� URL ��s�C
�_�� Directory Proxy Server �t�m
�p�G Portal Server ��Ҥw�g�z�L Directory Proxy Server ��Ҧs��F Directory Server�A�h�����b�ɯūe�N Directory Proxy Server �D��P�s���]�w�_�쬰���l�ȡC�аѾ\���� Directory Proxy Server �t�m�A�b���L�{���ק�F�o�ǯS�ʪ��ȥH�ƤɯŤ��ΡC
��ʵ�U Portal Server Secure Remote Access ����
�p�G�z�b�ɯŵ{�ǵ���ɹJ���i�ܼзǿ�X���ū�w���`���D�A����� Portal Server Secure Remote Access ����U (�Y������) ���ѡC
�b�o�ر��p�U�A�z�i�H�z�L���U�C��O�Ӥ�ʵ�U (�ҥ�) Portal Server Secure Remote Access ����G
PortalServer7-base/bin/psadmin provision-sra -u amadminUser -f passwordFile
-p Portal_ID --gateway-profile profileName --enable�ҥ� URLScrapper �q�D
��q�o�檩�� 4 �ɯŨ�o�檩�� 5 �ɡA�z�����ҥ� URLScrapper �q�D�C�а��U�C�{�ǡG
- �n�J Portal Server �D���x
��@�U [Portal] ���ҡA�M���@�U�g�L�ɯŪ��J�f��C
- �q [��� DN] �U�Ԧ��\��?��� [TopLevel] (����) �ë�@�U [�U����ܳ]�w��] �s���C
�N�U���ɮ��x�s�b�Y�ӼȮɦ�m
- ��� com.sun.portal.providers.urlscraper.URLScraperProvider�C
- ��� XML ����A��3�H�U�C���e�}�Y�G
<Provider advanced="false" class="com.sun.portal.providers.urlscraper.URLScraperProvider"
�åH�U�C���e���!G
</Provider>
- �ΥH�U���e��N�B�J 4 ���� XML ����G
<Provider advanced="false" class="com.sun.portal.providers.urlscraper.URLScraperProvider" container="false" lock="false" merge="fuse" name="URLScraperProvider" version="2">
<Properties advanced="false" lock="false" merge="fuse" name="_properties" propagate="true">
<String advanced="false" lock="false" merge="replace" name="title" propagate="true" value="UrlScraper Channel"/>
<String advanced="false" lock="false" merge="replace" name="description" propagate="true" value="This is a test for urlscraper"/>
<Boolean advanced="true" lock="false" merge="replace" name="isEditable" propagate="true" value="false"/>
<Boolean advanced="true" lock="false" merge="replace" name="isTopLevel" propagate="true" value="false"/>
<String advanced="true" lock="false" merge="replace" name="editType" propagate="true" value="edit_subset"/>
<Boolean advanced="true" lock="false" merge="replace" name="enableUBT" propagate="true" value="false"/>
<String advanced="false" lock="false" merge="replace" name="urlScraperRulesetID" propagate="true" value="default_ruleset"/>
<String advanced="false" lock="false" merge="replace" name="width" propagate="true" value="thick"/>
<String advanced="true" lock="false" merge="replace" name="refreshTime" propagate="true" value="0"/>
<String advanced="true" lock="false" merge="replace" name="helpURL" propagate="true" value="en/desktop/urlscrpr.htm"/>
<String advanced="false" lock="false" merge="replace" name="url" propagate="true" value=""/>
<String advanced="false" lock="false" merge="replace" name="fontFace1" propagate="true" value="Sans-serif"/>
<String advanced="false" lock="false" merge="replace" name="productName" propagate="true" value="Sun JavaTM System Portal Server 7"/>
<Boolean advanced="false" lock="false" merge="replace" name="cookiesToForwardAll" propagate="true" value="true"/>
<String advanced="false" lock="false" merge="replace" name="inputEncoding" propagate="true" value="UTF-8"/>
<Collection advanced="false" lock="false" merge="fuse" name="cookiesToForwardList" propagate="true"/>
<Integer advanced="false" lock="false" merge="replace" name="timeout" propagate="true" value="100"/>
<String advanced="true" lock="false" merge="replace" name="formData" propagate="true" value=""/>
<Boolean advanced="true" lock="false" merge="replace" name="isHttpAuth" propagate="true" value="false"/>
<String advanced="true" lock="false" merge="replace" name="loginUrl" propagate="true" value=""/>
<String advanced="true" lock="false" merge="replace" name="loginFormData" propagate="true" value=""/>
<String advanced="true" lock="false" merge="replace" name="uid" propagate="true" value=""/>
<String advanced="true" lock="false" merge="replace" name="password" propagate="true" value=""/>
<ConditionalProperties advanced="false" condition="client" lock="false" merge="fuse" propagate="true" value="HTML">
<ConditionalProperties advanced="false" condition="locale" lock="false" merge="fuse" propagate="true" value="en">
<String advanced="true" lock="false" merge="replace" name="helpURL" propagate="true" value="en/desktop/urlscrpr.htm"/>
<String advanced="false" lock="false" merge="replace" name="url" propagate="true" value=""/>
</ConditionalProperties>
<String advanced="true" lock="false" merge="replace" name="helpURL" propagate="true" value="en/desktop/urlscrpr.htm"/>
<String advanced="false" lock="false" merge="replace" name="url" propagate="true" value=""/>
</ConditionalProperties>
<ConditionalProperties advanced="false" condition="locale" lock="false" merge="fuse" propagate="true" value="en">
<String advanced="false" lock="false" merge="replace" name="title" propagate="true" value="UrlScraper Channel"/>
<String advanced="false" lock="false" merge="replace" name="description" propagate="true" value="This is a test for urlscraper"/>
</ConditionalProperties>
</Properties>
</Provider>
- �x�s�äW�Ǹg�L�ק諸�ɮסC
�n�X���������ܧ�
�o�檩�� 5 Portal Server �n�X�����P���e�� Access Manager �n�X�����w�����P�C�Ъ`�N�A���ܧ�ä���ܳn��s�b�ʳ��C
�^�_�ɯ� (Solaris)
���`�y�z�v�T Portal Server �ɯŦ^�_�{�Ǫ��`�N�ƶ��A���۴��ѵ{�ǥ����C
�^�_�`�N�ƶ� (Solaris)
�^�_�ܵo�檩�� 5 ���ɯŪ��{�ǥ]�A�b PortalServer6-base �_��ܵo�檩�� 4 �w�˥H�έ��s���p�o�檩�� 4 Web 3�ε{���C
�^�_�{�� (Solaris)
- �ХH�W�ŨϥΪ̨���n�J�Φ����W�ŨϥΪ̡C
su -
- �N Directory Server �^�_�����b�ɯūe�����A�C
�ϥ� Directory Server backup/restore ��O��� GUI ���ε{���C�аѾ\�uSun Java System Directory Server Enterprise Edition 6.0 �z��n�v(http://docs.sun.com/doc/820-0294) ���uDirectory Server �ƥ�P�_��v�@���C
- ���� Portal Server�A��k�O����� Web �e���C
Web Server 6.x�G
WebServer-base/https-instanceName/stopWeb Server 7.0�G
Admin Server--
WebServer7Config-base/admin-server/bin/stopserv
Instance Server--
WebServer7Config-base/https-configName/bin/stopservApplication Server 8.x�G
AppServer8-base/bin/asadmin stop-domain --user admin_ID
--password password domainName- �����o�檩�� 5 Portal Server �M�˳n��C
- ���s�Ұ� Portal Server�A��k�O���s�Ұʥ��� Web �e���C
Web Server 6.x�G
WebServer-base/https-instanceName/startWeb Server 7.0�G
Admin Server--
WebServer7Config-base/admin-server/bin/startserv
Instance Server--
WebServer7Config-base/https-configName/bin/startservApplication Server 8.x�G
AppServer8-base/bin/asadmin start-domain --user admin_ID
--password password domainName- �z�L Java ES �o�檩�� 5 �o��n��ϥΤU�C��O�ӭ��s���p�o�檩�� 4 Portal Server Web 3�ε{���G
cd os_arch/Products/portal_svr/Tools/upgrade/bin
./psupgrade rollback�䤤 os_arch �P�z�Ҧb���x�۲šA�Ҧp Solaris_sparc�C
psupgrade rollback ��O�|����o�檩�� 5 Portal Server Web 3�ε{�������p�A�í��s���p�o�檩�� 4 Portal Server Web 3�ε{���C
����O�|�N PortalServer6-base/web-src �������e���s���p�� /var/PortalServe6-base/https-hostName/deploy-dir/web-apps�C�]���A�Y�n�� Portal Server Web 3�ε{���i����ۭq�A3��� /web-src �i��o�Ǧۭq�A�M��N���̭��s���p�� /web-apps�C��� psupgrade rollback ��O���e�A3�b /web-src ���ƻs�z�i��|�b /web-apps �U�i�檺����ܧ�C�_�h�A�����ܧ�N�Q�мg�C
- ���� Web �e���A�M��N�䭫�s�ҰʡC
���ިä��ݭn�b�Ҧ����p�U�����s�Ұ� Web �e���A��o�˰��i�T�O Portal Server �b���ק諸���A�U�ҰʡC
�^�_�ɯ� (Linux)
�ѩ�ɯŨ�o�檩�� 5 �ݭn�����o�檩�� 4 �G�i���ɡA�]���b Linux �W����^�_�ɯšC
�^�_���@�Ӥ�k�O�b�ɯŤδ�ըt�����e�إߤ@�ӥ���t�ΡA�M��A�xնi��ɯšC�p�G�z�ݭn�^�_�ɯšA�z�i�H�^�_�ܸӥ���t�ΡC
�h����Ҥɯ�
�b�Y�dz��p�[�c���A�|�N Portal Server ���p�b�h�ӹq���t�ΤW�A�H���ѩ��i�ʨô����i�ΩʡC�Ҧp�A�i�H�� Portal Server ��Ҧb�h�x�q���W���A�óz�L�t��ž��Ӥ4��t��C
�Y Portal Server ��Ҥw�F�t��šA�h�i�H��溥�i���ɯšA�Y�̧Ǥɯ� Portal Server ��ҦӤ����_�A�ȡA�p�U�ҭz�C���{��3�Ҽ{�H�U����G�o�檩�� 4 Portal Server �L�k�P�o�檩�� 5 Portal Server �ؿ��Ʒf�t�ϥΡC
�� 15-1 ����ܪ����p�[�c�N�Ψӻ���N�o�檩�� 4 Portal Server ��Ҧ��p�ɯŨ�o�檩�� 5 ���{�ǡC
�Ƶ�
�p�ݥ]�t Portal Server Secure Remote Access ���[�c����T�A�аѾ\�h����Ҥɯ��C
�b�� 15-1 ���[�c���A�z�L�t��ž��s��F�h�� Portal Server ��ҥH���ѥi�ΩʤΩ��i�ʡC�ۤϡAPortal Server ��ҥi�z�L�t��ž��Ӧs�� Access Manager ��ҡCAccess Manager �M Access Manager SDK ��ҷ|�s��w�w��h�ӥD��A���ƻs (MMR) �]�w���ؿ�C��M��L Directory Server �ƻs��פ]�O���\���A�� MMR �O���i�ΩʤΩ��i�ʥؿ�A�Ȫ��N��C
�b�� 15-1 ���A�w�N Portal Server�BAccess Manager �M Directory Server ���h����Ҳզ��s�աA�H�K���ɯŵ{�Ƕi�满��C�Ҧp�APortal Server 2 �N�N�� Portal Server ���ĤG�Ө�� n �ӹ�ҡC
�� 15-1 �h�� Portal Server ��Ҫ����p�[�c�d��
�o�檩�� 4 Portal Server ��o�檩�� 5 �����i���ɯŪ����覡�p�U�G
- �p�G�z�n�N�o�檩�� 4 Access Manager �ɯŨ�o�檩�� 5�A�а�溥�i���ɯšA�p�h����Ҥɯ��ҭz�C�Ъ`�N�A�b�N�o�檩�� 4 Portal Server �ɯŨ�o�檩�� 5 ���L�{���A�z�L���N�o�檩�� 4 Access Manager �ɯŨ�o�檩�� 5�C
- �N Portal Server 2 �t�m����V Directory Server 2�A�ӫD��V Directory Server 1�C
���F²��_���A�b���B�J�Ϋ���B�J���A�uPortal Server 2�v�N��� Portal Server 2 �� Portal Server n�C
- �ɯ� Portal Server 1�C
- ���� Load Balancer B ���� Portal Server 1�C
�ШD���|�A�Q��Ѧ� Portal Server 1�C
- ���� Directory Server MMR�C
Directory Server 2 �N���A�P Directory Server 1 �P�B�C
- �N Access Manager SDK 1B �ɯŨ�o�檩�� 5�C
�Шϥ��Ȥɯŵo�檩�� 4 Access Manager SDK �����{�ǡC
- �N Portal Server 1 �ɯŨ�o�檩�� 5�C
��� Portal Server ��Ҫ��ɯšA�p�ɯŵo�檩�� 4 Portal Server �ҭz�A�ýЪ`�N�U�C���ءG
- �ЯS�O�`�N�U�C�ɯūe�@�~�G�����t��ž����t�m�C
- �b���ɯŤ��e�A�нT�{�b���� Access Manager SDK ���λP�������� Access Manager ��Ҥ��AAccessManagerConfig-base/config/AMConfig.properties �ɮפ� am.encryption.pwd ���ȬO�_�ۦP�C
- �T�w���n�ɯŪ��C�@�� Portal Server ��Ҫ� psupgrade �ҽШD�� Portal Instance ID �Ѽƴ��ѤF�D�šB�ߤ@�ȡC
�N Directory Server 1 �� Portal Server ��ƤɯŨ�o�檩�� 5�C
- �ҥ� Load Balancer B ���� Portal Server 1�C
�ШD�|���s��Ѧ� Portal Server 1�C
- �ɯ� Portal Server 2�C
- ���� Load Balancer B ���� Portal Server 2�C
�ШD���|�A�Q��Ѧ� Portal Server 2�C
- �N Portal Server 2 ���t�m�_�쬰��V Directory Server 1�C
- �N Access Manager SDK 2B �ɯŨ�o�檩�� 5�C
�ϥ��B�J c ���y�z���{�ǡC
- �N Portal Server 2 �ɯŨ�o�檩�� 5�C
�ϥ��B�J d ���y�z���{�ǡC
- �ҥ� Load Balancer B ���� Portal Server 2�C
�ШD�|���s��Ѧ� Portal Server 2�C
- �ҥ� Directory Server MMR�C
�{�b�ADirectory Server 2 �� Portal Server ��ƫK�P Directory Server 1 �P�B�C
�q Java ES �o�檩�� 3 �ɯ� Portal Server�N Java ES 2005Q1 (�o�檩�� 3) Portal Server �ɯŨ�o�檩�� 5 ���{�ǻP�N�o�檩�� 4 Portal Server �ɯŨ�o�檩�� 5 ���{�ǬۦP�A��H�U�ҥ~�G
�o�檩�� 3 �ɯūe�@�~�G�ɯ� Portal Server �̤ۨ���
��O�A��q�o�檩�� 3 �ɯ� Portal Server �ɡA�z�����b�ɯ� Portal Server ���e�A�N Access Manager �M Web �e�� (Web Server �� Application Server) ���ɯŨ�o�檩�� 4 �εo�檩�� 5�A��O�z����b�o�檩�� 3 �W�O�d���̤ۨ���A�]����N�Y�Ǭ̤ۨ���ɯŨ�o�檩�� 4�A�ӱN��L�̤ۨ���ɯŨ�o�檩�� 5�C�p�ݧ�h��T�A�аѾ\��ܩʪ��ɯŰ��D�C
�U�C�̤ۨ�����H�U��ܪ����ǤɯšC
- �@�Τ���C �b�� 2 ���u�ɯ� Java ES �@�Τ���v�����ѤF�N Java ES �@�Τ���ɯŨ�o�檩�� 5 ����ܡC
- Directory Server�C �b�� 5 ���uDirectory Server�v�����ѤF�N Directory Server �ɯŨ�o�檩�� 5 ����ܡC
- Web �e���n��C �b�� 7 ���uWeb Server�v�M�� 11 ���uApplication Server�v���'O���ѤF�ɯ� Web Server �M Application Server ����ܡC
- Access Manager (Access Manager SDK)�C �b�� 14 ���uAccess Manager�v�����ѤF�N Access Manager �ɯŨ�o�檩�� 5 ����ܡC
�ɯŵo�檩�� 3 Portal Server
�Y�n�N�o�檩�� 3 Portal Server �ɯŨ�o�檩�� 5�A���F�N�ѷӪ��Ҧ��o�檩�� 4 ��N���o�檩�� 3 �H�~�A��L�п�`�q Java ES �o�檩�� 4 �ɯ� Portal Server ������ܡC
�o�檩�� 3 �ɯū�@�~
�N Portal Server �q�o�檩�� 3 �ɯŦܵo�檩�� 5 �ɡA���F�o�檩�� 4 �ɯū�@�~������ɯū�{�Ǥ��~�A�z�٥������B�z�H�U���p�һݪ��ɯū�{�ǡG
�q�\�Q��
���D�z��s�������ܳ]�w�ɳ̤W�h�S�ʥH�W�[�H�U String �S�ʡA�_�h�b�8s���q�\�Q�ױN���|���\�G
helpURL=en/desktop/usedesk.htm
�а��U�C�{�ǡG
- �إ���ܳ]�w�� XML snippet �ɮ� helpUrl.xml�G
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE DisplayProfile SYSTEM "jar://resources/psdp.dtd">
<Properties>
<String name="helpURL" value="en/desktop/usedesk.htm" />
</Properties>- �ϥΤU�C��O��������ܳ]�w�ɯS�ʡG
./psadmin modify-dp -u amadminUser -f /tmp/passwordFile -p portal_ID
-m -g helpUrl.xml�䤤�� -m �ﶵ�����n�ﶵ�A�i�קK�мg��ӥ�����ܳ]�w�ɡC
�h����Ҥɯ�
�b�Y�dz��p�[�c���A�|�N Portal Server ���p�b�h�ӹq���t�ΤW�A�H���ѩ��i�ʨô����i�ΩʡC�Ҧp�A�i�H�� Portal Server ��Ҧb�h�x�q���W���A�óz�L�t��ž��Ӥ4��t��C
�Y Portal Server ��Ҥw�F�t��šA�h�i�H��溥�i���ɯšA�Y�̧Ǥɯ� Portal Server ��ҦӤ����_�A�ȡA�p�U�ҭz�C���{��3�Ҽ{�H�U����G�o�檩�� 3 Portal Server �L�k�P�o�檩�� 5 Portal Server �ؿ��Ʒf�t�ϥΡC
�Y�n���q�o�檩�� 3 Portal Server �ܵo�檩�� 5 �����i���ɯšA���F�N�ѷӪ��o�檩�� 4 ��N���o�檩�� 3 ���~�A��L�п�`�p�h����Ҥɯ����ҭz���{�ǡC���~�A�z�٥����ɯ� Access Manager�A�p�B�J 1 �ҭz�C
�q Java ES �o�檩�� 2 �ɯ� Portal Server���`�]�t�N Java ES 2004Q2 (�o�檩�� 2) Portal Server �ɯŨ�o�檩�� 5 �������T�C���F�p�H�U�X�`�ҭz���@���ܧ�H�~�A�ɯŵ{�ǻP�N�o�檩�� 4 Portal Server �ɯŨ�o�檩�� 5 ����G
�Ƶ�
�p�G�z�n�b Linux ���x�W�q�o�檩�� 2 Portal Server �i��ɯšA�h���������ɯšA�]�N�O Portal Server �M�@�~�t�γ��n�i��ɯ� (�b RHEL 2.1 �W���䴩�o�檩�� 5 Portal Server)�C�p�ݧ�h��T�A�аѾ\��ɯ��C
�o�檩�� 2 �ɯūe�@�~
���F�ɯ� Portal Server �̤ۨ���H�~�A�q�o�檩�� 2 �ɯ� Portal Server ���ɯūe�@�~�P�o�檩�� 4 �ɯūe�@�~���ҭz�����e�ۦP�C
��q�o�檩�� 2 �ɯ� Portal Server �ɡA�z�����b�ɯ� Portal Server ���e�A�N Access Manager �M Web �e�� (Web Server �� Application Server) ���ɯŨ�o�檩�� 4 �εo�檩�� 5�A��O�z����b�o�檩�� 2 �W�O�d���̤ۨ���A�]����N�Y�Ǭ̤ۨ���ɯŨ�o�檩�� 4�A�ӱN��L�̤ۨ���ɯŨ�o�檩�� 5�C�p�ݧ�h��T�A�аѾ\��ܩʪ��ɯŰ��D�C
�S�O���O�AWeb �e���n�饲���q�o�檩�� 2 �ɯšA�o��ܷ��� psupgrade �{���ɮɡA�u�䴩�� 15-4 ������� 2 �P��� 5�C
�U�C�̤ۨ�����H�U��ܪ����ǤɯšC
- �@�Τ���C �b�� 2 ���u�ɯ� Java ES �@�Τ���v�����ѤF�N Java ES �@�Τ���ɯŨ�o�檩�� 5 ����ܡC
- Directory Server�C �b�q Java ES �o�檩�� 2 �ɯ� Directory Server �����ѤF�N Directory Server �ɯŨ�o�檩�� 5 ����ܡC
- Web �e���n��C �b�� 7 ���uWeb Server�v�M�� 11 ���uApplication Server�v���'O���ѤF�ɯ� Web Server �M Application Server ����ܡC
- Access Manager (Access Manager SDK)�C �b�� 14 ���uAccess Manager�v�����ѤF�N Access Manager �ɯŨ�o�檩�� 5 ����ܡC
�ɯŵo�檩�� 2 Portal Server
�N Portal Server �q�o�檩�� 2 �ɯŨ�o�檩�� 5 ���{�Ǩ�M�p Portal Server �n�骺 Web �e���A�p�H�U�X�`�ҭz�C
�ɯŵo�檩�� 2 Portal Server�GWeb Server Web �e��
�Y�n�N�o�檩�� 2 Portal Server �ɯŨ�o�檩�� 5�A�b���p�� Web Server Web �e�����ɡA���F�N�ѷӪ��Ҧ��o�檩�� 4 ��N���o�檩�� 2 �H�~�A��L�ʧ@�п�`�q Java ES �o�檩�� 4 �ɯ� Portal Server ������ܡC
��O�A�p�G�N Portal Server ���p��o�檩�� 5 Web Server (Web Server 7.0)�A�z��������H�U�B�J�~��ɯŵo�檩�� 2 Web Server�G
�ɯŵo�檩�� 2 Portal Server�GApplication Server Web �e��
�p�G�N�o�檩�� 2 Portal Server �ɯŨ�o�檩�� 5�A�h�?�p�� Application Server Web �e���ɡAApplication Server �K�w�g�q�o�檩�� 2 �ɯŨ�F�o�檩�� 5�C
�ɯŨ�o�檩�� 5 �ɡA�̪��䤤���p�F Portal Server ���o�檩�� 2 Application Server ��� (instanceName) �E����� Application Server �ɯŵ{�ǩҫإߪ��`�I�N�z�{���U�C�b�o�Ӥw�ɯŪ� Application Server ��Ҥ��ɯ� Portal Server �ݭn���U�C�B�J�G
- �ХH�W�ŨϥΪ̨���n�J�Φ����W�ŨϥΪ̡C
su -
- �p�G�|����榹�ʧ@�A�бN�Ҧ��@�Τ���P�o�檩�� 5 �P�B�C
�� 2 ���u�ɯ� Java ES �@�Τ���v�����ѤF��ܡC
���b�B�J 9 ����� psupgrade �{���ɨӻ��A���B�J�O���n����M���C
- ����i��b���a��檺 Portal Server Secure Remote Access Gateway�BRewriter Proxy �� Netlet Proxy ������ҡC
PortalServer6-base/bin gateway stop
PortalServer6-base/bin netletd stop
PortalServer6-base/bin rwproxyd stop�ˬd�{�ǬO�_�w�g����G
Gateway�Jnetstat -an | grep 443
Rewriter Proxy�Gnetstat -an | grep 10443
Netlet Proxy�Gnetstat -an | grep 10555- �p�G Access Manager �P Portal Server �'O���p�b���P�� Web �e�����A�нT�w Access Manager ���b���C
- �p�G���b���A�бҰ� Portal Server�A�o�i�ǥѱҰʨ䳡�p�쪺 Web �e���ӹ�{�C
- �Ұ� Domain Administration Server (DAS) (�p�G���|���Ұ�)�C
AppServer8-base/bin/asadmin start-domain --user admin_ID
--password password domainName- �Y���p�F Portal Server ���w�ɯ� Application Server ��� (instanceName) �|�����A�бҰʥ��C
���覡�O�ҰʾE�����w�ɯ� Application Server ��ҩ��ݪ��`�I�N�z�{���G
AppServer8-base/bin/asadmin start-node-agent --user admin_ID
--password password nodeagentName�H�W��O�Ϋ���B�J���ϥΤF�U�C�D�ҡG
- �䤤 nodeagentName ���Φ��� hostName_domainName�A��²��w�]�� hostName�C
- �w�] domainName �O domain1
- �w�] instanceName �O server1
- ��� Portal Server �����p�C
AppServer8-base/bin/asadmin undeploy --user admin_ID
--password password --target instanceName portalAppServer8-base/bin/asadmin undeploy --user admin_ID
--password password --target instanceName portletsamples- �]�w psupgrade �{���ɩһݪ��������ܼ� (ANT_HOME �M JAVA_HOME)�C�Ҧp�A
Solaris OS�G
export ANT_HOME=/usr/sfw
export JAVA_HOME=/usr/jdk/entsys-j2seLinux OS�G
export ANT_HOME=/opt/sun
export JAVA_HOME=/usr/jdk/entsys-j2se- �нT�w�z�q���W������洫�Ŷ��C
������ɭ�h�A3�N�洫�Ŷ��]�w������ RAM �e�q���⭿�C
- �q Java ES �o�檩�� 5 �o�檫����� psupgrade �{���ɡC
cd os_arch/Products/portal_svr/Tools/upgrade/bin
./psupgrade�䤤 os_arch �P�z�Ҧb���x�۲šA�Ҧp Solaris_sparc�C
psupgrade �{���ɷ|�I�s Java ES �w�˵{���H�w�˷s���M�˳n��A�ìd�ߨt�ΥH����z�N�b�䤤���p Portal Server Web 3�ε{���� Web �e������m�P�s���Ψ�L�����T�C�� Web �e���ɯŤ�צөw (�аѾ\�� 15-4)�A�b����� 5 ���A�{���ɷ|�n�D�z��J�N Portal Server ���p��A�� Web �e�����һݭn����T�C
�� 15-6 ��ܷ�o�檩�� 2 Application Server �w�g�ɯŨ�o�檩�� 5 (��� 5) �ɩһݭn����T�C
�Ƶ�
�аȥ��� psupgrade �Ѽƿ�J���T���ȡA�]���z�L�k��^���ܧ̡A�ӥB�]����^�_�� psupgrade �{���ɩҰ����ܧ�C�Y�n�^�_��� Portal Server ��ƪ��ܧ�A�z�������
�M��xզA����� psupgrade�C
- ���� Domain Administration Server (DAS) �P�b�B�J 5 ���Ұʪ��`�I�N�z�{���C
AppServer8-base/bin/asadmin stop-domain --user admin_ID
--password password domainNameAppServer8-base/bin/asadmin stop-node-agent --user admin_ID
--password password nodeagentName- ���s�Ұ� Domain Administration Server (DAS)�B�`�I�N�z�{���M�b�B�J 10 �������A����ҡC
AppServer8-base/bin/asadmin start-domain --user admin_ID
--password password domainNameAppServer8-base/bin/asadmin start-node-agent --port DASportNumber --startinstances=false --user admin_ID --password password nodeagentName
AppServer8-base/bin/asadmin start-instance --port DASportNumber --user admin_ID --password password instanceName
DASportNumber ���w�]�Ȭ� 4848�C
�o�檩�� 2 �ɯū�@�~
�N Portal Server �q�o�檩�� 2 �ɯŦܵo�檩�� 5 �ɡA���F�o�檩�� 4 �ɯū�@�~������ɯū�{�Ǥ��~�A�z�٥������B�z�H�U���p�һݪ��ɯū�{�ǡG
�榸�n�J�t�m
�N Portal Server �q�o�檩�� 2 �ɯŤ���A�ϥ� ssoadapter �����d���Ӧs���ݦ�A���� Portal Desktop �q�T�q�D (�Ҧp�A�l��B��ƾ�P�q�T��) ���|���ѡC
�Ҧp�A�p�G�z�w�g�ϥ� Messaging Server ���S�w�]�w�ק�F�o�檩�� 2 �l�� ssoadapter �����d�� SUN-UWC-MAIL�A�h�ɯŨ�o�檩�� 5 ����A�N�s�b��� SUN-UWC-MAIL ssoadapter �����d���G�@�ӬO�|���ܧo�檩�� 2 �����A�t�@�ӬO�s���o�檩�� 5 �����C�z�|�b Portal Server �D���x�P psadmin ��O�椶�����o�{���ƪ� ssoadapter �����d���A�G�̨㦳�ۦP���W�١C
�ϥ� ssoadapter �����d�����q�D�N�L�k�P��ݦ�A���إ߳s�u���^���ơC
�Y�n�ץ������D�A�z�����^�� ssoadapter �����d����ơB���s�R�W���ƶ��ءA�M���N�w�g�ק諸��ơC�а��U�C�{�ǡG
- �ץX ssoadapter �����d����ơC
�ϥ� amadmin ���ε{���ӶץX Access Manager �A�ȸ�ơA�p�U�ҥܡG
- �إ� amadmin �ШD�ɮ� /tmp/ssoadapter-template-gets.xml�C
���ε{���|�ϥΦ��ɮר��^�� ssoadapter �����d����ơG
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE Requests
PUBLIC "-//iPlanet//iDSAME 5.0 Admin CLI DTD//EN"
"jar://com/iplanet/am/admin/cli/amAdmin.dtd"
>
<Requests>
<SchemaRequests serviceName="SunSSOAdapterService" SchemaType="global">
<GetServiceDefaultValues>
<Attribute name="sunConfigurationTemplates"/>
</GetServiceDefaultValues>
</SchemaRequests>
</Requests>- ���U�C asadmin ��O�G
AccessManager-base/bin/amadmin -u amadminUser -w password
-t ssoadapter-templates-get.xml > /tmp/ssoadapter-templates.xml��O����X�|�x�s�� /tmp/ssoadapter-templates.xml ���C
/tmp/ssoadapter-templates.xml �ɮת��榡�p�U�G
sunConfigurationTemplates=
[<ssoadapter meta-template1>, <ssoadapter meta-template2>, ...]�ӥB�C�� <ssoadapter meta-template> ���y�k�p�U�G
default|imap:/?configName=SUN-UWC-MAIL
&proxyAdminPassword=%5BPROXY-ADMIN_PASSWORD%5D&subType=sun-one
&enableProxyAuth=false ...- �ק� /tmp/ssoadapter-templates.xml �ɮץH���s�R�W���ƪ� ssoadapter �����d���C
- �M�� /tmp/ssoadapter-templates.xml �ɮפ����C�ӽd���C
�M�� default|imap:/?configName= �r��C
- �H�ߤ@�Ȩ�N���ƪ� ssoadapter �����d���W�١C
�Ҧp�A�p�G����� SUN-UWC-MAIL ssoadapter �����d���A�H SUN-UWC-MAIL2 ��N�䤤�@�Ӫ� configName �ȷ|���ͨ�Ӱߤ@�R�W���d���G
default|imap:/?configName=SUN-UWC-MAIL ...
default|imap:/?configName=SUN-UWC-MAIL2 ...- �إ߱N�פJ�w�ק� ssoadapter �����d���� amadmin �ШD�ɮסA�q���мg��l��ơC
- �N /tmp/ssoadapter-templates.xml �ƻs�� /tmp/ssoadapter-new-templates.xml ��
- �b /tmp/ssoadapter-new-templates.xml ���A�N�H�U�r��G
sunConfigurationTemplates=[
�%N���G
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE Requests
PUBLIC "-//iPlanet//iDSAME 5.0 Admin CLI DTD//EN"
"jar://com/iplanet/am/admin/cli/amAdmin.dtd"
>
<Requests>
<SchemaRequests serviceName="SunSSOAdapterService" SchemaType="Global">
<ModifyDefaultValues>
<AttributeValuePair>
<Attribute name="sunConfigurationTemplates"/>- �H�u&�v��N�Ҧ��s�r�� (�u&�v)�C
�Ҧp�A�H�U��G
default|imap:/?configName=SUN-UWC-MAIL
&proxyAdminPassword=%5BPROXY-ADMIN_PASSWORD%5D
&subType=sun-one&enableProxyAuth=false...�|�ܦ��G
default|imap:/?configName=SUN-UWC-MAIL
&proxyAdminPassword=%5BPROXY-ADMIN_PASSWORD%5D
&subType=sun-one&enableProxyAuth=false ...- �����C�� ssoadapter �����d�����*��r�� (�u,�v)�C
- �H�_�l <Value> �аO�P���� </Value> �аO�]��C�� ssoadapter �����d���C
�Ҧp�G
<Value>default|imap:/?configName=SUN-UWC-MAIL
&proxyAdminPassword=%5BPROXY-ADMIN_PASSWORD%5D
&subType=sun-one&enableProxyAuth=false ...</Value>- �q�W�@�� ssoadapter �����d���������k�A�� (�u]�v)�C
- �b�ɮץ��3B�[�W�H�U�X��G
</AttributeValuePair>
</ModifyDefaultValues>
</SchemaRequests>
</Requests>�H�W�B�J���ϥΪ���@�d�����̲� ssoadapter-new-templates.xml �ɮ�3�Ӧp�U�ҥܡG
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE Requests
PUBLIC "-//iPlanet//iDSAME 5.0 Admin CLI DTD//EN"
"jar://com/iplanet/am/admin/cli/amAdmin.dtd"
>
<Requests>
<SchemaRequests serviceName="SunSSOAdapterService" SchemaType="Global">
<ModifyDefaultValues>
<AttributeValuePair>
<Attribute name="sunConfigurationTemplates"/>
<Value>default|imap:/?configName=SUN-UWC-MAIL
&proxyAdminPassword=%5BPROXY-ADMIN_PASSWORD%5D
&subType=sun-one&enableProxyAuth=false ...</Value>
</AttributeValuePair>
</ModifyDefaultValues>
</SchemaRequests>
</Requests>- �פJ�s�� ssoadapter-new-templates.xml �ɮסC
AccessManager-base/bin/amadmin -u amadminUser -w password -v
-t ssoadapter-new-templates.xml���ɡA�z�i�H�s�� Portal Server �D���x���� ssoadapter ���ҡA�H�d�ݧ�s�᪺ ssoadapter�C
�ҥ� URLScrapper �q�D
��q�o�檩�� 3 �ɯŨ�o�檩�� 5 �ɡA�z�����ҥ� URLScrapper �q�D�C�аѾ\�ҥ� URLScrapper �q�D�C
�R�� Gateway �A�ȶ���
��q�o�檩�� 2 �ɯ� Portal Server �ɡA������ʧR�� amService-srapGateway �ϥΪ̶��ءA�_�h�p�G�ϥΤF Portal Server Secure Remote Access Gateway����A�N�L�k�b�ɯŤ���ҰʡC���U�C�B�J�G
�h����Ҥɯ�
�q�o�檩�� 2 Portal Server �ɯŨ�o�檩�� 5 �ɡA���䴩�h����Һ��i���ɯ� (�аѾ\�h����Ҥɯ�)�C
�q�{�ɥ\��o�檩�� 7.0 �ɯ� Portal Server���`�]�t�N Portal Server �q�{�ɥ\��o�檩�� (IFR) 7.0 2005Q4 �ɯŨ� Java ES 5 (�o�檩�� 5) �������T�C
���`�[�\�H�U�D�D�G
Portal Server IFR �ɯ�²��
�N Portal Server IFR 7.0 �ɯŨ�o�檩�� 5 Portal Server �ɡA�ЦҼ{�ɯŵ{�Ǫ��U�C�h���G
- Application Server 7.x �W���䴩 Portal Server IFR�A�]���� 15-4 �����ɯŤ�� 5 ���A�ΡC
- �b�q�o�檩�� 4 �ɯŮɡA�Ω�N Portal Server IFR �ɯŨ�o�檩�� 5 �� psupgrade �{���ɤ��|�w�˷s���M�˳n��C�ɯŵ{�Ƿ|�n�D�z�M�ΥH�U�ɵ{���G
�� 15-8 �N Portal Server IFR �ɯŨ�o�檩�� 5 ���ɵ{��1
����
�ɵ{�� ID�GSolaris 9 �M 10
�ɵ{�� ID�GLinux
Portal Server 7.1
121465-28 (SPARC)
121466-28 (x86)
121467-28
Portal Server 7.1
���g�ƪ���123254-02 (SPARC)
124590-02 (x86)
123255-02
1�ɵ{�����q�����X�O�ɯŨ� Java ES �o�檩�� 5 ���̧C�ݨD�C�p�G����s���q���i�ΡA�ШϥΧ�s���q���A�Ӥ��n�ϥΪ?���q���C
- psupgrade �{���ɤ��䴩�N Portal Server IFR �ɯŨ�o�檩�� 5 Web Server�C�������اt�N�G
- �p�G Web Server �w�g�ɯŨ�o�檩�� 5�A�h�z�L�k�ɯŦb���� Web Server �e�������p�� Portal Server IFR �n��C�]�����䴩�� 15-4 ���� Web �e���ɯŤ�� 2�C�Ъ`�N�S�?�p����ĵ�i�C
- �p�G Web Server �|���ɯŨ�o�檩�� 5�A�z�i��N�� Web Server (6.x) �e������ Portal Server IFR �n��ɯŨ�o�檩�� 5 (�p�U�� Portal Server IFR 7.0 �ɯ����ҭz)�A�M��̧DZN Web Server (���n�ɦA�[�W Access Manager) �ɯŨ�o�檩�� 5�C�p�G�z���ɯŤ�״N�O�p���A�t�аѾ\�o�檩�� 5 Web Server (7.0) Web �e�������ɯ��H��o��L���ɯū��ܡC
Portal Server IFR 7.0 �ɯ�
���`�y�z�p��b Solaris �� Linux ���x�W�N Portal Server �q IFR �ɯŨ� Java ES �o�檩�� 5�C��Y�ӥD�D�̿७�x�S�w���{�ǮɡA�ӥD�D�N��X��A�Ϊ��@�~�t�ΡC���`�[�\�H�U�D�D�G
IFR 7 �ɯūe�@�~
���F�U�C�X�I�AIFR �ɯŻP�o�檩�� 4 �ɯŪ��ɯūe�@�~�ۦP (�аѾ\�o�檩�� 4 �ɯūe�@�~)�G
��o�һݰt�m��T
psupgrade �{���ɩһݪ���T (�Ԩ���o���n���t�m��T�M�K�X) �������A�Ω�q Portal Server IFR �i�檺�ɯšC�ѩ� Application Server 7.x �W���䴩 Portal Server IFR�A�]���� 15-6 ���� Web �e���ɯŤ�� 5 ���A�ΡC
Common Agent Container ���t�m
Common Agent Container �O�@�Ӧ@�Τ���A�i�� Java ES �ʵ�κz�N�z�{�����Ѯe���A�ȡCPortal Server �z�u�� (�Ҧp Portal Server �D���x�� psadmin ��O�椶��) �|�ϥΤ@�լҳ��p�� Common Agent Container �����ʵ�κz�N�z�{�� (���̤@�_�٬� Portal Administration Server)�C
�p�G�b��� Portal Server IFR 7.0 ���ɯŤ��e�A�w�N Java ES �@�Τ���ɯŨ�o�檩�� 5�A�h�ݭn���H�U�B�~�B�J�~��n�J�o�檩�� 5 Portal Server �D���x�Ψϥ� psadmin ��O�椶���C(�p�G�b�z��� Portal Server IFR 7.0 ���ɯŤ��e�AJava ES �@�Τ����|���ɯŨ�o�檩�� 5�A�h�Щ����H�U�B�~�B�J�C)
- ���s�t�m Common Agent Container�C
PortalServer7-base/bin/psconfig --config PortalServer7-base/samples/example2.xml
example2.xml �ɮ״��ѤF���s�t�m��T�C�z�����b��� psconfig ��O���e��s�� example2.xml �ɮץH���ѥ��n���K�X�C�p�G�z�ϥΫD�w�] Portal Server ��m�A�z�٥������ѥ��T���ؿ�C
- �s�� Web �e�������O��|�H�ѷ� Common Agent Container�C
Web �e�������O��|�N�]�t����e Common Agent Container �o�檩������m���ѷӡG(rel4CAC-base-dir/lib/cacao_cacao.jar)�C
�H�o�檩�� 5 ��m��N���ѷӡG(rel5CAC-admin-dir/lib/cacao_cacao.jar)�C
- �ˬd�O�_�w�b PortalServer7Config-base �ؿ�H�U�C�S�ʫإߤF�S���ɮ� pasconnect.properties�G
pas.host=
�ӯS�ʭȥi���ŭȡBlocalhost �ι�ڪ� Portal Server �D��W�١C
- ���s�Ұ� Common Agent Container�C
rel5CAC-admin-dir/bin/cacaoadm start
�ɯ� Portal Server IFR 7.0 (Solaris)
���`��Q�v�T Portal Server IFR �ɯŵ{�Ǫ��`�N�ƶ��A���۴��ѹ�{�ǥ���������C
IFR 7 �ɯŪ`�N�ƶ� (Solaris)
�N Portal Server IFR �ɯŨ� Java ES �o�檩�� 5 �P�o�檩�� 4 �ɯŭn�Ҽ{���`�N�ƶ��ۦP (�аѾ\�ɯŪ`�N�ƶ� (Solaris))�C
���~�A�аѾ\ Portal Server IFR �ɯ�²�����Ҵ��X�����D�C
IFR 7 �ɯŵ{�� (Solaris)
�U�z�{�ǾA�Ω�����ɯŪ��q���W�� Portal Server�C
- �ХH�W�ŨϥΪ̨���n�J�Φ����W�ŨϥΪ̡C
su -
- ����i��b���a��檺 Portal Server Secure Remote Access Gateway�BRewriter Proxy �� Netlet Proxy ������ҡC
PortalServer7-base/bin/psadmin stop-sra-instance -u amadminUser
-f passwordFile -t gateway -N gatewayProfileNamePortalServer7-base/bin/psadmin stop-sra-instance -u amadminUser
-f passwordFile -t rwproxy -N gatewayProfileNamePortalServer7-base/bin/psadmin stop-sra-instance -u amadminUser
-f passwordFile -t nlproxy -N gatewayProfileName�ˬd�{�ǬO�_�w�g����G
Gateway�Gnetstat -an | grep 443
Rewriter Proxy�Gnetstat -an | grep 10443
Netlet Proxy�Gnetstat -an | grep 10555- �p�G Access Manager �P Portal Server �'O���p�b���P�� Web �e�����A�нT�w Access Manager ���b���C
- �p�G���b���A�бҰ� Portal Server�A�o�i�ǥѱҰʨ䳡�p�쪺 Web �e���ӹ�{�C
Web Server 6.x�G
WebServer-base/https-instanceName/startApplication Server 8.x�G
AppServer8-base/bin/asadmin start-domain --user admin_ID
--password password domainName- �ھ��� 15-8 ��o�һݪ��ɵ{���C
���D��ܱz�ϥίS�w�q���A�Ф@�ߨϥγ̷s���ɵ{���q���C
�i�q�U�C��m�N�ɵ{���U��� /tmp�Ghttp://sunsolve.sun.com/pub-cgi/show.pl?target=patches/patch-access
- �ЮM�ξA�? Portal Server �ɵ{���A�p�����n�A�]�ЮM���� 15-8 �������g�ƭɵ{���C
patchadd /tmp/patch_ID
- �T�{�ɵ{���ɯŦ��\�G
showrev -p | grep patch_ID
��X3�Ǧ^�B�J 6 ���M�Ϊ��ɵ{�� ID �����C
- �Y���g�ƮM�˳n��w�g�b�B�J 6 ���ɯšA�бN Portal Server Console JVM ���y����ҳ]�w�� UTF-8�C
export LC_ALL=ja_JP.UTF-8
export LANG=ja_JP.UTF-8- �]�w psupgrade �{���ɩһݪ��������ܼ� (ANT_HOME �P JAVA_HOME)�G
export ANT_HOME=/usr/sfw
export JAVA_HOME=/usr/jdk/entsys-j2se- �нT�w�z�q���W������洫�Ŷ��C
������ɭ�h�A3�N�洫�Ŷ��]�w������ RAM �e�q���⭿�C
- ��� psupgrade �{���ɡC
cd PortalServer7-base/bin
./psupgradepsupgrade �{���ɤ��|�q Java ES �o�檩�� 5 �o�檫�����A�ӥB���|�I�s Java ES �w�˵{�� (�M�˳n��w�g�L��)�C
�{���ɷ|�d�ߨt�ΥH����z�n�b�䤤���p Portal Server Web 3�ε{���� Web �e������m�B�s���Ψ�L�����T�C�� Web �e���ɯŤ�צөw (�аѾ\�� 15-4)�A�{���ɷ|�n�D�z��J�N Portal Server ���p��A�� Web �e�����һݭn����L��T�C
�� 15-6 ��ܤF�� 15-4 �����P Web �e���ɯŤ�שҭn�D����T�C
- ���� Web �e���A�M��N�䭫�s�ҰʡC
���ިä��ݭn�b�Ҧ����p�U�����s�Ұ� Web �e���A��o�˰��i�T�O Portal Server �b���ק諸���A�U�ҰʡC
�ɯ� IFR 7 Portal Server (Linux)
���`�Q�v�T Portal Server �ɯŵ{�Ǫ��`�N�ƶ��A���۴��ѹ�{�ǥ���������C
IFR 7 �ɯŪ`�N�ƶ� (Linux)
�b Linux OS �W�w�˵o�檩�� 5 �ɵ{���|������e�� RPM�A���F�o�@�I�~�A�b Linux ���x�W�N Portal Server IFR �n��ɯŨ�o�檩�� 5 �P�b Solaris OS �W�ɯŮɩҭn�Ҽ{���`�N�ƶ��ۦP (�аѾ\ IFR 7 �ɯŪ`�N�ƶ� (Solaris))�C
IFR 7 �ɯŵ{�� (Linux)
�U�z�{�ǾA�Ω�����ɯŪ��q���W�� Portal Server�C
- �ХH�W�ŨϥΪ̨���n�J�Φ����W�ŨϥΪ̡C
su -
- ����i��b���a��檺 Portal Server Secure Remote Access Gateway�BRewriter Proxy �� Netlet Proxy ������ҡC
PortalServer7-base/bin/psadmin stop-sra-instance -u amadminUser
-f passwordFile -t gateway -N gatewayProfileNamePortalServer7-base/bin/psadmin stop-sra-instance -u amadminUser
-f passwordFile -t rwproxy -N gatewayProfileNamePortalServer7-base/bin/psadmin stop-sra-instance -u amadminUser
-f passwordFile -t nlproxy -N gatewayProfileName�ˬd�{�ǬO�_�w�g����G
Gateway�Gnetstat -an | grep 443
Rewriter Proxy�Gnetstat -an | grep 10443
Netlet Proxy�Gnetstat -an | grep 10555- �p�G Access Manager �P Portal Server �'O���p�b���P�� Web �e�����A�нT�w Access Manager ���b���C
- �p�G���b���A�бҰ� Portal Server�A�o�i�ǥѱҰʨ䳡�p�쪺 Web �e���ӹ�{�C
Web Server 6.x�G
WebServer-base/https-instanceName/startApplication Server 8.x�G
AppServer8-base/bin/asadmin start-domain --user admin_ID
--password password domainName- �ϥ��� 15-8 �����ɵ{�����X�M RPM �W�٨Ө�o�һݪ��ɵ{���C
���D��ܱz�ϥίS�w�q���A�Ф@�ߨϥγ̷s���ɵ{���q���C
�i�q�U�C��m�N�ɵ{���U��� /tmp�Ghttp://sunsolve.sun.com/pub-cgi/show.pl?target=patches/patch-access
- �H�� 15-8 �������ǮM�θӪ?�� Portal Server �ɵ{���H�� Portal Server ���g�� RPM (�ݭn��)�C
�аѾ\ Portal Server �ɵ{����Ū���ɮסA�䤤����F�p��ϥε{���ɨӮM�έɵ{���� RPM�G
cd /tmp
�䤤 /tmp �O�N�ɵ{���U��쪺�ؿ�C
./upgradeportalrpm
��s�{���ɷ|�w�� RPM ������C
�w�糧�g�ƭɵ{���A�ШϥΥH�U��O�w�˨C�@�� RPM�G
rpm -Fvh patchName-version.rpm
- �T�{�ɵ{���ɯŦ��\�G
rpm -qa | grep sun-portal
3�Ǧ^ RPM ���ɯŭq�����X�C
- �Y���g�ƮM�˳n��w�g�b�B�J 6 ���ɯšA�бN Portal Server Console JVM ���y����ҳ]�w�� UTF-8�C
export LC_ALL=ja_JP.UTF-8
export LANG=ja_JP.UTF-8- �]�w psupgrade �{���ɩһݪ��������ܼ� (ANT_HOME �P JAVA_HOME)�G
export ANT_HOME=/opt/sun
export JAVA_HOME=/usr/jdk/entsys-j2se- �нT�w�z�q���W������洫�Ŷ��C
������ɭ�h�A3�N�洫�Ŷ��]�w������ RAM �e�q���⭿�C
- ��� psupgrade �{���ɡC
cd PortalServer7-base/bin
./psupgradepsupgrade �{���ɤ��|�q Java ES �o�檩�� 5 �o�檫�����A�ӥB���|�I�s Java ES �w�˵{�� (�M�˳n��w�g�L��)�C
�{���ɷ|�d�ߨt�ΥH����z�n�b�䤤���p Portal Server Web 3�ε{���� Web �e������m�B�s���Ψ�L�����T�C�� Web �e���ɯŤ�צөw (�аѾ\�� 15-4)�A�{���ɷ|�n�D�z��J�N Portal Server ���p��A�� Web �e�����һݭn����L��T�C
�� 15-6 ��ܤF�� 15-4 �����P Web �e���ɯŤ�שҭn�D����T�C
- ���� Web �e���A�M��N�䭫�s�ҰʡC
���ިä��ݭn�b�Ҧ����p�U�����s�Ұ� Web �e���A��o�˰��i�T�O Portal Server �b���ק諸���A�U�ҰʡC
���Ҥɯ�
�z�i�ϥΤU�C��O���ҬO�_�N Portal Server �M�˳n��ɬ��o�檩�� 5�G
�аѾ\�� 15-5 ������X�ȡC
�Y�n���ҧ���ɯšA�нT�{ Portal Desktop �|��ܥX�ӡA�B psadmin �z���ε{���]�i�H�p���ҭz�a�ϥΡC
�z�]�i�H�ˬd /var/sadm/install/logs �����U�C�ɯŰO���ɡG
IFR 7 �ɯū�@�~
�N Portal Server �q IFR 7 �ɯŨ�o�檩�� 5 �ɡA�z�������B�z�H�U���p�һݭn���ɯū�{�ǡG
�ҥ� Java ES Monitoring Framework
�ҥ� Java ES Monitoring Framework (MFWK �@�Τ���) �i�� Portal Server �z�u�� (�Ҧp Portal Server �D���x�� psadmin ��O�椶��) ��i���O�X�ݪ̤H�ƻP�L�̱`�X�ݪ��J�f����έp��ơC�Y�n�ҥ� MFWK�G
- ���U�C����ɮסG
MFWK-base/template/jesmf/desktopmfwk.properties
MFWK-base/template/jesmf/com.sun.cmm.ps.xml�䤤 MFWK-base �O�H�U��|�G
/opt/SUNWmfwk (Solaris)
/opt/sun/mfwk (Linux)
- �N�o����ɮƻs��H�U�ؿ�G
PortalServer7Data-base/portals/portal_ID/config/Portal_Instance/
- �b desktopmfwk.properties �ɮפ��A�N
com.sun.portal.ProductCollectionId=%PS_DIR%
�%N��
com.sun.portal.ProductCollectionId=Portal_Installed_Location
- �N�U�C��� jar �ɮסG
MFWK-base/lib/mfwk_instrum_tk.jar
MFWK-base/lib/mfwk_agent.jar�W�[��A�? Web �e�����O��| (Web Server �� server.xml �ɮסAApplication Server �� domain.xml) ���C
- ���s�Ұʹ�3�� Web �e���C
Application Server Web �e�������ɯ�
�p�G Portal Server ���p�b Application Server Web �e�����A�h�z�������H�U�B�~�{�Ǥ~�ন�\���s���p Portal Server�G
- �b AppServer8Config-base/domains/domainName/config/server.policy �ɮפ����w�q psconsole �]�w���Ϭq�G
- �b�Ϭq���3B�[�W�H�U�o�@��G
permission java.lang.RuntimePermission "getProtectionDomain"
- ���s�Ұ� Application Server ��ҡC
AppServer8-base/bin/asadmin start-domain --user admin_ID
--password passworddomainNameAppServer8-base/bin/asadmin start-node-agent --user admin_ID
--password password nodeagentName�䤤 nodeagentName ���Φ��� hostName_domainName�A��²��w�]�� hostName�C
Application Server Web �e�����s�u���
��w�ɯŪ� Portal Server ���p�b Application Server Web �e�����ɡA�J�f��3�ε{���i��|���A�@�����ݨ�o Java DB �s�u�C�Y�n�ѨM�����D�A�а��U�C�B�J�G
- ���U�C 2 �ӰѼơA���� PortalServer7Data-base/derby/derby.properties �����]�w�G
derby.drda.maxThreads
derby.drda.timeslice- ���s�Ұ� Java DB�C
ANT_HOME/bin/ant
-DPS_CONFIG=PortalServer7Config-base/PSConfig.properties
-buildfile PortalServer7-base/lib/derby.xml
[stop-instance|start-instance]�䤤 ANT_HOME �b Solaris �W�O /usr/sfw�A�b Linux �W�O /opt/sun�C
- �ܧ� Application Server �� Java DB �t�m�]�w�C
�ϥ� Application Server �D���x�A�ܧ�U�C�s�u�8귽���ݩʭȡGcommunitymcPool�BFileSharingDBPool�BPointBasePool�BSurveyDBPool�C
�ܧ�U�C�ݩʭȡA�p�U�G
�N Idle Timeout �ܧ� 300 �Χ�
�N Resource Type �ܧ� javax.sql.ConnectionPoolDataSource
�N Datasource classname �ܧ�
org.apache.derby.jdbc.ClientConnectionPoolDataSource- ���s�Ұʳ��p�F Portal Server �� Application Server ��ҡC
�o�檩�� 5 Web Server (7.0) Web �e�������ɯ�
�p�G�]�� psupgrade �{���ɤ��䴩�b�o�檩�� 5 Web Server �W�ɯ� Portal Server IFR�A�ӨϤɯū᪺ Portal Server IFR ����|���ɯŨ�o�檩�� 5 �� Web Server �� (�аѾ\ Portal Server IFR �ɯ�²��)�A�z�������U�C���B�~�ɯū�B�J�G
- �N Web Server (���n�ɦA�[�W Access Manager) �ɯŨ�o�檩�� 5�C
- ���s�t�m Portal Server �D���x�� psadmin ��O�椶���һݭn�� Web Server �e���ȡC
- �}�� LDAP �s��C
�t�m���x�s�b Directory Server ���C
- �b DN �U�A�M��G
sunPortalAdminPortalDomainID=defaultDomain
->sunPortalAdminPortalDomainPortalID=portal1
->sunPortalAdminPortalDomainPortalServerInstanceIn=host-port- �̤U�C��ܡA���s��@�~�C
�Ъ`�N�A�Ҧ����ا��H�U�C�r��}�Y�GsunPortalAdminPortalDomainPortalServerInstance
- �إߵo�檩�� 5 Portal Server ��ҡC
PortalServer7-base/bin/psadmin create-instance newInstance_ID
�p�G newInstance_ID ���Ȥw�g�s�b�A�N�|��X��~�A�]���b�H�U���B�J 4 ���e��榹�B�J�O���Q���C
- �R�� Portal Server IFR ��ҡC
PortalServer7-base/bin/psadmin delete-instance oldInstance_ID
���s���p�ۭq Portlet 3�ε{��
�p�G�z�w�g�إߨó��p�F�ۭq portlet 3�ε{���A�h�����b�ɯŨ�o�檩�� 5 Portal Server �����ʭ��s���p�o�� portlet�C�Y����ܳ]�w�ɶ��رN�|�s�b�B�q�D�W�ٱN�|��ܡA�]�u��b���s���p���ۭq portlet ����~�|�ݨ줺�e�C
�ϥΤU�C��O���s���p portlet�G
PortalServer7-base/bin/psadmin deploy-portlet
�z�i�H�b�H�U��m�M���3 .war �� XML �ɮרӽT�{���s���p�G
PortalServer7Data-base/portals/Upgraded/war
�E���ۭq�� Portlet 3�ε{��
�H Sun Java Web Console (SJWC) �Ҵ��Ѥ��ϥΪ̤����[�c����¦�� portlet 3�ε{���ݭn��ʾE���ܵo�檩�� 5 �í��s���p�C
�S�O���O�A���ݨD�A�Ω�|�� Web 3�ε{���A�o�|��3�ε{�������n�ۭq�Φw�˨�J�f����d�� portlet 3�ε{���H Portal Server �@�_�'G�A���̤'O�O�Gfilesharing�Bsurveys�Bwiki�Brssportlet�C�b�ɯŴv��A�|�N�o�ǽd�� portlet 3�ε{���ץ���~�᪺�����m�� portlet 3�ε{���ϰ줤���ϺФW�C�p�G�z�w�g�ۭq�F�o�� portlet 3�ε{���Ѧۤv�ϥΡA�h�ݭn��ʱN���̾E���ܵo�檩�� 5 �í��s�i�泡�p�FPortal Server �ɯŵ{�Ǥ��|�B�z���̡C
�̹w�]�A�|���p�䤤�@�� portlet 3�ε{�� (filesharing �M surveys)�A�ӥB��إߪ8s�ɡA���̥i�ѨϥΪ̨ϥΡC
�z�i�H�ϥΤU�C�{�ǤɯšB�ۭq�έ��s���p��� SJWC �� portlet 3�ε{���Cfilesharing portlet 3�ε{�������d�ҨϥΡG
- ��#�Y�o�檩�� 5 SJWC jar �ɮסC
- mkdir /tmp/lh
- cd /tmp/lh
- /usr/jdk/entsys-j2se/bin/jar xvf PortalServer7-base/portlet/communityportlets.war
WEB-INF/lib/commons-beanutils.jar
WEB-INF/lib/commons-collections-3.1.jar
WEB-INF/lib/commons-digester.jar
WEB-INF/lib/commons-logging.jar
WEB-INF/lib/dataprovider.jar WEB-INF/lib/jsf-api.jar
WEB-INF/lib/jsf-impl.jar WEB-INF/lib/webui.jar�p�G PortalServer7-base/portlet/communityportlets.war
�����A�Шϥ� PortalServer7-base/portlet/core/communityportlets.war�C- ���s�R�W�䤤�@���ɮסC
mv WEB-INF/lib/commons-collections-3.1.jar
WEB-INF/lib/commons-collections.jar- ��� filesharing portlet 3�ε{���C
cd PortalServer7Config-base/portals/portal1/portletapps/filesharing
- �[�J�g�L��s�� SJWC �{���w�C
jar uvf src/filesharing.war.tokenized -C /tmp/lh WEB-INF
- �ۭq filesharing portlet 3�ε{���C
ant customize
- ���s���p filesharing portlet 3�ε{���C
- PortalServer7-base/bin/psadmin undeploy-portlet -u amadmin
-f passwordfile -p portal_id -i instance_id -g filesharing- ant deploy
- ��ܤU�C�ؿ� (�� Web �e���өw)�G
Application Server 8.x�G
AppServer8Config-base/domains/domain1/applications/j2ee-modules/
communityportlets/WEB-INFWeb Server 6.x�G
WebServer6-base/https-instanceName/webapps/https-instanceName/
communityportlets/WEB-INFWeb Server 7.x�G
WebServer7Config-base/https-configName/web-app/https-configName/
communityportlets/WEB-INF- �}�� sun-web.xml �ɮסA�æb�̫�@�椧�e (�]�N�O�b sun-web-app ����аO���e) �[�W�H�U�o�@��G
<class-loader delegate="false"/>
- ���s�Ұ� Web �e���C
���Ҥ�3�ε{���q�D�����s��
�N�o�檩�� 4 Portal Server �ɯŨ�o�檩�� 5 �ɡA���Ҥ�3�ε{���q�D�t�����ƩM�갲���s���C�Y�n�ץ��o�dzs���A�а��U�C�{�ǡC
- �n�J PSConsole�C
- �q [�@��@�~] ���Ҥ��A��@�U [�z�q�D�P�e��]�C
- ��� [DeveloperSample [Org]] ���� DN�A�M���@�U [�T�w]�C
- ��� [JSPTabContainer [�w�]]] ���� [�˵�����]�C
- �b [MyFrontPageTabPanelContainer] �U�A��@�U [3�ε{���q�D]�C
�N�|�b�k�����ج[�W���3�ε{���q�D�S�ʡC
�Y�n�˵�S�w�y����Ҫ��S�ʡA�Ы�@�U [���ߦn�]�w]�A�M�ᴣ�� [�y�����] �ȡGde�Bfr�Bes�Bja�Bko�Bzh�Bzh_CN�Bzh_TW�C
- �s�� [userApps] �S�ʡC
- �s�� [target] �S�ʡC
��ʾE����� Struts �� Portlet
�p�G�z�Ҿ֦����ۭq portlet �ϥΥH Struts �[�c����¦���s�X�A�h�ݭn��ʧ�s�o�� portlet �H�ϥεo�檩�� 5 Portal Server ���]�t�� struts.jar �ɮסC�а��U�C�{�ǡG
- ���p��� struts �� portlet 3�ε{���C
PortalServer7-base/bin psadmin undeploy-portlet
- �H���T������ struts.jar �ɮק�s .war �ɮסC
�N PortalServer7-base/lib/struts.jar �ƻs�� strutsbasedPortlet/WEB-INF/lib/struts.jar
�䤤 strutsbasedPortlet �O��� struts �� portlet �ɮשҦb���ؿ�C
- �إ� strutsbasedPortlet �ؿ� .war �k�ɡC
- ���s���p portlet 3�ε{���C
PortalServer7-base/bin psadmin deploy-portlet
�^�_�ɯ� (Solaris)
���`�y�z�v�T Portal Server �ɯŦ^�_�{�Ǫ��`�N�ƶ��A���۴��ѵ{�ǥ����C
�^�_�`�N�ƶ� (Solaris)
�^�_��o�檩�� 5 ���ɯŪ��{�ǥ]�A�b PortalServer7-base �_��� IFR �w�˥H�έ��s���p IFR Web 3�ε{���C
�^�_�{�� (Solaris)
- �ХH�W�ŨϥΪ̨���n�J�Φ����W�ŨϥΪ̡C
su -
- �N Directory Server �^�_�����b�ɯūe�����A�C
�ϥ� Directory Server backup/restore ��O��� GUI ���ε{���C�аѾ\�uSun Java System Directory Server Enterprise Edition 6.0 �z��n�v(http://docs.sun.com/doc/820-0294) ���uDirectory Server �ƥ�P�_��v�@���C
- ���p�b�ɯŨ�o�檩�� 5 �v����s���p���o�檩�� 5 Portal Server Web 3�ε{���C
�ϥ� Web �e�����z���ε{�� (��O��ΥD���x) �Ө��U�C�M�˳n�骺���p�G
portal
psconsole
search1
wsssoportlet
guessnumber
portletsamples- ���� Portal Server�A��k�O����� Web �e���C
Web Server 6.x�G
WebServer-base/https-instanceName/stopWeb Server 7.0�G
Admin Server--
WebServer7Config-base/admin-server/bin/stopserv
Instance Server--
WebServer7Config-base/https-configName/bin/stopservApplication Server 8.x�G
AppServer8-base/bin/asadmin stop-domain --user admin_ID
--password password domainName- �M�P�� 15-8 ���� Portal Server 7.1 �ɵ{���C
patchrm patch_ID
- ���s�Ұ� Portal Server�A��k�O���s�Ұʥ��� Web �e���C
Web Server 6.x�G
WebServer-base/https-instanceName/startWeb Server 7.0�G
Admin Server--
WebServer7Config-base/admin-server/bin/startserv
Instance Server--
WebServer7Config-base/https-configName/bin/startservApplication Server 8.x�G
AppServer8-base/bin/asadmin start-domain --user admin_ID
--password password domainName- ���p�B�J 3 �����p���o�檩�� 5 Portal Server Web 3�ε{���C
�ϥ� Web �e�����z���ε{�� (��O��ΥD���x) ���p�M�˳n��C
- ���� Web �e���A�M��N�䭫�s�ҰʡC
���ިä��ݭn�b�Ҧ����p�U�����s�Ұ� Web �e���A��o�˰��i�T�O Portal Server �b���ק諸���A�U�ҰʡC
�^�_�ɯ� (Linux)
�L�k�b Linux �W���ɯŦ^�_�C
�M�ӡA�z�i�H�b�xնi��ɯŤ��e�A��إߤ@�ӥ���t�ΡA�M����Өt�ζi��ɯũM��աC�p�G�z�ݭn�^�_�ɯšA�z�i�H�^�_�ܸӥ���t�ΡC
�h����Ҥɯ�
�b�Y�dz��p�[�c���A�|�N Portal Server ���p�b�h�ӹq���t�ΤW�A�H���ѩ��i�ʨô����i�ΩʡC�Ҧp�A�i�H�� Portal Server ����b�h�x�q���W���A�óz�L�t��ž��Ӥ4��t��C
�Y Portal Server ��Ҥw�F�t��šA�h�i�H�����p���ɯšA�Y�̧Ǥɯ� Portal Server ��ҦӤ����_�A�ȡC�ɯ� Portal Server ���C�ӹ�Үɨ�L��Ҥ��i�~����C�Y�n���q IFR ��o�檩�� 5 �����i���ɯšA���F�N�ѷӪ��o�檩�� 4 ��N�� IFR ���~�A��L�п�`�p�h����Ҥɯ����ҭz���{�ǡC