informatica:weblogic:scripting:consultas
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| informatica:weblogic:scripting:consultas [2014/10/01 09:01] – created jose | informatica:weblogic:scripting:consultas [2015/05/07 09:58] (current) – jose | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | a | + | ====== WLS ====== |
| + | Para conectarnos | ||
| + | |||
| + | ====== Estado de un managed ====== | ||
| + | wls:/ | ||
| + | Connecting to t3:// | ||
| + | Successfully connected to Admin Server ' | ||
| + | |||
| + | wls:/ | ||
| + | Location changed to domainRuntime tree. This is a read-only tree with DomainMBean as the root. | ||
| + | For more help, use help(domainRuntime) | ||
| + | |||
| + | wls:/ | ||
| + | wls:/ | ||
| + | dr-- | ||
| + | dr-- | ||
| + | dr-- | ||
| + | |||
| + | |||
| + | Tenemos el AdminServer arrancado, managed RUNNING pero con OutOfMemory (es decir que no responde) y el managed2 parado: | ||
| + | cd(' | ||
| + | cmo.getState() | ||
| + | ' | ||
| + | |||
| + | cd(' | ||
| + | cmo.getState() | ||
| + | ' | ||
| + | |||
| + | cd(' | ||
| + | cmo.getState() | ||
| + | ' | ||
| + | |||
| + | El estado del servidor **managed** es equivoco, lo miramos en Runtime: | ||
| + | domainRuntime() | ||
| + | cd('/ | ||
| + | ls() | ||
| + | |||
| + | dr-- | ||
| + | |||
| + | No aparece el managed y no podemos ver el estado, no está funcionando. Si podemos ver el estado del Admin. Entramos dentro del servidor y lo podemos mirar con dos comandos: | ||
| + | cd(' | ||
| + | get(' | ||
| + | cmo.getHealthState() | ||
| + | |||
| + | Component: | ||
| + | |||
| + | ====== Listar Clusters ====== | ||
| + | < | ||
| + | wls:/ | ||
| + | dr-- | ||
| + | dr-- | ||
| + | |||
| + | wls:/ | ||
| + | [Cluster_01, | ||
| + | wls:/ | ||
| + | ... print i | ||
| + | ... | ||
| + | Cluster_01 | ||
| + | Cluster_02 | ||
| + | </ | ||
| + | |||
| + | ===== Lista separados con comas ===== | ||
| + | < | ||
| + | x=ls('/ | ||
| + | i=0 | ||
| + | lista='' | ||
| + | while (i < len(x)-1): | ||
| + | | ||
| + | | ||
| + | lista= lista + x[len(x)-1] | ||
| + | print lista | ||
| + | </ | ||
informatica/weblogic/scripting/consultas.1412154110.txt.gz · Last modified: (external edit)
