Geert,

This is what I was wondering. No, I just made an empty database called 
Test-Security, but I suspected it needed some basic data to work. Do you 
recommend just backing up the existing Security db and restoring it into the 
test one?

Thanks,

Will

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Geert Josten
Sent: Wednesday, July 20, 2011 3:18 PM
To: General MarkLogic Developer Discussion
Subject: Re: [MarkLogic Dev General] ML Deployment automation and testing

Hi Will,

Testing your script against another instance of MarkLogic Server, as suggested 
by David, is probably the easiest way of testing it. But it should be possible 
to create a second Security database. It is essentially just another database, 
though with rather specific contents. You will need to inject users, roles, etc 
to make it useable. Did you make a duplicate of the Security database?

Kind regards,
Geert

-----Oorspronkelijk bericht-----
Van: [email protected] 
[mailto:[email protected]] Namens Will Thompson
Verzonden: woensdag 20 juli 2011 20:43
Aan: General MarkLogic Developer Discussion
Onderwerp: [MarkLogic Dev General] ML Deployment automation and testing

We maintain a boostrapping-type script, using admin and sec commands, that 
creates all users, roles, database/index settings, etc., so that a new or 
existing instance can be brought up to date with the latest Dev machine. 
However, I have run into problems testing it. I guess the obvious method would 
be keeping a PC or VM around just to install ML from scratch and test the 
script, but I was hoping it would be possible to do this locally. 

I tried creating a second Security database and instructed the script to build 
a the new content database using a different name, but it doesn't seem to like 
the second Security database. Is there a trick to creating another Security 
database? I know it's not recommended, but this would only be for testing. I 
couldn't find anything in the ML Security Administration docs.

Do you have any recommendations on how to quickly test a script like this each 
time it is updated?

Thank you,

Will
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general
_______________________________________________
General mailing list
[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