These is clear instructions to start a new installation of the handle server.
# Take a backup of the handle-server folder first if you already had a handle-server previously and do:.
1) /dspace/bin/dspace make-handle-config /dspace/handle-server/
Through what network-accessible IP address should clients connect to this server? [127.0.1.1]: x.x.x.x <--- Server Public IP
If different, enter the IP address to which the server should bind. [159.10.178.1]: 192.168.100.x <--- Server Private IP
Would you like to encrypt your private key?(y/n) [y]: no <-- You should say no but you can say yes if you do, you have to enter this passphrase every time the handle server needs to be started (DSpace recommends not to encrypt it).
3) vi /dspace/handle-server/config.dct
# Add the handle storage plugin you see in red below and replace every occurrence of YOUR_PREFIX with your allotted prefix you have in dspace.cfg/local.cfg.
"server_config" = {
"storage_type" = "CUSTOM"
"storage_class" = "org.dspace.handle.HandlePlugin"
"enable_txn_queue" = "no" "server_admins" = (
"300:
0.NA/YOUR_PREFIX"
)
"replication_admins" = (
"300:
0.NA/YOUR_PREFIX"
)
"max_session_time" = "86400000"
"this_server_id" = "1"
"max_auth_time" = "60000"
"server_admin_full_access" = "yes"
"case_sensitive" = "no"
"auto_homed_prefixes" = (
"
0.NA/YOUR_PREFIX"
)
4) chown -R tomcat:tomcat /dspace/handle-server
5) /dspace/bin/start-handle-server
6) ss -nlp | grep ":8000\|:2641"
7) Make sure port 2641/udp, 2641/tcp and 8000/tcp are opend on the public firewall and the server firewall if you have one running.
8) Send the generated /dspace/handle-server/sitebndl.zip to CNRI ... You should include your name, organization name, and your prefix that needs to be updated in the email.
Hope it help.
Mo.