Compartilhando conhecimento com o mundo

Com tecnologia do Blogger.

Pesquisa

Download

Blogger Tricks

Blogger Themes

Visitas

Assuntos

11/22/2013

Upgrade do Informix


Esta versão esta rodando no meu micro (Wmware) como faz um bom tempo que não uso ela vou fazer o upgrade, depois do upgrade removi do meu micro esta imagem da VM.

A versão antiga
IBM Informix Dynamic Server Version 11.70.UC4DE
Vai ser atualizado para a versão
Informix Ultimate Edition 11.70.UC5
Detalhes do banco
root@informixva[demo_on]:/home/informix# onstat -g dis
shared memory not initialized for INFORMIXSERVER 'demo_on'
There are 1 servers found
Server        : demo_on
Server Number : 0
Server Type   : IDS
Server Status : Down
Server Version: IBM Informix Dynamic Server Version 11.70.UC4DE
Shared Memory : 0x44000000
INFORMIXDIR   : /opt/IBM/informix
ONCONFIG      : /opt/IBM/informix/etc/onconfig.demo_on
SQLHOSTS      : /data/IBM/informix/etc/sqlhosts.demos
Host          : informixva
Tirando o banco, renomeando a partição antiga dos binarios do informix
informix@informixva[demo_on]:~$ onmode -yulck
informix@informixva[demo_on]:~$ onstat -
shared memory not initialized for INFORMIXSERVER 'demo_on'
informix@informixva[demo_on]:~$
informix@informixva[demo_on]:~$ su root
root@informixva[demo_on]:/home/informix# cd /opt/IBM/informix
root@informixva[demo_on]:/opt/IBM/informix# cd ..
root@informixva[demo_on]:/opt/IBM# ls
AE  docs  DS2.2  informix  InstallationManager  OpenAdmin  SDPShared
root@informixva[demo_on]:/opt/IBM# mv /opt/IBM/informix /opt/IBM/informix_antigo
root@informixva[demo_on]:/opt/IBM#
Criando o link simbolico, descompactando e iniciando a instalação
root@informixva[demo_on]:/opt/IBM# mkdir informix_11.70.UC5
root@informixva[demo_on]:/opt/IBM# chown informix:informix informix_11.70.UC5
root@informixva[demo_on]:/opt/IBM# ln -s informix_11.70.UC5 informix
root@informixva[demo_on]:/opt/IBM# chown informix:informix informix
root@informixva[demo_on]:/opt/IBM# cd informix
root@informixva[demo_on]:/opt/IBM/informix# cp /home/informix/ULTIMATE_ED_11.70.UC5_LINUX_X86.tar .
root@informixva[demo_on]:/opt/IBM/informix#
root@informixva[demo_on]:/opt/IBM/informix# tar -xvf ULTIMATE_ED_11.70.UC5_LINUX_X86.tar
root@informixva[demo_on]:/opt/IBM/informix# rm ULTIMATE_ED_11.70.UC5_LINUX_X86.tar
root@informixva[demo_on]:/opt/IBM/informix#./ids_install
Tela abaixo - Digitei Enter (para continuar a instalação)
===============================================================================
Getting started with IBM Informix Software Bundle
-------------------------------------------------

InstallAnywhere will guide you through the installation of IBM Informix
Software Bundle.

Copyright IBM Corporation 1996, 2012. All rights reserved.

1. Release Notes
The Release Notes can be found in
/opt/IBM/informix_11.70.UC5/SERVER/doc/ids_unix_relnotes_11.70.html

2. Installation Guide
Please view the Installation / Quick Beginnings Guide at
/opt/IBM/informix_11.70.UC5/SERVER/doc/ids_unix_installg_11.70.pdf

3. Launch Information Center
Access the IDS 11.70 Information Center at
http://publib.boulder.ibm.com/infocenter/idshelp/v117/index.jsp

To Begin Installation,
Respond to each prompt to proceed to the next step in the installation.
If you want to change something on a previous step, type 'back'.

You may cancel this installation at any time by typing 'quit'.

PRESS  TO CONTINUE:
Tela abaixo - Digitei 1 (aceito os termos)
International Program License Agreement
    
    Part 1 - General Terms
    
    BY DOWNLOADING, INSTALLING, COPYING, ACCESSING, CLICKING ON AN
    "ACCEPT" BUTTON, OR OTHERWISE USING THE PROGRAM, LICENSEE AGREES TO
    THE TERMS OF THIS AGREEMENT. IF YOU ARE ACCEPTING THESE TERMS ON
    BEHALF OF LICENSEE, YOU REPRESENT AND WARRANT THAT YOU HAVE FULL
    AUTHORITY TO BIND LICENSEE TO THESE TERMS. IF YOU DO NOT AGREE TO
    THESE TERMS,
    
    - DO NOT DOWNLOAD, INSTALL, COPY, ACCESS, CLICK ON AN "ACCEPT" BUTTON,
    OR USE THE PROGRAM; AND
    
    - PROMPTLY RETURN THE UNUSED MEDIA, DOCUMENTATION, AND PROOF OF
    ENTITLEMENT TO THE PARTY FROM WHOM IT WAS OBTAINED FOR A REFUND OF THE
    AMOUNT PAID. IF THE PROGRAM WAS DOWNLOADED, DESTROY ALL COPIES OF THE
    PROGRAM.
    

Press Enter to continue viewing the license agreement, or enter "1" to
   accept the agreement, "2" to decline it, "3" to print it, or "99" to go back
   to the previous screen.:
Tela abaixo - Digitei 1 (instalando)
Installation Goals
------------------

What do you want to accomplish?

  ->1- Install products and features
    2- Extract the product files (-DLEGACY option)
    3- Create an RPM image for redistribution

ENTER THE NUMBER FOR YOUR CHOICE, OR PRESS  TO ACCEPT THE DEFAULT::
Tela abaixo - (o endereço esta correto) - Enter
Installation Location
---------------------

Choose location for software installation

  Default Install Folder: /opt/IBM/informix

ENTER AN ABSOLUTE PATH, OR PRESS  TO ACCEPT THE DEFAULT
      :
Tela abaixo - (Não quero criar uma instancia) 2 Enter
Installation Type
-----------------

Select the installation type.

Typical: Install the database server with all features and a database server that
is configured with default values. Includes:
** Client Software Development Kit (CSDK)
** Java Database Connectivity (JDBC)
Minimum disk space required: 700-800MB

Custom: Install the database server with specific features and software that you need.
Optionally install a configured database server instance.
Minimum disk space required: 75 MB (without a server instance)

  ->1- Typical
    2- Custom

ENTER THE NUMBER FOR YOUR CHOICE, OR PRESS  TO ACCEPT THE DEFAULT::
Tela abaixo - Digitei 1 Enter
International License Agreement for Non-Warranted Programs
    
    Part 1 - General Terms
    
    BY DOWNLOADING, INSTALLING, COPYING, ACCESSING, CLICKING ON AN
    "ACCEPT" BUTTON, OR OTHERWISE USING THE PROGRAM, LICENSEE AGREES TO
    THE TERMS OF THIS AGREEMENT. IF YOU ARE ACCEPTING THESE TERMS ON
    BEHALF OF LICENSEE, YOU REPRESENT AND WARRANT THAT YOU HAVE FULL
    AUTHORITY TO BIND LICENSEE TO THESE TERMS. IF YOU DO NOT AGREE TO
    THESE TERMS,
    
    * DO NOT DOWNLOAD, INSTALL, COPY, ACCESS, CLICK ON AN "ACCEPT" BUTTON,
    OR USE THE PROGRAM; AND
    
    * PROMPTLY RETURN THE UNUSED MEDIA AND DOCUMENTATION TO THE PARTY FROM
    WHOM IT WAS OBTAINED FOR A REFUND OF THE AMOUNT PAID. IF THE PROGRAM
    WAS DOWNLOADED, DESTROY ALL COPIES OF THE PROGRAM.
    
    1. Definitions

Press Enter to continue viewing the license agreement, or enter "1" to
   accept the agreement, "2" to decline it, "3" to print it, or "99" to go back
   to the previous screen.:
Tela abaixo - Digitei Enter
Installation Summary
--------------------

Please review the following before continuing:

Product Name:
    IBM Informix Software Bundle

Install Folder:
    /opt/IBM/informix

Product Features:
    IBM Informix database server,
    Base Server,
    Extensions and tools,
    J/Foundation,
    Database extensions,
    Conversion and reversion support,
    XML publishing,
    Demonstration database scripts,
    Enterprise Replication,
    Data loading utilities,
    onunload and onload utilities,
    dbload utility,
    High-Performance Loader,
    Backup and Restore,
    archecker utility,
    ON-Bar utility,
    Informix Storage Manager,
    Informix interface to Tivoli Storage Manager,
    Administrative utilities,
    Performance monitoring utilities,
    Miscellaneous monitoring utilities,
    Auditing utilities,
    Database import and export utilities,
    IBM Informix Client SDK,
    IBM Informix Object Interface for C++,
    IBM Informix Object Interface for C++ demos,
    IBM Informix ESQL/C,
    7.2 application compatibility module,
    IBM Informix ESQL/C demos,
    IBM Informix LIBDMI for client applications,
    IBM Informix ODBC Driver,
    IBM Informix ODBC Driver demos,
    Global Language Support (GLS),
    West European and Americas,
    East European and Slavic,
    Japanese,
    Korean,
    Chinese,
    Thai,
    IBM Informix JDBC

Disk Space Information (for Installation Target):
    Required:  496,289,042 bytes
    Available: 2,099,097,600 bytes

PRESS  TO CONTINUE:
Tela abaixo - (O PATH esta correto) - Enter

Ready To Install
----------------

InstallAnywhere is now ready to install IBM Informix Software Bundle onto your
system at the following location:

   /opt/IBM/informix

PRESS  TO INSTALL:
Tela abaixo - Instando - Aguarde
Installing...
-------------

[==================|==================|==================|==================]
[------------------|------------------|------------------|------------------]
Tela abaixo - Instalacao Completa - Enter
Installation Complete
---------------------

Congratulations! IBM Informix Software Bundle installation is complete.

Product install status:
IBM Informix 11.70: Successful
IBM Informix Client-SDK: Successful
IBM Informix JDBC Driver: Successful
IBM OpenAdmin Tool for Informix: Successful


For more information about using Informix products, see the IBM Informix 11.70
Information Center at
http://publib.boulder.ibm.com/infocenter/idshelp/v117/index.jsp.

PRESS  TO EXIT THE INSTALLER:
Vamos copiar o arquivo de configuracao (onconfig.demo_on) e o sqlhosts.demos da pasta antiga do Informix
root@informixva[demo_on]:/opt/IBM# cd informix_antigo/
root@informixva[demo_on]:/opt/IBM/informix_antigo# cd etc
root@informixva[demo_on]:/opt/IBM/informix_antigo/etc# cp onconfig.demo_on /opt/IBM/informix/etc
root@informixva[demo_on]:/opt/IBM/informix_antigo/etc# cp sqlhosts.demos /opt/IBM/informix/etc
root@informixva[demo_on]:/opt/IBM/informix_antigo/etc# chown informix:informix /opt/IBM/informix/etc/onconfig.demo_on
Colocando o banco no ar - entrou no ar ok - sem mensagens de erro
informix@informixva[demo_on]:~$ oninit -v
Reading configuration file '/opt/IBM/informix/etc/onconfig.demo_on'...succeeded
Creating /INFORMIXTMP/.infxdirs...succeeded
Checking config parameters...succeeded
Allocating and attaching to shared memory...succeeded
Creating resident pool 10598 kbytes...succeeded
Allocating 100016 kbytes for buffer pool of 2K page size...succeeded
Creating infos file "/opt/IBM/informix/etc/.infos.demo_on"...succeeded
Linking conf file "/opt/IBM/informix/etc/.conf.demo_on"...succeeded
Initializing rhead structure...succeeded
Writing to infos file...succeeded
Initialization of Encryption...succeeded
Initializing ASF...succeeded
Initializing Dictionary Cache and SPL Routine Cache...succeeded
Bringing up ADM VP...succeeded
Creating VP classes...succeeded
Forking main_loop thread...succeeded
Initializing DR structures...succeeded
Forking 1 'soctcp' listener threads...succeeded
Forking 1 'soctcp' listener threads...succeeded
Starting tracing...succeeded
Initializing 8 flushers...succeeded
Initializing SDS Server network connections...succeeded
Initializing log/checkpoint information...succeeded
Initializing dbspaces...succeeded
Opening primary chunks...succeeded
Opening mirror chunks...succeeded
Validating chunks...succeeded
Initialize Async Log Flusher...succeeded
Starting B-tree Scanner...succeeded
Initializing DBSPACETEMP list...succeeded
Init ReadAhead Daemon...succeeded
Checking database partition index...succeeded
Initializing dataskip structure...succeeded
Checking for temporary tables to drop...succeeded
Updating Global Row Counter...succeeded
Forking onmode_mon thread...succeeded
Creating periodic thread...succeeded
Starting scheduling system...succeeded
Verbose output complete: mode = 5
Versao atualizada ficou assim
IBM Informix Dynamic Server Version 11.70.UC5 -- On-Line -- Up 00:02:12 -- 177052 Kbytes

0 comentários:

Enviar um comentário