|
새로 설치한 ThingWorx Flow 8.4.x에서 9.x로의 수동 업그레이드를 사용할 수 없습니다. 새로 설치한 ThingWorx Flow 8.4.x를 9.x로 업그레이드하려면
ThingWorx Flow를 마이그레이션해야 합니다.
|
|
새로 설치한 ThingWorx Flow 8.5.x 이상을 9.x로 업그레이드하려면
ThingWorx Flow 자동 업그레이드 설치 관리자를 사용해야 합니다.
|
복사 원본
|
복사 대상
|
---|---|
/ThingworxOrchestration/modules/db_seed/config
|
/ThingworxOrchestration/modules-<newer-8.x.x>/db_seed/
|
/ThingworxOrchestration/modules/db_seed/migration_config.json
|
/ThingworxOrchestration/modules-<newer-8.x.x>/db_seed/
|
/ThingworxOrchestration/modules/db_seed/SHA1
선택 사항(존재하는 경우만 해당)
|
/ThingworxOrchestration/modules-<newer-8.x.x>/db_seed/
|
/ThingworxOrchestration/modules/engine/config
|
/ThingworxOrchestration/modules-<newer-8.x.x>/engine/
|
/ThingworxOrchestration/modules/engine/deploymentConfig.json
|
/ThingworxOrchestration/modules-<newer-8.x.x>/engine/
|
/ThingworxOrchestration/modules/engine/SHA1
선택 사항(존재하는 경우만 해당)
|
/ThingworxOrchestration/modules-<newer-8.x.x>/engine/
|
/ThingworxOrchestration/modules/exchange/config
|
/ThingworxOrchestration/modules-<newer-8.x.x>/exchange/
|
/ThingworxOrchestration/modules/exchange/deploymentConfig.json
|
/ThingworxOrchestration/modules-<newer-8.x.x>/exchange/
|
/ThingworxOrchestration/modules/exchange/SHA1
선택 사항(존재하는 경우만 해당)
|
/ThingworxOrchestration/modules-<newer-8.x.x>/exchange/
|
/ThingworxOrchestration/modules/lookup/config
|
/ThingworxOrchestration/modules-<newer-8.x.x>/lookup/
|
/ThingworxOrchestration/modules/lookup/deploymentConfig.json
|
/ThingworxOrchestration/modules-<newer-8.x.x>/lookup/
|
/ThingworxOrchestration/modules/lookup/SHA1
선택 사항(존재하는 경우만 해당)
|
/ThingworxOrchestration/modules-<newer-8.x.x>/lookup/
|
/ThingworxOrchestration/modules/oauth/config
|
/ThingworxOrchestration/modules-<newer-8.x.x>/oauth/
|
/ThingworxOrchestration/modules/oauth/deploymentConfig.json
|
/ThingworxOrchestration/modules-<newer-8.x.x>/oauth/
|
/ThingworxOrchestration/modules/oauth/SHA1
선택 사항(존재하는 경우만 해당)
|
/ThingworxOrchestration/modules-<newer-8.x.x>/oauth/
|
/ThingworxOrchestration/modules/static-ux/config
|
/ThingworxOrchestration/modules-<newer-8.x.x>/static-ux/
|
/ThingworxOrchestration/modules/static-ux/SHA1
선택 사항(존재하는 경우만 해당)
|
/ThingworxOrchestration/modules-<newer-8.x.x>/static-ux/
|
/ThingworxOrchestration/modules/trigger/config
|
/ThingworxOrchestration/modules-<newer-8.x.x>/trigger/
|
/ThingworxOrchestration/modules/trigger/deploymentConfig.json
|
/ThingworxOrchestration/modules-<newer-8.x.x>/trigger/
|
/ThingworxOrchestration/modules/trigger/SHA1
선택 사항(존재하는 경우만 해당)
|
/ThingworxOrchestration/modules-<newer-8.x.x>/trigger/
|
/ThingworxOrchestration/modules/ux/config
|
/ThingworxOrchestration/modules-<newer-8.x.x>/ux/
|
/ThingworxOrchestration/modules/ux/deploymentConfig.json
|
/ThingworxOrchestration/modules-<newer-8.x.x>/ux/
|
/ThingworxOrchestration/modules/ux/SHA1
선택 사항(존재하는 경우만 해당)
|
/ThingworxOrchestration/modules-<newer-8.x.x>/ux/
|
/ThingworxOrchestration/modules/orchestration.pm2.json
|
/ThingworxOrchestration/modules-<newer-8.x.x>/
|
/ThingworxOrchestration/modules/cache
|
/ThingworxOrchestration/modules-<newer-8.x.x>/
|
/ThingworxOrchestration/modules/node_modules/config
|
/ThingworxOrchestration/modules-<newer-8.x.x>/symphony-connectors/node_modules/
|
|
Windows에서 폴더의 이름을 바꾸기 전에 epmd.exe 프로세스를 중지해야 합니다.
|
|
이 단계를 건너뛰는 경우 modules 폴더에서 다음 폴더를 삭제합니다.
• ptc-flow-pm2 / pm2
• nginx-1.18.0.zip
• node-v12.19.0-win-x64.tar.gz
|
|
속도(초당 요청 수)를 다른 숫자로 설정할 수 있습니다. 그러나, 500r/s는 불법 클라이언트가 도달할 수 없는 합리적인 초당 요청 수입니다.
|
위치
|
1단계: 위치 찾기
|
2단계: 해당 위치 다음에 지정된 콘텐츠 추가
|
3단계: 지정된 줄의 주석 처리 제거
|
4단계: 주석 처리가 제거된 줄에 지정된 콘텐츠 추가
|
5단계: 결과 확인
|
---|---|---|---|---|---|
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; |
위치
|
1단계: 위치 찾기
|
2단계: 지정된 줄의 주석 처리 제거
|
3단계: 주석 처리가 제거된 줄에 지정된 콘텐츠 추가
|
4단계: 결과 확인
|
---|---|---|---|---|
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; |
|
ThingWorx Flow SDK를 사용하여 사용자 정의 커넥터를 개발한 경우에만 이 단원의 단계를 완료합니다.
|
|
다음 서비스를 시작하기 전에 RabbitMQ 로그를 확인하여 RabbitMQ 서비스가 완전히 시작되었는지 확인합니다.
Windows: /ThingworxOrchestration/modules/RabbitMQ/log/rabbit@{호스트 이름}.log
Linux: /var/log/rabbitmq/rabbit@{호스트 이름}.log
|