| home / infca / was (navigation links) | Ahora que sé las respuestas,
me cambian las preguntas. |
| Concepts | SAG | MQ | Links | End |
| Concepts |
Carefully plan your application server nomenclature. Use a systematic approach to naming to simplify administering the environment.
The deployment manager is the centralized management communication vehicle. It is recommended that the deployment manager be installed on a separate machine than the application server nodes to prevent unmanaged work from occurring on the nodes.
WS Extended Deployment v 6.0.1 Install Guide, SA22-7998.pdf, page 8 of 29.
The profile is a separate set of files that define the application server environment. A profile is a separate data partition that contains the files that define the run-time environment for an application server. A default profile is created during the installation of the base product. Create additional profiles using the Profile Creation wizard. [+ make a profile the default] Each profile defines a separate stand-alone application server that has its own administrative interface.
This wizard creates run-time environments that are referred to as profiles. Each profile contains either a deployment manager, a node that is administered by a deployment manager, or a stand-alone application server.
See wasprofile command.
|
Regardless of the configuration, the WebSphere Application Server is organized based on the concept of cells, nodes, and servers.
WAS 6.0 System Management and Configuration Handbook, SG24-6451.pdf, page 47 of 1040.
The application server
is the primary runtime component in all configurations.
It is where an application executes.
All WAS configurations can have one or more application servers.
Application servers provide the runtime environment for application code.
They provide containers and services that specialize in enabling
the execution of specific Java application components.
Each application server runs in its own Java Virtual Machine (JVM).
A node is a logical grouping of server processes
managed by WebSphere and that share common configuration
and operation control.
A node is a grouping of managed or unmanaged servers.
A node usually corresponds to a logical or physical computer system
with a distinct IP host address.
Nodes cannot span multiple computers.
Node names usually are identical to the host name for the computer.
Nodes in the network deployment topology can be managed or unmanaged.
A managed node has a node agent process
that manages its configuration and servers.
Unmanaged nodes do not have a node agent.
"AC" : A node corresponds to a physical computer system with a distinct IP host address. The node name is usually the same as the host name for the computer. The following table lists the nodes in this cell. You can add new nodes into the cell by clicking on "Add Node" and specifying a remote, running WebSphere Application Server instance
The node agent represents the node in the management cell and keeps the configuration up to date. Node agents are administrative agents that represent a node to your system and manage the servers on that node. Node agents monitor application servers on a host system and route administrative requests to servers.
A node group is a new concept introduced with WebSphere Application Server V6. A node group is a grouping of nodes within a cell that have similar capabilities. A node group is a collection of managed nodes.
A cell is a grouping of nodes into a single administrative domain. A cell is a configuration concept, a way for administrators to logically associate nodes with one another.
Deployment managers are administrative agents that provide a centralized management view for all nodes in a cell, as well as management of clusters and workload balancing of application servers across one or several nodes in some editions. A deployment manager hosts the administrative console. A deployment manager provides a single, central point of administrative control for all elements of the entire WebSphere Application Server distributed cell. Each cell contains one deployment manager.
The administrative service runs within each server JVM. In Base and Express, the administrative service runs in the application server. In Network Deployment, each of the following hosts an administrative service:
The administrative service provides the necessary functions to manipulate configuration data for the server and its components. The configuration is stored in a repository in the server's file system.
WAS 6.0 Technical Overview, REDP3918.pdf, page 15 of 64
Celula / Nodo / Server / Cluster
======= ===== ======= ========
logico fisico fisico logico
Nodo == Maquina Requiere un Node Agent.
Server == JVM
Celula : agrupa Nodos Requiere un Deployment Manager = WAS con herramientas.
Cluster : agrupa Servers
|
| Sub-products |
WAS product family and products
Network Deployment has additional elements that allow for more advanced topologies such as workload management, scalability, high availability, and central management of multiple application servers.
With Network Deployment, you can build a distributed server configuration, which enables central administration, workload management, and failover. In this environment, you integrate one or more application servers into a cell that is managed by a deployment manager. The application servers can reside on the same machine as the deployment manager or on multiple separate machines. Administration and management is handled centrally from the administration interfaces via the deployment manager.
With this configuration, you can create multiple application servers to run unique sets of applications and then manage those applications from a central location. However, more importantly, you can cluster application servers to allow for workload management and failover capabilities. Applications that you install in the cluster are replicated across the application servers. When one server fails, another server in the cluster continues processing. Workload is distributed among Web containers and Enterprise JavaBeans containers in a cluster using a weighted round-robin scheme.
WAS 6.0 Technical Overview, REDP3918.pdf, page 3 of 64
WebSphere Extended Deployment extends
WebSphere Application Server Network Deployment Version 6.0.2,
providing an enhanced quality of service in four primary areas:
WebSphere Extended Deployment introduces virtualization and automation. It delivers a high performance, easily manageable and dynamically scalable environment for distributed WebSphere applications.
What is WS Extended Deployment ? [publib]
Network Deployment provides an operating environment with advanced performance and availability capabilities in support of dynamic application environments.
WAS product family
| CheckList |
|
|
| Instalació |
Use /WAS/install command or launchpad.bat
Com es tria el idioma ?
W2K : Control Panel + Regional and Language Options : "General" + Your Locale.
WXP ?
W2k3 : Control Panel + Regional and Language Options : "Regional Options" + Customize "Standards and Formats".
Full install includes :
Default install locations :
Deployment Manager := Dmgr01 A deployment Manager administers Application Servers that are federated into its cell. Node Name := w2kwasCellManager01 Host Name := w2kwas Cell Name := w2kwasCell01 The Node Name is for administration by the deployment manager. The name must be unique within the cell. The Host Name is the DNS name or the IP address of this computer. The Cell Name is a logical name for the group of nodes administered by this deployment manager. |
First steps v 5 : (firststeps.bat)
First steps v 6 : (firststeps.bat del perfil Dmgr01)
First steps v 6 : (firststeps.bat del perfil AppSrv01)
IVT - writes
c:\Program Files\IBM\WebSphere\AppServer\profiles\Dmgr01\logs\dmgr\SystemOut.log
Profile Name := AppSrv01 A deployment Manager administers Application Servers that are federated into its cell. Node Name := w2kwasNode01 Host Name := w2kwas The Node Name is used for administration. If the node is federated, the name must be unique within the cell. The Host Name is the DNS name or the IP address of this computer. |
The user account that runs the Windows service must have the following user rights :
See it in "Administrative Tools" + "Local Security Policy" + "Local Policies" + "User Rights Assignment"
Change it (to "was1" user) in "Services" + "IBM ... Cell Manager" + boton derecho + "Properties" + "Log On".
IVT - writes
c:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\logs\server1\SystemOut.log
To federate the Application Server, use either the addNode command or the administrative console of the deployment manager. If you use the administrative console, the Application Server must be running.
Adding node ADMU0001I: Begin federation of node w2kwasNode01 with Deployment Manager at w2kwas:8879. ADMU0009I: Successfully connected to Deployment Manager Server: w2kwas:8879 ADMU0505I: Servers found in configuration: ADMU0506I: Server name: server1 ADMU2010I: Stopping all server processes for node w2kwasNode01 ADMU0024I: Deleting the old backup directory. ADMU0015I: Backing up the original cell repository. ADMU0012I: Creating Node Agent configuration for node: w2kwasNode01 ADMU0014I: Adding node w2kwasNode01 configuration to cell: w2kwasCell01 ADMU0016I: Synchronizing configuration between node and cell. ADMU0018I: Launching Node Agent process for node: w2kwasNode01 ADMU9990I: ADMU0300I: Congratulations! Your node w2kwasNode01 has been successfully incorporated into the w2kwasCell01 cell. ADMU9990I: ADMU0306I: Be aware: ADMU0302I: Any cell-level documents from the standalone w2kwasNode01Cell configuration have not been migrated to the new cell. ADMU0307I: You might want to: ADMU0303I: Update the configuration on the w2kwasCell01 Deployment Manager with values from the old cell-level documents. ADMU9990I: ADMU0003I: Node w2kwasNode01 has been successfully federated. The new node will not be available in the console until you log in again Logout from the WebSphere Administrative Console
Now we can see cell w2kwasCell01 has 2 nodes :
w2kwasCellManager01 --------- Deploy Manager w2kwasNoder01 --------------- Application Server |
The later (at Server1) has the snoop application available at http://ip:9080/snoop/
| Ports |
Those are the Default values
Can be reached thru Dmgr Admin Console, System Administration, Deployment manager, Additional Properties, "Ports".
Using "Administrative Console", go "Application servers", select a server, then "Ports".
So, for next server (Server2) those values (in alphabetical order) would be :
| Commands |
Veure la versió del WAS :
/opt/IBM/WebSphere/AppServer/bin/versionInfo.sh o versionInfo.bat
Veure la versió del IHS :
/opt/IBM/IHS/bin/apachectl -version
Veure la versió del PLUGIN :
/opt/IBM/WebSphere/Plugins/bin/versionInfo.sh
Veure el estat del Deploy Manager :
/opt/IBM/WebSphere/AppServer/profiles/<deploy manager>/bin/serverStatus.sh -all
Per administrar el IHS des la consola administrativa de WAS, ha de estar actiu el procés admin, escoltant al port 8008. S'engega així :
/opt/IBM/IHS/bin # ./adminctl start
La seva configuració es troba a
/opt/IBM/IHS/conf/admin.conf
Administració "command line" de la consola administrativa :
/opt/IBM/WebSphere/AppServer/bin/wsadmin.sh
Bon consell : learn Python !
|
Using command line tools | ||||||||||||||||||||||||||||||||||||||||||||
|
All command line tools function relative to a particular profile. If you run a command from a app_server_root/bin directory, the command runs within the default profile. To specify a different profile, use one of the following methods:
Node Agent does not seem to work :
Display profiles
C:\IBM\WebSphere\AppServer\bin> manageprofiles.bat -help
Function:
Creates, lists, alters or deletes profiles
Syntax:
manageprofiles -
Surt el mateix que c:\> dir C:\IBM\WebSphere\AppServer\profiles\
02/29/2012 04:12 PM
Display SERVERs for every profile: C:\IBM\WebSphere\AppServer\profiles\STSCAppProfile\bin> serverStatus.bat -all
ADMU0116I: Tool information is being logged in file
C:\IBM\WebSphere\AppServer\profiles\STSCAppProfile\logs\serverStatus.log
ADMU0128I: Starting tool with the STSCAppProfile profile
ADMU0503I: Retrieving server status for all servers
ADMU0505I: Servers found in configuration:
ADMU0506I: Server name: nodeagent
ADMU0506I: Server name: STConsoleServer
ADMU0508I: The Node Agent "nodeagent" is STARTED
ADMU0508I: The Application Server "STConsoleServer" is STARTED
| ||||||||||||||||||||||||||||||||||||||||||||
| Fixes |
The JAVA_HOME environment variable should be set to the directory where your JDK is installed.
The Update Installer is being run from an incorrect path. It should be run from the <product>\updateinstaller directory.
| Virtual Host |
Conveniently, WebSphere Application Server (WAS) supports updating JVM parameters using its administration APIs, specifically, AdminConfig object.
| Snoop |
After server1 is running, the Snoop sample application is available at http://localhost:9080/snoop/
In order to have it available, Server1 must be running, as snoop servlet is part of Default Applications module.
WAS 6.0 System Management and Configuration Handbook, SG24-6451.pdf, ch 5.8.11, page 254, 278 of 1040.
Finding the URL for a servlet or JSP
The URL for a servlet or JSP is the path used to access it from a browser. The URL is partly defined in the deployment descriptor provided in the EAR file and partly defined in the deployment descriptor for the Web module containing the servlet or JSP.
To find the URL for a servlet or JSP:
For example, to look up the URL for the snoop servlet :
In the deployment descriptor window for the DefaultApplication enterprise application you can see:
<context-root> /</context-root>
<url-pattern> /snoop/*</url-pattern>
Note that the aliases are composed of a DNS host name and a port number. The host aliases for the default_host virtual host are *:80, *:9080 and *:9443, "*" meaning any host name.
http://<hostname>:80/snoop http://<hostname>:9080/snoop https://<hostname>:9443/snoop |
Código instalado :
c:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\installedApps\
w2kwasCell01\DefaultApplication.ear\DefaultWebApplication.war\WEB-INF\classes\SnoopServlet.class
Get the code or write it ! (Feb 2006)
Start at developerWorks [***]
| Activar Seguridad |
url + "Configuring security with scripting" : url
Or was600nd_security.pdf, chapter 13 !
|
Antes de todo, por si hay que volver atras, guardar : .../IBM/WebSphere/AppServer/etc en c:\temp\save\global\ .../IBM/WebSphere/AppServer/profiles/Dmgr01/etc en c:\temp\save\Dmgr01\ .../IBM/WebSphere/AppServer/profiles/AppSrv01\etc en c:\temp\save\AppSrv\ Y también usar C:\Program Files\IBM\WebSphere\AppServer\bin\backupConfig.bat (que NO copia los ficheros de seguridad). |
|
Global security Specifies the global security configuration for a managed domain. The following steps are required to turn on security:
Then, click "OK" (not Apply ...) |
|
Editamos C:\Program Files\IBM\WebSphere\AppServer\profiles\Dmgr01\properties\soap.client.props para asignar : com.ibm.SOAP.securityEnabled=true com.ibm.SOAP.loginUserid= com.ibm.SOAP.loginPassword= |
|
Seleccionamos :
|
Ahora, una IE hacia http://localhost:9060/ibm/console/secure/logon.do nos redirige a https://localhost:9043/ibm/console/logon.jsp y hay campo de PWD ... |
|
To disable security, just ...
|
When security is disabled, WebSphere Application Server performance is increased between 10-20%.
| Cluster |
A server cluster consists of a group of application servers. If one of the member servers fails, requests will be routed to other members of the cluster.
A cluster is a logical collection of application server processes that provides workload balancing and high availability. Application servers in a cluster are members of that cluster and must all have identical application components on them. Other than the applications on them, cluster members do not have to share any other configuration data.
Now, the snoop application is also available on Server2 at URL http://localhost:9081/snoop/
Mind Virtual Host for port 9081 !
| High Availability |
High Availability Solutions, SG24-6688.pdf
url or [T42:\MQ\WAS\RedBooks\v 6\WAS ND 6.0_High Availability Solutions_sg246688.pdf]| Bibliography |
|
WS Application Server
zone - tons of links.
Product Overview | ||||||||||||||||||
|
WS Application Server
library [***]
& related libraries.
[ T42:\MQ\WAS\Llibres_WAS\6.0\Documentation ]
And more | ||||||||||||||||||
|
WAS version 6.0 Information Center [*** publib ***]
Top !
welcome_base.htm : Getting started, How do I ? ... perform key tasks, Tutorials : (1) Education Assistant :
| ||||||||||||||||||
| WS Application Server support - forums, fixes, etc | ||||||||||||||||||
|
The base URL for WebSphere Application Server
fixes.
V 6. Go from 6.0.0 to 6.0.2. Go from 6.0.2 to 6.0.2.7. | ||||||||||||||||||
|
Instalació Best practices tutorials - curs audio-visual. Install v 5.1 - docu [boulder] | ||||||||||||||||||
| WS Application Server performance info - guides, redbooks, articles, etc. | ||||||||||||||||||
|
WS Application Server
RedBooks
As SG24-6451 = WAS 6.0 System Management and Configuration HandBook
Top !
Part 1. The basics
Chapter 1. WebSphere Application Server V6 for distributed platforms
Chapter 2. WebSphere Application Server V6 architecture
Chapter 3. System management: A technical overview
Chapter 4. Getting started with profiles
Chapter 5. Administration basics
Chapter 6. Administration with scripting
Chapter 7. Configuring WebSphere resources
Chapter 8. Managing Web servers
Chapter 9. Problem determination
Part 2. Messaging with WebSphere
Chapter 10. Asynchronous messaging
Chapter 11. Default messaging provider
Part 3. Working with applications
Chapter 12. Session management
Chapter 13. WebSphere naming implementation
Chapter 14. Understanding class loaders
Chapter 15. Packaging applications
Chapter 16. Deploying applications
Chapter 17. WebSphere Rapid Deployment
As SG24-6446 = WAS 6.0 Planning and Design
As SG24-6963 = WAS 6.0_Product Family Overview And Achitecture
Best ! :
redp3918 = WAS 6.0 Technical Overview
| ||||||||||||||||||
|
IBM Systems Journal, vol 43, No 2, 2004 :
WebSphere Application Server.
See T42:\WS\RevistesWS\SystemsJournal\Vol43No2 | ||||||||||||||||||
|
From
{developerworks}
New to Application Server
Information Center
Documentation library
WebSphere Redbooks domain
Techdocs
Best practices
Access Safari's e-reference library
Training & certification
Technical enablement
Information roadmaps
Process choreographer articles
WebSphere and Adobe
WebSphere Technical Journal [***]
| ||||||||||||||||||
| WS Extended Deployment library or On-Line [publib] | ||||||||||||||||||
|
How WebSphere Application Server handles poison messages : url |
| Consola Administrativa |
|
URL
If the node is not federated, WAS Administrative console can be found here http://localhost:9061/ibm/console/It is removed when the node is federated, and it becomes managed by Deploy Manager : http://localhost:9060/ibm/console/ La URL en versión 5 és http://servidor:9090/admin/ o http://servidor:9060/ibm/console/ en versión 6 !
Se sap mirant el fitxer
Per defecte és WC_adminhost = 9060 i WC_adminhost_secure = 9443 Ha engegat be quan al fitxer SystemOut.log hi trobem el missatge CWWSR0221I: Application started: isclite How to change administrative console port ?
If you cannot start the administrative console because the console port conflicts with an application that is already running on the machine, change the port number in the
<install_root>/profiles/<profile name>/config/cells/<cell_name>/nodes/<node_name>/servers/<server_name>/server.xml file
WAS ND v 6, Using the administrative clients, wasv600nd_admin.pdf, page 21 [29/591] You can find it using was console by the path ...
Trassa en engegar :
|
|
Console requirements for the Browser ? |
|
Menu structure From f:\MQ\Projects\BBVA\WAS\Consola\MENUS.TXT => CD
1.- Servidores
1.1.- Servidores de aplicaciones
1.1.1.- < select server >
1.1.2.- propiedades adicionales
1.1.2.1.- Servicio de transacciones
1.1.2.2.- Contenedor Web
1.1.2.2.1.- Agrupación de hebras
1.1.2.2.2.- Gestión de sesiones
1.1.2.2.3.- Transportes de HTTP
1.1.2.2.3.1.- "6680" - puerto para comunicar peticiones al contenedor Web
1.1.2.2.4.- Propiedades personalizadas
1.1.2.3.- Contenedor de EJB
1.1.2.4.- Servicio de antememoria dinámica
1.1.2.5.- Registro cronológico y rastreo
1.1.2.5.1.- Rastreo de diagnóstico
1.1.2.5.2.- Anotaciones cronológicas de JVM
1.1.2.5.3.- Anotaciones cronológicas de proceso
1.1.2.5.4.- Anotaciones cronológicas de servicio de IBM
1.1.2.6.- Servicio de receptor de mensajes
1.1.2.6.1.- Puertos receptores
< Nombre >
Nombre JNDI de la fábrica de conexiones
Nombre JNDI del destino
1.1.2.6.2.- Agrupación de hebras
1.1.2.6.3.- Propiedades personalizadas
1.1.2.7.- Servicio ORB
1.1.2.8.- Propiedades personalizadas
1.1.2.9.- Servicios de administración
Autónomo ?
Conector preferido ? SOAP_Connector/ RMI_Connector
1.1.2.9.1.- Conectores JMX
1.1.2.9.2.- Proveedores de MBean de extensión
1.1.2.9.3.- Servicios de depósito
1.1.2.9.4.- Propiedades personalizadas
1.1.2.10.- Servicio de rastreo de diagnóstico
Salida de rastreo - Nombre de archivo = $(SERVER_LOG_ROOT)/trace.log
1.1.2.11.- Servicio de depuración
Puerto de depuración de JVM = 7777
Puerto de depuración de BSF = 4444
1.1.2.12.- Anotaciones cronológicas de servicio de IBM
Nombre de archivo = $(LOG_ROOT)/activity.log
1.1.2.13.- Servicios personalizados
1.1.2.14.- Componentes de servidor
1.1.2.14.1.- Servidor de nombres
1.1.2.14.2.- Servidor de aplicaciones
1.1.2.14.2.1.- Servicio de transacciones
1.1.2.14.2.2.- Contenedor Web
1.1.2.14.2.3.- Contenedor de EJB
1.1.2.14.2.4.- Servicio de antememoria dinámica
1.1.2.14.2.5.- Registro cronológico y rastreo
1.1.2.14.2.6.- Servicio de receptor de mensajes
1.1.2.14.2.7.- Servicio ORB
1.1.2.14.2.8.- Propiedades personalizadas
1.1.2.14.2.9.- Servicios de administración
1.1.2.14.2.10.- Servicio de rastreo de diagnostico
1.1.2.14.2.11.- Servicio de depuración
1.1.2.14.2.12.- Anotaciones cronológicas de IBM
1.1.2.14.2.13.- Servicios personalizados
1.1.2.14.2.14.- Componentes del servidor
1.1.2.14.2.15.- Definición de proceso
1.1.2.14.2.16.- Servicio de supervisión del rendimiento
1.1.2.14.2.17.- Puntos finales
1.1.2.14.2.18.- Cargador de clases
1.1.2.14.2.19.- Servicios Web : enlaces por omisión para Web Services Security
1.1.2.14.2.20.- Configuración del Asesor de rendimiento de tiempo de ejecución
1.1.2.14.3.- Servidores JMS
Nombre de colas
1.1.2.14.3.1.- Punto final del puerto de seguridad
Numero del puerto TCP/IP del puerto receptor utilizado internamente.
1.1.2.14.3.2.- Propiedades personalizadas
1.1.2.14.3.3.- Componentes de servidor
1.1.2.14.3.4.- Servicios de administración
1.1.2.14.3.5.- Servicios de rastreo de diagnóstico
1.1.2.14.3.6.- Anotaciones cronológicas de servicio de IBM
1.1.2.14.3.7.- Definición de proceso
1.1.2.14.3.8.- Puntos finales
1.1.2.15.- Definición de proceso
Nombre ejecutable : $(JAVA_HOME)/bin/java
Directorio de trabajo : $(USER_INSTALL_ROOT)
1.1.2.15.1.- Máquina virtual Java
1.1.2.15.2.- Ejecución de proceso
1.1.2.15.3.- Anotaciones cronológicas de proceso
1.1.2.15.4.- Entradas de entorno
1.1.2.15.5.- Politicas de supervisión
1.1.2.15.6.- Registro cronológico y rastreo
1.1.2.16.- Servicio de supervisión del rendimiento
1.1.2.17.- Puntos finales
SOAP_CONNECTOR_ADDRESS := 8880
1.1.2.18.- Cargador de clases
1.1.2.19.- Servicios Web : enlaces por omisión para Web Services Security
1.1.2.19.1.- Anclas de confianza
1.1.2.19.2.- Almacen de certificados de colecciones
1.1.2.19.3.- Localizadores de claves
1.1.2.19.4.- Evaluadores de ID de confianza
1.1.2.19.5.- Correlaciones de inicio de sesión
1.1.2.20.- Configuración del asesor de rendimiento de tiempo de ejecución
1.1.2.21.- Seguridad del servidor
1.2.- Servidores JMS
1.3.- Clusteres
1.4.- Topologia de clusteres
2.- Aplicaciones
2.1.- Aplicaciones de empresa
2.2.- Instalar una nueva aplicación
3.- Recursos
3.1.- Proveedores de JDBC
3.2.- Proveedores genéricos de JMS
3.3.- Proveedores de JMS de WebSphere
3.4.- Proveedores de JMS de WebSphere MQ
3.5.- Proveedores de correo
3.6.- Proveedores de entorno de recursos
3.7.- Proveedores de URL
3.8.- Adaptadores de recursos
4.- Seguridad
4.1.- Seguridad global
4.2.- SSL
4.3.- Mecanismos de autenticación
4.3.1.- LTPA
4.4.- Registros de usuarios
4.4.1.- Sistema operativo local
4.4.2.- LDAP
4.4.3.- Personalizado
4.5.- Configuración de JAAS
4.5.1.- Inicios de sesión de la aplicación
4.5.2.- Inicios de sesión del sistema
4.5.3.- Datos de autenticación de J2C
4.6.- Protocolo de autenticación
4.6.1.- Autenticación de entrada CSIv2
4.6.2.- Autenticación de salida CSIv2
4.6.3.- Transporte de entrada CSIv2
4.6.4.- Transporte de salida CSIv2
4.6.5.- Transporte de entrada SAS
4.6.6.- Transporte de salida SAS
4.7.- Servicios Web
4.7.1.- Propiedades
4.7.2.- Anclas de confianza
4.7.3.- Almacen de certificados de colecciones
4.7.4.- Localizadores de claves
4.7.5.- Evaluadores de ID de confianza
4.7.6.- Correlaciones de inicio de sesión
5.- Entorno
5.1.- Actualizar el plug-in del servidor Web
5.2.- Sistemas principales virtuales
5.2.1.- < seleccionar nombre lógico >
5.2.2.- Propiedades adicionales
5.2.2.1.- Alias de sistema principal
5.2.2.1.1.- "6680" - alias de DNS por los que se conoce el sistema principal
5.2.2.2.- Tipos de MIME
5.3.- Gestionar variables de WebSphere
5.4.- Bibliotecas compartidas
5.5.- Dominios de duplicación interna
5.6.- Denominación
5.6.1.- Enlaces de espacio de nombres
5.6.2.- Usuarios de CORBA Naming Service
5.6.3.- Grupos de CORBA naming Service
6.- Administración del sistema
6.1.- Célula
6.2.- Gestor de despliegue
6.3.- Nodos
6.4.- Agentes de nodo
6.5.- Usuarios de consola
6.6.- Grupos de consola
7.- Resolución de problemas
7.1.- Anotaciones cronológicas y rastreo
7.2.- Problemas de configuración
7.3.- PMI Request Metrics
|
|
Per a tenir "Consola Administrativa" (Portal Server + Content Manager) [ que us cal per engegar el "Verbose Garbage Collector" ] només cal que engegueu el server1. Es a dir, la comanda "màgica" es startserver server1 Després de una curta estoneta, tindreu la consola administrativa a la URL
http://ip_de_la_maquina:9090/admin/ versio 5
http://ip_de_la_maquina:9060/ibm/console/ versio 6
|
| Installing and configuring a JMS provider |
Or
Installing WebSphere MQ as the JMS provider
or
Installing WebSphere embedded messaging as the JMS provider
| Seguridad Avanzada |
Enlaces :
El material del curso está en:
J2EE contains the Java Message Service (JMS) specification, which defines an API that applications can utilize to access a messaging provider (a product implementation that provides the infrastructure that supports messaging, such as IBM WebSphere MQ or the Messaging engine component used here). JMS is the API specification only and does not describe the actual messaging product or provider. This is similar to accessing relational databases through JDBC, where JDBC defines the access mechanism but does not define the actual relational database product. All the interaction with the J2EE server so far was over HTTP. How do you access J2EE over messaging?
Note that MDBs have little in common with entity EJBs and session EJBs except for executing in the same J2EE container. The MDB is invoked by the overall J2EE infrastructure and does not have any external home or local interfaces.
Experience J2EE using WAS 6.1, SG24-7297, page 357 [376/472]
VM (Rosa) : Lola(8.137.164.13)+F:\r_dias_win2k\
Objectiu : tenir un MDB que faci "eco" a un RFH2 amb "ADP_ECO_WAS" o cridi un EJB que faci eco a un "EJB_ECO" dins un RFH2.
General objectives are :
Gain an understanding of J2EE fundamentals by
ADP_ECO_WAS : MDBsvrBean
EJB_ECO : EcoBrokerEJBBean
Oracle :
Añadir la línea
Resum de fitxers d'entrada :
Compte ! [c] i [d] ambdos contenen nomes que idjBrokerEJB.jar !
Veamos los detalles :
| CM & PS (portal) |
url.
Looks like Lotus can manage Lotus keys and WAS keys, whilst WAS can only manage WAS keys.
Portal wiki -> (best doc) Master Table of Contents for wiki - Building a website using WCM 6.1.
JCP.
Creix sens limit : C:\IBM\WebSphere\wp_profile\PortalServer\deployed
Unpack "7.822.085 PortalUpdateInstaller.zip" into {wp_root}\update.
Interim fixes can be downloaded to the {wp_root}\fixes directory.
Fix packs can be downloaded to the {wp_root}\fixpacks directory.
| SetupCmdLine.bat | E:\WebSphere\AppServer\bin | estableix el entorn de la JVM. |
| versionInfo.bat | E:\WebSphere\AppServer\bin | mostra la versió del WAS. |
| WPVersionInfo.bat | E:\WebSphere\PortalServer\bin | mostra la versió del Portal, etc etc |
| WPHistoryInfo.bat | E:\WebSphere\PortalServer\bin | mostra el historial de parches del Portal |
| ./WPVersionInfo.sh | SuSE 9 + /opt/WebSphere/PortalServer/bin/ | mostra la versió del Portal, Web Content Management, etc en Linux |
| type VersionInfo.log | C:\IBM\WebSphere\wp_profile\PortalServer\log\ | mostra la versió del Portal que s'ha engegat |
Mind {wp_home}/version/history/event.history
c:\Archivos de programa\WebSphere\PortalServer\doc\xml-samples\ExportAllUsers.xml
Try increasing the value in {wp_home}/wmm/wmm.xml: maximumSearchResults="200"
Problem: XML import might fail with out-of-memory error An XML import of portal resources might fail with an OutOfMemoryError. Cause: This error results from a limited heap size. Solution: Proceed by the following steps: 1. Start server1 and log in; url = http://localhost:9090/admin/ 2. Navigate to Servers > Application Servers > WebSphere_Portal > Process Definition > Java Virtual Machine 3. Determine the configured maximum heap size; for example, this might be 512 MB. 4. Increase the maximum heap size, for example to 1024 MB. 5. Restart your portal. 6. Run the XML import script again. The OutOfMemoryError should disappear.
Portal, v 5.1.x url "out-of-memory error"
In some situations it is possible that you might want to install an empty portal, where WebSphere Portal is installed normally but no portlets are installed or deployed and no pages are created. This can be useful if you want to transfer an entire portal configuration from one portal to another. For example, you might want to transfer a portal from your test environment to a production environment.
To install an empty portal with the WebSphere Portal installation program, enter the following command from the root directory of the setup CD :
* UNIX: ./install.sh -W installPortletsSequence.active="false"
* Windows: install.bat -W installPortletsSequence.active="false"
Before continuing, be sure to have all of your necessary files in place. That is, if you are installing a theme, place the folder containing the theme on the PortalServer in the correct location. The same goes for skins, portlet WARs, etc.
Theme folders go into:
C:\WebSphere\AppServer\installedApps\<nodename>\wps.ear\wps.war\themes\html\
Skin folders go into:
C:\WebSphere\AppServer\installedApps\<nodename>\wps.ear\wps.war\skins\html\
By default, portlet WAR files need to be placed in:
C:\WebSphere\PortalServer\installableApps\
(3 times the same)
Read fix
To solve the immediate problem, use XMLAccess to import the file <wps_home>/doc/xml-samples/Task.xml. This should start the cleanup task immediately and it will run only once. Then try the XMLAccess import again. You can edit Task.xml and import it again to reconfigure the delayed cleanup process. By default, the delete will run on Saturday evening. You may consider disabling delayed cleanup so that Portal pages are removed immediately but be aware that this can have a performance penalty.
Read about delayed cleanup
updatePortal syntax :
For EFix Processing:
For FixPack Processing:
Another way
(1) WAS 5.1.1.8 WAS511_CF8_win.zip 83.261.514
(2) BI 5.1.1.3 WBISF511_CF3_win.zip 210.539.626
(3) WPS 5.1.0.2 + Fix_Pack_22155 WP_PTF_5102.zip 450.635.656
Portal uses a "derby" database that you better backup once in a while. Read here.
Default ubication : c:\IBM\WebSphere\wp_profile\PortalServer\derby\wpsdb
| URL portal - WebSphere_Portal | http://localhost:9081/wps/portal |
| URL consola administrativa - server1 | http://localhost:9090/admin |
Perform the following steps to localize a new virtual machine instance:
WebSphere Portal is now ready to be used in this virtual machine instance.
Problem we locally have :
Solution [disable security] :
And we can start Admin Console to change LDAP settings ...
Security + Global security + General Properties + *Host
"Test Connection" : The test connection operation for LDAP host portalv7.demos.hal.com on port 389 was successful.
But Portal does not start properly :
There are issues connecting to the database server.
When developing and testing JMS applications in WebSphere Studio V5, you have several JMS provider options:
For monitoring and checking the status of resources, {WAS base with Embedded Messaging} such as queue depths, there are a couple of options. The preferred option is to use the JMX Mbeans provided with Application Serve for monitoring: JMSBasicFunction, JMSAdministration, and EmbeddedJMSAdministration.
V5 - use runmqsc and dspmq. Everything changes in WAS 6 and 7, unless you configure those to use normal MQ *instead of* the embedded SIBus messaging engine.
The embedded JMS provider provides a robust implementation for WAS V6.1 to WAS V6.1 interaction, but it is not capable of supporting other environments, such as non-Java or non-JMS applications. For those environments, a product called WebSphere MQ is provided, which provides both a JMS and non-JMS messaging infrastructure for a wide variety of clients and platforms.
Experience J2EE using WAS 6.1, SG24-7297, page 389, [407/472]
The service integration functionality within WebSphere Application Server V6
supports supports both message-oriented and service-oriented applications.
The primary component of this functionality is the service integration bus,
which provides the support for messaging and Web services applications.
One or more application servers or clusters join a bus to become bus members.
The service integration bus becomes a component of the Enterprise Service Bus (ESB).
The service integration functionality provides:
WAS V6 System Management and Configuration Handbook, SG24-6451-00, page 17 [41/1040]
Connection Factory : {gestor de cues}
Custom Properties :
Queue Destinations :
The UTC is a J2EE application called IBMUTC.
If this URL doesn't work, verify that the application is deployed and running.
When you open the UTC using its URL, you need to locate the home for the EJB component you wish to test.
Pointer to Samples : [1] 0505_woolf & [2] 0504_barcia.
If Embedded Messaging is used, then AMQERR01.LOG file contents is written into : SystemOut.log and SystemErr.log, located at <WAS_INSTALL>/profiles/profilename/logs/server1
Logs can be found under install_root/profiles/profile_name/logs/server_name. The default profile name is AppSrv01 and the default server name is server1.
Example: /usr/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/server1. SystemOut.log is the file containing everything that was logged to standard out.
Logs can also be viewed from the admin console by navigating to Troubleshooting/Logging and Tracing/server_name/Runtime.
If we find in Event Log viewer ... WAS service terminated with service-specific error 134218516 (0x8000314) all we have to do is to delete server1.pid file at c:\Program Files\IBM\WebSphere\AppServer\profiles\CDM572\logs\server1\ !!!
| Dubtes |
Messaging resources; Configuring JMS resources for the WebSphere MQ messaging provider;
Trobo "JMS 1.1" i "JCA 1.5".
To create a new connection factory, complete the following steps:
| Links |
|
Site under construction. |
|
Updated 22/5/2012 (a).
|
|