Hi,

I am using Ansible PywinRm to connect and run powershell on the remote 
windows 2012 R2 server.

I am getting the error 
access denied on new cluster command on adding the second node to the 
cluster. 

Below are the connection details 
import winrm
s = winrm.Session('192.X.X.X',auth=('[email protected]', 
'anything'), transport='kerberos')
r = s.run_cmd('ipconfig', ['/all'])   --- works fine
r = s.run_ps("""New-Cluster -Name sqlaagcluster -Node 
firstcomputer.CORP.LOCAL,secondcomputer.CORP.LOCAL -StaticAddress 
192.X.X.X""")    --- access denied on the second computer

Please help.

Thanks,
Ashish 

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/03e01b24-b8c2-4895-aaa4-9721d76cef07%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to