martes, 1 de octubre de 2019

TIBCO BWCE Monitor instalación

 TIBCO BWCE Monitor instalar


 Partimos del archivo que contiene el bwce monitor bwce-mon-2.4.2.zip que se obtiene de Tibco. El contenido del archivo es

 Vemos que esta escrito en nodejs

Trabajaremos en un directorio ~/app donde descompromimos el archivo e instalamos el node

 Configuramos variables de ambiente requeridas y corremos node

bext@bext-G3-3779:~/app$ export PERSISTENCE_TYPE='postgres'
bext@bext-G3-3779:~/app$ export DB_URL='postgresql://postgres:password@localhost:5432/postgres'
bext@bext-G3-3779:~/app$ echo "$DB_URL"
postgresql://postgres:password@localhost:5432/postgres
bext@bext-G3-3779:~/app$ npm start

> bwce.monitoring.package@1.0.0 start /home/bext/app
> NODE_ENV=dev PORT=8080 node server/node-server.js

[2019-10-01T19:16:45.404Z] => INFO : bwce.monitoring@2.4.2, build V99.2 2018-11-26
[2019-10-01T19:16:45.413Z] => INFO : Initializing postgres DB....
[2019-10-01T19:16:45.470Z] => INFO : Listening on port 8080
[2019-10-01T19:16:45.863Z] => INFO : statregistry table created
[2019-10-01T19:16:45.882Z] => INFO : activityloggingstats table created
[2019-10-01T19:16:45.893Z] => INFO : noderegistry table created
[2019-10-01T19:16:45.899Z] => INFO : processinstanceloggingstats table created
[2019-10-01T19:16:45.899Z] => INFO : transitionloggingstats table created
[2019-10-01T19:16:45.991Z] => INFO : process table created
[2019-10-01T19:17:09.246Z] => INFO : Requested path is /appnodes/platformDetails
[2019-10-01T19:17:09.246Z] => INFO : Request Method GET
[2019-10-01T19:17:09.248Z] => INFO : Requested path is /appnodes/platformDetails
[2019-10-01T19:17:09.248Z] => INFO : Request Method GET
[2019-10-01T19:17:09.317Z] => INFO : Requested path is /appnodes/platformDetails
[2019-10-01T19:17:09.317Z] => INFO : Request Method GET
[2019-10-01T19:17:09.420Z] => INFO : Requested path is /appnodes/platformDetails
[2019-10-01T19:17:09.421Z] => INFO : Request Method GET
[2019-10-01T19:17:09.430Z] => INFO : Requested path is /applications
[2019-10-01T19:17:09.430Z] => INFO : Request Method GET
[2019-10-01T19:17:09.435Z] => INFO : Request Successful
^C
bext@bext-G3-3779:~/app$ 

Para poder lograr la corrida, se intaló node.js
bext@bext-G3-3779:~/app$ node --version
v10.16.3

Para la instalación node.js

  • sudo apt-get update
  • sudo apt-get install build-essential libssl-dev

Se utiliza el manejador de versiones de node nvm

https://github.com/nvm-sh/nvm

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash
 
nvm ls-remote 
 
elegimos una version compatible en este caso tomamos v10.16.3
 
nvm install 10.16.3 # 6.14.4  or 10.10.0, 8.9.1, etc 

listo ya tenemos instalado node.js

eot

No hay comentarios:

Publicar un comentario