Rechercher

Question
· Sept 4, 2024

Forcefully remove database from mirror

An IRIS.DAT file was removed, as it was not needed anymore. But the database was mirrored, so it still shows up in the mirror monitor and database list. How can this be fixed? There is no backup of the .DAT file so it cannot be restored.

w ##class(SYS.Mirror).RemoveMirroredDatabase("/mydir/")

throws a protect error.

(everything else works fine and this is not a production system, it only is annoying in the mirror monitor and database list)

3 Comments
Discussion (3)1
Connectez-vous ou inscrivez-vous pour continuer
Annonce
· Sept 4, 2024

Septiembre trae otro Webinar en Español: "Reconocimiento facial aplicado al login de aplicaciones utilizando JavaScript + InterSystems IRIS"

¡Hola comunidad!

Este mes de septiembre os invitamos a un nuevo webinar en español: "Reconocimiento facial aplicado al login de aplicaciones utilizando JavaScript + InterSystems IRIS", el jueves 26 de septiembre, a las 4:00 PM (CEST).

     

El webinar va dirigido a técnicos y desarrolladores interesados en tecnologías punteras como es el reconocimiento facial y sus posibilidades.  

Durante el webinar, veremos cómo incorporar el reconocimiento facial en el login de aplicaciones mediante las tecnologías de InterSystems IRIS y JavaScript. Es muy interesante poder entender mejor estos sistemas y cómo funcionan. ¿Y qué mejor que uno de nuestros webinars para aprender un poco y arrancar la temporada?

¡Os esperamos!

🗣 Ponente: @Marco Bahamondes, Sales Engineer en InterSystems

➡️ Registro >>

Discussion (0)1
Connectez-vous ou inscrivez-vous pour continuer
Annonce
· Sept 4, 2024

Kick-off Webinar for InterSystems Developer Tools Contest 2024

Hey Community,

We're pleased to invite you all to the upcoming kick-off webinar for the InterSystems Developer Tools Contest 2024!

During the webinar, you will discover the exciting challenges and opportunities that await IRIS enthusiasts in this contest. We'll discuss the topics we expect from participants and show you how to develop, build, and deploy applications using the InterSystems IRIS data platform.

Date & Time: Tuesday, September 10 – 12:30 pm EDT | 6:30 pm CEST  

Speakers:  
🗣 ​​​@Dean Andrews, Head of Developer Relations
🗣 ​​​@Evgeny Shvarov, Senior Manager of Developer and Startup Programs
🗣 @Raj Singh, Product Manager  

✅ Register for the kick-off today!

Discussion (0)2
Connectez-vous ou inscrivez-vous pour continuer
Article
· Sept 4, 2024 2m de lecture

NGINX Configuration (Container)

If you plan on using the nginx server to front end you IRIS instance (as opposed to the standard apache web gateway install) you will need to add a few configuration options into the CSP.conf file in order for all urls to work. It took me a little bit to figure this out but this seems to be the configuration that works.

If you are using the container version of nginx from the Intersystems Container Registry you should use the %SYS persistent volume to store your CSP configuration and then utilize the ISC_CSP_CONF_FILE and ISC_CSP_INI_FILE environment variables to merge them into the running nginx instance.

location /csp/bin/Systems {
    CSPFileTypes cxw;
    CSPNSD_pass 127.0.0.1:7038;
    CSPNSD_response_headers_maxsize 8k;
    CSPNSD_connect_timeout 300s;
    CSPNSD_send_timeout 300s;
    CSPNSD_read_timeout 300s;
}
location /csp/bin/RunTime {
    CSPFileTypes cxw;
    CSPNSD_pass 127.0.0.1:7038;
    CSPNSD_response_headers_maxsize 8k;
    CSPNSD_connect_timeout 300s;
    CSPNSD_send_timeout 300s;
    CSPNSD_read_timeout 300s;
}
location /api {
    CSP ON;
    CSPNSD_pass 127.0.0.1:7038;
    CSPNSD_response_headers_maxsize 8k;
    CSPNSD_connect_timeout 300s;
    CSPNSD_send_timeout 300s;
    CSPNSD_read_timeout 300s;
}
location /csp/sys {
    CSP ON;
    CSPNSD_pass 127.0.0.1:7038;
    CSPNSD_response_headers_maxsize 8k;
    CSPNSD_connect_timeout 300s;
    CSPNSD_send_timeout 300s;
    CSPNSD_read_timeout 300s;
}
location /csp/healthshare {
    CSP ON;
    CSPNSD_pass 127.0.0.1:7038;
    CSPNSD_response_headers_maxsize 8k;
    CSPNSD_connect_timeout 300s;
    CSPNSD_send_timeout 300s;
    CSPNSD_read_timeout 300s;
}
Discussion (0)1
Connectez-vous ou inscrivez-vous pour continuer
Article
· Sept 4, 2024 2m de lecture

Configuration de la fonctionnalité d'exécution flexible de Python dans IRIS 2024.2

Bonjour à tous,

Cet article a pour but de vous guider dans le processus de configuration et d'utilisation de la fonctionnalité d'exécution flexible de Python pour Embedded Python. Avant la version 2024.2, le programme d'installation d'Intersystems IRIS incluait une version préinstallée de Python. Vous pouvez trouver les bibliothèques Python et les fichiers d'application situés dans le répertoire \lib\python de votre dossier d'installation IRIS (par exemple, C:\InterSystems\IRIS20242\lib\python).

Cependant, à partir de la version 2024.2, le programme d'installation d'IRIS n'inclut plus l'installation de Python par défaut. Par conséquent, vous ne trouverez pas ces fichiers dans le répertoire susmentionné. Il est nécessaire que vous installiez la version requise de Python pour travailler efficacement avec Embedded Python dans IRIS.

Passons maintenant à la configuration de la fonctionnalité d'exécution flexible dans mon environnement IRIS.

J'ai installé la version communautaire 2024.2 sur ma machine et j'ai essayé de connecter immédiatement le shell Python dans le terminal IRIS.

USER>Write $ZV
IRIS for Windows (x86-64) 2024.2 (Build 247U) Tue Jul 16 2024 09:57:03 EDT
USER>Do $SYSTEM.Python.Shell()
ERROR #5002: ObjectScript error: <OBJECT DISPATCH>Shell+16^%SYS.Python.1 *Failed to Load Python: Check documentation and messages.log, Check CPF parameters:[PythonRuntimeLibrary,PythonRuntimeLibraryVersion], Check sys.path setup in: $INSTANCE/lib/python/iris_site.py.

Il génère une erreur en raison de la configuration manquante de PythonRuntimeLibrary et les valeurs PythonRuntimeLibraryVersion sont vides (remarque : j'ai déjà défini la version PythonRuntimeLibraryVersion)

J’ai déjà installé Python 3.12.5 sur mon système et configuré les valeurs dans les paramètres.

PythonRuntimeLibrary  - “C:\Program Files\Python312\python3.dll”
PythonRuntimeLibraryVersion - 3.12

Une fois configuré, j'ai exécuté à nouveau Do $SYSTEM.Python.Shell() et il est entré avec succès dans le shell Python

Remarque : la documentation sur les fonctionnalités d'exécution flexibles de Python est conforme à la documentation ou il dit que cette fonctionnalité n'est pas prise en charge par tous les systèmes d'exploitation.

Discussion (0)1
Connectez-vous ou inscrivez-vous pour continuer