I assume I know it ... but I think this is worth being discussed and clarified. At a customer we have 1 samba DC and 1 samba DM = fileserver. The DC is supported by a small UPS and the battery in that UPS is getting old and tells me to replace it. While it might be possible to swap the battery "online" I prefer to shut the supplied server(s) down and do it offline. That means turning the DC off. And now the question(s): will the PCs notice that? Is it possible to use network shares etc while the DC is offline for about 10 minutes? Or will the PCs hit problems right away? I understand that logins might fail, sure, but maybe the authenticated connections to the DM could be maintained by the DM itself for a short period of time? Sorry if I ask obvious things here or show my misunderstanding ... but I never tried that and wonder what happens. Sure, a 2nd DC would be much better, I know. And selecting a maintenance window for doing all this will also be possible. Stefan
On Wed, 18 Jul 2018 10:26:31 +0200 "Stefan G. Weichinger via samba" <samba at lists.samba.org> wrote:> > I assume I know it ... but I think this is worth being discussed and > clarified. > > At a customer we have 1 samba DC and 1 samba DM = fileserver. > > The DC is supported by a small UPS and the battery in that UPS is > getting old and tells me to replace it. > > While it might be possible to swap the battery "online" I prefer to > shut the supplied server(s) down and do it offline. > > That means turning the DC off. > > And now the question(s): will the PCs notice that? Is it possible to > use network shares etc while the DC is offline for about 10 minutes? > Or will the PCs hit problems right away?Have you ever heard of laptops ? you know those things that wander away from the domain ;-)> > I understand that logins might fail, sure, but maybe the > authenticated connections to the DM could be maintained by the DM > itself for a short period of time?No, Windows clients should be okay, provided they have logged in at least once recently, Unix domain members will require 'winbind offline logon = yes' in smb.conf> > Sorry if I ask obvious things here or show my misunderstanding ... > but I never tried that and wonder what happens. > > Sure, a 2nd DC would be much better, I know.Oh definitely, but you can only work with the resources you have and before anybody mentions VM's, these are only any good if they are on different machines. If they are on the same machine and the machine falls over, then you lose both of them. Rowland
Yes, PC's wil notice it. I suggest. Powerdown the DC, replug the power to outlet and boot the DC. If the DC is only DC, then this should be done within a few min. Now switch the UPS Battery. Test the UPS. Users stay authenticated but yes, the will notice slow down. But its only a few min. I really advice the above, because if the UPS is old, the battery might blown up, resulting in, giving you a headage in replacing the battery quickly. but thats my experiance with UPC battery replacements.. If the battery has expanded to much you even wont get them out. Know that, been there.. ;-) Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens > Stefan G. Weichinger via samba > Verzonden: woensdag 18 juli 2018 10:27 > Aan: samba > Onderwerp: [Samba] What happens if I turn the DC off? > > > I assume I know it ... but I think this is worth being discussed and > clarified. > > At a customer we have 1 samba DC and 1 samba DM = fileserver. > > The DC is supported by a small UPS and the battery in that UPS is > getting old and tells me to replace it. > > While it might be possible to swap the battery "online" I > prefer to shut > the supplied server(s) down and do it offline. > > That means turning the DC off. > > And now the question(s): will the PCs notice that? Is it > possible to use > network shares etc while the DC is offline for about 10 > minutes? Or will > the PCs hit problems right away? > > I understand that logins might fail, sure, but maybe the > authenticated > connections to the DM could be maintained by the DM itself > for a short > period of time? > > Sorry if I ask obvious things here or show my > misunderstanding ... but I > never tried that and wonder what happens. > > Sure, a 2nd DC would be much better, I know. > > And selecting a maintenance window for doing all this will > also be possible. > > Stefan > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > >
Am 2018-07-18 um 10:51 schrieb L.P.H. van Belle via samba:> > Yes, PC's wil notice it. > > I suggest. > Powerdown the DC, replug the power to outlet and boot the DC. > If the DC is only DC, then this should be done within a few min. > > Now switch the UPS Battery. Test the UPS. > > Users stay authenticated but yes, the will notice slow down. > But its only a few min. > > I really advice the above, because if the UPS is old, the battery might blown up, > resulting in, giving you a headage in replacing the battery quickly. > but thats my experiance with UPC battery replacements.. > If the battery has expanded to much you even wont get them out. > Know that, been there.. ;-)Yes, I had that as well, right ;-) thanks, Stefan
Am 2018-07-18 um 10:45 schrieb Rowland Penny via samba:> Have you ever heard of laptops ? you know those things that wander away > from the domain ;-)laptops? hm I'm gonna look that up on altavista asap.>> I understand that logins might fail, sure, but maybe the >> authenticated connections to the DM could be maintained by the DM >> itself for a short period of time? > > No, Windows clients should be okay, provided they have logged in at > least once recently, Unix domain members will require 'winbind offline > logon = yes' in smb.confSo I should/could add that setting on the file server before doing anything ... right now it is set to "no".>> Sorry if I ask obvious things here or show my misunderstanding ... >> but I never tried that and wonder what happens. >> >> Sure, a 2nd DC would be much better, I know. > > Oh definitely, but you can only work with the resources you have and > before anybody mentions VM's, these are only any good if they are on > different machines. If they are on the same machine and the machine > falls over, then you lose both of them.I know, yes, definitely.