Installatiegids voor IBM Informix

Systeemvereisten

Ondersteunde platformen:

  • Linux (Red Hat, Ubuntu, SUSE, enz.)
  • Windows Server
  • AIX
  • HP-UX
  • Solaris
  • macOS
  • ARM (voor edge-apparaten)

Minimale vereisten:

  • RAM: minimaal 1GB (8GB aanbevolen)
  • Schijf: minimaal 2GB voor de installatie
  • CPU: compatibel met de architecturen x86, PowerPC en ARM

Installatiestappen voor Linux

Stap 1: Het installatieprogramma downloaden

Bezoek IBM Passport Advantage of IBM Fix Central en download het juiste Informix-installatiepakket.

Stap 2: Het systeem voorbereiden

# Create informix user and group
groupadd informix
useradd -g informix -d /home/informix informix

# Create installation directory
mkdir -p /opt/IBM/informix
chown informix:informix /opt/IBM/informix

Stap 3: Het installatieprogramma uitpakken

tar -xf informix.tar
cd informix

Stap 4: De installatie uitvoeren

# As root or with sudo
./install

Gebruik voor nieuwere versies (14.10+) de IBM Installation Manager of:

chmod +x ids_install
./ids_install

Volg de aanwijzingen:

  • Accepteer de licentieovereenkomst
  • Kies het installatiepad (/opt/IBM/informix)
  • Selecteer de te installeren componenten

Stap 5: Omgevingsvariabelen configureren

Voeg toe aan ~/.bashrc of /etc/profile:

export INFORMIXDIR=/opt/IBM/informix
export PATH=$INFORMIXDIR/bin:$PATH
export ONCONFIG=onconfig
export INFORMIXSERVER=your_server_name

Pas de wijzigingen toe:

source ~/.bashrc

Stap 6: Het bestand sqlhosts configureren

cd $INFORMIXDIR/etc
cp sqlhosts.std sqlhosts
vi sqlhosts

Voeg uw serveritem toe:

ol_informix onsoctcp localhost ol_informix

Stap 7: De databaseserver initialiseren

# Initialize Informix with default settings
oninit -ivy

Stap 8: De installatie verifiëren

# Check server status
onstat -

# Verify initialization
ls -la $INFORMIXDIR/storage/

Installatiestappen voor Windows

Stap 1: Het Windows-installatieprogramma downloaden

Download via IBM Passport Advantage.

Stap 2: Het installatieprogramma uitvoeren

  • Dubbelklik op het .exe-bestand
  • Volg de installatiewizard

Stap 3: Configuratie

  • Gebruik de Informix Configuration Wizard
  • Stel de Windows-service in

Stap 4: Omgeving instellen

Stel INFORMIXDIR in bij Systeemeigenschappen in:

  • Klik met de rechtermuisknop op Mijn computer → Eigenschappen
  • Geavanceerde systeeminstellingen → Omgevingsvariabelen
  • Voeg INFORMIXDIR en INFORMIXSERVER toe

Verificatie na de installatie

# Check server status
onstat -

# Start the server (if not already running)
oninit

# Stop the server
onmode -ky

# Connect to the database
dbaccess

Veelvoorkomende taken na de installatie

Extra opslagruimtes aanmaken

onspaces -c -d datadbs -p /path/to/data_chunk -s 500000

Logische logs configureren

onparams -a -d datadbs -s 10000

Problemen oplossen

De server start niet

  • Controleer of de omgevingsvariabelen correct zijn ingesteld
  • Controleer de bestanden onconfig en sqlhosts
  • Bekijk de foutlogboeken in $INFORMIXDIR/tmp/
  • Zorg voor voldoende schijfruimte en de juiste rechten

Verbindingsproblemen

  • Controleer de firewallinstellingen (standaardpoort 9088)
  • Controleer of INFORMIXSERVER overeenkomt met de sqlhosts-configuratie
  • Zorg ervoor dat sqlhosts de juiste netwerkinstellingen bevat