|Target||A device the user wants to deploy the application. Can reside in local area network or remote network.|
The Deploy Configuration describes to which physical hardware devices the system shall be deployed (installed). CDP Studio supports distributed systems and the applications in a system can be deployed to different target devices in the network.
The Deploy Configuration allows you to search a network for target devices and assign applications to a device.
The Deploy Configuration is found in Configure mode by clicking on the Deploy Configuration tab .
Target device must have:
- A SSH server running on port 22
For Windows a Cygwin SSH server should be used. Rsync as well can be found from Cygwin installer.
For Linux both are usually available through a package manager. For Debian the command would be (run as root user):
apt-get install openssh-server rsync
Please consult the manual of your Linux distribution to correctly set up and configure SSH server.
Search for the Device
By default all applications are deployed to localhost. In order to deploy to other devices first select a network interface where this device could be found (). After that a device scan will start. Devices found in the network will be populated into the devices table. It will list all devices found which have port 22 open (default port for SSH server).
For deploy to actually work you must enter a valid username () and pair the device (). After entering the credentials correctly, MAC address and the type of device should be detected automatically.
Assign the Device
Devices found can be assigned to applications, making them deploy to that specific target ().
Make sure you also select appropriate toolkit for the device (). Otherwise the application might not work.
Deploy and Run the System/Application
Once everything is setup correctly the deployment process can be executed from system or application context menu (). If started on a system, it will deploy and run all applications under this system. If started on application, it will deploy and run only this application.
More toolkits can be found and installed through CDPStudio Maintanance Tool.
Deploying to Windows Machines
To be able to deploy to a Windows machine you must first set up a Cygwin SSH server on it. Please refer to this manual. Once it is set up you can use the credentials of any privileged user account (Windows user account) on that machine for deployment.
Deploy to a Remote Network
It is possible to scan for devices in remote networks and deploy applications onto them if you add your own networks into the Networks table. To add a remote network you need to specify its subnet ip and subnet mask. After that devices from this network are populated and you can assign them to your applications.
A common situation for using remote networks is when using VPN or SSH tunneling to isolate CDP systems from the public internet. Read more in the Remote Access Over SSH manual.
Running Scripts and Commands on a Remote Device
It is possible to run shell scripts on a remote device by choosing "Run Script..." from devices table context menu. To execute commands manually simply choose "Open Remote Shell" and type in commands that you want to execute.
Get started with CDP Studio today
Let us help you take your great ideas and turn them into the products your customer will love.