Failback or restore steps for the SMB protocol

Use the following steps on a protocol node in the primary cluster, once repaired or replaced, to fail back or restore the SMB protocol configuration.

  1. Stop the NFS services using the following command:
    Start of change
    mmces service stop NFS -a
    End of change
  2. Stop the SMB services using the following command:
    Start of change
    mmces service stop SMB -a
    End of change
  3. Delete all files from the /var/lib/ctdb/persistent directory on all protocol nodes.
  4. Restore all required persistent TDB files from the saved configuration location to the /var/lib/ctdb/persistent directory on one of the protocol nodes. Ensure that you append the node number to the end of file names.
  5. Delete all private Kerberos configuration files in the /var/lib/samba/smb_krb5/ directory on all protocol nodes.
  6. Restore private Kerberos configuration files to the /var/lib/samba/smb_krb5/ directory on one of the protocol nodes.
  7. On the failback cluster, start the SMB services using the following command:
    Start of change
    mmces service start SMB -a
    End of change
  8. Issue the following command on the failback cluster to start the NFS service:
    Start of change
    mmces service start NFS -a
    End of change