Migrating non-root configurations to root

You can run either a deployment manager or application server as root in WebSphere® Application Server Versão 9.0 when you previously used a non-root user ID on Linux and UNIX platforms in Versão 7.0 ou posterior.

Before you begin

Configurações suportadas Configurações suportadas:

Este artigo trata da migração da configuração de perfil. Para migrar seus aplicativos para a versão mais recente, use o Kit de Ferramentas de Migração do WebSphere Application Server. Para obter mais informações, consulte o Kit de ferramentas de migração no WASdev.

sptcfg
Read Overview of migration, coexistence, and interoperability and Premigration considerations.

Procedure

Set the ownership of the profile or deployment manager directory to be the same as the user under which WebSphere Application Server is to run.

This must be done for the deployment manager or application servers to run correctly.

As a root user, run the following commands:
cd $WASROOT/profiles/  
chown -R wasadmin dmgr/  
chgrp -R wasndgrp dmgr/  
chmod -R 755 dmgr/  
... 
cd $WASROOT/profiles/dmgr/bin
./startManager.sh
where the profile name is dmgr run as a user in wasadmin with the primary group wasndgrp.
Tip: For help, read Troubleshooting migration.

Results

You can now run either a deployment manager or application server as root.

Ícone que indica o tipo de tópico Tópico de Tarefa



Ícone de registro de data e hora Última atualização: June 20, 2016 0:07
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-dist&topic=tmig_nonroot
Nome do arquivo: tmig_nonroot.html