[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Handle-info] How to create a new admin handle without using DBTool



Indeed, we do not currently have ready-to-use non-GUI tools for editing a Handle store directly.  There are a couple of possible options:

(1) Edit a handle store using DBTool on your local machine, and then copy the whole handle store to your server.
(2) Use the Java library to write a little non-GUI program to add the necessary admin handle to bootstrap your service.
(3) Use the "server_config" option "anonymous_admin_full_access" = "yes".  Then you can start the handle server and administer it without authenticating.  Possibly just long enough to create an admin identity, then turn off the anonymous_admin_full_access.

Best,
Robert

> On Jul 29, 2016, at 10:05 AM, Robert Verkerk <robert.verkerk@surfsara.nl> wrote:
> 
> Hi,
> 
> I think you are in a checken/egg situation.
> - You can use the hdl-batch when a handle server is running
> - You can use the REST API when a handle server is running
> 
> But before you can start a handle server you need to configure an admin handle. There’s where the hdl-dbtool comes in.
> 
> Are you able to connect to the Centos machine from an other machine using "ssh -X handle_user@handle_system”. When the hdl-dbtool than is started it will then X forwarding and display graphics on the machine where ssh is started from.
> 
> Greetings,
> 
> Robert Verkerk
> 
> 
>> On 29 Jul 2016, at 15:53, Scott Prater <scott.prater@wisc.edu> wrote:
>> 
>> There is a command line script in the distributed software:  bin/hdl-create.
>> 
>> You can also use the batch interface (described in Chapter 4 of the Technical manual) or the REST API, using curl to send commands (described in Chapter 14).  I think the src.zip file (also included in the distribution package) has a number of sample scripts you can look at.
>> 
>> -- Scott
>> 
>> On 07/28/2016 08:30 PM, Mrshao wrote:
>>> I want to create an independent handle service, so i according to
>>> the  HN_Tech_Manual_8  in 10.2 chapter , which title is "10.2 Server
>>> Side Configuration".
>>> 
>>> I have as done the first two steps:  (1)modify the config.dct, and (2)
>>> add the prefix to the handle storage using the "auto_homed_prefixes"
>>> configuration option.  However, I have a problem to the step 3rd, (3)
>>> Create the new admin handle using the DBTool. Because I use the Centos
>>> which  has no GUI, I cannot use the DBTool.
>>> 
>>> So, I need help, how to create a new admin handle without using DBTool,
>>> is there some shell script examples ?
>>> thanks a lot
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> Handle-Info mailing list
>>> Handle-Info@cnri.reston.va.us
>>> http://www.handle.net/mailman/listinfo/handle-info
>>> 
>> 
>> -- 
>> Scott Prater
>> Shared Development Group
>> General Library System
>> University of Wisconsin - Madison
>> 
>> _______________________________________________
>> Handle-Info mailing list
>> Handle-Info@cnri.reston.va.us
>> http://www.handle.net/mailman/listinfo/handle-info
> 
> _______________________________________________
> Handle-Info mailing list
> Handle-Info@cnri.reston.va.us
> http://www.handle.net/mailman/listinfo/handle-info

_______________________________________________
Handle-Info mailing list
Handle-Info@cnri.reston.va.us
http://www.handle.net/mailman/listinfo/handle-info