Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

It is assumed that all services of the dLibra system server are installed on the server. You will find more information about the services of the dLibra system server in Chapter 13. Scaling the dLibra System.Przyjęto założenie, że na serwerze zainstalowane są wszystkie usługi serwera systemu dLibra. Więcej informacji na temat usług serwera systemu dLibra znajdziesz w rozdziale [EN] chapter 13. Scaling the dLibra System.

Transferring the dLibra

...

Server Application and

...

Data

Server configuration:

Parameter

Source server

Target server

Rodzaj systemu operacyjnego

The type of the operating system

Linux

Windows

Lokalizacja aplikacji serwera dLibra

The location of the dLibra server applications

/dlibra/dlibra-server

c:\dlibra\dlibra-server

Lokalizacja katalogu z treścią obiektów cyfrowych

The location of the directory with the content of digital objects

/dlibra/content/files

c:\dlibra\content\files

Lokalizacja katalogu z indeksami wyszukiwawczymi

The location of the directory with search indexes

/dlibra/content/index

c:\dlibra\content\index

Lokalizacja katalogu z kopią indeksów wyszukiwawczych

The location of the directory with a copy of search indexes

/dlibra/content/index_backup

c:\dlibra\content\index_backup

Lokalizacja katalogu z cache'em jpg

The location of the directory with the JPG cache

/dlibra/content/jpg-cache

c:\dlibra\content\jpg-cache

Lokalizacja katalogu z cache'em zip

The location of the directory with the ZIP cache

/dlibra/content/zip-cache

c:\dlibra\content\zip-cache

Adres IP hosta z serwerem dLibry

The host IP address with the dLibra server

150.254.100.1

150.254.100.2

Przed przystąpieniem do przeniesienia systemu dLibra należy skonfigurować serwer docelowy podobnie jak serwer źródłowy. Przede wszystkim należy zainstalować Before beginning the migration of the dLibra system, the target server should be configured in a similar way to the source server. First of all, Java Runtime Environment (JRE) firmy 1.8 from the Oracle company (poprzednio formerly Sun Microsystems) w wersji 1.8 oraz umożliwić połączenia na portach wymaganych przez serwer systemu dLibra.must be installed, and connections must be enabled on the ports required by the dLibra system server.

  1. Turn off the dLibra system on the source server.
  2. Copy the server application directory of the dLibra system server from the source server to the target server.
  3. Copy the directories with: the content of digital objects, search indexes, and a copy of search indexes. The ZIP and JPG cache directories do not have to be copied.
  4. Update the configuration files
  5. Wyłączyć system dLibra na serwerze źródłowym.
  6. Skopiować z serwera źródłowego katalog aplikacji serwera systemu dLibra na serwer docelowy.
  7. Skopiować katalog z treścią obiektów cyfrowych, z indeksami wyszukiwawczymi oraz katalog z kopią indeksów wyszukiwawczych. Katalog z cache'em jgp i zip nie muszą być kopiowane.
  8. Zaktualizować pliki konfiguracyjne:
  • c:\dlibra\dlibra-server\conf\cs\service.properties:

    • Code Block
      contentDirectory=c:\\dlibra\\content\\files



    • Code Block
      zip.cachePath=c:\\dlibra\\content\\zip-cache



    • Code Block
      jpg.cachePath=c:\\dlibra\\content\\jpg-cache


  • c:\dlibra\dlibra-server\conf\lucene.properties:

    • Code Block
      indexDirectory=c:\\dlibra\\content\\index



    • Code Block
      indexBackupDirectory=c:\\dlibra\\content\\index_backup


Jeżeli adres sieciowy If the network address (IP lub domenowy) serwera docelowego ulegnie zmianie, należy wykonać dodatkowe czynności. Jeżeli adres się nie zmienił, lub nie wykorzystujemy go w konfiguracji, czynności te należy pominąć.or domain address) of the target server is changed, additional actions must be carried out. If the address is not changed or is not used in the configuration, those actions should be skipped.

  1. In file W pliku c:\dlibra\dlibra-server\conf\server.xml zaktualizować adres serwera - atrybut serverHost elementu server. W naszym przypadku, update the server address – attribute serverHost of the server element. In our case:

    Code Block
    <dlibra serverHost="150.254.100.2" serverPort="10051">


  2. W bazie danych w tabeli In the database, in table SYS_SERVICES zaktualizować wartości w kolumnie , update the values in column SER_HOST dla rekordów usług, które przenosimy (wszystkie oprócz usługi ss dostępnej na hoście for the records of the moved services (all except for the ss service available on the 127.0.0.1 oraz usługi pshost and except for the ps service).
  3. W aplikacja czytelnika w pliku In the Reader Application, in file dlibra-webapp/WEB-INF/conf/services.properties zaktualizować wartość parametru , update the value of parameter ss.url na , by changing it to //150.254.100.2:10051/ss

Po dokonaniu wyżej opisanych czynności możemy uruchomić serwer systemu dLibra na nowym serwerze zgodnie z opisem dostępnym w rozdziale [EN] Having carried out those actions, we can start up the dLibra system server on the new server, in accordance with the description in chapter 01. Starting up the dLibra System Server.

Przenoszenie bazy danych

Moving the Database

If the database has also been moved, the connection parameters in file Jeżeli baza danych została także przeniesiona, należy aktualizować parametry połączeniowe zawarte w pliku c:\dlibra\dlibra-server\conf\database.properties should be updated.