forked from ungleich-public/cdist
		
	propose solution for: know what's running on other hosts-problem
Signed-off-by: Nico Schottelius <nico@yoda.schottelius.org>
This commit is contained in:
		
					parent
					
						
							
								7d00bd8b12
							
						
					
				
			
			
				commit
				
					
						c103e5ab18
					
				
			
		
					 1 changed files with 18 additions and 0 deletions
				
			
		
							
								
								
									
										18
									
								
								doc/internal/knowledge-about-other-hosts
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								doc/internal/knowledge-about-other-hosts
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,18 @@
 | 
			
		|||
Assume you want to configure stuff one host ("monitor node"),
 | 
			
		||||
depending on the configuration of other hosts ("cluster nodes").
 | 
			
		||||
 | 
			
		||||
For instance, the monitor host would like to know,
 | 
			
		||||
which hosts are configured with the provider
 | 
			
		||||
"apache" and option --start true.
 | 
			
		||||
 | 
			
		||||
This requires the monitor node to be able to
 | 
			
		||||
query all other configured nodes. It can't
 | 
			
		||||
ask for all hosts, because cdist does not
 | 
			
		||||
know which hosts are configured or may exist.
 | 
			
		||||
 | 
			
		||||
Example implementation
 | 
			
		||||
 | 
			
		||||
If cdist keeps ("caches") the configuration of every
 | 
			
		||||
node it configures, each new node can query the
 | 
			
		||||
cache for existing nodes that acquired the given
 | 
			
		||||
configuration.
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue