Using sdeploy to deploy scripts from the command line - example 4
Use the sdeploy utility command to deploy scripts from the command line, outside the Integration Flow Designer GUI.
The following example shows how you can use the sdeploy utility command to deploy scripts to the new server created with the specified IP address, the userid, and the password:
install_dir> sdeploy mysystems.msd NewSystem
-DEPLOY MyScript -EMODE ES
-USER userid -PW password -IP 192.82.65.46
-R C:\MyDev\DeployResults\*.txt
-LOG C:\MyDev\DeployResults\*.results.txt
-FAIL -APPEND
When you run the example, the following result occurs:
- If the deploy script is deployed successfully, the sdeploy - completed successfully. message displays on the console.
- The MyScript map is deployed to the new server created with the specified IP address, the userid, and the password, and the results files are produced in the C:\MyDev\DeployResults directory.
- If the mysystems_results.txt file does not exist, it is created in the C:\MyDev\DeployResults directory. If the file exists, append only the failed systems log messages.
You can specify an IP address that is in IPv4 (for example, 1.2.3.4) or IPv6 (for example, a:b:c:d:0:1:2:3) format.