CLI command: deploy
Use the
deploy
command to deploy a FactoryTalk Optix Application
to a local device.Guidelines
Consider the following when working with the
deploy
command:- You need to perform any necessary versioning operations before theFactoryTalk Optix Applicationdeployment.
- You need to ensure that theFactoryTalk Optix Applicationbuilds without errors before the deployment.
- You can only deployFactoryTalk Optix Applicationsto local devices.
- You cannot deployFactoryTalk Optix Applicationswith encrypted secrets.
- Thedeploycommand does not start runtime by default. If you include--run-after-deploy, runtime starts automatically after deployment.
Syntax
"C:\Program Files\Rockwell Automation\FactoryTalk
Optix\
version
\FTOptixStudio" deploy
project_to_deploy
--ip-address=ip_address
--username=username
[--thumbprint=certificate_thumbprint
]
[--disable-project-encryption] [--disable-source-project-transfer]
[--transfer-application-files] [--transfer-optimized-project]
[--run-after-deploy] [--silent]Parameter | Importance | Description |
|---|---|---|
version | Required | Folder name that reflects the installed FactoryTalk Optix Studio version. |
project_to_deploy | Required | Path to the OPTIX file of the project to
deploy. |
ip_address | Required | IP address of the target device to deploy the FactoryTalk Optix Application to. |
username | Required | Username for logging on to the target device.
IMPORTANT:
Specify user password
as a
OPTIX_STUDIO_DEPLOYMENT_PASSWORD
system environment variable. |
--thumbprint= certificate_thumbprint | Optional | Provide certificate thumbprint of the target FactoryTalk Optix
Application Update Service to prevent the need to interact with
the trust dialog. The trust dialog displays only for the first deployment. Ensure that the FactoryTalk Optix Runtime Tools and Update
Service are installed. Then, you can obtain the thumbprint by
running this command openssl x509 -fingerprint -in
UpdateServicePath /PKI/Own/Certs/FTOptixApplication.der
-inform DER -nooutwhere UpdateServicePath is the installation
directory of the FactoryTalk Optix Application Update
Service.
TIP:
Embedded devices cannot
generate certificate thumbprints.
|
--disable-project-encryption | Optional | Disable project encryption. |
--disable-source-project-transfer | Optional | Disable the transfer of the source project to the target
device.
IMPORTANT:
You can only transfer
source projects to Windows target devices.
|
--transfer-optimized-project | Optional | Optimize the project before its transfer. Optimized projects:
You cannot optimize projects containing OPC UA servers that expose the entire model
or at least one tag. |
--run-after-deploy | Optional | Start runtime automatically after deployment. If you omit this parameter, the deploy
command does not start runtime and will require a manual restart
after deployment. |
--silent | Optional | Make the command output non-verbose in the command prompt. |
Example
"C:\Program Files\Rockwell Automation\FactoryTalk Optix\Studio
1.6.0.626\FTOptixStudio" deploy "D:\temp\NewHMIProject28\NewHMIProject28.optix"
--ip-address=192.168.1.100 --username=admin
--transfer-application-files
Provide Feedback