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.
-
Stop the NFS services using the following command:
mmces service stop NFS -a
-
Stop the SMB services using the following command:
mmces service stop SMB -a
-
Delete all files from the /var/lib/ctdb/persistent directory on all
protocol nodes.
-
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.
-
Delete all private Kerberos configuration files in the
/var/lib/samba/smb_krb5/ directory on all protocol nodes.
-
Restore private Kerberos configuration files to the
/var/lib/samba/smb_krb5/ directory on one of the protocol nodes.
-
On the failback cluster, start the SMB services using the following command:
mmces service start SMB -a
-
Issue the following command on the failback cluster to start the NFS service:
mmces service start NFS -a