Membro ATTIVO, ma l'host ha un avviso relativo al file system /var
L'output del comando db2instance -list mostra che tutti i membri sono in stato ATTIVO, ma che almeno un host ha un avviso relativo al file system /var.
Questo è un esempio di output del comando db2instance -list che mostra un ambiente di struttura di caching a tre membri e due cluster:
ID TYPE STATE HOME_HOST CURRENT_HOST ALERT PARTITION_NUMBER LOGICAL_PORT NETNAME
-- ---- ----- --------- ------------ ----- ---------------- ------------ -------
0 MEMBER STARTED hostA hostA NO 0 0 -
1 MEMBER STARTED hostB hostB NO 0 0 -
2 MEMBER STARTED hostC hostC NO 0 0 -
128 CF PRIMARY hostD hostD NO - 0 -
129 CF PEER hostE hostE NO - 0 -
HOSTNAME STATE INSTANCE_STOPPED ALERT
-------- ----- ---------------- -----
hostA ACTIVE NO YES
hostB ACTIVE NO NO
hostC ACTIVE NO NO
hostD ACTIVE NO NO
hostE ACTIVE NO NO
Questo output mostra che l hostA ha un avviso impostato su di esso. Per raccogliere ulteriori informazioni sull'avviso, utilizzare il comando db2cluster con l'opzione -cm -list -alert. Se lo spazio libero del file system /var è inferiore a 25 MB su un host, viene visualizzato il seguente messaggio di avviso per quell'host:
Alert: Host name hostA has 10 MB free space available on /var file system. Failure to write to /var due to no
space will result in Db2 cluster failure.
Action: The file system requires a minimum of 25 MB free disk space is available. Free up space on /var file system.
The alert will be cleared automatically when a sufficient amount of space becomes available on the filesystem.
Impact: Db2 Cluster Services may not function properly on the specified host and may eventually lead to a Db2 instance failure.Anche se questo avviso è solo informativo, è estremamente importante monitorare questa situazione e intervenire per aumentare lo spazio del file system sull'host interessato.Un'altra possibilità è che Db2® non sia in grado di raccogliere informazioni sull'utilizzo del file system /var per un host. In questo caso, per quell'host viene visualizzato il seguente messaggio di avviso:
Alert: There was a failure to retrieve /var file system usage on host name db2dev07. Check the db2diag.log for messages
concerning failures on host 'hostA' for /var file system.
Action: The failure needs to be resolved to clear the alert.
Impact: Db2 cluster will fail to write information about important errors and events. This will cause Db2 cluster failure.Poiché è essenziale monitorare l'utilizzo del file system dell'host, è necessario intervenire il prima possibile.