Skip to main content

Configuration Server DataBase

Project description

Authors: Jan Kotanski, Eugen Wintersberger, Halil Pasic

The package contains SQL files to create the MySQL database for Configuration Server.

NeXuS Configuration Server is a Tango Server with its implementation based on a MySQL database. It allows to store XML configuration datasources and components. It also gives possibility to select mandatory components and perform the process of component merging.

Installation

Install the dependencies:

MySQLdb, PyTango, sphinx

From sources

Download the latest version of NeXuS Configuration Server from

Extract the sources and run for both packages

$ python setup.py install

To set database execute

$ mysql < conf/mysql_create.sql

with proper privileges.

Debian packages

Debian Bookworm, Bullseye, Buster as well as Lunar, Jammy, Focal packages can be found in the HDRI repository.

To install the debian packages, add the PGP repository key

$ sudo su
$ wget -q -O - http://repos.pni-hdri.de/debian_repo.pub.gpg | apt-key add -

and then download the corresponding source list

$ cd /etc/apt/sources.list.d
$ wget http://repos.pni-hdri.de/bookworm-pni-hdri.list

Finally,

$ apt-get update
$ apt-get install python-nxsconfigserver nxsconfigserver-db

To instal other NexDaTaS packages

$ apt-get install python-nxswriter nxsconfigtool nxstools

and

$ apt-get install python-nxsrecselector nxselector python-sardana-nxsrecorder

for Component Selector and Sardana related packages.

From pip

To install it from pip you can

$ python3 -m venv myvenv
$ . myvenv/bin/activate

$ pip install nxsconfigserver-db

Moreover it is also good to install mysql to be able to execute

$ mysql < conf/mysql_create.sql

where mysql_create.sql is installed in myvenv/share/nxsconfigserver

Setting NeXus Configuration Server

To set up NeXus Configuration Server with the default configuration run

$ nxsetup -x NXSConfigServer

The nxsetup command comes from the python-nxstools package. It starts the NeXus Configuration Server and tries to find a proper value of the JSONSettings attribute.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nxsconfigserver-db-1.10.5.tar.gz (26.0 kB view details)

Uploaded Source

File details

Details for the file nxsconfigserver-db-1.10.5.tar.gz.

File metadata

  • Download URL: nxsconfigserver-db-1.10.5.tar.gz
  • Upload date:
  • Size: 26.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.4.2 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2

File hashes

Hashes for nxsconfigserver-db-1.10.5.tar.gz
Algorithm Hash digest
SHA256 f3d0544408fb54340455a25d53c08c4cdc24c6c48789e5aca273fbbf47f7789f
MD5 f4afcfbc4624e1ec1bc1a6a5dc338eba
BLAKE2b-256 24af41ef0a8879b461d991a0990ac975021642417e3f69fe4ccbd27975a3f0b8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page