How can I connect to a windows client with awx? - ansible-awx

As far as I konw about awx, it use CREDENTIAL to connect to the client host, but how can awx connect to a client host with a windows operation system such as windows 2012? If I use the machine CREDENTIAL type ,the awx will still use ssh to connect with the client host. Is there any CREDENTIAL type which is used to connect with windows host?
I have installed the winrm module and I can connect with a windows host in ansible already,but cannot in awx.

In Ansible tower, inventories -> Details tab - > extra variables, provide the below details.
---
ansible_connection: winrm
ansible_winrm_kerberos_delegation: true
ansible_winrm_scheme: http
ansible_port: 5985

Related

Unable to connect to SQL Server using ipaddress or localhost and portno 1433

I have installed Microsoft SQL Server 2019, I am able to connect using hostname and Windows authentication from SSMS, but when it try to connect to it using localhost or the IP address and port 1433 from SSMS or DBeaver, it doesn't connect.
I have verified the service status, port no, server logs, all looks good but still unable to connect. Can somebody please help?
The issue is resolved after enabling server authentication.steps :-
1. In SSMS right click on conection
2. Go to properties-> security
3. Change authentication mode to windows and SQL server from windows authentication.
After making this change , I am able to connect to the sever using ipaddress.

Remote access to postgresql server windows 10

As the title suggest I'm trying to configure a postgresql server to be accessible remotely. I've followed many guides and viewed some of the other answers here however I'm still having trouble.
The details:
os, windows 10
postgresql version on host is 11.6
postgresql version on remote is 11.2 with anaconda install
I have changed the pg_hba.conf and postgresql.conf to allow for connections to the server.
More specifically I've added the line
host all all xxx.xx.x.0/0 trust
I can verify that the host is listening on local address 0.0.0.0:5432 via netstat.
I can ping the ip of the host from the remote, and I have set windows firewalls on the host to allow connection.
Yet I still recieve the following error when trying to access psql from the remote.
psql: could not connect to server: Connection timed out (0x0000274C/10060)
Is the server running on host "xxx.xx.x.144" and accepting
TCP/IP connections on port 5432?```
I had to double check the windows firewall permissions. The connection was enabled but the application was not set to allowed. It turns out a local user can enable connection but I needed the system admin to set the application executable to allowed by the windows fire wall.

Can't connect to MongoDb 4.0.9 on Windows server with shell

I have MongoDb 4.0.9 running as a service on Windows Server 2016 Standard.
This is my mongod.cfg:
For testing purposes I turned off the server's firewall completely.
I am not using SSH or any other tunnel so far
The Windows service logs on as "Network Service"
I have one user in the "admin" database with roles "userAdminAnyDatabase", "dbAdminAnyDatabase" and "readWriteAnyDatabase"
My local machine is Windows 10 and here I have Mongo 4.0.9 installed as well. I am trying to connect to my server's database by shell:
When I go on the server (Remote Desktop) I can connect successfully (same user credentials):
I am running out of ideas what I am doing wrong when remote connecting.
What is also confusing: I am doing the exact same thing on another server (different provider, different database, but also Windows Server 2016 Standard, MongoDb 4.0.9 and the same user and roles). And here I CAN connect.
So, I assume it has something to do with the settings of Windows Server (and not Mongo ...)?
Does anybody have an idea?
From what I could gather, it seems your the Windows Machine running the MongoDB service is hosted in the cloud.
If you are certain the windows firewall is turned off (make sure to disable it on Private, Public and Domain - if applicable)
Furthermore, my best guess is that the port might be block by the cloud hosting provider firewall.
Usually they provide the basic port openings (21, 80, 443, 1433, 3389, etc) - and port which are not common for windows (like 27017) are blocked (filtered) by default.
if you wish to verify this, run the following:
nmap <server hostname> to get the default ports checked.
for MongoDB run nmap -p 27017 <server hostname>

Websphere Application Server exception ADMC0016E: The system cannot create a SOAP connector to connect to host port

After enabling administrative security on Websphere Application Server 7.0.15 ND, we are not able to stop the server server1. It says, that server appears to be stopped and not able to start the server server1:
exception ADMC0016E: The system cannot create a SOAP connector to connect to host port 8881.
Deployment Manager is installed on the same server and able to access admin console.
try to sycnhoronize Deployment Manager and node vis syncNode.sh utility from %node_profile/bin directory
./syncNode.sh dmgr_host -port port -user user -password password
then start node

How to setup Kerberos in a Linux server and Connect it to AD for Authentication

I have an Active Directory in a server and I have been allocated another Linux server for Kerberos. Can you send me the steps for Installing the Kerberos in the Linux machine and connect it with AD for Authentication?