• Познакомьтесь с пентестом веб-приложений на практике в нашем новом бесплатном курсе

    «Анализ защищенности веб-приложений»

    🔥 Записаться бесплатно!

  • CTF с учебными материалами Codeby Games

    Обучение кибербезопасности в игровой форме. Более 200 заданий по Active Directory, OSINT, PWN, Веб, Стеганографии, Реверс-инжинирингу, Форензике и Криптографии. Школа CTF с бесплатными курсами по всем категориям.

Проблема с переносом сервера

  • Автор темы Leess
  • Дата начала
L

Leess

Добрый день!

Возникла необходимость перенести временно сервер Домино на другой компьютер. Для этого был взят обычный компьютер Dell с 1 Гб оперативной памяти, Core duo 2.4 Диск SATA 320 Гб. Win Server 2003 R2
Версия сервера 6.5.5FP2. Родной дистрибуив 6,5,1 и заплатки.
Что я делал:
1. Остановил сервер на старом компе и скопировал все папки.
2. Переместил папки на новый компьютер.
3. Последовательно проинсталлировал сервер 6,5,1 поверх папок + заплатки до 6.5.5 FP2. Перезагрузка после каждой инсталляции.
4. Запускаю и сервис и сервер, все равно - загружается окно сервера, подгружаются таски, проверяются базы, компоненты и в определенный момент выдает следующее окно -В приложении Лотус произошла ошибка, Данные об ошибки собираются и потом приложение будет закрыто...

И все. Сервер закрывается.

Попробовал запустить на старой машинке, обычной такой MSI. С IDE дисками и вин ХР. Так сервер запустился и реагировал на команды. А на брэндовом DELL такой вот казус.

Подскажите плиз, может я чтото не так делаю?
 
C

collection

[codebox]Problem
What are the basic steps to reinstall a Domino server or to move a Domino server from one machine to another?
Possible reasons for reinstalling a Domino Server :

1. Customers may want to reinstall a server because, during install of an incremental installer, an error occured and the installer did not complete.
2. The Domino server is crashing and troubleshooting did not reveal the root cause.

Cause


Solution
Note: The following steps should be considered a best practice to recover from a Domino server upgrade failure or a complete reinstallation of a Domino server. These steps only relate to the components installed by the Domino server installer. Data stored in the data directory structure should be protected. Additionally, if there are logs that are stored in the binaries directory or if any other products are installed and reference files in this directory, appropriate actions should be taken to back these files up.

I. Reinstalling a Domino server

Run a full installation of the Domino server and point the install to the previously installed Domino directory on the physical server. This will not overwrite existing system files and you do not need to go through an initial server setup since the install files will pick up all relevant information from the existing NOTES.INI file. The Domino directory also does not get overwritten so when the server is started again, it will continue as if nothing has changed. Server startup will continue and all previous settings will still be intact.

II. Moving a Domino server from one machine to another

1. Shut off replication and mail routing to the server that is being rebuilt or reinstalled.
2. Make a complete backup of the original Domino server. Note that the location of the program directory can be identified from the line NotesProgram = in the NOTES.INI file.
3. Create the Lotus\domino and Lotus\domino\data directories on the new server.
4. Move all the data files from the old machine (the location of the data directory can be identified from the line Directory= in the NOTES.INI) to the appropriate place on the new server box. Data files include:
Anything with an .NSF extension
Server's ID file
Administrator's ID file
Certificate ID file
Public Address Book for the server (NAMES.NSF)
Note: It is also important to copy the Certlog.nsf over because it is used for security purposes and for user maintenance (to some degree).

5. Move all the mail files of all the Notes mail users. By default, these are kept in the Notes\Data\Mail directory. Additionally, move all other databases that were created on the original Domino server.

6. Install the Domino server software on the new server box following the instructions outlined in the Domino server Installation guide. The guide (in PDF format) is titled "Setting Up a Domino Server" (for R5) and "Installing Domino Servers" (for R6) and describes how to configure a Domino server on all platforms.

When installing the Domino server software, use the original server ID, admin ID, and Cert.ID files. Remember to use the exact same Domino server name and Domain names. When the initial Domino installation begins it may state that the Windows Registry needs to modify some settings that are still present from the previous installation. Click ”Yes” to correct this.

Be sure to use Lotus\Domino and Lotus\Domino\Data as the install directories on a Windows OS. (If you are upgrading the server at the same time as moving it from one machine to another, you would install the new server software)

7. Disconnect the new machine from the network. Launch the server. The configuration Notes client will launch. Select the "First Server Setup" during the Domino server setup/configuration on the new server. The instructions for this are also in the Domino server Installation guide.

8. Start the Domino server to verify that it installed correctly.

9. Shut down the Domino server.

10. Copy the NOTES.INI from the old server (via diskette, since disconnected from the network) and replace the one that was created during first server setup on the new server machine.

11. When the new server has all its files, the old Domino server must be shut down before bringing up the new Domino server with the same name. Take the old server down, put the old server's IP address on the new server, connect the new server to the network, and bounce the new server for the change to take effect.

12. Bring up the Domino server on the new machine.


Additional Things to Consider:
• Make sure the Server document is updated if the Network Configuration section changes. Some customers may have a server IP address in the Net Address field. This must be updated if the new box being installed has a different IP address.
• Check for Directory Links when performing an upgrade/move.
• Check for any OS level junctions or symbolic links that are defined. Ensure new symbolic links are created on the new server or the files for those links become part of the data directory.
• If the server name is to be changed ensure that all encrypted databases are decrypted before copying the files to the new server.
• If moving from one machine to another and the drive mapping is different (e.g., from C drive to D drive), change the following parameters in the NOTES.INI:
Directory=d:\=Lotus\Domino\Data
NotesProgram=d:\Lotus\Domino

Perform a search in the server's NOTES.INI to ensure that these parameters are changed appropriately. Additionally, perform a "find" (CTRL + F) on the old drive references and change appropriately.[/codebox]
проще говоря:
на новой машине ставим сервер 655fp 2 при установке подсовываем id сервера админа сертификаторов старого устанавливаем в туже директорию, проводим настройку сервера, потом подсовываем папку data со старого + notes.ini запускаем сервак
 
L

Leess

Сервер аддишинал. Он соединяется с главным серваком при первом запуске и начинает всасывать все данные, кроме майловых файлов. Я пробовал при старте отконфигурировать, без сетки никак.

Или можно сервер отконфигрурировать как примари? А потом он все равно станет добавочным?
 
C

collection

тогда просто устанавливаете сервак на новой машине без настройки, в туже самую директорию, чтобы он зарегистрировал себя в реестре, потом удаляем все файлы и копируем со старого, запускаем nserver.exe. Еще как вариант можно записать names.nsf на болванку а при установке указать брать директорию с диска
 
C

collection

ну тогда вообще ничего не устанавливаете, просто копируете и запускатете nserver
 
L

LIGHT

Вот именно, для пощей радости в директории /domino запускаем все файлы *.reg что бы прописать в реестре все пути. Сугубо для радости :)
 
P

phantom76

как уже говорили коллеги несколько способов:

1. если платформа эдентична , делаем первую стадию установки (установка с дистрибутива без запуска сервера) , а потом заменяем все с бек-апа копии
2. берем id сервера, админа - ставим сервер с теми же путями как и было, перед первой перезагрузкой заменяем основные "системные базы" с предыдущего сервера - names, admin4 , certlog... передергиваем после уже вручную доливаем информационные базы (проверяем ничего не забыли в перенести в нотес.ini),если нужно ставим паки.. этот же способ работает и при переносе на другую платформу
3. Ну и последний, пользуемся только старыми id сервера и админа и конфигурим все вручную от начала до конца..

обычно этими способами я и пользуюсь, если что-то где-то забыл поправьте ..
 
M

mindwalker

У меня такая ситуация по переносу "сервера"
Был тренировочный сервер, т.е локально на одной машине запускался сервер администратор и нотес. И сидишь администрируешь сам себя.

Да другой комп сервер тупо скопировал, а администратор и нотес установил. Сервер вроде как без ошибок запустился, adminp начал что то выполнять. Но проблема в настройке Администратора.

Сначала как я понял надо Preferences-> Administration->Basics прописать Domino Domain и путь к нему. Пытался указать Domain TSTU и путь на диске к серверу D:\Lotus :blink: Потом прочитал в Некрасове что вроде как надо путь указывать по названию сервера SEDD\TSTU, собственно как на окне сервера написан.

Как все таки сделать начальные настройки Administrator? Или вообще никак нельзя переносить сервер без установки заново, и это у меня только иллюзия его нормального запуска?

Окно старта сервера
Посмотреть вложение lotus.bmp
 
C

collection

да уж, понять это хитросплетение мыслей было не просто :)
Cчитается дурным тоном использование админа и сервака на одной машине, в рабочей конфигурации это вообще непремлемо, может создать множество проблем. Сервер ваш запустился с кучей ошибок: срок действия сертификата вашего сервера истек еще 13.09.2007, агенты подписаны нелегитимным пользователем база административных запросов хромает и т.д. и т.п. , ради спортивного любопытсва и он у вас работает?
Подключения клиентов настраиваются либо при установке клиента, либо через локальную адресную книгу документами местоположений и подключений.
у меня только иллюзия его нормального запуска
Боюсь что у вас иллюзия по поводу основных принципов работы системы Lotus Domino
 
P

phantom76

клиента тоже можно спросто скопировать на свеже установленный клиент..
 
M

mindwalker

Не знаю работает ли именно этот, тк вынул его из винрарового "бекапа" сервера. А бекап возможно старый. Но когда то он должен был работать.

В общем все грустно, я понял.
Но все таки что должно быть прописано в Preferences-> Administration->Basics-> Domino Domains ?
 
P

phantom76

Имя домино домена и имя сервера с домино директори

Вообще все это есть в хелпе в админ клиенте:

1.From the Domino Administrator, choose File - Preferences - Administration Preferences.
2.In the Basics section, under "Manage these Domino Domains" do one:
Click New to add a domain, and then continue with Step 3.
Click Edit to edit an existing domain, and then continue with Step 3.
Click Delete to delete an existing domain
3. Complete these fields:
Field Action
Domain name: Enter the name of the domain to add, or edit an existing name.
Domino directory servers for this domain: Enter one or more directory servers, separated by commas, or edit the list. For example: Mail-E/East/Acme Mail-W/West/Acme

What location settings do you want to use for this domain?
Choose one:
Do not change location
Change to this location. Specify the location from which you want to manage this domain.
 
Мы в соцсетях:

Обучение наступательной кибербезопасности в игровой форме. Начать игру!