Ingres : installer (2)

Ingres : installer (2) jpp

Installation Ingres suite. 
How many concurrent users do you want to support? [32] 
Répondre "Entrée", 32 pour des tests c'est déjà pas mal. L'initialisation proprement dite de la BDD commence alors par le LOG

The primary transaction log will now be created as an ordinary (buffered) 
system file.  For information on how to create a "raw", or unbuffered, 
transaction log, please refer to the Ingres Installation Guide, after 
completing this setup procedure. 

Creating a 1048576K byte transaction log file... 

0%          25%         50%         75%         100% 
||||||||||||||||||||||||||||||||||||

Cela dure quelques instants, le temps de formater 1Go sur le disque. 
Do you wish to associate date data type to refer to ingresdate ? (y/n) [y] 
Valider le "y". 
Do you need strict compliance to the ANSI/ISO standard? (y/n) [n] 
Valider le "n" cela déclenche l'installation proprement dite, les informations présentées ont été "raccourcies" :

Ingres/ingstart 
Checking host "com-ingres" for system resources required to run Ingres... 
Your system has sufficient resources to run Ingres. 
Starting your Ingres installation... 
Starting the Name Server... 
Allocating shared memory for Logging and Locking Systems... 
Starting the Recovery Server... 
..... 
  Creating DBMS System Catalogs . . . 
  Modifying DBMS System Catalogs . . . 
  Creating Database Database System Catalogs . . . 
  Modifying Database Database System Catalogs . . . 
  Creating Standard Catalog Interface . . . 
  Creating Front-end System Catalogs . . . 
...... 
This setup process can create and populate a demonstration database (demodb) 
which will be used by the Ingres demonstration applications. 
Do you want demodb to be created? (y/n) [y]

Répondre "y" et valider, nous disposerons ainsi d'une petite base de départ. 
..... 
la base "demo" s'installe 
...

 ... 
executing checkpoint to disk 
ending checkpoint to disk /opt/Ingres/ingres/ckp/default/demodb of 1 locations 
Shutting down the Ingres server... 
Ingres Intelligent DBMS setup complete. 
Refer to the Ingres Installation Guide for information about 
starting and using Ingres. 
Press RETURN to continue:

L'initialisation de la base est terminée on passe à la suite :

 Setting up Ingres Networking... 
..... 
If you do not need access to this Ingres server from other hosts, 
then you do not need to set up Ingres Networking. 
Do you want to continue this setup procedure? (y/n) [y]

Répondre "y" et valider

 Installation passwords offer the following advantages over user passwords: 
+ Remote users do not need login accounts on the server host. 
+ Installation passwords are independent of host login passwords. 
+ Installation passwords are not transmitted over the network in any 
  form, thus providing greater security than user passwords. 
+ User identity is always preserved. 
If you need more information about Ingres Networking authorization, 
please refer to the Ingres Connectivity Guide. 
Press RETURN to continue:

Comme d'habitude les conseils pour la suite, nous utiliserons un "Installation password". 
Do you want to create an installation password for this server? (y/n) 
Répondre "y" et valider. 
..... 
Enter installation password: 
On entre un beau mot de passe ... et on confirme, on le note pour ne pas l'oublier ! .

Installation password created.  The name server has been shut down. 
Ingres Networking has been successfully set up in this installation. 
You can now use the "ingstart" command to start your Ingres server. 
Refer to the Ingres Installation Guide for more information about 
starting and using Ingres. 
Press RETURN to continue:

En pressant "Return" on arrive sur la configuration "ODBC" : 
Enter the default ODBC configuration path [ /usr/local/etc ]: 
Valider sans remords 
The default ODBC configuration path is /usr/local/etc 
Is the path information correct? (y/n) [y] 
Répondre "y" et confirmer la réponse. 
The default ODBC configuration path is /usr/local/etc 
Is the path information correct? (y/n) [y] y 
Répondre "y" sans hésiter 

Is this always a read-only driver? (y/n) [n] 
Sur une machine de production répondre "y" sans hésiter, ici on laisse "n" et on confirme ce manquement à la sécurité, la réponse ne se fait pas attendre : 
Could not open from path /usr/local/etc. 
E_CL1904_SI_CANT_OPEN   SIfopen: Can't open file 
Cannot write to specified ODBC configuration path /usr/local/etc 
Writing instead to /opt/Ingres/ingres/files/odbcinst.ini. 
Successfully wrote ODBC configuration files 
An odbcinst.ini file has been created in the directory "/opt/Ingres/ingres/files". 
You may use the utility iiodbcadmn to create and manage 
ODBC data sources. 
See the Ingres Installation Guide for more information. 
Press RETURN to continue: 

C'était bien la peine ! On copiera ce fichier plus tard. 
Le setup de "Ingres Protocol Bridge..." se passe sans question --> Return. 
Le setup de "C2 Security Auditing" se passe sans encombres, il faut valider puis "Setting up Replicator" s'affiche, il faut là aussi valider et on enchaine sur :

Setting up the Ingres Data Access Server... 
This procedure will set up the following version of 
Ingres Data Access Server: 
        II 10.0.0 (a64.lnx/122)NPTL 
to run on local host: 
        com-ingres 
Do you want to continue this setup procedure? (y/n) [y] 
 


Répondre "y" et valider et on arrive sur la configuration data access server et de JDBC qui se passe sans autre question.

Executing Ingres JDBC driver properties generator utility... 
The JDBC driver properties file 'iijdbc.properties' was created in $II_SYSTEM/ingres/files directory 
Ingres Data Access Server has been successfully set up in this 
installation. Please adjust the startup count and check the listen address 
with the cbf utility. 
Press RETURN to continue:

On presse, encore, "Entrée" pour passer à la configuration (automatique) de "Ingres Star" à suivre de l'appui sur "Entrée".

INGBUILD  - Custom Install from Distribution Medium 
    Distribution: /var/tmp/INSTALL/ingres-10.0.0-122-NPTL-gpl-linux-ingbuild-x 
   +------------------------------------------------------+-----+----------+ 
   |               Custom Component Options               | Size| Install? | 
   |======================================================+=====+==========| 
   |Embedded SQL Precompilers                             |  23M|Ready     | 
   |Ingres 32bit support                                  |  42M|Ready     | 
   |INGRES 6.x Compatible Message Files                   |   4M|Ready     | 
   |Ingres Intelligent DBMS                               | 104M|Ready     | 
   |Ingres DTP for Tuxedo                                 |  56M|Ready     | 
   |Ingres Networking                                     |  66M|Ready     | 
   |Ingres Object Management                              | 879K|Ready     | 
   |Ingres ODBC Driver                                    |  65M|Ready     | 
   |Ingres Protocol Bridge                                | 947K|Ready     | 
   |Ingres C2 Security Auditing                           |  25K|Ready     | 
   |Ingres Replicator                                     |   2M|Ready     | 
   +------------------------------------------------------+-----+----------+ 
    II_SYSTEM  : /opt/Ingres  
 +----------------------------------------------------------------------------+ 
 | All installed products are now available for use.                          | 
 |                                                        [PRESS RETURN]      | 
 +----------------------------------------------------------------------------+


Le dernier appui sur "Entrée" avant l'appui sur "F3" pour sortir de l'installeur. 
Ensuite le démarrage normal du serveur Ingres est déclenché et se termine par : 

Starting the Visual DBA Remote Command Server... 
Ingres installation successfully started. 
Building the password validation program 'ingvalidpw'. 
Executable successfully installed. 

L'installation est terminée le répertoire /opt/Ingres/ingres contient : 
drwxrwxrwx  2 ingres ingres 4096 mai  3 16:57 abf 
drwxr-xr-x  2 ingres ingres 4096 mai  3 17:12 bin 
drwx------  3 ingres ingres 4096 mai  3 16:58 ckp 
drwxr-xr-x  5 ingres ingres 4096 avr 21 19:49 demo 
drwx------  3 ingres ingres 4096 mai  3 16:59 dmp 
drwxr-xr-x 16 ingres ingres 4096 mai  3 17:12 files 
drwxrwxrwx  3 ingres ingres 4096 avr 21 19:49 install 
drwx------  3 ingres ingres 4096 mai  3 16:59 jnl 
drwxr-xr-x  3 ingres ingres 4096 mai  3 16:57 lib 
drwxrwxrwx  3 ingres ingres 4096 mai  3 17:10 rep 
drwxr-xr-x 10 ingres ingres 4096 avr 21 19:49 sig 
drwxrwxr-x  3 ingres ingres 4096 avr 21 19:48 utility 
drwxr-xr-x  2 ingres ingres 4096 mai  3 17:04 vdba 
-rw-r--r--  1 ingres ingres   28 avr 21 19:28 version.rel 
Après cette installation épuisante un peu de repos avant de passer aux ajustements nécessaires à une utilisation "normale" de Ingres.