Como criar um perfil no WebSphere ND?

Criar um perfil no IBM WebSphere é uma etapa inicial para configurar o ambiente do aplicativo. Conhecer o procedimento é essencial para o administrador do WebSphere.

Neste post, explicarei como criar um perfil no IBM WebSphere Application Server Network Deployment.

Isso pressupõe que você instalado o IBM WAS em ambiente Linux.

Antes de pular para a criação do perfil, vamos entender o que é um perfil no IBM WAS ?

O perfil é um ambiente de tempo de execução completo que combina o binário WAS e o perfil (dados/configuração do usuário).

Existem vários tipos de perfil disponíveis no WebSphere.

  • Célula – uma combinação de DMGR e servidor de aplicativos federado
  • Estar sozinho
  • Gerenciamento
  • Perfil personalizado

Você pode criar um perfil do WebSphere Application Server de duas maneiras.

  1. GUI – usando a ferramenta de gerenciamento de perfis
  2. Silencioso – usando o script manageprofile.sh

Nesta postagem, usaremos a GUI para criar um perfil de célula.

  • Faça login no servidor onde o WAS está instalado
  • Acesse o local binário do WAS >> bin >> ProfileManagement (no local de instalação padrão, será /opt/IBM/WebSphere/AppServer/bin/ProfileManagement)
  • Iniciar ferramenta de gerenciamento de perfis
./pmt.sh
  • Ele abrirá uma janela “WebSphere Customization Toolbox”, clique em Criar

foi-pmt

  • Selecione o ambiente “Célula” e clique em Avançar

was-pmt-cell

Em próxima tela, você terá a opção de selecionar o processo de criação do perfil. Existem dois processos.

  1. Típica criação de perfil – o perfil será criado com a configuração padrão e os números de porta. Na maioria dos casos, você pode selecionar isso.
  2. Avançado criação de perfil – Se você deseja personalizar as portas padrão, a configuração precisará usar isso.
  • Vamos prosseguir com a criação do perfil “Típico”, clique em Avançar
  • Digite o usuário e a senha do DMGR, se não quiser que o DMGR seja protegido por senha, desmarque a caixa “Habilitar segurança administrativa”.

was-pmt-security

  • Review o resumo do perfil e clique em “Criar”. Se você quiser, pode copiar as informações desta tela, pois ela conterá muitas informações úteis, como.
Location
Profile name
Cell name
Node name
Ports
Profile type

was-pmt-summary

  • A criação do perfil levará alguns minutos e, depois de concluído, você verá uma confirmação.

foi-pmt-sucesso

Se você notar, mantive a opção padrão “Inicie o console do First Steps ” na tela acima.

Isso abrirá o assistente de primeiros passos, onde você poderá verificar a instalação. A verificação é essencial para que você saiba que seu perfil está funcional e pronto para implantar o aplicativo necessário para o seu negócio.

  • Clique em “Verificação da instalação”

era-verificação

O processo de verificação envolve iniciar e parar o DMGR e você deve ver algo como abaixo.

Server name is:dmgr
Profile name is:Dmgr01
Profile home is:/opt/IBM/WebSphere/AppServer/profiles/Dmgr01
Profile type is:dmgr
Cell name is:localhostCell01
Node name is:localhostCellManager01
Current encoding is:UTF-8
Start running the following command:/opt/IBM/WebSphere/AppServer/profiles/Dmgr01/bin/startManager.sh -profileName Dmgr01
>ADMU0116I: Tool information is being logged in file
>           /opt/IBM/WebSphere/AppServer/profiles/Dmgr01/logs/dmgr/startServer.log
>ADMU0128I: Starting tool with the Dmgr01 profile
>ADMU3100I: Reading configuration for server: dmgr
>ADMU3200I: Server launched. Waiting for initialization status.
>ADMU3000I: Server dmgr open for e-business; process id is 32013
Server port number is:9060
IVTL0010I: Connecting to the localhost WebSphere Application Server on port: 9060
IVTL0015I: WebSphere Application Server localhost is running on port: 9060 for profile Dmgr01
IVTL0035I: The Installation Verification Tool is scanning the /opt/IBM/WebSphere/AppServer/profiles/Dmgr01/logs/dmgr/SystemOut.log file for errors and warnings.
(11/20/16 4:53:38:556 PST) 00000001 WSKeyStore    W   CWPKI0041W: One or more key stores are using the default password.
(11/20/16 4:53:47:225 PST) 00000001 HostNameMap   W   HMGR0064W: Resolution of IP Addresses for host name localhost found only the loopback address. The loopback address will be used.
(11/20/16 4:53:53:571 PST) 00000001 SibMessage    W   (:) CWSJY0003W: MQJCA5001: WMQ messaging : '9.0.0.0-p900-L160509.1'.
(11/20/16 4:53:55:298 PST) 0000007a AuthConfigFac W   SECJ8032W: AuthConfigFactory implementation is not defined, using the default JASPI factory implementation class: com.ibm.ws.security.jaspi.ProviderRegistry.
(11/20/16 4:54:00:239 PST) 00000078 AbstractInjec W   CWNEN0070W: The javax.ws.rs.HeaderParam annotation class will not be recognized because it was loaded from the file:/opt/IBM/WebSphere/AppServer/systemApps/isclite.ear/kc.war/WEB-INF/lib/jsr311-api-1.1.1.jar location rather than from a product class loader.
(11/20/16 4:54:00:242 PST) 00000078 AbstractInjec W   CWNEN0070W: The javax.ws.rs.MatrixParam annotation class will not be recognized because it was loaded from the file:/opt/IBM/WebSphere/AppServer/systemApps/isclite.ear/kc.war/WEB-INF/lib/jsr311-api-1.1.1.jar location rather than from a product class loader.
(11/20/16 4:54:00:243 PST) 00000078 AbstractInjec W   CWNEN0070W: The javax.ws.rs.core.Context annotation class will not be recognized because it was loaded from the file:/opt/IBM/WebSphere/AppServer/systemApps/isclite.ear/kc.war/WEB-INF/lib/jsr311-api-1.1.1.jar location rather than from a product class loader.
(11/20/16 4:54:00:244 PST) 00000078 AbstractInjec W   CWNEN0070W: The javax.ws.rs.CookieParam annotation class will not be recognized because it was loaded from the file:/opt/IBM/WebSphere/AppServer/systemApps/isclite.ear/kc.war/WEB-INF/lib/jsr311-api-1.1.1.jar location rather than from a product class loader.
(11/20/16 4:54:00:245 PST) 00000078 AbstractInjec W   CWNEN0070W: The javax.ws.rs.PathParam annotation class will not be recognized because it was loaded from the file:/opt/IBM/WebSphere/AppServer/systemApps/isclite.ear/kc.war/WEB-INF/lib/jsr311-api-1.1.1.jar location rather than from a product class loader.
(11/20/16 4:54:00:246 PST) 00000078 AbstractInjec W   CWNEN0070W: The javax.ws.rs.QueryParam annotation class will not be recognized because it was loaded from the file:/opt/IBM/WebSphere/AppServer/systemApps/isclite.ear/kc.war/WEB-INF/lib/jsr311-api-1.1.1.jar location rather than from a product class loader.
(11/20/16 4:54:02:982 PST) 00000001 TcpTransport  W   ADMD0025W: In process discovery, the 127.0.0.1 IP address is used to advertise an endpoint. This usage might cause problems in a network environment.
(11/20/16 4:54:03:213 PST) 00000051 FfdcProvider  W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on /opt/IBM/WebSphere/AppServer/profiles/Dmgr01/logs/ffdc/dmgr_917750c5_16.11.20_04.54.03.0579098089159114197997.txt com.ibm.ws.management.discovery.DiscoveryService.sendQuery 189
IVTL0040I: 12 errors/warnings are detected in the /opt/IBM/WebSphere/AppServer/profiles/Dmgr01/logs/dmgr/SystemOut.log file
IVTL0070I: The Installation Verification Tool verification succeeded.
IVTL0080I: The installation verification is com plete.

Isso conclui que o perfil é criado com sucesso.

Vamos tentar acessar a URL do DMGR

was-dmgr

Bom trabalho! você criou um perfil de ambiente de célula e pronto para você implantar um aplicativo e fazer o necessário configuração .

Espero que isso seja útil para um administrador do WebSphere. Diz-me o que pensas.

Artigos relacionados