Connect Deploy to your infrastructure
This tutorial describes how to connect Deploy to the host on which your middleware is running.
Depending on your system, follow the instructions for the host operating system and the connection protocol that you want Deploy to use:
If you would like to use SSH on Windows through WinSSHD or OpenSSH, see Set up SSH.
Connect to a Unix host using SSH
To connect to a Unix host using SSH:
- In the top navigation bar, click Explorer.
- Hover over Infrastructure, click , then select New > overthere > SshHost. A new tab displays.
- In the Name field, enter a name for the host.
- Select UNIX from the Operating system list.
- Select the Connection Type:
- Select SCP, if the user that will connect to the host, will have privileges to manipulate files and execute commands.
- Select SU, if the user that will connect to the host, can use
su
to log in as one user and execute commands as a different user. - Select SUDO or INTERACTIVE_SUDO, if the user that will connect to the host can use
sudo
to execute commands as a different user. For more information, see Set up SSH.
- In the Address field, enter the IP address of the host.
- In the Port field, enter the port on which Deploy should connect to the host. The default is port is 22.
- In the Username field, enter the user name that Deploy should use when connecting to the host.
- In the Password field, enter the user's password.
- If you chose the connection type SU, SUDO, or INTERACTIVE_SUDO, go to the Advanced section and enter the user name and password that Deploy should use.
- Click Save.
Connect to a Windows host using WinRM
To check if WinRM is installed on the host, see Versions of Windows Remote Management for the host's version of Windows.
If WinRM is not installed, for information on how to install it, see Using CIFS, SMB, WinRM, and Telnet. Then follow the steps below to connect Deploy to the host.
To connect to a Windows CIFS or SMB host using WinRM:
- In the top navigation bar, click Explorer.
- Hover over Infrastructure, click , then select New > overthere > and one of the following:
- CifsHost
- SmbHost A new tab displays.
- In the Name field, enter a name for the host.
- In the Operating system list, select WINDOWS.
- Select the Connection Type:
- If the computer where you installed Deploy does not run Windows, select WINRM_INTERNAL.
- If the computer where you installed Deploy runs Windows, select WINRM_NATIVE. Note: The WINRM_NATIVE option requires that Winrs is installed on the computer where Deploy is installed. This is only supported for Windows 7, Windows 8, Windows Server 2008 R2, and Windows Server 2012.
- In the Address field, enter the IP address of the host.
- Optionally, in the Port field, enter the port on which Telnet or WinRM runs. Note: You can change the port on which the CIFS or SMB server runs in the CIFS or SMB section. The default is 445.
- In the Username field, enter the user name that Deploy should use when connecting to the host.
- In the Password field, enter the user's password. Note: For more information on required user permissions, see Using CIFS, SMB, WinRM, and Telnet.
- Click Save.
Verify the connection
After you configure the host, verify that Deploy can connect to it:
- In the top navigation bar, click Explorer.
- Under Infrastructure, hover over the host, click , then select Check connection. A new tab displays with the steps that Deploy will execute to check the connection.
- Click Execute. Deploy verifies that it can transfer files to the host and execute commands on it.
If the connection check succeeds, the state of the steps will be DONE.
If the connection check fails, see Troubleshoot an SSH connection and Troubleshoot a WinRM connection.