marsav / lindat-dspace

CLARIN-LT digital repository based on DSpace
http://clarin.vdu.lt/xmlui
Other
1 stars 0 forks source link

Dspace Handle Server setup (tech) #28

Closed marsav closed 6 years ago

marsav commented 8 years ago

Parent: #14

Instructions:

Notes:

  1. The Handle protocol is based on TCP, so it will need to be installed on a server that can send and receive TCP on port 2641. HTTP post 8000 has also be opened for access.
  2. Each handle site has a version/serial number assigned to it. This is so that a client can tell if a particular site's configuration has changed since the last time it accessed a server in the site. Every time you modify a site (by changing an IP address, port, or adding a server, etc), you should increment the version/serial number for that site.
  3. Handle prefix 20.500.11821 has been allotted to you
  4. The Handle System can communicate via UDP and/or TCP sockets. Since UDP messages are blocked by many network firewalls, you may want to disable UDP services if you are behind such a firewall.
marsav commented 8 years ago

http://www.handle.net/prefix_request.html

sitebundl.zip File Upload

For new registrants, the final step in the HANDLE.NET® Software download and registration process is to upload the sitebndl.zip file generated by running the hdl-setup script (following the instructions in the README.txt file included with the software distribution) to the HNR Administrator, who will then create and activate your allotted prefix.

Existing users who move their handle server to new hardware, change a server's IP Address or otherwise change their server's configuration must re-run the hdl-setup script to generate an updated sitebundl.zip file. Send questions about your server update or requests for further information to the HNR Administrator at xxx at cnri.reston.va.us, and be sure to identify the prefix to be updated in your email message.

marsav commented 8 years ago

sitebundl.zip response:

[...] You will receive a response from the HNR Administrator within the next 48 hours. Questions should be sent to hdladmin at cnri.reston.va.us

marsav commented 8 years ago

Installation steps 1-3 complete. Current status: "An [handle.net] administrator will then create the naming authority/prefix on the root service (known as the Global Handle Registry), and notify you when this has been completed. You will not be able to continue the handle server installation until you receive further information concerning your naming authority."

marsav commented 8 years ago

@adavidsonas reikia atidaryti: TCP on port 2641, HTTP on port 8000

handle faq: https://www.handle.net/faq.html#T28

adavidsonas commented 8 years ago

Portai atidaryti.

marsav commented 8 years ago

Your prefix has been created. Let us know if you have any issues setting up your handle server or getting your handles to resolve.

marsav commented 8 years ago

Laukiama patikslinimo dėl 'Init scripts' dalies @tkrilavicius žr. email paklausimą

marsav commented 7 years ago

@adavidsonas Dar dėl portų, kitoj vietoj radau tokį reikalavimą: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Handle_Server#Step_8_-_Firewall_Ports

Ports 8000 and 2641 must be opened to listen via UDP and TCP to the handle server: http://hdl.handle.net

Ar gali patvirtint kad tie portai atviri UDP ir TCP?

marsav commented 7 years ago

Handle serveris šiuo metu paleistas iš root. Galima patikrinti:

http://clarin.vdu.lt:8000/

suvedant: 20.500.11821/3 ar kitą egzistuojantį handle.

marsav commented 7 years ago

Išriša teisingai: http://hdl.handle.net/20.500.11821/3

marsav commented 7 years ago

Pridėta į /etc/rc.local, restartui. Handle server setup baigtas.

adavidsonas commented 7 years ago

Dėl portų: visi portai localhost-ui atviri. Taigi servisai tarpusavyje gali bendrauti be apribojimų. 8000 ir 2641 atviri tik TCP. Ar pridėti ir UDP?

adavidsonas commented 7 years ago

Startup skriptus dėti į /etc/rc.local yra bloga mintis. Taip darydavom prieš 10 metų kai nebuvo normalios init sistemos ir turėdavom eilę visokių problemų. Siūlyčiau rašyti normalų init skriptą ir jei įmanoma pleidinėti ne root teisėmis.

marsav commented 7 years ago

Čia padariau kaip rekomendavo dokumentacijoje, bet supratau mintį, pažiūrėsiu ką galima padaryt.

marsav commented 7 years ago

Dėl portų: čia bus kreipiamasi iš išorės (handle.com). Bet panašu kad TCP užteko, nors dokumentacijoje mini abu protokolus. Tai paliekam kaip yra, nes šiuo metu mano testai veikia - jei kils problemų, tvarkysim tada.

adavidsonas commented 7 years ago

Jei el. paštu atsiųsite komandas su kuriomis turėtų būti paleidžiamas, stabdomas, perkraunamas servisas bei nurodysite kokio vartotojo teisėmis, skriptą galiu parašyti ir įkelti (nepažadu šiandien).