Service layering I n t e g r a t i n g S a mb a w i t h e x i s t i n g D N S i n f r a s t r u c t u r e S a mb a X P 2 0 1 8 J u n e 6 t h / 7 t h 2 0 1 8 P i e t e r H o l l a n t s
Pieter who? F r a n k f u r t , G e r ma n y - b a s e d d e v e l o p e r ( P y t h o n , C , … ) b u t a l s o . . . ➔ 3 y I T s u p p o r t i n N e t w a r e / Wi n 9 5 t i me s ➔ 9 y ( S e n i o r ) I n t e r n a t S U S E C o n s u l t i n g ➔ 4 y L i n u x S y s t e ms E n g i n e e r a t G e r ma n A i r T r a ffjc C o n t r o l ( a u t o ma t e d i n s t a l l a t i o n s o f h i g h a v a i l a b i l i t y - s y s t e ms , h a r d w a r e s t a n d a r d i z a t i o n ) . . . a n d f r e e l a n c i n g s i n c e o v e r 1 5 y ( d e v & a d mi n )
I love Samba and I hate Samba . . . f o r i t i s l o v e l y i f i t w o r k s b u t a n i g h t ma r e t o d e b u g . ➔ U s i n g S U S E L i n u x s i n c e 5 . 0 , t h u s S a mb a s i n c e 2 . 0 . 5 ( ? ) ➔ N o t a S a mb a d e v e l o p e r ➔ S u p p o r t e d s ma l l c o mp a n i e s w i t h Wi n d o w s c l i e n t s , N T 4 d o ma i n w i t h s i n g l e P D C , s h a r e s , n e t l o g o n s c r i p t s , cstan.io p r i n t e r d r i v e r s , O p e n L D A P & R F C 2 3 0 7 b i s f u n ➔ U n f o r t u n a t e l y n o S a mb a A D , c u s t o me r s w e n t Wi n d o w s / O u t l o o k r o u t e
Samba community & me ➔ A l w a y s l i k e d c r o s s - p l a t t f o r m a p p r o a c h e v e n i f n o t e x a c t l y s e x y a mo n g p u r i s t i c L i n u x b e a r d s ➔ N o s t e a d y me mb e r o f a n y c o mmu n i t y d u e t o c o n t i n o u s l y c h a n g i n g i n t e r e s t s & p r o f a n e r e q u i r e me n t s s u c h a s e a r n i n g mo n e y ➔ L o n g b e e n e y e i n g w i t h s a mb a X P ➔ T a k i n g p a r t s i n c e 2 0 1 4 t o g e t c l o s e r t o c o mmu n i t y ➔ L a c k o f u s e r t a l k s , s t r o n g f o c u s o n d e v t o p i c s ➔ T h i s y e a r g o t mo t i v a t e d t o p u t my mo n e y w h e r e my mo u t h i s a n d s u b mi t t e d t a l k
SOHO?
London SOHO? Wikimedia Commons / panoramio.com / joinai; CC
SOHO! ➔ We l l - a g e d t e r m f o r S m a l l O ffjc e / H o m e O ffjc e w i t h 1 t o 1 0 e mp l o y e e s ➔ T y p i c a l e v o l u t i o n : S i n g l e P C → P C s → S e r v e r → N A S → c l o u d s e r v i c e s ? ➔ N o I T d e p a r t me n t ➔ N o ( f u l l - t i me ) a d mi n i s t r a t o r ➔ R e s t r i c t i o n s o n t i me a n d b u d g e t ➔ B a c k u p s o f t e n n e g l e c t e d ➔ R e d u n d a n c y u n r e a l i s t i c Wikimedia Commons / Stubacca; CC-BY-SA ➔ “ C o s t o f f a i l u r e < c o s t o f mi t i g a t i o n ”
I agree to disagree... ➔ G o t L A N s w i t h c e n t r a l d e v i c e ( s e r v e r / N A S ) a s c e n t r a l d a t a s t o r e f a c i l i t a t i n g b a c k u p ➔ I mp r o v e d r e l i a b i l i t y t h a n k s t o ➔ d i s t r i b u t i o n o f f u n c t i o n a l i t y o v e r mu l t i p l e d e v i c e s ➔ a d v e n t o f fm a s h - b a s e d l o w v o l t a g e d e v i c e s s u c h a s r o u t e r s , r e d u c i n g r i s k o f me c h a n i c a l f a i l u r e s ( n o h a r d d i s k s , n o f a n s ) ➔ P r i c e d r o p f o r ma n a g e a b l e s w i t c h e s , U P S e s … A f f o r d a b l e r e l i a b i l i t y n o w a t o p i c i n S O H O a s w e l l .
Service layering model (1/2) I l i k e t o m o d e l t h e n o l o n g e r s o t r i v i a l S O H O w o r l d a n d d i s t i n g u i s h b e t w e e n ➔ b a s i c n e t w o r k s e r v i c e s ( n e c e s s a r y u t i l i t i e s f o r ) ➔ p r o d u c t i v e s e r v i c e s ( p r o v i d e a c t u a l c u s t o me r v a l u e ) . B a s i c n e t w o r k s e r v i c e s a r e i n d e p e n d e n t = P r o d u c t i v e s e r v i c e s d o n ’ t i n t e r f e r e w i t h t h e m. “ I f e v e r y t h i n g a b o v e c r a s h e s , I s t i l l w a n t t o b e a b l e t o s u r f t h e We b f o r t r o u b l e s h o o t i n g p u r p o s e s . ”
Service layering model (2/2) ➔ I n S O H O D N S & D H C P r e q u i r e me n t s a r e e a s y ➔ C a n b e s e r v e d b y d n s ma s q r u n n i n g o n a n e mb e d d e d O S s u c h a s O p e n Wr t o n a fm a s h - b a s e d r o u t e r . Wh e r e w o u l d w e p l a c e S a mb a ?
Samba NT4-style DC ➔ E a s y : r u n n mb d , s mb d , w i n b i n d , d o n e . ➔ N e t B I O S / WI N S r u n s p r e t t y i n d e p e n d e n t f r o m D N S . ➔ N o i n t e r f e r e n c e w i t h b a s i c n e t w o r k s e r v i c e s
Samba AD T h r e e a d d i t i o n a l s e r v i c e s w i t h t i g h t i n t e r d e p e n d e n c i e s a n d p e c u l i a r i t i e s o f t h e i r o w n : ➔ K e r b e r o s ➔ L D A P ➔ D N S
AD DNS peculiarities (1/2) S p e c i a l r e q u i r e me n t s f o r D N S s e r v e r s : ➔ d y n a mi c D N S u p d a t e s ➔ s p e c i a l S R V / A / C N A M E r e c o r d s f o r l o c a t i n g s e r v i c e s D N S s e r v e r s r u n n i n g o n e mb e d d e d L i n u x n o t r e a l l y w e l l - s u i t e d : K a i B l i n l o o k e d a t d n s ma s q , b u t d e a d e n d . 1 C o u l d c r e a t e r e q u i r e d r e c o r d s ma n u a l l y , b u t t o o h a c k i s h 2 a n d u n s u p p o r t e d . A n d s t i l l n o d y n a mi c D N S u p d a t e s . 1 : h t t p : / / l i s t s . t h e k e l l e y s . o r g . u k / p i p e r ma i l / d n s ma s q - d i s c u s s / 2 0 1 0 q 1 / 0 0 3 5 5 4 . h t ml 2 : h t t p : / / e d o c e o . c o m/ h o w t o / s a mb a 4
AD DNS peculiarities (2/2) Wi t h d n s ma s q o u t o f t h e g a me t w o o p t i o n s : ➔ S a mb a - i n t e r n a l D N S s e r v e r w r i t t e n b y K a i B l i n ( f o r s ma l l e r s e t u p s , l i mi t e d f u n c t i o n a l i t y : n o c a c h i n g , n o r e c u r s i v e q u e r i e s , n o x f e r s . . . ) ➔ B i n d 9 w i t h D L Z D N S B a c k e n d ( c o mp l e x c o n fj g u r a t i o n , f o r l a r g e r s e t u p s ) P r o b l e m: t h e y ( s t i l l ) d o n ’ t r e a l l y r u n o n e mb e d d e d L i n u x w e l l , n e i t h e r S a mb a n o r B i n d .
Could use this... ➔ S D c a r d s n o t r e a l l y r e l i a b l e ➔ P r e f e r e mb e d d e d d e v i c e s w i t h fm a s h ➔ O r r e a l h a r d w a r e . . .
The problem ➔ S e r v e r w i t h S a mb a / B i n d 9 b e c o me s p r o d u c t i v e s e r v i c e b u t w e s a i d D N S i s b a s i c s e r v i c e – mo d e l v i o l a t i o n ! ➔ ( S i n g l e ) P o i n t o f F a i l u r e : S a mb a d o w n , a l l D N S d o w n
Recommend
More recommend