Go to documentation repository
Page History
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:
- Utwórz współdzielony folder sieciowy.
Na Serwerze w Linux OS utwórz katalog netdir; przykładowo w folderze '/media'
- Create a shared network folder.
On the Server in Linux OS, create the netdir folder. For example, in the /media folder:
Code Block sudo mkdir /media/netdir
Install the Zainstaluj narzędzie cifs-utils utility.
Code Block sudo apt-get install cifs-utils
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:
- IP-address - adres NAS address,
- common - shared network współdzielony folder sieciowy,
- user, password - dane logowania do NAS access credentials,
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
- 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:
Otwórz plik /etc/fstabOpen the /etc/fstab file.
Code Block sudo nano /etc/fstab
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
- Save fileZapisz plik.