Skip to content

Automation Scripts jboss: backup, flush datasource, undeploy,deploy,stop e start jvms.

License

Notifications You must be signed in to change notification settings

duillio/scriptjboss

Repository files navigation

Scritps simples básico e funcional

Executado no jboss-eap-7.2.2 e Redhat 7

Script BKP.sh

Executa backup dos pacotes ear deployados na console do jboss domain mode.

--Criar diretorio backup no home do jboss

--Alterar os caminhos do home do jboss

Script startJVM_jboss.sh

--Realiza start da jvm do jboss modo domain, alterar os nomes do server group e user/pass

Script stopJVM_jboss.sh

--Realiza stop da jvm do jboss modo domain, alterar os nomes do server group e user/pass

Script unDeploy_jboss.sh

--Realiza unDeploy dos EAR jboss modo domain, ajustar JBOSS_HOME,DEPLOY_ORIGEM e PATHPACOTE

Script deploy_jboss.sh

--Realiza Deploy dos EARs jboss modo domain, ajustar JBOSS_HOME,DEPLOY_ORIGEM e PATHPACOTE

Script Flush_datasource.sh --Realiza um flush datasource connection pool.

--Com base no erro "Unable to fill pool: java:jboss/datasources/" no arquivo server.log, o script faz o flush.