Нужна помощь проф... Как безболезненно "похоронить" сервер?

Обсуждение технических вопросов по продуктам Novell под Linux, а также *nix систем

Нужна помощь проф... Как безболезненно "похоронить" сервер?

Сообщение BDmV » 07 янв 2026, 17:34

Подскажите, пожалуйста, как безболезненно "похоронить" умирающий сервер?
В сети есть 6 серверов
1. server4 - NW6.5 - 192.168.126.4 (SLP DA, edir r/w)
2. server6 - OES2018 SLES 12SP5 -192.168.126.6 (GroupWise 2014, DSN (master), edir r/w)
3. server7 - OES2018 SLES 12SP5 - 192.168.126.7 (файл помойка, edir master, ldap)
4. server2 - OpenSuse -192.168.126.2 (dns (slave), zabbix)
6. server5 - Ubuntu -192.168.126.5 (dns (slave), шлюз в инет)

сейчас server6 активно начал "умирать" и когда он падает, то...
1. Почты нет
2. Все пользователи перестают во время логина видеть имя дерева (залогиниться можно только если указать ip 192.168.126.7)
3. перестают ходить в инет, т.к. не резолвятся dns имена, хотя всем по dhcp приходят ip dns серверов .126.6, .126.2, .126.5

Вопрос:
1. Как понять, почему без Server6 исчезает имя дерева?
на Server6 и Server7 /etc/slp.conf одинаковые
net.slp.useScopes = SCOPE_A
net.slp.DAAddresses = 192.168.126.4
net.slp.isBroadcastOnly = false
и slpd запущен на обоих серверах
2. Возможно ли полностью забекапить server6 и поднять его на другом компе? (Server6 крутится на IBM x3650m3 c железным Raid)
или как без возможности подключения к репозиториям микрофокуса поднять новый сервер с groupwise и его существующей базой?

или проще сколхозить опенсурс почтовик на Server2 и каким-то образом перелить на него данные groupwise?

Если у кого-то есть идеи подскажите, пожалуйста? Боюсь, что следующей перезагрузки Server6 не выжержит.
зы К сожалению стенда нет, поэтому самому, не имея должных знаний, пытаться менять конфиги и заниматься настройками Стемновато...
BDmV
 
Сообщения: 243
Зарегистрирован: 17 апр 2003, 20:24
Откуда: г. Видное

Re: Нужна помощь проф... Как безболезненно "похоронить" серв

Сообщение skoltogyan » 07 янв 2026, 17:56

на server6 расположен DNS
похоже. шо вашит станции, в качестве сервера DNS получают(или жестко прописан) сервер 192.168.126.6 (server6 который
соотвественно, когда DNS сервер недоступен ничего не резолвится ( не опредеялется IP по имени))

что предпринять - разверните вторйо сервер DNS и укажите на станциях, что у них есть 2 dns сервера:
192.168.126.6
и тот, на котором развернете второй DNS ( на каком-то из ваших серверов)

+
кода будите добавлять seconday dns на другой сервер уакажите шо он использует ТОТ_ЖЕ locator_object ( НОВЫЙ НЕ СОЗДАВАТЬ locator object)
skoltogyan
 
Сообщения: 2070
Зарегистрирован: 12 июл 2002, 19:39
Откуда: Украина, Донецк

Re: Нужна помощь проф... Как безболезненно "похоронить" серв

Сообщение BDmV » 08 янв 2026, 09:19

А что это за locator_object, где его указывать?
Вообще все хосты получают настройки от dhcp и у всех прописаны 3 DNS и в нормальном режиме на nslookup все отвечают без ошибок.
Но стоит мастеру (server6) лечь.... :)
BDmV
 
Сообщения: 243
Зарегистрирован: 17 апр 2003, 20:24
Откуда: г. Видное

Re: Нужна помощь проф... Как безболезненно "похоронить" серв

Сообщение skoltogyan » 08 янв 2026, 16:59

"Understanding DNS and DHCP Services 25
1.2.2 eDirectory Schema Extensions for DNS
The eDirectory schema extension defines additional objects needed for DNS.
 “DNS eDirectory Objects and Attributes” on page 25
DNS eDirectory Objects and Attributes
When you select the Novell DNS Service during the OES installation, the eDirectory schema is
extended to enable the creation of DNS objects and the following objects are created:
 DNS-DHCP (Locator object) <-----ПРО НЕГО как будите на другой сервер добавлять DNS , укажите что-бы при инсталяции его использовался существующий этот локатор !!!
 DNSDHCP-Group (Group object)
 RootServInfo
Only one copy of these objects exists in the context that is specified during OES installation. The DNS
servers, DHCP servers, and Management Console must have access to these objects"

Вы добавте второй DNS сервис на другой сервер OES ( что-бы он ту-же зону держал)
и в настроqках dhcp для станций добавите IP этого второго dns-а.
skoltogyan
 
Сообщения: 2070
Зарегистрирован: 12 июл 2002, 19:39
Откуда: Украина, Донецк

Re: Нужна помощь проф... Как безболезненно "похоронить" серв

Сообщение BDmV » 08 янв 2026, 20:08

Хм... ВОзможно я не прав, но DNSDHCP сервер я запускал ещё на NW5.1 с тех времён много воды утекло и я уже использую Bind(named) Сусевский без eDir

Сегодня занимался чтением манов по DNS. В итоге перенастроил один из Slave на Master, named на умирающем сервере заглушил.
Полёт нормальный клиенты в инет ходят...

Остаётся slp, он по видимому в eDir настройки прошил, но через iManager я их не вижу. И перенос почты.
BDmV
 
Сообщения: 243
Зарегистрирован: 17 апр 2003, 20:24
Откуда: г. Видное

Re: Нужна помощь проф... Как безболезненно "похоронить" серв

Сообщение Иван Левшин aka Ivan L. » 12 янв 2026, 10:48

1. Хотел бы отметить, что сильно далеко не в первый раз пытаюсь Вам указать на то, что SLP надо все же настроить. Равно как и DNS. Это очень сильно поможет в части обнаружения серверов и сервисов в сети
2. Миграция железного в виртуальный сервер Вам поможет. P2V-конвертеров - полно, начиная от вмварьного.
3. DNSDHCP Locator и DNSDHCP Group - объекты в дереве, которые использовала нетварь и которые все еще использует OES, на них построена вообще вся работа Novell DNS/DHCP.

По остальному Сергей уже написал достаточно.
Иван Левшин aka Ivan L.
 
Сообщения: 2608
Зарегистрирован: 05 июн 2002, 18:36
Откуда: Новомосковск, Тул. обл.

Re: Нужна помощь проф... Как безболезненно "похоронить" серв

Сообщение BDmV » 14 янв 2026, 12:42

Иван Левшин aka Ivan L. писал(а):1. Хотел бы отметить, что сильно далеко не в первый раз пытаюсь Вам указать на то, что SLP надо все же настроить. Равно как и DNS. Это очень сильно поможет в части обнаружения серверов и сервисов в сети
2. Миграция железного в виртуальный сервер Вам поможет. P2V-конвертеров - полно, начиная от вмварьного.
3. DNSDHCP Locator и DNSDHCP Group - объекты в дереве, которые использовала нетварь и которые все еще использует OES, на них построена вообще вся работа Novell DNS/DHCP.

По остальному Сергей уже написал достаточно.

1. Тогда я чего-то не допонимаю. SLP настроено и работает на server4 (NW6.5). Но по чему-то, при выходе server6 пользователи перестают получать ответ от slp (как я писал slp.conf на server7 настроен так-же как и на server6. т.е. теоретически глушение server6 не должно влиять на slp)
2. Спасибо за наводку. Попробую. Пока попробывал установить OES на новую железку. SLES поднялся но к репам не подключился. eDir установить не удалось GW тоже не поднимается, говорит что не пожет скачать необходимые библиотеки.
3. DNS тоже работает и нормально резолвится (но это bind, а не dnsdhcp). через iManager я вообще не вижу, как настраивать slp и DNSDHCP (в старых версиях в nwadmin это было)

зы. да даже если я сейчас захочу установить novel-bind, то не смогу т.к. ncc заблокирован и ни один репозиторий oes2018 не работает. :(
BDmV
 
Сообщения: 243
Зарегистрирован: 17 апр 2003, 20:24
Откуда: г. Видное

Re: Нужна помощь проф... Как безболезненно "похоронить" серв

Сообщение skoltogyan » 14 янв 2026, 13:15

клиенты по DHCP какие именно настройки получают ?
( не про какой именно ip addr рабочей станциии. а что еще кроме default gateway и ip addr получают ? )
+
что именно на рабочей станции показывет
Пуск| выполнить | cmd
slpinfo /a
?
+ эта дока может помочь в поиске причин
https://support.microfocus.com/kb/doc.php?id=7012387
skoltogyan
 
Сообщения: 2070
Зарегистрирован: 12 июл 2002, 19:39
Откуда: Украина, Донецк

Re: Нужна помощь проф... Как безболезненно "похоронить" серв

Сообщение Сергей Дубров » 15 янв 2026, 08:48

skoltogyan писал(а):клиенты по DHCP какие именно настройки получают ?
( не про какой именно ip addr рабочей станциии. а что еще кроме default gateway и ip addr получают ? )
+
что именно на рабочей станции показывет
Пуск| выполнить | cmd
slpinfo /a
?
+ эта дока может помочь в поиске причин
https://support.microfocus.com/kb/doc.php?id=7012387

Microfocus (сейчас opentext) наглухо закрылся от России, даже в DNS нас фильтруют:

$ host www.microfocus.com
Host www.microfocus.com not found: 2(SERVFAIL)
$ host www.microfocus.com 8.8.8.8
Using domain server:
Name: 8.8.8.8
Address: 8.8.8.8#53
Aliases:

www.microfocus.com is an alias for www.microfocus.com.edgekey.net.
www.microfocus.com.edgekey.net is an alias for e11884.dscx.akamaiedge.net.
e11884.dscx.akamaiedge.net has address 139.45.207.235
e11884.dscx.akamaiedge.net has address 139.45.207.249
e11884.dscx.akamaiedge.net has IPv6 address 2a02:26f0:3780:1a::5f65:7416
e11884.dscx.akamaiedge.net has IPv6 address 2a02:26f0:3780:1a::5f65:7423
Аватара пользователя
Сергей Дубров
 
Сообщения: 2099
Зарегистрирован: 05 июн 2002, 06:07
Откуда: Новосибирск, ин-т ядерной физики СО РАН

Re: Нужна помощь проф... Как безболезненно "похоронить" серв

Сообщение BDmV » 15 янв 2026, 10:04

slpinfo.exe /a
Утилита диагностики расположения Client for OES Service
SLPInfo 5.0.180.795
============ Агенты каталогов ============
IP-адрес агента каталогов Имя хоста
======== Список областей действия ========
SCOPE_A
DEFAULT
================ Деревья =================
Имя дерева IP-адрес
VIDNOE 192.168.126.4, 192.168.126.6, 192.168.126.7
================ Серверы =================
Имя сервера IP-адрес
server6 192.168.126.6

Настройки DHCP
option slp-service-scope true "SCOPE_A";
option slp-directory-agent true 192.168.126.4;
option nds-tree-name "VIDNOE";
option nds-context "FINO";
option nds-servers 192.168.126.6, 192.168.126.4, 192.168.126.7;
option ntp-servers 192.168.126.2;
option netbios-name-servers 192.168.126.3;

option domain-name-servers 192.168.126.2, 192.168.126.5;
option routers 192.168.126.1;
BDmV
 
Сообщения: 243
Зарегистрирован: 17 апр 2003, 20:24
Откуда: г. Видное

Re: Нужна помощь проф... Как безболезненно "похоронить" серв

Сообщение skoltogyan » 15 янв 2026, 10:46

в раздаче dhcp к такиому виду строку если привести ?
Код: Выделить всё
option nds-servers 192.168.126.4, 192.168.126.7;
skoltogyan
 
Сообщения: 2070
Зарегистрирован: 12 июл 2002, 19:39
Откуда: Украина, Донецк

Re: Нужна помощь проф... Как безболезненно "похоронить" серв

Сообщение skoltogyan » 15 янв 2026, 10:49

в загашниках копипаст этого тида нашел.:

• Document ID:7012387
• Creation Date:08-May-2013
• Modified Date:24-Nov-2015
Client for Open Enterprise Server (Novell Client)
Environment
Novell Client 2 SP3 for Windows 7
Novell Client 4.91 SP5 for Windows XP
OES 11 on Linux
Situation
Unable to login from Windows workstation.
Can't find the tree or server when clicking "Trees" or "Servers" buttons.
Error: "Tree or server not found".
Typing the server's IP address in the "Tree" or "Server" fields allows for successful login.
Resolution
General Notes:
SLP consists of three components:
• User Agent (UA): This is the entity that needs to look up services (generally, the workstation).
• Service Agent (SA): This is the entity that the UA wants to find (generally, a file server).
• Directory Agent (DA): This is the entity that maintains a listing of the SAs.
To make a server a SA (By default a server is an SA. However, the following steps must be completed on each server in order to be registered on a DA):
1. Edit its /etc/slp.conf file
vi \etc\slp.conf

2. Uncomment the following line:
;net.slp.DAAddresses = myDa1,myDa2,myDa3
and replace myDa1, etc., with the IP addresses of your DAs (including the server where you are editing this file, if it is also a DA).

3. Restart SLP
rcslpd restart

To make a server a DA (Best practice is to have a DA on each LAN segment):
Note: In a multi subnetted environment you must have SLP configured with a DA.
1. Edit the server's /etc/slp.conf file
vi \etc\slp.conf

2. Uncomment the following line:
;net.slp.DAAddresses = myDa1,myDa2,myDa3
and replace myDa1, etc., with the IP addresses of your DAs (including the server where you are editing this file).

3. Uncomment the following line:
;net.slp.isDA = true

4. Restart SLP
rcslpd restart

The server is now a DA servicing the default scope.

To make a workstation a UA
Note: It is also possible to deliver the SLP configuration via DHCP (options 78 and  79).
By default, the Novell Client uses SLP to locate services without any configuration. It does this by multicasting to find a DA, then communicating with the first working DA that responds. However, you can force the Client to unicast directly to a DA of your choice by configuring the Client, as follows:

1. Open the Novell Client Properties and complete the configuration on the "Service Location" tab.
System Tray > Red N icon > Novell Client Properties > Service Location tab
2. Enter the IP address of the DA(s) in the "Directory Agent List" section
3. Enter the scope (if you are defining scopes) in the "Scope List" section (see Possible Cause #5, below)

The above steps comprise the basic setup of SLP. If SLP is not working properly after completing these steps, troubleshoot as follows:

Determine whether the SLP protocol on the workstation can "see" the tree or server:

On the workstation (at a command prompt):
slpinfo /a

The Tree you are trying to find should be listed under the section:
======== Trees ========

The server (SA) you are trying to find should be listed under the section:
======== Servers ========

The Directory Agent (DA) should be listed under the section
========Directory Agents ========

On the server: (in a console terminal session or via Putty), use slptool:
To display all the partitions, including the tree:
slptool findsrvs service:ndap.novell
To display all the servers:
slptool findsrvs service:bindery.novell
 
If the service you are looking for is not found:

Possible Cause 1: The SLP service is stopped or not working properly on the server

Restart SLP
rcslpd restart

If this does not resolve the problem:

Possible Cause 2: SLP is not properly configured on the server

Configure SLP on the OES server serving as a DA.
1. Edit the /etc/slp.conf file
vi \etc\slp.conf

Define the Directory Agents
2. Uncomment the following line:
;net.slp.DAAddresses = myDa1,myDa2,myDa3
and replace myDa1, etc., with the DAs (including the server where you are editing this file)

3. Uncomment the following line:
;net.slp.isDA = true

4. Restart SLP
rcslpd restart
 
If this does not resolve the problem:

Possible Cause 3: The SLES Firewall is blocking SLP traffic

Disable the firewall
rcSuSEfirewall2 stop
 
If this resolves the problem, instead of disabling the firewall entirely, you can fine-tune the firewall to pass UDP and TCP traffic on port 427.

If this does not resolve the problem:

Possible Cause 4: eDirectory is not registering services with SLP

Either A) Wait for eDirectory to register the services or B) Restart eDirectory to re-register the services immediately.

A) Wait for eDirectory to register the services
The default registration timeout for OES is 60 minutes. This timeout can be changed. For example, to make eDirectory register every 10 minutes instead of the default 60 minutes (the eDirectory registration default on NetWare was 10 minutes), execute the following command (a restart of the ndsd service is required for the change to become active):

ndsconfig set n4u.nds.advertise-life-time=600

Verify the setting by typing:

ndsconfig get | grep -i n4u.nds.advertise-life-time

Observe the RNRadvertise value to see when eDir will attempt to register its Bindery and NDAP services again.

iMonitor > Agent Activity > Background Processes Schedule
(https://<ipaddress>:8030/nds/activity/background)

See TID 7001449 for more information about the eDirectory one hour timer and how to adjust it to register in a shorter interval.  This TID also describes how to use iMonitor to watch eDirectory count down to the next registration of services.

B) Restart eDirectory to re-register the services immediately
Any users will be disconnected!
rcndsd restart

Note: DA backup and synchronization can be configured. If the DA has been designated as a backup server, the known services at the time of the last backup will be read from the backup file immediately upon the start/restart of the DA. The backup file can also be useful in troubleshooting SLP. If DA synchronization has been enabled, services will be synchronized between configured DAs. To enable DA backup and synchronization:

1. Edit the /etc/slp.conf file
vi \etc\slp.conf

2. Uncomment the following lines:
;net.slp.isDABackup = true
;net.slp.DASyncReg =true

3. Restart SLP
rcslpd restart

See TID 7001449 for more information about these options.

Possible Cause 5: SLP scopes are not correctly configured

A scope is always used in SLP name resolution. If no scope is specified, the "default" scope is used. The Novell Client will only find services which are advertised within the scope specified in the Client's SLP configuration. A Novell server will only advertise itself as being available within the scopes for which it is configured.

Novell Client Configuration:
Navigate to: System Tray > Red N > Novell Client Properties > Service Location tab > Scope List
If using a scope other than the default scope, enter it here.

Novell OES Server Configuration:
In a terminal session, edit the slp.conf file. For example:
vi /etc/slp.conf

Uncomment the line:
;net.slp.useScopes = myScope1,myScope2,myScope3
Edit this line to reflect the scopes for which this server is to be included. Ensure that there are no spaces between the scope names. i.e. "myScope1,myScope2" instead of "myScope1, myScope2".
Then restart SLP, using the command:
rcslpd restart

Possible Cause 6: Hosts file is mis-configured
Examine the /etc/hosts file. If present, remove the 127.0.0.2 line. See TID 7005104 or TID 7005394. 


Cause
Possible causes addressed in this TID:
1: The SLP service is stopped or not working properly on the server
2: SLP is not properly configured on the server
3: The SLES Firewall is blocking SLP traffic
4: eDirectory is not registering services with SLP
5: SLP scopes are not correctly configured
6: Hosts file is misconfigured
Additional Information
To further debug SLP, capture a LAN trace and/or enable SLP logging

Capture a LAN trace

To capture the LAN traffic associated with the startup/registration of SLP services on the OES server for analysis:

Start a LAN trace on the server, then restart SLP again.

tcpdump -i any -s 0 -w <filename.cap>
rcslpd restart
Press <CTRL><C> to stop the tcpdump

Transfer the LAN trace to a workstation

a) Run WinSCP on the Windows workstation
b) Email the trace using Linux command line:
mail -a <filename> <email_address>)
<ctrl><d> to send.

Examine the trace using Wireshark or other protocol analyzer (Wireshark filter = "srvloc").

Enable SLP Logging

1. Edit the /etc/slp.conf file
vi \etc\slp.conf

2. Uncomment the following lines in the "Tracing and Logging" section:
;net.slp.traceDATraffic = true
;net.slptraceReg = true
;net.slp.traceDrop = true
;net.slp.traceMsg = true
skoltogyan
 
Сообщения: 2070
Зарегистрирован: 12 июл 2002, 19:39
Откуда: Украина, Донецк

Re: Нужна помощь проф... Как безболезненно "похоронить" серв

Сообщение BDmV » 16 янв 2026, 15:32

skoltogyan писал(а):в раздаче dhcp к такиому виду строку если привести ?
Код: Выделить всё
option nds-servers 192.168.126.4, 192.168.126.7;

Спасибо, попробую.

:) Только специально ронять server6 для проверки не буду....
BDmV
 
Сообщения: 243
Зарегистрирован: 17 апр 2003, 20:24
Откуда: г. Видное

Re: Нужна помощь проф... Как безболезненно "похоронить" серв

Сообщение skoltogyan » 16 янв 2026, 16:44

imho: как вариант:
0. внести изменения в dhcp-сревере( и sustemctl restart dhpcd )
1. вытащить пачкорд из шестого*проблемного сервера)
2. выбрать подопытную рабочую станцию. ребутнуть ее и глянуть как это все будет себя вести
после эксперимента - вставить назад пачкорд в сервер
skoltogyan
 
Сообщения: 2070
Зарегистрирован: 12 июл 2002, 19:39
Откуда: Украина, Донецк

Re: Нужна помощь проф... Как безболезненно "похоронить" серв

Сообщение Иван Левшин aka Ivan L. » 23 янв 2026, 13:31

1. В выводе slpinfo /a явно указана причина того, почему SLP толком не работает: список DA пуст, клиенты ищут DA широковещанием, скорее всего, а с ним могут быть (и наверняка есть) сложности. Настройте SLP на клиентах, это можно сделать опциями DHCP: Option 78 (SLP Directory Agent) и Option 79 (SLP Scope List) за это отвечают.
2. Совсем непонятны проблемы с установкой и настройкой OES, никакого интернета там не нужно, все должно быть в образе с дистрибутивом. Интернет нужен для получения обновлений, при этом, как указал Сергей Дубров, ОТ полностью блокирует все попытки подключения из РФ и РБ. Через впн все отлично работает, но дальше уже начинаются кружева с учетками: все (или большинство) УЗ заказчиков эти, назовем их "прекрасными", люди позабанили. В принципе Вам после нетвари OES2018 и так покажется космическим кораблем, там и без обновлений все очень неплохо. Если надо, могу поделиться свежими дистрибутивами - пишите в ЛС, кому нужно.
3. Novell DNS/DHCP в OES Linux базируются на совершенно стандартных BIND и DHCP, сервисы называются, соответственно, named и dhcpd.
4. Для проверки достаточно в Windows дать в командной строке 2 команды:
ipconfig /release
ipconfig /renew
Все, что нужно, станция и так получит без передергивания патчкордов и можно и дальше все проверять.
5. P2V-конвертеры перевозят "как есть", т.е. он Вам Вашу нетварь как есть и перевезет. Сейчас Broadcom сделала Workstation Pro бесплатной, попробуйте в ней созданную виртуалку - или, опять же, в Virtualbox.
Иван Левшин aka Ivan L.
 
Сообщения: 2608
Зарегистрирован: 05 июн 2002, 18:36
Откуда: Новомосковск, Тул. обл.


Вернуться в *nix

Кто сейчас на конференции

Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 2

cron