Работаем с 1С сервером под Linux
/ Просмотров: 9617
Узнаем версию 1С сервера:
cd /opt/1C/v8.3/x86_64 ./ras -v
Запускаем режим администрирования кластера серверов:
./ras --daemon cluster
Получаем ID кластера:
./rac cluster list cluster : 902bdf72-0571-11e8-6283-7aa9a55d4b32 host : Srv-017 port : 1541 name : "Локальный кластер" expiration-timeout : 0 lifetime-limit : 0 max-memory-size : 0 max-memory-time-limit : 0 security-level : 0 session-fault-tolerance-level : 0 load-balancing-mode : performance errors-count-threshold : 0 kill-problem-processes : 0
Получаем список баз:
./rac infobase --cluster=902bdf72-0571-11e8-6283-7aa9a55d4b32 summary list infobase : 141c58a2-0572-11e8-ad81-7aa9a55d4b32 name : shp001 descr : "shp001" infobase : b99faaa2-0592-11e8-0b89-7aa9a55d4b32 name : umkp01 descr : "umkp01"
Создаем базу:
./rac infobase --cluster=902bdf72-0571-11e8-6283-7aa9a55d4b32 create --create-database --name=testneb01 --dbms=PostgreSQL --db-server=srv-018 --db-name=testneb01 --locale=ru --db-user=pgadmin --db-pwd=pgpass –-scheduled-jobs-deny=on --license-distribution=allow infobase : d1f611a6-11f7-11e8-7c98-7aa9a55d4b32
Список сеансов:
./rac session --cluster=f94c84f8-ddcf-11e7-3691-0e46c8950ced list
Удаление сеанса:
./rac session --cluster=f94c84f8-ddcf-11e7-3691-0e46c8950ced terminate --session=bf3a0516-20a2-11ea-f490-0e46c8950ced
http://oparin.info/1c/administrirovanie-serverov-1s-pod-linux-ubuntu