Sun Java logo     �W�@��      �ؿ�      �d�      �U�@��     

Sun logo
�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

�� 15-2  �� Java ES 5 (�o�檩�� 5) ���ɯŸ�|�GPortal Server 7.1  

Java ES �o�檩��

Portal Server ����

�@���k

�ݭn���s�t�m

�{�ɥ\��o�檩�� (IFR)

Sun Java System Portal Server IFR 7.0 2005Q4

�����ɯšG
�ǥѮM�έ׸ɵ{���M��ϥΤɯŵ{���ɰ��C

�ݭn��ʭ��s�M�Φۭq�C

�o�檩�� 4

Sun Java System Portal Server 6.3.1 2005Q4

�����ɯšG
�ϥΤɯŵ{���ɰ��C

�ݭn��ʭ��s�M�Φۭq�C

�o�檩�� 3

Sun Java System Portal Server 6.3.1 2005Q1

�����ɯšG
�ϥΤɯŵ{���ɰ��C

�ݭn��ʭ��s�M�Φۭq�C

�o�檩�� 2

Sun Java System Portal Server
6.3 2004Q2

�����ɯšG
�ϥΤɯŵ{���ɰ��C

�ݭn��ʭ��s�M�Φۭq�C

�o�檩�� 1

Sun ONE Portal Server 6.2 (2003Q4)

�L�����ɯšG
��i�H�ǥѥ�ɯŨ�o�檩�� 3�A�M��A�q�o�檩�� 3 �ɯŨ�o�檩�� 5 �Ӱ��C

�t�m���

Java ES �o�檩�����e���o�檩��

 

�L�����ɯšC

 

Portal Server ���

�U����ܥi��� Portal Server �n��ɯżv�T����������C

�� 15-3  Portal Server ��ƥγ~ 

�������

��m

�γ~

�t�m���

PortalServer6Config-base/

Portal Server ���t�m�C

Web �e���s���M�t�m�ɮ�

Web Server 7.0 (Java ES �o�檩�� 5)
server.policy �M server.xml �ɮסA���
WebServer7Config-base/https-configName/config ��

Web Server 6.x (Java ES �o�檩�� 2�B3 �M 4)
server.policy �M server.xml �ɮסA���
WebServer6-base/https-hostname/config ��

Application Server 8.x (Java ES �o�檩�� 3�B4 �M 5)�G
server.policy �M domain.xml �ɮסA���
AppServer8Config-base/domains/domainName/config ��

Application Server 7.x (Java ES �o�檩�� 2)�G
server.policy �M server.xml �ɮסA���
AppServer7Config-base/domains/domainName/config ��

Portal Server Web �e����Ҫ��t�m�C

�ۭq���

PortalServer6Config-base/desktop

�ۭq�Ҳժ� JAR �ɮ�

�ۭq���d�� Portal Server �ୱ

�ؿ�Ҧ�

�A�Ȱt�m

�ϥΪ̸��

Directory Server

Portal Server �̿�A�Ȱt�m (�p�J�f�ୱ) �M�x�s�b�ؿ�ϥΪ̳]�w�ɸ�ơC

�ʺA3�ε{�����

�L

Portal Server ���|�ä[�ʦa�x�s3�ε{����� (�p���q�@�~���A)�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

��ܩʪ��ɯŰ��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

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

�� 15-4  Portal Server �ɯŪ� Web �e���ɯŤ�� 

���

�̪쳡�p Portal Server �� Web �e��

�ɯŤ��᳡�p Portal Server �� Web �e��

�A�� Portal Server�ɯŸ�|�G�ɯũl��

��� 1

Web Server 6.x

Web Server 6.x

�o�檩�� 2
�o�檩�� 3
�o�檩�� 4
IFR 7.0

��� 2

Web Server 6.x

Web Server 7.0

�o�檩�� 2
�o�檩�� 3
�o�檩�� 4

��� 3

Application Server 8.1

Application Server 8.1

�o�檩�� 3
�o�檩�� 4
IFR 7.0

��� 4

Application Server 8.1

Application Server 8.2

�o�檩�� 3
�o�檩�� 4
IFR 7.0

��� 5

Application Server 7x

Application Server 8.2

�o�檩�� 2

�ɯ� 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

  1. �ƥ�{���� Portal Server ��ơC
  2. �p�ݥ��n��ƪ���m�A�аѾ\ Portal Server ����C

  3. �ɯŧ@�~�t�ΡC
  4. �ɯŮɷ|��˫O�d�{�����ɮרt�ΡC

  5. �ɯŨ�o�檩�� 5 Portal Server�C
  6. �ЮھڤɯŸ�|�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

�ɯŵ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

�ɯ� 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

  1. �@�Τ���C  �b�ɯ� Java ES �@�Τ��������ѤF�N Java ES �@�Τ���P�o�檩�� 5 �P�B����ܡC
  2. Directory Server�C  �b�� 5 ���uDirectory Server�v�����ѤF�N Directory Server �ɯŨ�o�檩�� 5 ����ܡC
  3. Web �e���n��C  �b�� 7 ���uWeb Server�v�M�� 11 ���uApplication Server�v���'O���ѤF�ɯ� Web Server �M Application Server ����ܡC

  4. �Ƶ�

    �ɯŨ�O�t�� Web �e�� (�p�Ӧ� Weblogic �M WebSphere ���e��) �i��ɭP Portal Server �o�ͬG�١A�]���e���ɯŷ|�мg���䴩 Portal Server �ӹ�o�Ǯe���i�檺�ۭq�C

    �b�o�DZ��p�U�A�������ɯū᪺ Web �e����ҭ��s�w�˩M���s�t�m Portal Server�C


  5. Access Manager (Access Manager SDK)�C  �b�� 14 ���uAccess Manager�v�����ѤF�N Access Manager �ɯŨ�o�檩�� 5 ����ܡC
  6. Portal Server Secure Remote Access�C  �b�� 16 ���uPortal Server Secure Remote Access�v�����ѤF�N Portal Server Secure Remote Access �ɯŨ�o�檩�� 5 ����ܡC
  7. Java DB�C  �b�� 8 ���uJava DB�v�����ѤF�N Java DB �ɯŨ�o�檩�� 5 ����ܡC
  8. Service Registry�C  �b�� 12 ���uService Registry�v�����ѤF�N Service Registry �ɯŨ�o�檩�� 5 ����ܡC
  9. 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
��� 2

Application 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/domainName

Web �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/
docroot

Web �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

�� 15-7  JVM �]�w����m

Web �e��

�t�m�ɮ�

�o�檩�� 2�B3�B4
Web Server (6.x)

WebServer6-base/https-instanceName/config/server.xml

�o�檩�� 5
Web Server (7.0)

WebServer7Config-base/https-configName/config/server.xml

�o�檩�� 3�B4�B5
Application Server (8.x)

AppServer8Config-base/domains/domainName/config/domain.xml

�Ѹ`�I�N�z�{���޲z��
Application Server ���

AppServer8Config-base/nodeagents/nodeagentName/config/
domain.xml

�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

  1. �Ъ`�N�U�C���ǰt�m�ɮצ�󥻾�W (�䤤�@�Ǥ䴩�i�H�b����w�˪� Portal Server Secure Remote Access ����)�G
  2. 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����)

  3. �N LOAD_BALANCER_URL �S�ʪ��ثe�ȰO��b�o�ǰt�m�ɮפ��C
  4. �N LOAD_BALANCER_URL �S�ʪ��ȭקאּ��V���� Portal Server ��ҡG
  5. 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

  1. �N DS_HOST �M DS_PORT �S�ʪ��ثe�ȰO��b�U�C Access Manager �t�m�ɮפ��G
  2. AccessManagerConfig-base/config/AMConfig.properties

  3. �ק� DS_HOST �M DS_PORT �S�ʪ��ȡA�H������V���� Directory Server ��ҡC

�ɯŵ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

�ɯŵ{�� (Solaris)

�U�z�{�ǾA�Ω�����ɯŪ��q���W�� Portal Server�C

  1. �ХH�W�ŨϥΪ̨���n�J�Φ����W�ŨϥΪ̡C
  2. su -

  3. �p�G�|����榹�ʧ@�A�бN�Ҧ��@�Τ���P�o�檩�� 5 �P�B�C
  4. �� 2 ���u�ɯ� Java ES �@�Τ���v�����ѤF��ܡC

    ���b�B�J 8 ����� psupgrade �{���ɨӻ��A���B�J�O���n����M���C

  5. ����i��b���a��檺 Portal Server Secure Remote Access Gateway�BRewriter Proxy �� Netlet Proxy ������ҡC
  6. 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

  7. �p�G Access Manager �P Portal Server �'O���p�b���P�� Web �e�����A�нT�w Access Manager ���b���C
  8. �p�G���b���A�бҰ� Portal Server�A�o�i�ǥѱҰʨ䳡�p�쪺 Web �e���ӹ�{�C
  9. Web Server 6.x�G
    WebServer-base/https-instanceName/start

    Web Server 7.0�G
    Admin Server--
    WebServer7Config-base/admin-server/bin/startserv
    Instance Server--
    WebServer7Config-base/https-configName/bin/startserv

    Application Server 8.x�G
    AppServer8-base/bin/asadmin start-domain --user admin_ID
         --password password domainName

  10. �]�w psupgrade �{���ɩһݪ��������ܼ� (ANT_HOME �M JAVA_HOME)�C�Ҧp�A
  11. export ANT_HOME=/usr/sfw
    export JAVA_HOME=/usr/jdk/entsys-j2se

  12. �нT�w�z�q���W������洫�Ŷ��C
  13. ������ɭ�h�A3�N�洫�Ŷ��]�w������ RAM �e�q���⭿�C

  14. �q Java ES �o�檩�� 5 �o�檫����� psupgrade �{���ɡC
  15. cd os_arch/Products/portal_svr/Tools/upgrade/bin
    ./psupgrade

    �䤤 os_arch �P�z�Ҧb���x�۲šA�Ҧp Solaris_sparc�C


    �Ƶ�

    �p�G�z���V�b��~�� os_arch �ؿ��� psupgrade�A�z�ݭn���U�z�{�ǡG

      1. �ܧ󬰥��T�� os_arch �ؿ�C
      2. �^�_��� Portal Server ��ƪ��ܧ�C
      3. ./psupgrade rollback

        ���ѭn�D���ѼƻP�K�X�C

      4. �A����� psupgrade�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�������

      ./psupgrade rollback

    �M��xզA����� psupgrade�C


  16. �p�����n�A�д_�� Web �e�� JVM �]�w�C
  17. �Y�n�T�w JVM �]�w�䴩�o�檩�� 5 Portal Server�A�а��H�U�B�J�G

    1. �ˬd�z�b�ɯūe�O�� Portal Server Web �e�� JVM �]�w�O�_�]�ɯŵ{�Ǧ��ܧ�C
    2. �аѾ\�O�� Java ���>� (JVM) �]�w�C

    3. �p�G�]�w�w�g�ܧ�A�бN���̦^�_���z�b�ɯūe�O��ȡC
    4. �н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>

  18. ���� Web �e���A�M��N�䭫�s�ҰʡC
  19. ���ިä��ݭn�b�Ҧ����p�U�����s�Ұ� Web �e���A��o�˰��i�T�O Portal Server �b���ק諸���A�U�ҰʡC

    1. ���� Web �e���A�p�U�ҥܡG
    2. Web Server 6.x�G
      WebServer-base/https-instanceName/stop

      Web Server 7.0�G
      Admin Server--
      WebServer7Config-base/admin-server/bin/stopserv
      Instance Server--
      WebServer7Config-base/https-configName/bin/stopserv

      Application Server 8.x�G
      AppServer8-base/bin/asadmin stop-domain --user admin_ID
           --password password domainName

    3. �ϥ��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


�`�N

�b Linux �W��檺�q Java ES �o�檩�� 4 �ܵo�檩�� 5 ���ɯŵL�k�^�_�C�b���U�C�{�����e�A�аȥ���ƥ�z���t�ΡC


  1. �ХH�W�ŨϥΪ̨���n�J�Φ����W�ŨϥΪ̡C
  2. su -

  3. �p�G�|����榹�ʧ@�A�бN�Ҧ��@�Τ���P�o�檩�� 5 �P�B�C
  4. �� 2 ���u�ɯ� Java ES �@�Τ���v�����ѤF��ܡC

    ���b�B�J 8 ����� psupgrade �{���ɨӻ��A���B�J�O���n����M���C

  5. ����i��b���a��檺 Portal Server Secure Remote Access Gateway�BRewriter Proxy �� Netlet Proxy ������ҡC
  6. 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

  7. �p�G Access Manager �P Portal Server �'O���p�b���P�� Web �e�����A�нT�w Access Manager ���b���C
  8. �p�G���b���A�бҰ� Portal Server�A�o�i�ǥѱҰʨ䳡�p�쪺 Web �e���ӹ�{�C
  9. Web Server 6.x�G
    WebServer-base/https-instanceName/start

    Web Server 7.0�G
    Admin Server--
    WebServer7Config-base/admin-server/bin/startserv
    Instance Server--
    WebServer7Config-base/https-configName/bin/startserv

    Application Server 8.x�G
    AppServer8-base/bin/asadmin start-domain --user admin_ID
         --password password domainName

  10. �]�w psupgrade �{���ɩһݪ��������ܼ� (ANT_HOME �M JAVA_HOME)�C�Ҧp�A
  11. export ANT_HOME=/opt/sun
    export JAVA_HOME=/usr/jdk/entsys-j2se

  12. �нT�w�z�q���W������洫�Ŷ��C
  13. ������ɭ�h�A3�N�洫�Ŷ��]�w������ RAM �e�q���⭿�C

  14. �q Java ES �o�檩�� 5 �o�檫����� psupgrade �{���ɡC
  15. 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


  16. �ק� PortalServer7Config-base/platform.conf.default �t�m�ɮסC
  17. �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

  18. �p�����n�A�д_�� Web �e�� JVM �]�w�C
  19. �Y�n�T�w JVM �]�w�䴩�o�檩�� 5 Portal Server�A�а��H�U�B�J�G

    1. �ˬd�z�b�ɯūe�O�� Portal Server Web �e�� JVM �]�w�O�_�]�ɯŵ{�Ǧ��ܧ�C
    2. �аѾ\�O�� Java ���>� (JVM) �]�w�C

    3. �p�G�]�w�w�g�ܧ�A�бN���̦^�_���z�b�ɯūe�O��ȡC
    4. �н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>

  20. ���� Web �e���A�M��N�䭫�s�ҰʡC
  21. ���ިä��ݭn�b�Ҧ����p�U�����s�Ұ� Web �e���A��o�˰��i�T�O Portal Server �b���ק諸���A�U�ҰʡC

    1. ���� Web �e���A�p�U�ҥܡG
    2. Web Server 6.x�G
      WebServer-base/https-instanceName/stop

      Web Server 7.0�G
      Admin Server--
      WebServer7Config-base/admin-server/bin/stopserv
      Instance Server--
      WebServer7Config-base/https-configName/bin/stopserv

      Application Server 8.x�G
      AppServer8-base/bin/asadmin stop-domain --user admin_ID
           --password password domainName

    3. �ϥ��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

  1. ��#�Y�o�檩�� 5 SJWC jar �ɮסC
    1. mkdir /tmp/lh
    2. cd /tmp/lh
    3. /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
    4. ���s�R�W�䤤�@���ɮסC
    5. mv WEB-INF/lib/commons-collections-3.1.jar
      WEB-INF/lib/commons-collections.jar

  2. ��� filesharing portlet 3�ε{���C
  3. cd PortalServer7Config-base/portals/portal1/portletapps/filesharing

  4. �[�J�g�L��s�� SJWC �{���w�C
  5. jar uvf src/filesharing.war.tokenized -C /tmp/lh WEB-INF

  6. �ۭq filesharing portlet 3�ε{���C
  7. ant customize

  8. ���s���p filesharing portlet 3�ε{���C
    1. PortalServer7-base/bin/psadmin undeploy-portlet -u amadmin
      -f passwordfile -p
      portal_id -i instance_id -g filesharing
    2. ant deploy
    3. �ЦܤU�C�ؿ� (�� Web �e���өw)�G
    4. Application Server 8.x�G

      AppServer8Config-base/domains/domain1/applications/j2ee-modules/
      communityportlets/WEB-INF

      Web Server 6.x�G

      WebServer6-base/https-instanceName/webapps/https-instanceName/
      communityportlets/WEB-INF

      Web Server 7.x�G

      WebServer7Config-base/https-configName/web-app/https-configName/
      communityportlets/WEB-INF

    5. �}�� sun-web.xml �ɮסA�æb�̫�@�椧�e (�]�N�O�b sun-web-app ����аO���e) �[�W�H�U�o�@��G
    6. <class-loader delegate="false"/>

    7. �w�� filesharing/WEB-INF ���U�� sun-web.xml �ɮ׭����B�J c �M�B�J d�C
  9. �w�� surveys �H�ΰ�� SJWC �[�c����L���ۭq portlet 3�ε{�������B�J 2 ���B�J 5�C
  10. ���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

  1. �n�J PSConsole�C
  2. �q [�@��@�~] ���Ҥ��A��@�U [�޲z�q�D�P�e��]�C
  3. ��� [DeveloperSample [Org]] ���� DN�A�M���@�U [�T�w]�C
  4. ��� [JSPTabContainer [�w�]]] ���� [�˵�����]�C
  5. �b [MyFrontPageTabPanelContainer] �U�A��@�U [3�ε{���q�D]�C
  6. �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

  7. �s�� [userApps] �S�ʡC
    1. �b [userApps] �S�ʤ���@�U [�s���...] �s���C
    2. �N�|�X�{�t���{��3�ε{�������㦡��C

    3. �q�M�椤�����U�C3�ε{���G
    4. NetMail Lite
      NetMail

    5. �V�M��W�[�U�C3�ε{���G
    6. NetFile

    7. ��@�U [�x�s]�A�M��� [��]�C
  8. �s�� [target] �S�ʡC
    1. �b [target] �S�ʤ���@�U [�s���...] �s���C
    2. �N�|�X�{�t���{���ؼЪ����㦡��C

    3. �q�M�椤�����U�C�ؼСG
    4. NetMailLite|
      NetMailServlet?nsid=newHTMLSessionNetMailLite|
      NetMailServlet?nsid=newHTMLSession

      NetMail|NetMailServlet?nsid=newAppletSession

    5. �����U�C���ƥX�{���ؼСG
    6. Instant Messenger (Java WebStart)|
      IMLaunch?provider=IMChannel&launch=jnlp&last=false

      Instant Messenger (Browser)|
      IMLaunch?provider=IMChannel&launch=plugin&last=false

    1. �V�M��W�[�U�C�ؼСG

      NetFile|/portal/NetFileApplet?Refer=java2

    1. ��@�U [�x�s]�A�M��� [��]�C
���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

  1. �n�J Portal Server �D���x
  2. ��@�U [Portal] ���ҡA�M���@�U�g�L�ɯŪ��J�f��C

  3. �q [��� DN] �U�Ԧ��\��?��� [TopLevel] (����) �ë�@�U [�U����ܳ]�w��] �s���C
  4. �N�U���ɮ��x�s�b�Y�ӼȮɦ�m

  5. ��� com.sun.portal.providers.urlscraper.URLScraperProvider�C
  6. ��� XML ����A��3�H�U�C���e�}�Y�G
  7. <Provider advanced="false" class="com.sun.portal.providers.urlscraper.URLScraperProvider"

    �åH�U�C���e���!G

    </Provider>

  8. �ΥH�U���e��N�B�J 4 ���� XML ����G
  9. <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>

  10. �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)
  1. �ХH�W�ŨϥΪ̨���n�J�Φ����W�ŨϥΪ̡C
  2. su -

  3. �N Directory Server �^�_�����b�ɯūe�����A�C
  4. �ϥ� 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

  5. ���� Portal Server�A��k�O����� Web �e���C
  6. Web Server 6.x�G
    WebServer-base/https-instanceName/stop

    Web Server 7.0�G
    Admin Server--
    WebServer7Config-base/admin-server/bin/stopserv
    Instance Server--
    WebServer7Config-base/https-configName/bin/stopserv

    Application Server 8.x�G
    AppServer8-base/bin/asadmin stop-domain --user admin_ID
         --password password domainName

  7. �����o�檩�� 5 Portal Server �M�˳n��C
    1. �Ұ� Java ES �Ѱ��w�˵{���C
    2. /var/sadm/prod/SUNWentsys5/uninstall

    3. ���Ҧ��w�g�w�˪� Portal Server ����C
    4. �T�{�Ѱ��w�˿�ܡC
    5. ���� Java ES �Ѱ��w�˵{���C
  8. ���s�Ұ� Portal Server�A��k�O���s�Ұʥ��� Web �e���C
  9. Web Server 6.x�G
    WebServer-base/https-instanceName/start

    Web Server 7.0�G
    Admin Server--
    WebServer7Config-base/admin-server/bin/startserv
    Instance Server--
    WebServer7Config-base/https-configName/bin/startserv

    Application Server 8.x�G
    AppServer8-base/bin/asadmin start-domain --user admin_ID
         --password password domainName

  10. �z�L Java ES �o�檩�� 5 �o��n��ϥΤU�C��O�ӭ��s���p�o�檩�� 4 Portal Server Web 3�ε{���G
  11. 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

  12. ���� Web �e���A�M��N�䭫�s�ҰʡC
  13. ���ިä��ݭ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��

�ӹ���ܦs��h�� Access Manager ��Ҥ��h�� Portal Server ��Ҫ����p�[�c�d�ҡC

�o�檩�� 4 Portal Server ��o�檩�� 5 �����i���ɯŪ����覡�p�U�G

  1. �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
  2. �N Portal Server 2 �t�m����V Directory Server 2�A�ӫD��V Directory Server 1�C
  3. ���F²��_���A�b���B�J�Ϋ���B�J���A�uPortal Server 2�v�N��� Portal Server 2 �� Portal Server n�C

  4. �ɯ� Portal Server 1�C
    1. ���� Load Balancer B ���� Portal Server 1�C
    2. �ШD���|�A�Q��Ѧ� Portal Server 1�C

    3. ���� Directory Server MMR�C
    4. Directory Server 2 �N���A�P Directory Server 1 �P�B�C

    5. �N Access Manager SDK 1B �ɯŨ�o�檩�� 5�C
    6. �Шϥ��Ȥɯŵo�檩�� 4 Access Manager SDK �����{�ǡC

    7. �N Portal Server 1 �ɯŨ�o�檩�� 5�C
    8. ��� 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

    9. �ҥ� Load Balancer B ���� Portal Server 1�C
    10. �ШD�|���s��Ѧ� Portal Server 1�C

  5. �ɯ� Portal Server 2�C
    1. ���� Load Balancer B ���� Portal Server 2�C
    2. �ШD���|�A�Q��Ѧ� Portal Server 2�C

    3. �N Portal Server 2 ���t�m�_�쬰��V Directory Server 1�C
    4. �N Access Manager SDK 2B �ɯŨ�o�檩�� 5�C
    5. �ϥ��B�J c ���y�z���{�ǡC

    6. �N Portal Server 2 �ɯŨ�o�檩�� 5�C
    7. �ϥ��B�J d ���y�z���{�ǡC

    8. �ҥ� Load Balancer B ���� Portal Server 2�C
    9. �ШD�|���s��Ѧ� Portal Server 2�C

  6. �ҥ� Directory Server MMR�C
  7. �{�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

  1. �@�Τ���C  �b�� 2 ���u�ɯ� Java ES �@�Τ���v�����ѤF�N Java ES �@�Τ���ɯŨ�o�檩�� 5 ����ܡC
  2. Directory Server�C  �b�� 5 ���uDirectory Server�v�����ѤF�N Directory Server �ɯŨ�o�檩�� 5 ����ܡC
  3. Web �e���n��C  �b�� 7 ���uWeb Server�v�M�� 11 ���uApplication Server�v���'O���ѤF�ɯ� Web Server �M Application Server ����ܡC

  4. �Ƶ�

    �ɯŨ�O�t�� Web �e�� (�p�Ӧ� Weblogic �M WebSphere ���e��) �i��ɭP Portal Server �o�ͬG�١A�]���e���ɯŷ|�мg���䴩 Portal Server �ӹ�o�Ǯe���i�檺�ۭq�C

    �b�o�DZ��p�U�A�������ɯū᪺ Web �e����ҭ��s�w�˩M���s�t�m Portal Server�C


  5. 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

  1. �إ���ܳ]�w�� XML snippet �ɮ� helpUrl.xml�G
  2. <?xml version="1.0" encoding="utf-8" ?>
      <!DOCTYPE DisplayProfile SYSTEM "jar://resources/psdp.dtd">
        <Properties>
          <String name="helpURL" value="en/desktop/usedesk.htm" />
        </Properties>

  3. �ϥΤU�C��O��������ܳ]�w�ɯS�ʡG
  4. ./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

�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

  1. �@�Τ���C  �b�� 2 ���u�ɯ� Java ES �@�Τ���v�����ѤF�N Java ES �@�Τ���ɯŨ�o�檩�� 5 ����ܡC
  2. Directory Server�C  �b�q Java ES �o�檩�� 2 �ɯ� Directory Server �����ѤF�N Directory Server �ɯŨ�o�檩�� 5 ����ܡC
  3. Web �e���n��C  �b�� 7 ���uWeb Server�v�M�� 11 ���uApplication Server�v���'O���ѤF�ɯ� Web Server �M Application Server ����ܡC

  4. �Ƶ�

    �ɯŨ�O�t�� Web �e�� (�p�Ӧ� Weblogic �M WebSphere ���e��) �i��ɭP Portal Server �o�ͬG�١A�]���e���ɯŷ|�мg���䴩 Portal Server �ӹ�o�Ǯe���i�檺�ۭq�C�b�o�DZ��p�U�A�������ɯū᪺ Web �e����ҭ��s�w�˩M���s�t�m Portal Server�C


  5. 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

  1. �n�J Web Server �޲z�D���x�C
  2. ��@�U [�s����&�A��] > [Web 3�ε{��]�C
  3. �����Ҧ� URI ���]�t /portal �� /portalsamples ���w���p Web 3�ε{���C
  4. ��@�U [�x�s]�C
  5. ��@�U [���p�xm]�C

�ɯŵ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

  1. �ХH�W�ŨϥΪ̨���n�J�Φ����W�ŨϥΪ̡C
  2. su -

  3. �p�G�|����榹�ʧ@�A�бN�Ҧ��@�Τ���P�o�檩�� 5 �P�B�C
  4. �� 2 ���u�ɯ� Java ES �@�Τ���v�����ѤF��ܡC

    ���b�B�J 9 ����� psupgrade �{���ɨӻ��A���B�J�O���n����M���C

  5. ����i��b���a��檺 Portal Server Secure Remote Access Gateway�BRewriter Proxy �� Netlet Proxy ������ҡC
  6. 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

  7. �p�G Access Manager �P Portal Server �'O���p�b���P�� Web �e�����A�нT�w Access Manager ���b���C
  8. �p�G���b���A�бҰ� Portal Server�A�o�i�ǥѱҰʨ䳡�p�쪺 Web �e���ӹ�{�C
    1. �Ұ� Domain Administration Server (DAS) (�p�G���|���Ұ�)�C
    2. AppServer8-base/bin/asadmin start-domain --user admin_ID
           --password password domainName

    3. �Y���p�F Portal Server ���w�ɯ� Application Server ��� (instanceName) �|�����A�бҰʥ��C
    4. ���覡�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

    5. �䤤 nodeagentName ���Φ��� hostName_domainName�A��²��w�]�� hostName�C
    6. �w�] domainName �O domain1
    7. �w�] instanceName �O server1
  9. ��� Portal Server ���󪺳��p�C
  10. AppServer8-base/bin/asadmin undeploy --user admin_ID
         --password password --target instanceName portal

    AppServer8-base/bin/asadmin undeploy --user admin_ID
         --password password --target instanceName portletsamples

  11. �]�w psupgrade �{���ɩһݪ��������ܼ� (ANT_HOME �M JAVA_HOME)�C�Ҧp�A
  12. Solaris OS�G

    export ANT_HOME=/usr/sfw
    export JAVA_HOME=/usr/jdk/entsys-j2se

    Linux OS�G

    export ANT_HOME=/opt/sun
    export JAVA_HOME=/usr/jdk/entsys-j2se

  13. �нT�w�z�q���W������洫�Ŷ��C
  14. ������ɭ�h�A3�N�洫�Ŷ��]�w������ RAM �e�q���⭿�C

  15. �q Java ES �o�檩�� 5 �o�檫����� psupgrade �{���ɡC
  16. cd os_arch/Products/portal_svr/Tools/upgrade/bin
    ./psupgrade

    �䤤 os_arch �P�z�Ҧb���x�۲šA�Ҧp Solaris_sparc�C


    �Ƶ�

    �p�G�z���V�b��~�� os_arch �ؿ��� psupgrade�A�z�ݭn���U�z�{�ǡG

      1. �ܧ󬰥��T�� os_arch �ؿ�C
      2. �^�_��� Portal Server ��ƪ��ܧ�C
      3. ./psupgrade rollback

        ���ѭn�D���ѼƻP�K�X�C

      4. �A����� psupgrade�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�������

      ./psupgrade rollback

    �M��xզA����� psupgrade�C


  17. ���� Domain Administration Server (DAS) �P�b�B�J 5 ���Ұʪ��`�I�N�z�{���C
  18. AppServer8-base/bin/asadmin stop-domain --user admin_ID
         --password password domainName

    AppServer8-base/bin/asadmin stop-node-agent --user admin_ID
         --password password nodeagentName

  19. ���s�Ұ� Domain Administration Server (DAS)�B�`�I�N�z�{���M�b�B�J 10 �������A����ҡC

  20. �Ƶ�

    �Ұʦ�A����Ҥ��e�A�аȥ��ϥ� startinstances=false �ﶵ��W�Ұʸ`�I�N�z�{���A�p�U�ҥܡC


    AppServer8-base/bin/asadmin start-domain --user admin_ID
         --password password domainName

    AppServer8-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

  1. �ץX ssoadapter �����d����ơC
  2. �ϥ� amadmin ���ε{���ӶץX Access Manager �A�ȸ�ơA�p�U�ҥܡG

    1. �إ� amadmin �ШD�ɮ� /tmp/ssoadapter-template-gets.xml�C
    2. ���ε{���|�ϥΦ��ɮר��^�� 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>

    3. ���U�C asadmin ��O�G
    4. 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 ...

  3. �ק� /tmp/ssoadapter-templates.xml �ɮץH���s�R�W���ƪ� ssoadapter �����d���C
    1. �M�� /tmp/ssoadapter-templates.xml �ɮפ����C�ӽd���C
    2. �M�� default|imap:/?configName= �r��C

    3. �H�ߤ@�Ȩ�N���ƪ� ssoadapter �����d���W�١C
    4. �Ҧ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 ...

  4. �إ߱N�פJ�w�ק� ssoadapter �����d���� amadmin �ШD�ɮסA�q���мg��l��ơC
    1. �N /tmp/ssoadapter-templates.xml �ƻs�� /tmp/ssoadapter-new-templates.xml ��
    2. �b /tmp/ssoadapter-new-templates.xml ���A�N�H�U�r��G
    3. 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"/>

    4. �H�u&amp;�v��N�Ҧ��s�r�� (�u&�v)�C
    5. �Ҧ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
      &amp;proxyAdminPassword=%5BPROXY-ADMIN_PASSWORD%5D
      &amp;subType=sun-one&amp;enableProxyAuth=false ...

    6. �����C�� ssoadapter �����d�����*��r�� (�u,�v)�C
    7. �H�_�l <Value> �аO�P���� </Value> �аO�]��C�� ssoadapter �����d���C
    8. �Ҧp�G

      <Value>default|imap:/?configName=SUN-UWC-MAIL
      &amp;proxyAdminPassword=%5BPROXY-ADMIN_PASSWORD%5D
      &amp;subType=sun-one&amp;enableProxyAuth=false ...</Value>

    9. �q�W�@�� ssoadapter �����d���������k�A�� (�u]�v)�C
    10. �b�ɮץ��3B�[�W�H�U�X��G
    11.       </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
      &amp;proxyAdminPassword=%5BPROXY-ADMIN_PASSWORD%5D
      &amp;subType=sun-one&amp;enableProxyAuth=false ...</Value>
            </AttributeValuePair>
          </ModifyDefaultValues>
        </SchemaRequests>
      </Requests>

  5. �פJ�s�� ssoadapter-new-templates.xml �ɮסC
  6. 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

  1. �n�J Access Manager �D���x�C
  2. �C�X��c DN �����Ҧ��ϥΪ̡C
  3. �R�� amService-srapGateway �ϥΪ̡C

�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

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)

  1. ���s�t�m Common Agent Container�C
  2. 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

  3. �s�� Web �e�������O��|�H�ѷ� Common Agent Container�C
  4. 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

  5. �ˬd�O�_�w�b PortalServer7Config-base �ؿ�H�U�C�S�ʫإߤF�S���ɮ� pasconnect.properties�G
  6. pas.host=

    �ӯS�ʭȥi���ŭȡBlocalhost �ι�ڪ� Portal Server �D��W�١C

  7. ���s�Ұ� Common Agent Container�C
  8. 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

  1. �ХH�W�ŨϥΪ̨���n�J�Φ����W�ŨϥΪ̡C
  2. su -

  3. ����i��b���a��檺 Portal Server Secure Remote Access Gateway�BRewriter Proxy �� Netlet Proxy ������ҡC
  4. PortalServer7-base/bin/psadmin stop-sra-instance -u amadminUser
       -f
    passwordFile -t gateway -N gatewayProfileName

    PortalServer7-base/bin/psadmin stop-sra-instance -u amadminUser
       -f
    passwordFile -t rwproxy -N gatewayProfileName

    PortalServer7-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

  5. �p�G Access Manager �P Portal Server �'O���p�b���P�� Web �e�����A�нT�w Access Manager ���b���C
  6. �p�G���b���A�бҰ� Portal Server�A�o�i�ǥѱҰʨ䳡�p�쪺 Web �e���ӹ�{�C
  7. Web Server 6.x�G
    WebServer-base/https-instanceName/start

    Application Server 8.x�G
    AppServer8-base/bin/asadmin start-domain --user admin_ID
         --password password domainName

  8. �ھ��� 15-8 ��o�һݪ��׸ɵ{���C
  9. ���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

  10. �ЮM�ξA�? Portal Server �׸ɵ{���A�p�����n�A�]�ЮM���� 15-8 �������g�ƭ׸ɵ{���C
  11. patchadd /tmp/patch_ID

  12. �T�{�׸ɵ{���ɯŦ��\�G
  13. showrev -p | grep patch_ID

    ��X3�Ǧ^�B�J 6 ���M�Ϊ��׸ɵ{�� ID �����C

  14. �Y���g�ƮM�˳n��w�g�b�B�J 6 ���ɯšA�бN Portal Server Console JVM ���y����ҳ]�w�� UTF-8�C
  15. export LC_ALL=ja_JP.UTF-8
    export LANG=ja_JP.UTF-8

  16. �]�w psupgrade �{���ɩһݪ��������ܼ� (ANT_HOME �P JAVA_HOME)�G
  17. export ANT_HOME=/usr/sfw
    export JAVA_HOME=/usr/jdk/entsys-j2se

  18. �нT�w�z�q���W������洫�Ŷ��C
  19. ������ɭ�h�A3�N�洫�Ŷ��]�w������ RAM �e�q���⭿�C

  20. ��� psupgrade �{���ɡC
  21. cd PortalServer7-base/bin
    ./psupgrade

    psupgrade �{���ɤ��|�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


    �Ƶ�

    �аȥ��� psupgrade �Ѽƿ�J���T���ȡA�]���z�L�k��^���ܧ󥦭̡A�ӥB�]����^�_�� psupgrade �{���ɩҰ����ܧ�C


  22. ���� Web �e���A�M��N�䭫�s�ҰʡC
  23. ���ިä��ݭ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


�`�N

�b Linux �W��檺�q Portal Server IFR ��o�檩�� 5 ���ɯŵL�k�^�_�C�b���U�C�{�����e�A�аȥ���ƥ�z���t�ΡC


  1. �ХH�W�ŨϥΪ̨���n�J�Φ����W�ŨϥΪ̡C
  2. su -

  3. ����i��b���a��檺 Portal Server Secure Remote Access Gateway�BRewriter Proxy �� Netlet Proxy ������ҡC
  4. PortalServer7-base/bin/psadmin stop-sra-instance -u amadminUser
       -f
    passwordFile -t gateway -N gatewayProfileName

    PortalServer7-base/bin/psadmin stop-sra-instance -u amadminUser
       -f
    passwordFile -t rwproxy -N gatewayProfileName

    PortalServer7-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

  5. �p�G Access Manager �P Portal Server �'O���p�b���P�� Web �e�����A�нT�w Access Manager ���b���C
  6. �p�G���b���A�бҰ� Portal Server�A�o�i�ǥѱҰʨ䳡�p�쪺 Web �e���ӹ�{�C
  7. Web Server 6.x�G
    WebServer-base/https-instanceName/start

    Application Server 8.x�G
    AppServer8-base/bin/asadmin start-domain --user admin_ID
         --password password domainName

  8. �ϥ��� 15-8 �����׸ɵ{�����X�M RPM �W�٨Ө�o�һݪ��׸ɵ{���C
  9. ���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

  10. �H�� 15-8 �������ǮM�θӪ?�� Portal Server �׸ɵ{���H�� Portal Server ���g�� RPM (�ݭn��)�C
  11. �аѾ\ 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

  12. �T�{�׸ɵ{���ɯŦ��\�G
  13. rpm -qa | grep sun-portal

    3�Ǧ^ RPM ���ɯŭ׭q�����X�C

  14. �Y���g�ƮM�˳n��w�g�b�B�J 6 ���ɯšA�бN Portal Server Console JVM ���y����ҳ]�w�� UTF-8�C
  15. export LC_ALL=ja_JP.UTF-8
    export LANG=ja_JP.UTF-8

  16. �]�w psupgrade �{���ɩһݪ��������ܼ� (ANT_HOME �P JAVA_HOME)�G
  17. export ANT_HOME=/opt/sun
    export JAVA_HOME=/usr/jdk/entsys-j2se

  18. �нT�w�z�q���W������洫�Ŷ��C
  19. ������ɭ�h�A3�N�洫�Ŷ��]�w������ RAM �e�q���⭿�C

  20. ��� psupgrade �{���ɡC
  21. cd PortalServer7-base/bin
    ./psupgrade

    psupgrade �{���ɤ��|�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


    �Ƶ�

    �аȥ��� psupgrade �Ѽƿ�J���T���ȡA�]���z�L�k��^���ܧ󥦭̡A�ӥB�]����^�_�� psupgrade �{���ɩҰ����ܧ�C


  22. ���� Web �e���A�M��N�䭫�s�ҰʡC
  23. ���ިä��ݭ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

  1. ���U�C����ɮסG
  2. 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)

  3. �N�o����ɮ׽ƻs��H�U�ؿ�G
  4. PortalServer7Data-base/portals/portal_ID/config/Portal_Instance/

  5. �b desktopmfwk.properties �ɮפ��A�N
  6. com.sun.portal.ProductCollectionId=%PS_DIR%

    �%N��

    com.sun.portal.ProductCollectionId=Portal_Installed_Location

  7. �N�U�C��� jar �ɮסG
  8. 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

  9. ���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

  1. �b AppServer8Config-base/domains/domainName/config/server.policy �ɮפ����w�q psconsole �]�w���Ϭq�G
  2. �b�Ϭq���3B�[�W�H�U�o�@��G
  3. permission java.lang.RuntimePermission "getProtectionDomain"

  4. ���s�Ұ� Application Server ��ҡC
  5. AppServer8-base/bin/asadmin start-domain --user admin_ID
         --password passworddomainName

    AppServer8-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

  1. ���U�C 2 �ӰѼơA���� PortalServer7Data-base/derby/derby.properties �����]�w�G
  2. derby.drda.maxThreads
    derby.drda.timeslice

  3. ���s�Ұ� Java DB�C
  4. 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

  5. �ܧ� Application Server �� Java DB �t�m�]�w�C
  6. �ϥ� 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

  7. ���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

  1. �N Web Server (���n�ɦA�[�W Access Manager) �ɯŨ�o�檩�� 5�C
  2. ���s�t�m Portal Server �D���x�� psadmin ��O�椶���һݭn�� Web Server �e���ȡC
    1. �}�� LDAP �s��C
    2. �t�m���x�s�b Directory Server ���C

    3. �b DN �U�A�M��G
      sunPortalAdminPortalDomainID=defaultDomain
      ->sunPortalAdminPortalDomainPortalID=portal1
      ->sunPortalAdminPortalDomainPortalServerInstanceIn=host-port
    4. �̤U�C��ܡA���s��@�~�C
    5. �Ъ`�N�A�Ҧ����ا��H�U�C�r��}�Y�GsunPortalAdminPortalDomainPortalServerInstance

      • �R�� WebContainerInstanceDir ��3�����ءC
      • �� WebContainerDomainName �W�[�@�Ӷ��ءA�ì����w�� 15-6 ���� Web �e���t�m�W���ȡC
      • �s�� InstallDir�BWebContainerType�BDocRoot �����ءA�H���� 15-6 ���ҥܪ���L�ѼơA�Ϩ�P�o�檩�� 5 Web Server (7.0) �Ȭۤ@�P�C
  3. �إߵo�檩�� 5 Portal Server ��ҡC
  4. 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

  5. �R�� Portal Server IFR ��ҡC
  6. 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

  1. ��#�Y�o�檩�� 5 SJWC jar �ɮסC
    1. mkdir /tmp/lh
    2. cd /tmp/lh
    3. /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
    4. �p�G PortalServer7-base/portlet/communityportlets.war
      �����A�Шϥ� PortalServer7-base/portlet/core/communityportlets.war�C

    5. ���s�R�W�䤤�@���ɮסC
    6. mv WEB-INF/lib/commons-collections-3.1.jar
      WEB-INF/lib/commons-collections.jar

  2. ��� filesharing portlet 3�ε{���C
  3. cd PortalServer7Config-base/portals/portal1/portletapps/filesharing

  4. �[�J�g�L��s�� SJWC �{���w�C
  5. jar uvf src/filesharing.war.tokenized -C /tmp/lh WEB-INF

  6. �ۭq filesharing portlet 3�ε{���C
  7. ant customize

  8. ���s���p filesharing portlet 3�ε{���C
    1. PortalServer7-base/bin/psadmin undeploy-portlet -u amadmin
      -f passwordfile -p
      portal_id -i instance_id -g filesharing
    2. ant deploy
    3. ��ܤU�C�ؿ� (�� Web �e���өw)�G
    4. Application Server 8.x�G

      AppServer8Config-base/domains/domain1/applications/j2ee-modules/
      communityportlets/WEB-INF

      Web Server 6.x�G

      WebServer6-base/https-instanceName/webapps/https-instanceName/
      communityportlets/WEB-INF

      Web Server 7.x�G

      WebServer7Config-base/https-configName/web-app/https-configName/
      communityportlets/WEB-INF

    5. �}�� sun-web.xml �ɮסA�æb�̫�@�椧�e (�]�N�O�b sun-web-app ����аO���e) �[�W�H�U�o�@��G
    6. <class-loader delegate="false"/>

    7. �w�� filesharing/WEB-INF ���U�� sun-web.xml �ɮ׭����B�J c �M�B�J d�C
  9. �w�� surveys �H�ΰ�� SJWC �[�c����L���ۭq portlet 3�ε{�������B�J 2 ���B�J 5�C
  10. ���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

  1. �n�J PSConsole�C
  2. �q [�@��@�~] ���Ҥ��A��@�U [�޲z�q�D�P�e��]�C
  3. ��� [DeveloperSample [Org]] ���� DN�A�M���@�U [�T�w]�C
  4. ��� [JSPTabContainer [�w�]]] ���� [�˵�����]�C
  5. �b [MyFrontPageTabPanelContainer] �U�A��@�U [3�ε{���q�D]�C
  6. �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

  7. �s�� [userApps] �S�ʡC
    1. �b [userApps] �S�ʤ���@�U [�s���...] �s���C
    2. �N�|�X�{�t���{��3�ε{�������㦡��C

    3. �V�M��W�[�U�C3�ε{���G
    4. NetFile

    5. ��@�U [�x�s]�A�M��� [��]�C
  8. �s�� [target] �S�ʡC
    1. �b [target] �S�ʤ���@�U [�s���...] �s���C
    2. �N�|�X�{�t���{���ؼЪ����㦡��C

    3. �V�M��W�[�U�C�ؼСG

      NetFile|/portal/NetFileApplet?Refer=java2

    1. ��@�U [�x�s]�A�M��� [��]�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

  1. ���p��� struts �� portlet 3�ε{���C
  2. PortalServer7-base/bin psadmin undeploy-portlet

  3. �H���T������ struts.jar �ɮק�s .war �ɮסC
  4. �N PortalServer7-base/lib/struts.jar �ƻs�� strutsbasedPortlet/WEB-INF/lib/struts.jar

    �䤤 strutsbasedPortlet �O��� struts �� portlet �ɮשҦb���ؿ�C

  5. �إ� strutsbasedPortlet �ؿ� .war �k�ɡC
  6. ���s���p portlet 3�ε{���C
  7. 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)
  1. �ХH�W�ŨϥΪ̨���n�J�Φ����W�ŨϥΪ̡C
  2. su -

  3. �N Directory Server �^�_�����b�ɯūe�����A�C
  4. �ϥ� 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

  5. ���p�b�ɯŨ�o�檩�� 5 �v����s���p���o�檩�� 5 Portal Server Web 3�ε{���C
  6. �ϥ� Web �e�����޲z���ε{�� (��O��ΥD���x) �Ө��U�C�M�˳n�骺���p�G

    portal
    psconsole
    search1
    wsssoportlet
    guessnumber
    portletsamples

  7. ���� Portal Server�A��k�O����� Web �e���C
  8. Web Server 6.x�G
    WebServer-base/https-instanceName/stop

    Web Server 7.0�G
    Admin Server--
    WebServer7Config-base/admin-server/bin/stopserv
    Instance Server--
    WebServer7Config-base/https-configName/bin/stopserv

    Application Server 8.x�G
    AppServer8-base/bin/asadmin stop-domain --user admin_ID
         --password password domainName

  9. �M�P�� 15-8 ���� Portal Server 7.1 �׸ɵ{���C
  10. patchrm patch_ID

  11. ���s�Ұ� Portal Server�A��k�O���s�Ұʥ��� Web �e���C
  12. Web Server 6.x�G
    WebServer-base/https-instanceName/start

    Web Server 7.0�G
    Admin Server--
    WebServer7Config-base/admin-server/bin/startserv
    Instance Server--
    WebServer7Config-base/https-configName/bin/startserv

    Application Server 8.x�G
    AppServer8-base/bin/asadmin start-domain --user admin_ID
         --password password domainName

  13. ���p�B�J 3 �����p���o�檩�� 5 Portal Server Web 3�ε{���C
  14. �ϥ� Web �e�����޲z���ε{�� (��O��ΥD���x) ���p�M�˳n��C

  15. ���� Web �e���A�M��N�䭫�s�ҰʡC
  16. ���ިä��ݭ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



�W�@��      �ؿ�      �d�      �U�@��     


��󸹽X�G820-0891
2007 �~ 6 ��C  Copyright 2007 Sun Microsystems, Inc. ���v�Ҧ��C