Versions Compared

Key

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

To store the metadata in a network attached storage Aby przechowywać metadane w sieciowej pamięci masowej (NAS), do the followingwykonaj następujące kroki:

  1. Utwórz współdzielony folder sieciowy.
  2. Na Serwerze w Linux OS utwórz katalog netdir; przykładowo w folderze '/media'

  3. Create a shared network folder.
  4. On the Server in Linux OS, create the netdir folder. For example, in the /media folder:

    Code Block
    sudo mkdir /media/netdir


  5. Install the Zainstaluj narzędzie cifs-utils utility.

    Code Block
    sudo apt-get install cifs-utils


  6. Attach the shared network folder to the created netdir folderDodaj współdzielony folder sieciowy do utworzonego katalogu netdir.

    Code Block
    sudo mount -t cifs //IP-address/common /media/netdir -o user=User,password=123,uid=1001,gid=1002,vers=2.0

    where,gdzie:

    1. IP-address - adres NAS address,
    2. common - shared network współdzielony folder sieciowy,
    3. user, password - dane logowania do NAS access credentials,
    4. uid, gid - id of the user and ngp group; they can be obtained using the following commandID użytkownika oraz grupy ngp; mogą być one pozyskane przez uruchomienie komendy:

      Code Block
      id ngp


  7. In the Axxon Next metadata storage settings, specify the W ustawieniach przechowywania metadanych Axxon Next określ ścieżkę '/media/netdir path ' (see zobacz: Konfigurowanie przechowywania zdarzeń systemowych oraz metadanych).

After you restart Po ponownym uruchomieniu Linux OS , the attached folder will be deleted. To configure the network folder to be attached on the OS loading, do the following:załączony folder zostanie usunięty. Aby skonfigurować podłączanie folderu podczas ładowania systemu operacyjnego, wykonaj następujące kroki:

  1. Otwórz plik /etc/fstabOpen the /etc/fstab file.

    Code Block
    sudo nano /etc/fstab


  2. Add the following string to the fileDodaj następującą linię do pliku:

    Code Block
    //IP-address/common /media/netdir cifs user=User,password=123,uid=1001,gid=1002,vers=2.0 0 0


  3. Save fileZapisz plik.