Use these steps to create data sources on a Windows platform. 
                  		
               
 
               	 
              
            	 
            
               -  
                  		  Open the ODBC Data Source Administrator. 
                     		   
                  		    
                  			 
                  Tip: On most newer Windows versions, click the Start Menu button, type 
                     				ODBC, and then select the appropriate desktop app. 
                     			 
                   
-  
                  		  On the 
                     			 ODBC Data Source Administrator dialog box, select the 
                     			 System DSN tab. 
                     		   
                  		
               
-  
                  		  Add the mandatory data sources: 
                     		   
                  		    
                  			 
                  Note: In order to create or query databases, you must have an active data source connection to the 
                     				postgres database - one of the default databases created with any PostgreSQL server. If this connection already exists, you can skip
                     this step: 
                     			 
                    
                     			 
                     -  
                        				Click 
                           				  Add. 
                           				 
                        			 
                     
-  
                        				Select the appropriate ODBC driver for your database (for example, 
                           				  PostgreSQL ODBC Driver (ANSI) is a common one for PostgreSQL), and click 
                           				  Finish. 
                           				 
                        				  
                        				  
                        Note: If you are planning to run both 32-bit and 64-bit applications, you are required to install an ODBC driver for each bitism.
                           
                           				  
                         The PostgreSQL setup dialog box appears. 
                           				  
                         
-  
                        				In the 
                           				  Data Source and 
                           				  Description fields, enter a name and description for the data source. 
                           				 
                        				  
                        				  
                        Tip: Make a note of the name, as you will need it later when configuring the database configuration file. 
                           				  
                         
-  
                        				In the 
                           				  Database field, type 
                           				  postgres. 
                           				 
                        			 
                     
-  
                        				In the 
                           				  Server and 
                           				  Port fields, enter the server name and port. 
                           				 
                        			 
                     
-  
                        				In the 
                           				  User Name and 
                           				  Password fields, enter a set of valid user credentials. 
                           				 
                        			 
                     
- 
                        				Click 
                           				  Datasource, and configure the 
                           				  Advanced Options:
                           				
                        				 
                        				  
                        
                           					 
                           - Click 
                              						Page 2.
                              					 
                           
- In the 
                              						idle time and 
                              						interval fields, enter a value (in seconds) in which to maintain the connection when it is idle - you may need to experiment with
                              this value, depending on the database workload.
                              					 
                           
- Click 
                              						OK.
                              					 
                           
 
-  
                        				Click 
                           				  Test. 
                           				 
                        				  
                        				  
                        The connection should be successful; if not, it indicates that you have a problem with your PostgreSQL installation, and should
                           consult the vendor instructions to troubleshoot before proceeding any further. 
                           				  
                         
-  
                        				Click 
                           				  Save. 
                           				 
                        			 
                     
 
-  
                  		  Add a new data source for a region database: 
                     		   
                  		  
                   
                     			 
                     -  
                        				Click 
                           				  Add. 
                           				 
                        			 
                     
-  
                        				Select the appropriate ODBC driver for your database (for example, 
                           				  PostgreSQL ODBC Driver (ANSI) is a common one for PostgreSQL), and click 
                           				  Finish. 
                           				 
                        				  
                        				  
                        Note: The bitism of your driver must match the bitism of the application that will use it. 
                           				  
                         The PostgreSQL setup dialog box appears. 
                           				  
                         
-  
                        				In the 
                           				  Data Source and 
                           				  Description fields, enter a name and description for the data source. 
                           				 
                        				  
                        				  
                        Tip: Make a note of the name, as you will need it later when configuring the database configuration file. 
                           				  
                         
-  
                        				In the 
                           				  Database field, using the datastore-specific notation, enter a database name: 
                           				 
                        				  
                        				  MicroFocus$CAS$Region$<region-name> where 
                           					 <region-name> is the name of the enterprise server region whose files are to be stored in the database. 
                           				  
                         
-  
                        				In the 
                           				  Server and 
                           				  Port fields, enter the server name and port. 
                           				 
                        			 
                     
-  
                        				In the 
                           				  User Name and 
                           				  Password fields, enter a set of valid user credentials. 
                           				 
                        			 
                     
-  
                        				Click 
                           				  Datasource, and configure the 
                           				  Advanced Options: 
                           				 
                        				  
                        				  
                         
                           					 
                           - Click 
                              						Page 2. 
                              					 
                           
- In the 
                              						idle time and 
                              						interval fields, enter a value (in seconds) in which to maintain the connection when it is idle - you may need to experiment with
                              this value, depending on the database workload. 
                              					 
                           
- Click 
                              						OK. 
                              					 
                           
 The database has yet to be created, and so do not click 
                           					 Test. 
                           				  
                         
-  
                        				Click 
                           				  Save. 
                           				 
                        				 The ODBC Data Source Administrator appears again. 
                        				 
                        			 
                     
-  
                        				Enter a name and description for the data source, and the name of the server on which the database will reside. 
                           				 
                        			 
                     
-  
                        				Click 
                           				  OK. 
                           				 
                        				  
                        				  
                        The 
                           					 ODBC Data Source Administrator dialog box appears again. 
                           				  
                         
 
-  
                  		  Add a new data source for a cross-region database: 
                     		   
                  		  
                   
                     			 
                     -  
                        				Click 
                           				  Add. 
                           				 
                        			 
                     
-  
                        				Select the appropriate ODBC driver for your database (for example, 
                           				  PostgreSQL ODBC Driver (ANSI) is a common one for PostgreSQL), and click 
                           				  Finish. 
                           				 
                        				  
                        				  
                        Note: The bitism of your driver must match the bitism of the application that will use it. 
                           				  
                         The PostgreSQL setup dialog box appears. 
                           				  
                         
-  
                        				In the 
                           				  Data Source and 
                           				  Description fields, enter a name and description for the data source. 
                           				 
                        				  
                        				  
                        Tip: Make a note of the name, as you will need it later when configuring the database configuration file. 
                           				  
                         
-  
                        				In the 
                           				  Database field, using the datastore-specific notation, enter a database name: 
                           				 
                        				  
                        				  MicroFocus$CAS$CrossRegion 
-  
                        				In the 
                           				  Server and 
                           				  Port fields, enter the server name and port. 
                           				 
                        			 
                     
-  
                        				In the 
                           				  User Name and 
                           				  Password fields, enter a set of valid user credentials. 
                           				 
                        			 
                     
-  
                        				Click 
                           				  Datasource, and configure the 
                           				  Advanced Options: 
                           				 
                        				  
                        				  
                         
                           					 
                           - Click 
                              						Page 2. 
                              					 
                           
- In the 
                              						idle time and 
                              						interval fields, enter a value (in seconds) in which to maintain the connection when it is idle - you may need to experiment with
                              this value, depending on the database workload. 
                              					 
                           
- Click 
                              						OK. 
                              					 
                           
 The database has yet to be created, and so do not click 
                           					 Test. 
                           				  
                         
-  
                        				Click 
                           				  Save. 
                           				 
                        				 The ODBC Data Source Administrator appears again. 
                        				 
                        			 
                     
 
-  
                  		  Click 
                     			 OK. 
                     		   
                  		    
                  			 
                  The data sources for a region and a cross-region database are configured.