informatica:weblogic:wlst:comandos
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
informatica:weblogic:wlst:comandos [2017/07/19 11:55] – jose | informatica:weblogic:wlst:comandos [2017/09/18 15:46] (current) – jose | ||
---|---|---|---|
Line 46: | Line 46: | ||
====== Matriz ====== | ====== Matriz ====== | ||
- | wls:/ | + | manejados=[[" |
- | wls:/ | + | |
- | ... | + | <code> |
- | ... | + | for i in range(0, |
- | [[3, 9], [8, 5], [11, 1]] | + | print manejados[i][0] |
- | [[3, 9], [8, 5], [11, 1]] | + | print manejados[i][1] |
- | [[3, 9], [8, 5], [11, 1]] | + | print manejados[i][2] |
- | wls:/offline/ | + | print manejados[i][3] |
- | 3 | + | print manejados[i][4] |
- | wls:/offline/ | + | </code> |
- | 9 | + | |
- | wls:/ | + | ====== Listado de un ls ====== |
- | ... | + | v_lista=ls(' |
- | ... | + | for v_linea |
- | Traceback (innermost last): | + | print v_linea |
- | | + | |
- | TypeError: sequence subscript must be integer or slice | + | ===== Sacar una cadena ===== |
- | wls:/ | + | import re es Regular Expression |
- | ... | + | |
- | ... | + | cadena="Proxy for osb_cluster: |
- | [3, 9] | + | m = re.search(' |
- | [8, 5] | + | print m.group(1) |
- | [11, 1] | + | Otra forma |
- | wls:/ | + | print(cadena).split(' |
- | ... print[a][0] | + | |
- | ... | + | print(str(get(' |
- | Traceback | + | |
- | (no code object) at line 0 | + | En el caso del Target: |
- | | + | |
- | print[�a][1] | + | array(weblogic.management.configuration.TargetMBean, |
- | ^ | + | Lo sacamos: |
- | SyntaxError: | + | print(str(get(' |
- | wls:/offline/soa/JMSSystemResource/UMSJMSSystemResource/SubDeployment/UMSJMSSubDeployment> | + | |
- | wls:/offline/soa/JMSSystemResource/ | + | |
- | ... print[a][0] | + | |
- | ... | + | ===== Sacar listado targets ===== |
- | ... | + | < |
- | [[3, 9], [8, 5], [11, 1]] | + | cd('/ |
- | Traceback (innermost last): | + | v_lista=ls(returnMap=' |
- | | + | |
- | IndexError: index out of range: 1 | + | for v_linea in v_lista: |
- | wls:/offline/ | + | |
- | ... print a[i][0] | + | |
- | ... print a[i][1] | + | |
+ | for v_target in get(' | ||
+ | v_targets.append(str(v_target).split(' | ||
+ | | ||
+ | else: | ||
+ | v_total=v_linea+"\tN/A" | ||
+ | print(v_total) | ||
+ | </code> | ||
+ | |||
+ | |||
+ | ===== RCU ===== | ||
+ | /u01/mid12212/oracle_common/bin/rcu -silent -dropRepository -connectString 172.17.0.1:1521:DEV -dbUser sys -dbRole SYSDBA -schemaPrefix BPEL12C -selectDependentsForComponents true -component IAU -component MDS -component IAU_APPEND -component IAU_VIEWER -component OPSS -component STB -component WLS -component UCSUMS -component SOAINFRA -component ESS < /u01/pogramas/passwordfile.txt | ||
+ | |||
+ | |||
+ | ===== Bucle ===== | ||
+ | <code> | ||
+ | v_estat=" | ||
+ | while v_estat != " | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | print "No esta connectat" | ||
+ | time.sleep(10) | ||
+ | </code> | ||
+ | |||
+ | ===== Borrar cluster Coherence ===== | ||
+ | Sin target: | ||
+ | | ||
+ | | ||
informatica/weblogic/wlst/comandos.1500465350.txt.gz · Last modified: 2017/07/19 11:55 by jose