Mostrando las entradas con la etiqueta websphere. Mostrar todas las entradas

Configurar WAS para detenerlo con stopServer.sh sin pasar parámetros de autenticación

Que un WAS hay que detenerlo por stopServer.sh y necesitamos tener el usuario y password administrativo guardado por ahí en un archivo en hash de modo seguro. Pues bien, son solo 3 pasos:
  1. Editar soap.client.props
  2. Introducir los valores respectivos de  com.ibm.SOAP.securityEnabled=true, com.ibm.SOAP.loginUserid=<user_ID>, com.ibm.SOAP.loginPassword=<password>
  3. Ejecutar PropFilePasswordEncoder.sh ./properties/soap.client.props com.ibm.SOAP.loginPassword
Listo, ahora con un un simple ./stopServer.sh <servidor> simplemente se apagará el WAS sin pedir usuario administrativo.


Configuring the stopserver.sh script to connect without passing parameters

Enabling user ID and password input from soap.client.props for SOAP connector types

Crear perfiles de WebSphere

1) Crear el profile
./manageprofiles.sh -create -profileName someProfileName -serverName someServerName -profilePath /usr/IBM/WebSphere/AppServer/profiles/someFolder -templatePath /usr/IBM/WebSphere/AppServer/profileTemplates/default

2) Federar los nodos
./addNode.sh localhost -profileName someProfileName

3) Reiniciar el Dmgr

WAS nodeagents que no inician

En otra historia más de problemas con WAS, está el nodeagent que no quiere arrancar, y simplemente no arroja nada raro en los logs. Lo único que encontré fué lo siguiente:


Resolving the problem

To resolve this problem:

1) Stop all remaining Application Server processes if any
2) Change the file permission's on the entire WebSphere install back to the non-root user
3) Run <WAS_HOME>/profiles/<profile>/bin/osgiCfgInit.sh
4) Start the server

Habilitar SSL entre IHS y WAS

  • Hay que ir al WAS a SSL certificate and key management > Manage endpoint security configurations > nodeName > Key stores and certificates > NodeDefaultKeyStore > Personal certificates
  • Seleccionar el certificado y extraerlo en algún path del server
  • Abrir el ikeyman del IHS dentro de $IHS/bin/ikeyman
  • Crear un nuevo keystore
  • Importar el certificado de WAS al keystore
  • Modificar la configuración de IHS
  • KeyFile /usr/PATH/TO/ssl/key.kdb

    SSLEnable

    SSLDisable
  • Reiniciar el IHS
  • Probar aplicación