|
La mise à niveau manuelle d'une nouvelle installation de ThingWorx Flow 8.4.x vers 9.x n'est pas disponible. Si vous souhaitez effectuer une mise à niveau à partir d'une nouvelle installation de ThingWorx Flow 8.4.x vers 9.x, vous devez procéder à une
migration de ThingWorx Flow.
|
|
Si vous souhaitez effectuer une mise à niveau à partir d'une nouvelle installation de ThingWorx Flow 8.5.x et version ultérieure vers 9.x, vous devez utiliser le
programme d'installation de mise à niveau automatisé de ThingWorx Flow.
|
Copier depuis
|
Copier vers
|
---|---|
/ThingworxOrchestration/modules/db_seed/config
|
/ThingworxOrchestration/modules-<ultérieur-8.x.x>/db_seed/
|
/ThingworxOrchestration/modules/db_seed/migration_config.json
|
/ThingworxOrchestration/modules-<ultérieur-8.x.x>/db_seed/
|
/ThingworxOrchestration/modules/db_seed/SHA1
Facultatif, uniquement s'il existe.
|
/ThingworxOrchestration/modules-<ultérieur-8.x.x>/db_seed/
|
/ThingworxOrchestration/modules/engine/config
|
/ThingworxOrchestration/modules-<ultérieur-8.x.x>/engine/
|
/ThingworxOrchestration/modules/engine/deploymentConfig.json
|
/ThingworxOrchestration/modules-<ultérieur-8.x.x>/engine/
|
/ThingworxOrchestration/modules/engine/SHA1
Facultatif, uniquement s'il existe.
|
/ThingworxOrchestration/modules-<ultérieur-8.x.x>/engine/
|
/ThingworxOrchestration/modules/exchange/config
|
/ThingworxOrchestration/modules-<ultérieur-8.x.x>/exchange/
|
/ThingworxOrchestration/modules/exchange/deploymentConfig.json
|
/ThingworxOrchestration/modules-<ultérieur-8.x.x>/exchange/
|
/ThingworxOrchestration/modules/exchange/SHA1
Facultatif, uniquement s'il existe.
|
/ThingworxOrchestration/modules-<ultérieur-8.x.x>/exchange/
|
/ThingworxOrchestration/modules/lookup/config
|
/ThingworxOrchestration/modules-<ultérieur-8.x.x>/lookup/
|
/ThingworxOrchestration/modules/lookup/deploymentConfig.json
|
/ThingworxOrchestration/modules-<ultérieur-8.x.x>/lookup/
|
/ThingworxOrchestration/modules/lookup/SHA1
Facultatif, uniquement s'il existe.
|
/ThingworxOrchestration/modules-<ultérieur-8.x.x>/lookup/
|
/ThingworxOrchestration/modules/oauth/config
|
/ThingworxOrchestration/modules-<ultérieur-8.x.x>/oauth/
|
/ThingworxOrchestration/modules/oauth/deploymentConfig.json
|
/ThingworxOrchestration/modules-<ultérieur-8.x.x>/oauth/
|
/ThingworxOrchestration/modules/oauth/SHA1
Facultatif, uniquement s'il existe.
|
/ThingworxOrchestration/modules-<ultérieur-8.x.x>/oauth/
|
/ThingworxOrchestration/modules/static-ux/config
|
/ThingworxOrchestration/modules-<ultérieur-8.x.x>/static-ux/
|
/ThingworxOrchestration/modules/static-ux/SHA1
Facultatif, uniquement s'il existe.
|
/ThingworxOrchestration/modules-<ultérieur-8.x.x>/static-ux/
|
/ThingworxOrchestration/modules/trigger/config
|
/ThingworxOrchestration/modules-<ultérieur-8.x.x>/trigger/
|
/ThingworxOrchestration/modules/trigger/deploymentConfig.json
|
/ThingworxOrchestration/modules-<ultérieur-8.x.x>/trigger/
|
/ThingworxOrchestration/modules/trigger/SHA1
Facultatif, uniquement s'il existe.
|
/ThingworxOrchestration/modules-<ultérieur-8.x.x>/trigger/
|
/ThingworxOrchestration/modules/ux/config
|
/ThingworxOrchestration/modules-<ultérieur-8.x.x>/ux/
|
/ThingworxOrchestration/modules/ux/deploymentConfig.json
|
/ThingworxOrchestration/modules-<ultérieur-8.x.x>/ux/
|
/ThingworxOrchestration/modules/ux/SHA1
Facultatif, uniquement s'il existe.
|
/ThingworxOrchestration/modules-<ultérieur-8.x.x>/ux/
|
/ThingworxOrchestration/modules/orchestration.pm2.json
|
/ThingworxOrchestration/modules-<ultérieur-8.x.x>/
|
/ThingworxOrchestration/modules/cache
|
/ThingworxOrchestration/modules-<ultérieur-8.x.x>/
|
/ThingworxOrchestration/modules/node_modules/config
|
/ThingworxOrchestration/modules-<ultérieur-8.x.x>/symphony-connectors/node_modules/
|
|
Sous Windows, avant de procéder au changement de nom des dossiers, vous devez arrêter le processus epmd.exe.
|
|
Si vous ignorez cette étape, supprimez les dossiers suivants du dossier modules :
• ptc-flow-pm2 / pm2
• nginx-1.18.0.zip
• node-v12.19.0-win-x64.tar.gz
|
|
Vous pouvez remplacer le débit (requêtes par seconde) par une autre valeur. Cependant, 500r/s est un nombre raisonnable de requêtes par seconde que des clients illégitimes ne peuvent pas atteindre.
|
Emplacement
|
Etape 1 : Rechercher un emplacement
|
Etape 2 : Ajouter le contenu spécifié après l'emplacement
|
Etape 3 : Annuler le commentaire de la ligne spécifiée
|
Etape 4 : Ajouter le contenu spécifié à la ligne non commentée
|
Etape 5 : Vérifier le résultat
|
---|---|---|---|---|---|
location /Thingworx/Oauths
|
location /Thingworx/Oauths {
# limit_req zone=by_ip; # limit_conn addr 500; |
# block 'options' http method for security reasons
if ($request_method = 'OPTIONS') { return 405; } |
# limit_req zone=by_ip;
|
burst=10 nodelay
|
location /Thingworx/Oauths {
# block 'options' http method for security reasons if ($request_method = 'OPTIONS') { return 405; } limit_req zone=by_ip burst=10 nodelay; # limit_conn addr 500; |
location /Thingworx/Triggers
|
location /Thingworx/Triggers {
# limit_req zone=by_ip; # limit_conn addr 500; |
# block 'options' http method for security reasons
if ($request_method = 'OPTIONS') { return 405; } |
# limit_req zone=by_ip;
|
burst=10 nodelay
|
location /Thingworx/Triggers {
# block 'options' http method for security reasons if ($request_method = 'OPTIONS') { return 405; } limit_req zone=by_ip burst=10 nodelay; # limit_conn addr 500; |
location @flow_api
|
location @flow_api {
# limit_req zone=by_ip; # limit_conn addr 500; |
# block 'options' http method for security reasons
if ($request_method = 'OPTIONS') { return 405; } |
# limit_req zone=by_ip;
|
burst=10 nodelay
|
location @flow_api {
# block 'options' http method for security reasons if ($request_method = 'OPTIONS') { return 405; } limit_req zone=by_ip burst=10 nodelay; # limit_conn addr 500; |
Emplacement
|
Etape 1 : Rechercher un emplacement
|
Etape 2 : Annuler le commentaire de la ligne spécifiée
|
Etape 3 : Ajouter le contenu spécifié à la ligne non commentée
|
Etape 4 : Vérifier le résultat
|
---|---|---|---|---|
location /Thingworx/Composer/apps/flow
|
location /Thingworx/Composer/apps/flow {
rewrite /Thingworx/Composer/apps/flow/(.*) /$1 break; # limit_req zone=by_ip; # limit_conn addr 500; |
# limit_req zone=by_ip;
|
burst=10 nodelay
|
location /Thingworx/Composer/apps/flow {
rewrite /Thingworx/Composer/apps/flow/(.*) /$1 break; limit_req zone=by_ip burst=10 nodelay; # limit_conn addr 500; |
location ~* \.(jpg|jpeg|png|gif|ico|css|js|svg|woff2?)$
|
location ~* \.(jpg|jpeg|png|gif|ico|css|js|svg|woff2?)$ {
rewrite /Thingworx/Composer/apps/flow/(.*) /$1 break; # limit_req zone=by_ip burst=10 nodelay; expires $expires; |
# limit_req zone=by_ip burst=10 nodelay;
|
—
|
location ~* \.(jpg|jpeg|png|gif|ico|css|js|svg|woff2?)$ {
rewrite /Thingworx/Composer/apps/flow/(.*) /$1 break; limit_req zone=by_ip burst=10 nodelay; expires $expires; |
location /Thingworx/Lookups
|
location /Thingworx/Lookups {
|
# limit_req zone=by_ip;
|
burst=10 nodelay
|
location /Thingworx/Lookups {
add_header 'Access-Control-Allow-Credentials' 'true'; add_header 'Access-Control-Allow-Methods' 'GET,POST,PUT,DELETE,OPTIONS,HEAD'; add_header 'Access-Control-Allow-Headers' 'Authorization, Content-Length, X-Requested-With, application_uid, application_id, application_api_key, authtoken, Content-Type'; add_header 'Access-Control-Max-Age' '1728000'; if ($request_method = 'OPTIONS') { return 200; } limit_req zone=by_ip burst=10 nodelay; # limit_conn addr 500; |
location /Thingworx/WS
|
location /Thingworx/WS {
|
# limit_req zone=by_ip;
|
burst=10 nodelay
|
location /Thingworx/WS {
limit_req zone=by_ip burst=10 nodelay; # limit_conn addr 500; |
location /Thingworx/RemoteTunnel
|
location /Thingworx/RemoteTunnel {
|
# limit_req zone=by_ip;
|
burst=10 nodelay
|
location /Thingworx/RemoteTunnel {
limit_req zone=by_ip burst=10 nodelay; # limit_conn addr 500; |
location /Thingworx/WSTunnelClient/
|
location /Thingworx/WSTunnelClient/ {
|
# limit_req zone=by_ip;
|
burst=10 nodelay
|
location /Thingworx/WSTunnelClient/ {
limit_req zone=by_ip burst=10 nodelay; # limit_conn addr 500; |
location /Thingworx/WSTunnelServer/
|
location /Thingworx/WSTunnelServer/ {
|
# limit_req zone=by_ip;
|
burst=10 nodelay
|
location /Thingworx/WSTunnelServer/ {
limit_req zone=by_ip burst=10 nodelay; # limit_conn addr 500; |
location /Thingworx
|
location /Thingworx {
|
# limit_req zone=by_ip;
|
burst=10 nodelay
|
location /Thingworx {
limit_req zone=by_ip burst=10 nodelay; # limit_conn addr 500; |
|
Ne suivez les étapes de cette section que si vous avez développé des connecteurs personnalisés à l'aide du SDK ThingWorx Flow.
|
|
Consultez les journaux RabbitMQ pour vérifier que le service RabbitMQ a complètement démarré avant de démarrer le service suivant.
Windows : /ThingworxOrchestration/modules/RabbitMQ/log/rabbit@{hostname}.log
Linux : /var/log/rabbitmq/rabbit@{hostname}.log
|
|
Si l'exécution des flux dans le moteur s'arrête brusquement, suivez la procédure de la rubrique
Dépannage de votre installation.
|