Logs required for debugging issues from a failed node installation or imaging process can be collected and transferred using an NFS/CIFS mount after network configuration is completed on the node.
Procedure
-
Configure the network on the node using the following steps:
-
In environments with DHCP, assign an IP address to the public interface by running the following command:
# dhclient intx -
In non-DHCP environments, assign a static IP address to the public interface using the following commands:
# ifconfig intx IPaddress netmask nmask # route add default gw gateway intx
-
-
Mount the NFS/CIFS export on the node.
-
To mount an NFS export, run the following command:
# mount -o nolock NFSServerIP:ExportPath mountpathWithout the
-o nolockoption, the following error occurs:mount.nfs: rpc.statd is not running but is required for remote locking. mount.nfs: Either use '-o nolock' to keep locks local, or start statd. mount.nfs: mounting server:path failed, reason given by server: No such file or directory -
To mount a CIFS export, run the following command:
# mount.cifs WindowsExportPath mountpath -o user=usernameWhen prompted, enter the password for the specified username.
-
-
Collect the logs by copying the following files and directories to the NFS/CIFS mount. You can use
tarto compress directories, if required.-
Directory
/var/log/ -
All
.xmland.mapfiles present at/ -
Output of the
dmesgcommand -
Output of the LVM commands
vgscan,lvscan, andpvscan
-