StreamBase Server Configuration Files Outside the Application Archive
                    
                
                
                    
                        book
                        
Article ID: KB0079640
                        
                    
                    
                        calendar_today
                        
Updated On: 
                    
                 
                
                
                
                    
                
                    
                    
                    
                    
                        
                            
Description
                        
                        
                            What StreamBase Server deployment configuration files do not get included in the application archive ZIP-file but are maintained separately?
                         
                     
                    
                    
                    
                    
                        
                            
                                
Resolution
                            
                            
                                To install a node for a cluster you need the application archive ZIP-file, a Node configuration (HOCON type = "com.tibco.ep.dtm.configuration.node") and usually also a substitutions file, referenced as so:
epadmin install node nodename=NodeA.BizCluster nodedirectory=/home/bizuser/nodes application=./Biz_App-0.0.1-SNAPSHOT-ep-application.zip nodedeploy=./biznode.conf substitutionFile=./bizsubs.txt
Typically the node management commands are scripted, and the script is also maintained separately.
The Application definition file (HOCON type = "com.tibco.ep.dtm.configuration.application") defines the dataDistributionPolicies which are then referenced by the Node configuration and are important for the functioning of your HA deployment. The dataDistributionPolicies must be consistent for the entire cluster, so are defined within the configuration included in the application archive, but the node configuration may differ for each node and therefore is maintained separately from the application archive.
For version control, these external configuration and script files may be placed in any folder of the StreamBase fragment or application project except /src/main/configurations or /src/main/resources (so they are not automatically used or referenced).
                            
                         
                        
                    
                        
                            
                                
Issue/Introduction
                            
                            
                                The node configuration, substitutions, and deployment scripts are separate from the application archive.
                            
                         
                        
                    
                    
                    
                
                    
                        
                            Was this article helpful?
                        
                        
                            
                                thumb_up
                                Yes
                            
                            
                                thumb_down
                                No