jueves, 22 de octubre de 2009

Installing the McIDAS-X 2009 ADDE Remote Server

Instalando McIDAS-X 2009 ADDE Remote Server, ingresar los siguientes comandos como root:

mcidas@igor:~$ su root
root@igor:/home/mcidas# sh ./mcinet2009.sh install mcadde
mcinet2009: /etc/services: mcidas already set up
mcinet2009: /etc/inetd.conf: mcidas already set up
./mcinet2009.sh: line 714: [: too many arguments
mcinet2009: WARNING: inetd not listening
Try running the script again in a few minutes.
root@igor:/home/mcidas#

Hay un problema en el script, estoy intentando solucionarlo, la linea 714 es:

if [ "$act" != "status" -a $use_solaris10 -eq 0 -a $use_launchd -eq 0 ]; then




McIDAS configuration complete!

NOTA: La cuenta mcidas se destina a ser utilizado sólo para las actividades de supervisión. Los cambios realizados por mcidas a los archivos de configuración en el directorio de datos $ McINST_ROOT / McIDAS afectará a todos los usuarios de X, así que los cambios deben hacerse con criterio. Como se pueden imaginar, esta característica puede ser muy útil o extremadamente peligrosas.

Las 5 tareas necesarias para configurar el mcidas cuenta y se describen en las secciones a continuación:

1. Definición del producto XCDDATA Directorio y copiar Archivos necesarios
2. Ubicación de archivos en McIDAS usando REDIRECT
3. Definir conjuntos de datos utilizando ADDE DSSERVE
4. Localización de conjuntos de datos utilizando ADDE DATALOC
5. Definir las variables de entorno necesario para el servidor remoto ADDE

Para simplificar el proceso de configuración, el script mcxconfig ha sido incluido en el distribucion de Unidata de McIDAS-X. mcxconfig conducirá el programa de instalación a través de los pasos de configuración dando consejos cuando sea necesario. mcxconfig se ejecuta como sigue:

=================
= Terminal de McIDAS-X =
===== VENDOR=-g77 ==
mcidas@igor:~$ mcxconfig


Unidata McIDAS-X Configuration Utility v2009



1) In order to configure McIDAS, you must indicate what data you
intend to use in McIDAS.

Serve Learning Guide data locally (y/n), default = n
Enter value and Press : n

2) Are you currently using or do you intend to use the LDM to
ingest data available in the IDD for use in McIDAS.

Use LDM to ingest data (y/n), default = n
Enter value and Press :

3) Creating configuration files...

Creating McIDAS file REDIRECTions for data file access...
Saving existing LOCAL.NAM as /home/mcidas/data/OLDLOCAL.NAM

Creating ADDE server mapping table definitions...
Saving existing LSSERVE.BAT as /home/mcidas/data/OLDLSSERVE.BAT

Creating ADDE client routing table definitions...
Saving existing LOCDATA.BAT as /home/mcidas/data/OLDLOCDATA.BAT

Creating /home/mcidas/crontab.ldm_mcidas...

Creating /home/mcidas/.mcenv definition for remote ADDE serving...

/home/mcidas/.mcenv exists, replace it (y/n)? y
Enter value and Press : y

4) Activating configuration files...

Activate file REDIRECTion for locating data files...

Edit /home/mcidas/data/LOCAL.NAM in another terminal window
making all needed changes NOW.

Press to continue:
Make LOCAL.NAM entries active (y/n)? y
Enter value and Press : y
Making LOCAL.NAM REDIRECT entries active, please wait...

Activate ADDE server mapping table definitions...

Edit /home/mcidas/data/LSSERVE.BAT in another terminal window
making all needed changes NOW.

Press to continue:
Make LSSERVE.BAT entries active (y/n)? y
Enter value and Press : y
Making LSSERVE.BAT DSSERVE entries active, please wait...

Activate ADDE client routing table entries...

McIDAS provides access to datasets that are hosted on remote
machines running ADDE. This step configures access to datasets
not available locally through DATALOC entries in the file
/home/mcidas/data/LOCDATA.BAT.

Edit /home/mcidas/data/LOCDATA.BAT in another terminal window
making all needed changes NOW.

Press to continue:
Make LOCDATA.BAT entries active (y/n)? y
Enter value and Press : y
Making LOCDATA.BAT DATALOC entries active, please wait...

McIDAS configuration complete! Exiting...