You are viewing the documentation for an outdated or unreleased devel version.
This page is also available in versions: devel

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
devel:documentation:adm:systems:winrm_ad_connector [2019/10/08 13:11]
fiserp [Installation]
devel:documentation:adm:systems:winrm_ad_connector [2019/10/17 11:05] (current)
fiserp [Installation]
Line 136: Line 136:
 </​note>​ </​note>​
  
-Now we have prepared the tool which is used by our connector. Next you need to install java connector server. Connector server is not mandatory but as we wrote in the first section it'​s ​recommended ​to use it.+Now we have prepared the tool which is used by our connector. Next you need to install java connector server. Connector server is not mandatory but as we wrote in the first section it is strongly ​recommended.
  
-<​note>​Configure log rotation for connector server log file</​note>​ +  ​Follow [[devel:​documentation:systems:​dev:​remote-connector|this howto]] ​to install ​remote connector server as a service. 
-You can download whole bundle with prepared and tested connector server https://​git.bcvsolutions.eu/​modules/​connector-server/​tree/​develop +  Put ''​winrm-ad-connector-1.0.1.jar'' ​to the ''​bundles'' ​folder inside connector server ​installation ​and restart the connector server
-<note important>​It'​s private at this time</​note>​ +  - Configure ​WinRM on windows server or check if WinRM is accessible. You can follow steps from our [[tutorial:​adm:​configuration_-_winrm|tutorial]].
- +
-Or you can follow this guide and prepare the connector server yourself if you want. +
-This connector is tested in java connector server 1.4.5.1 https://​connid.atlassian.net/​wiki/​spaces/​BASE/​pages/​360458/​Downloads#​Downloads-JavaConnectorServer +
-and with connector-framework 1.4.3.0 +
- +
-Next you will need to add these libraries into lib folder of the connector server: +
-  * jackson-annotations-2.9.8 +
-  * jackson-core-2.9.8 +
-  * jackson-databind-2.9.8 +
-You will probably need to add these libs into classpath in ConnectorServer.sh or ConnectorServer.bat it depends on your OS. +
- +
-Next it's good to do some more configuration as setting new password for connector server and create new user under which the connector server will be started. +
- +
-For setting new password for you remote ​connector use +
-<​code>​ +
-./​bin/​ConnectorServer.sh -setKey -key yourKey -properties conf/​connectorserver.properties +
-</​code>​ +
- +
- +
-If you want to be able to run connector server as a service ​follow next steps +
- +
-<​code>​ +
-# create user which we run the connector server +
-useradd connector-server +
- +
-#create file +
-/​etc/​systemd/​system/​java-connector-server.service +
- +
-# content of the file, change path according where you have your connector server +
-[Unit] +
-Description=Java Connector Server Service +
-[Service] +
-User=connector-server +
-WorkingDirectory=/​opt/​connid-connector-server +
-ExecStart=/​bin/​bash /​opt/​connid-connector-server/​bin/​ConnectorServer.sh -run -properties /​opt/​connid-connector-server/​conf/​connectorserver.properties +
-SuccessExitStatus=143 +
-[Install] +
-WantedBy=multi-user.target +
- +
-# Reload and enable deamon +
-systemctl daemon-reload +
-systemctl enable java-connector-server +
- +
-# Use this to start/​stop/​status +
-systemctl start java-connector-server +
-systemctl stop java-connector-server +
-systemctl status java-connector-server +
-</​code>​ +
- +
-Now you can put winrm-ad-connector-1.0.1.jar to the bundles folder inside connector server and you can start it+
- +
-Next thing which you need to do is configure ​WinRM on windows server or check if WinRM is accessible. You can follow steps from out [[tutorial:​adm:​configuration_-_winrm|tutorial]]+
  
 ===== Configuration ===== ===== Configuration =====