Pasos para instalar o actualizar un módulo de OPMANTEK

Como recomendación se debe contar con salida a internet, porque al hacer la instalación requiere paquetes de cpan que no se encuentran instalados/actualizados esos paquete intervienen en la funcionalidad de los módulos.

1.- Descargar el modulo.run que se desea instalar desde la página oficial de descarga https://opmantek.com/network-tools-download/


wget link_de_Descarga

En este caso se instalara la siguiente versión de NMIS:  para eso accedemos a la siguiente liga: http://dl-nmis.opmantek.com/nmis8.6.2G.run

2.- Dar permisos de ejecución al modulo.run con el siguiente comando


chmod +x nmis8.6.8G.run 


3.- Ejecutar el instalador nmis8.6.8G.run


[root@opmantek tmp]# ./nmis8.6.8G.run
Verifying archive integrity... All good.
Uncompressing NMIS Version 8.6.8G 100%

++++++++++++++++++++++++++++++++++++++++++++++++++++++
NMIS Installer
++++++++++++++++++++++++++++++++++++++++++++++++++++++

                               

4.- Hará un diagnostico si existen paquetes faltantes, si es el caso instarlos con CPAN o YUM, de lo contrario se continua con la instalación.



5.- Se pregunta que si se desea iniciar la instalación o actualización para esto respondemos que si (y)


++++++++++++++++++++++++++++++++++++++++++++++++++++++
Checking Installation Target
++++++++++++++++++++++++++++++++++++++++++++++++++++++

The standard NMIS installation target is "/usr/local/nmis8".
To install NMIS into a different directory please answer the question below
with "no" and restart the installer with the argument site=<custom_dir>,
e.g. ./install.pl site=/opt/nmis8

OK to start installation/upgrade to /usr/local/nmis8?
Type 'y' or <Enter> to accept, or 'n' to decline:
     


6.- El instalador detecta una versión de NMIS y pregunta que se deseamos realizar una copia de seguridad.


++++++++++++++++++++++++++++++++++++++++++++++++++++++
Existing NMIS8 Installation detected
++++++++++++++++++++++++++++++++++++++++++++++++++++++


It seems that you have an existing NMIS installation
in /usr/local/nmis8. The installer can upgrade the existing installation,
or remove it and install from scratch.

Do you want to take a backup of your current NMIS install?
(RRD data is NOT included!)
Type 'y' or <Enter> to accept, or 'n' to decline: y

7.- El instalador realiza una interrogante para ver si se Desea actualizar la instalación existente, ingresar la tecla Y para indicar que si.


Do you want to upgrade the existing installation?
If you say No here, the existing installation will be REMOVED and OVERWRITTEN!

Type 'y' or <Enter> to accept, or 'n' to decline: y

++++++++++++++++++++++++++++++++++++++++++++++++++++++
Copying NMIS files...
++++++++++++++++++++++++++++++++++++++++++++++++++++++

Copying source files from /tmp/selfgz1986821441 to /usr/local/nmis8..


8.- Dar Enter para continuar


You should check the NMIS Wiki for instructions on manual
model upgrades: https://community.opmantek.com/x/-wd4

Hit <Enter> to continue:
++++++++++++++++++++++++++++++++++++++++++++++++++++++
Auto-upgradeable model files detected
++++++++++++++++++++++++++++++++++++++++++++++++++++++


9.- En este paso realiza la Migración de rrds


OK to run rrd migration script?
Type 'y' or <Enter> to accept, or 'n' to decline:
Running RRD migration script in test mode first...

10.- La instalación ha finalizada.


++++++++++++++++++++++++++++++++++++++++++++++++++++++
NMIS was Upgraded
++++++++++++++++++++++++++++++++++++++++++++++++++++++
Your NMIS installation has now been upgraded.
Please note that your existing configuration files were updated with new
configuration settings and some important default options were changed
(if you selected that option earlier), but all other settings
remain unchanged.
You may want to use the tools diffconfigs.pl, compare_models
and patch_config.pl (in /usr/local/nmis9/admin/) to detect differences between
the new defaults in /usr/local/nmis9/conf-default and your active configuration.

You will find more information in the release notes at

https://community.opmantek.com/display/NMIS/NMIS+Release+Notes

You should now be able to access NMIS at

http://<HOSTNAME_OR_IP>/nmis8
If your browser is running on the same machine as NMIS was
installed onto, this would be

http://localhost/nmis8/
++++++++++++++++++++++++++++++++++++++++++++++++++++++
installation complete.
++++++++++++++++++++++++++++++++++++++++++++++++++++++
You have mail in /var/spool/mail/root


11.- Una vez finalizada la instalación es necesario realizar una revisión de los servicios, módulos, GUI, colección de datos, para poder descartar cualquier comportamiento anormal de la herramienta.

Nota: Durante la instalación se realizan preguntas referentes a actualización de archivos, servicios o configuraciones, por lo que se debe de tener precaución al responder los cuestionamientos.

Este procedimiento esta sintetizado de forma que al momento de realizar la ejecución de una actualización sea los más fácil posible.

  • No labels