Bob
If you download this project from git
https://github.com/mustard57/MarkLogicEC2ClusterSetup
git clonehttps://github.com/mustard57/MarkLogicEC2ClusterSetup.git myDir

you will find MarkLogicSetup.py in the for_remote directory.

RE Do I understand that correctly---that this functionality to programatically 
update MarkLogic licenses --will not be available until version 7?

There is no published API for this. You may be able to make use of 
/license-go.xqy however.

Ken


From: [email protected] 
[mailto:[email protected]] On Behalf Of Bob O
Sent: 22 May 2013 17:25
To: MarkLogic Developer Discussion
Subject: Re: [MarkLogic Dev General] Updating ML license(s) progamatically

Ken,

Where would I find the MarkLogicSetup.py? Is it in the binaries?

Do I understand that correctly---that this functionality to programatically 
update MarkLogic licenses --will not be available until version 7?

~~Bob O.
On Tue, May 21, 2013 at 4:28 AM, Ken Tune 
<[email protected]<mailto:[email protected]>> wrote:
Bob

The GitHub project below is something I put together myself.

With respect to license details, if you look in MarkLogicSetup.py you can see 
how the license gets set.

>From memory it is 
>http://HOST:8001/license-go.xqy?license-key=<KEY>&licensee=<LICENSEE<http://host:8001/license-go.xqy?license-key=%3cKEY%3e&licensee=%3cLICENSEE>>

The server will re-start and the EULA requires accepting.

The URL for this is /agree-go.xqy?accepted-agreement=<LICENSE-TYPE>&ok.x=1

This is a hack in that this is the way it works in V5 and V6, but the future 
working of this is not guaranteed as we are not using an API. We are providing 
an API for this feature in V7.

Please contact me off list for further info, and copy Aaron in if so.

Ken Tune





From: 
[email protected]<mailto:[email protected]>
 
[mailto:[email protected]<mailto:[email protected]>]
 On Behalf Of Aaron Rosenbaum
Sent: 20 May 2013 23:34
To: [email protected]<mailto:[email protected]>
Subject: Re: [MarkLogic Dev General] Updating ML license(s) progamatically

There was some discussion of these issues at MarkLogic World 13 last month:
http://www.marklogic.com/resources/using-marklogics-rest-apis-for-devops/

There is an open source project that deals with some of these issues in ML6:
https://github.com/mustard57/MarkLogicEC2ClusterSetup
Although in EC2, the license application approach - although a hack - 
should/might work off EC2.

If you are doing something large-scale, please contact me off-list and I can 
see if we can get the support you need (typically license acceptance automation 
requirement comes about because of virtualization - I can help with that also.)

-Aaron Rosenbaum

Aaron Rosenbaum
Director, Product Management
MarkLogic Corporation


_______________________________________________
General mailing list
[email protected]<mailto:[email protected]>
http://developer.marklogic.com/mailman/listinfo/general

_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to