10.7 Viewing the Cluster Event Log at the Command Line

You can view cluster events logged in the /admin/Novell/Cluster/EventLog.xml file by copying the /admin/Novell/Cluster/EventLog.xml file to a working location, and using the cat command to display the file.

  1. Log in to the node as the root user, then open a terminal console.

  2. Enter

    cp /admin/Novell/Cluster/EventLog.xml /tmp/
    
    cat /tmp/EventLog.xml
    

    This returns the log content in an XML format. For example:

    <logEntry>
      <timeStamp> 5/12/2013 23:28:38</timeStamp>
      <node>CG-03</node>
      <clusterEvent>Joined at epoch 2</clusterEvent>
    </logEntry>
    
    <logEntry>
      <timeStamp> 5/12/2013 23:27:16</timeStamp>
      <resource>Master_IP_Address_Resource</resource>
      <clusterEvent>Running on CG-01</clusterEvent>
    </logEntry>
    
    <logEntry>
      <timeStamp> 5/12/2013 23:27:15</timeStamp>
      <node>CG-02</node>
      <clusterEvent>Joined at epoch 1</clusterEvent>
    </logEntry>
    
    <logEntry>
      <timeStamp> 5/12/2013 23:14:32</timeStamp>
      <resource>Master_IP_Address_Resource</resource>
      <clusterEvent>Running on CG-01</clusterEvent>
    </logEntry>
    
    <logEntry>
      <timeStamp> 5/12/2013 23:14:19</timeStamp>
      <resource>Master_IP_Address_Resource</resource>
      <clusterEvent>Loading on CG-01</clusterEvent>
    </logEntry>
    
    <logEntry>
      <timeStamp> 5/12/2013 23:14:13</timeStamp>
      <node>CG-01</node>
      <clusterEvent>Joined at epoch 0</clusterEvent>
    </logEntry>