Restarting the Samba homedir server

April 2010


  1. Notify everybody

    1. Notify the Change manager

    2. Notify the users

      See what machines have users logged on, and decide whether there are enough to justify using the mailing list. If so, use it.

    3. Notify the last persistent users

      At cusp - 10 minutes or so, notify the last logged-in users via wall (see )

  2. Optionally close the shares

  3. Stop the Samba server

    This will not kill all smbd processes.

  4. (Optionally) update and upgrade the server

  5. Reboot the server

    Log in on the console, and reboot:

  6. Optionally remount the shares on the clients

    Clients reclaim their shares on the rebooted server. I don't know whether any data loss occurs in running processes. It looks like some clients reclaim their shares, but as some hadn't got them any more. We may have to remount them. Write a Landscape script that says:

      #!/bin/bash
    
      mount -a
    
    	  

    I didn't though. The users had better reboot.

  7. Notify the users of running machines that this is an ideal time to reboot.