- - Meter nuevos nodos a un grupo de recursos, teniendo en cuenta que tenemos 3 recursos: ip, ip_ges y grupos.
scrgadm -c -j pr3_d1_ip -x netiflist=ipmp0@1,ipmp0@2,ipmp0@3,ipmp0@4,ipmp0@5
scrgadm -c -j pr3_d1_ges_ip -x netiflist=ipmp1@1,ipmp1@2,ipmp1@3,ipmp1@4,ipmp1@5
scrgadm -c -g pr3_d1_rg -h bof-sapci3,bof-sapci1,bof-sapci2,bof-sapci4,bof-sapci5
- - Parar/levantar recursos en un nodo
clrg online/offline <grupo recurso>
- -Switchear
clrg switch -n bof-sapci<x> <grupo recurso>
- - Los recursos son:
root@bof-sapci1 # clrg status
=== Cluster Resource Groups ===
Group Name Node Name Suspended Status
---------- --------- --------- ------
pr3_ci_rg bof-sapci3 No Online
bof-sapci1 No Offline
bof-sapci2 No Offline
pwa_ci_rg bof-sapci1 No Online
bof-sapci2 No Offline
bof-sapci3 No Offline
pbw_ci_rg bof-sapci1 No Online
bof-sapci2 No Offline
bof-sapci3 No Offline
pge_ci_rg bof-sapci1 No Online
bof-sapci2 No Offline
bof-sapci3 No Offline
phr_ci_rg bof-sapci3 No Online
bof-sapci2 No Offline
bof-sapci1 No Offline
bof-sapci4 No Offline
bof-sapci5 No Offline
prm_ci_rg bof-sapci2 No Online
bof-sapci1 No Offline
bof-sapci3 No Offline
bof-sapci4 No Offline
bof-sapci5 No Offline
pxi_ci_rg bof-sapci2 No Online
bof-sapci1 No Offline
bof-sapci3 No Offline
bof-sapci4 No Offline
bof-sapci5 No Offline
pbi_ci_rg bof-sapci2 No Online
bof-sapci1 No Offline
bof-sapci3 No Offline
bof-sapci4 No Offline
bof-sapci5 No Offline
pr3_d1_rg bof-sapci4 No Online
bof-sapci1 No Offline
bof-sapci2 No Offline
bof-sapci3 No Offline
bof-sapci5 No Offline
pr3_d2_rg bof-sapci3 No Online
bof-sapci1 No Offline
bof-sapci2 No Offline
bof-sapci4 No Offline
bof-sapci5 No Offline
pr3_d3_rg bof-sapci4 No Online
bof-sapci1 No Offline
bof-sapci2 No Offline
bof-sapci3 No Offline
bof-sapci5 No Offline
pr3_d4_rg bof-sapci5 No Online
bof-sapci1 No Offline
bof-sapci2 No Offline
bof-sapci3 No Offline
bof-sapci4 No Offline
- - Para desmonitorizar recursos en cluster:
scswitch -n/-e (desahilitar/habilitar) -M -j <recurso>
- - Y podemos ver el estado de los recursos en este caso los hemos congelado:
root@bof-sapci1 # scstat -g |grep Resource | grep Online
Resource: pr3_ci_ip bof-sapci3 Online but not monitored Online - LogicalHostname online.
Resource: pr3_ci_fs bof-sapci3 Online but not monitored Online
Resource: pr3_ci_sap bof-sapci3 Online but not monitored Online - Service is online.
Resource: pr3_ci_nfs bof-sapci3 Online but not monitored Online - Service is online.
Resource: pr3_ci_ges_ip bof-sapci3 Online but not monitored Online - LogicalHostname online.
Resource: pwa_ci_ip bof-sapci1 Online but not monitored Online - LogicalHostname online.
Resource: pwa_ci_fs bof-sapci1 Online but not monitored Online
Resource: pwa_ci_enq bof-sapci1 Online but not monitored Online - Service is online.
Resource: pwa_ci_msg bof-sapci1 Online but not monitored Online - Service is online.
Resource: pwa_ci_webas bof-sapci1 Online but not monitored Online - Service is online.
Resource: pwa_ci_nfs bof-sapci1 Online but not monitored Online - Service is online.
Resource: pwa_ci_ges_ip bof-sapci1 Online but not monitored Online - LogicalHostname online.
Resource: pbw_ci_ip bof-sapci1 Online but not monitored Online - LogicalHostname online.
Resource: pbw_ci_fs bof-sapci1 Online but not monitored Online
Resource: pbw_ci_webas bof-sapci1 Online but not monitored Online - Service is online.
Resource: pbw_ci_nfs bof-sapci1 Online but not monitored Online - Service is online.
Resource: pbw_ci_ges_ip bof-sapci1 Online but not monitored Online - LogicalHostname online.
Resource: pge_ci_ip bof-sapci1 Online but not monitored Online - LogicalHostname online.
Resource: pge_ci_fs bof-sapci1 Online but not monitored Online
Resource: pge_ci_webas bof-sapci1 Online but not monitored Online - Service is online.
Resource: pge_ci_nfs bof-sapci1 Online but not monitored Online - Service is online.
Resource: pge_ci_ges_ip bof-sapci1 Online but not monitored Online - LogicalHostname online.
Resource: phr_ci_ip bof-sapci3 Online but not monitored Online - LogicalHostname online.
Resource: phr_ci_fs bof-sapci3 Online but not monitored Online
Resource: phr_ci_sap bof-sapci3 Online but not monitored Online - Service is online.
Resource: phr_ci_ges_ip bof-sapci3 Online but not monitored Online - LogicalHostname online.
Resource: prm_ci_ip bof-sapci2 Online but not monitored Online - LogicalHostname online.
Resource: prm_ci_fs bof-sapci2 Online but not monitored Online
Resource: prm_ci_webas bof-sapci2 Online but not monitored Online - Service is online.
Resource: prm_ci_ges_ip bof-sapci2 Online but not monitored Online - LogicalHostname online.
Resource: pxi_ci_ip bof-sapci2 Online but not monitored Online - LogicalHostname online.
Resource: pxi_ci_fs bof-sapci2 Online but not monitored Online
Resource: pxi_ci_enq bof-sapci2 Online but not monitored Online - Service is online.
Resource: pxi_ci_webas bof-sapci2 Online but not monitored Online - Service is online.
Resource: pxi_ci_ges_ip bof-sapci2 Online but not monitored Online - LogicalHostname online.
Resource: pbi_ci_ip bof-sapci2 Online but not monitored Online - LogicalHostname online.
Resource: pbi_ci_fs bof-sapci2 Online but not monitored Online
Resource: pbi_ci_enq bof-sapci2 Online but not monitored Online - Service is online.
Resource: pbi_ci_webas bof-sapci2 Online but not monitored Online - Service is online.
Resource: pbi_ci_ges_ip bof-sapci2 Online but not monitored Online - LogicalHostname online.
Resource: pr3_d1_ip bof-sapci4 Online but not monitored Online - LogicalHostname online.
Resource: pr3_d1_as bof-sapci4 Online but not monitored Online - Service is online.
Resource: pr3_d1_ges_ip bof-sapci4 Online but not monitored Online - LogicalHostname online.
Resource: pr3_d2_ip bof-sapci3 Online but not monitored Online - LogicalHostname online.
Resource: pr3_d2_as bof-sapci3 Online but not monitored Online - Service is online.
Resource: pr3_d2_ges_ip bof-sapci3 Online but not monitored Online - LogicalHostname online.
Resource: pr3_d3_ip bof-sapci4 Online but not monitored Online - LogicalHostname online.
Resource: pr3_d3_as bof-sapci4 Online but not monitored Online - Service is online.
Resource: pr3_d3_ges_ip bof-sapci4 Online but not monitored Online - LogicalHostname online.
Resource: pr3_d4_ip bof-sapci5 Online but not monitored Online - LogicalHostname online.
Resource: pr3_d4_as bof-sapci5 Online but not monitored Online - Database is up.
Resource: pr3_d4_ges_ip bof-sapci5 Online but not monitored Online - LogicalHostname online.
No hay comentarios:
Publicar un comentario