Страница 1 из 1

Выключение сервера с помощью Smart-UPS

СообщениеДобавлено: 19 ноя 2002, 11:01
Сергей Петров
Всем доброе утро !
От Smart-UPS 700 запитаны два сервера NW5.1+SP3. Один из них подключён к Smart-UPS через COM1 (на сервере установлен PowerChute 4.3.3) и автоматически выключается и включается. Как организовать автоматическое корректное выключение второго запитанного от Smart-UPS сервера перед выключением первого.
Заранее благодарен.

СообщениеДобавлено: 19 ноя 2002, 11:39
Федорович Леонид
В документации должно быть на PowerChute (у меня 4.3.3).
APCRDOWN.NLM to Perform Multiple (Secondary) Server Shutdown
The utility APCRDOWN.NLM shuts down multiple, remote NetWare servers. Use this NLM when more than one
NetWare server is powered by a single UPS.
И т.д.
Если не найдешь - пиши.

СообщениеДобавлено: 19 ноя 2002, 11:54
Александр Попов
Есть еще Web/SNMP Card. Вставляется в UPS. Вроде можно вставить в 700ый смарт. Агенты ставяться на серверах. Позволяет гасить не только NW, но и *NIX, NT/200.
http://www.apc.ru/products/managment/websnmp.html

Выключение сервера с помощью Smart-UPS

СообщениеДобавлено: 19 ноя 2002, 12:16
Сергей Петров
Федорович Леонид писал(а):APCRDOWN.NLM to Perform Multiple (Secondary) Server Shutdown
The utility APCRDOWN.NLM shuts down multiple, remote NetWare servers. Use this NLM when more than one
NetWare server is powered by a single UPS.


Для использования APCRDOWN.NLM на другом сервере нужно ли переписать на этот сервер каталог Pwrchute, в который установлена программа на первом сервере ?

СообщениеДобавлено: 19 ноя 2002, 14:45
Федорович Леонид
Это то, что я из документации вытащил.
User's Guide
106
APCRDOWN.NLM to Perform Multiple (Secondary) Server Shutdown
The utility APCRDOWN.NLM shuts down multiple, remote NetWare servers. Use this NLM when more than one
NetWare server is powered by a single UPS. To use this NLM, you must first create two files, apcrdown.ini and a
NetWare Command File. Use any ASCII text editor to create these files.
To create the apcrdown.ini file and the NetWare Command File (NCF), perform the following steps:
1. Create a subdirectory anywhere on your system except in the \public directory. APC recommends that it be
a subdirectory of the PowerChute plus installation directory.
2. Protect this directory so that only the system supervisor or a user with supervisor equivalence has access to
its contents, since the apcrdown.ini file contains supervisor (or equivalent) passwords for servers.
3. Create the apcrdown.ini file in this subdirectory, with each line of the file in the following format:
servername user_name password NDS_treename
For actual values, use the following:
For example, if the remote file server is mfg_srv_1, the user name is supervisor, and the password is
widget, the line in apcrdown.ini for shutting down that server would be the following:
mfg_srv_1 supervisor widget
For an NDS server, fully-resolved names are required:
mfg_srv_1.mfg_unit.mfg-org admin.mfg_unit.mfg_org widget tree1
4. If you have a network of five servers (four remote and one host) and want to shut down all five, create an
apcrdown.ini file containing four lines in the preceding format, one for each remote server. Do not include
a line for the host server.
5. Create a NetWare Command File (NCF) that includes the following line:
servername Name of the remote server to be shut down. For NDS, use
the fully-resolved NDS name.
user_name Name of a user with console supervisor privileges on the
remote server. For NDS, use the fully-resolved NDS name.
password Password for that user on the remote server
NDS_treename The treename is an optional parameter. If this treename is
not given for an NDS server, the current treename will be
used.
Appendix C: Additional Features and Utilities
FlexEvents and the Utility Files
Load APCRDOWN path_to_ini
Set path_to_ini to the fully-resolved path name of the apcrdown.ini file you created in Step 3.
For example, if your PowerChute plus installation directory is sys:\pwrchute and your apcrdown.ini file is
in sys:\pwrchute\down, the line in your .ncf file should be as follows:
Load APCRDOWN sys:\pwrchute\down
If other shutdown activities are required, include the necessary commands in the same NetWare Command File (NCF).
See Lotus Notes/Domino Shutdown Utility for information on the commands needed for Lotus Notes/Domino
shutdown.

По поводу нужно ли переписывать эти модули, на сервер, который надо закрывать, т.е. не общающийся с упсом, видимо нет.
Модуль APCRDOWN может вообще независимо работать от повершута.
Он, насколько я помню, прописывается как выполнение задачи перед закрытием подсоединенного сервера.(проверить негде).

Используйте UPS Interface Expanders

СообщениеДобавлено: 20 ноя 2002, 01:20
Юра Кан
Номера UPS AP9607 или AP9207.


9607 вставляется в SmartSlot и Вы получается 2 дополнительных порта c simple сигнатурами(типа как от BACK) и по ним Вы можете закрывать до двух серверов. Естественно нужны шнурки. Код не
помню его можно этементано найти на www.apc.ru(com)

9207 подключается в порту на APC и имеет 1 smart порт и 7 back.

На мой взгляд это более оптималное решение если сервера стоят около бесперебойника, кроме того можно закрывать сервера с разными операционками которые не поддерживает APC Network shutdown.

Юра

Re: Используйте UPS Interface Expanders

СообщениеДобавлено: 02 дек 2002, 21:28
Алексей Слотин
А какой смысл иметь на SMART'е управляющий порт от BACK'a ?
Через эти дополнительные порты ведь реальную резервную емкость узнать нельзя :-(
Там только сигнал - есть напряжение в сети или нет напряжения.

Все так...

СообщениеДобавлено: 05 дек 2002, 07:22
Дмитрий Пыпырин
Вам поможет утилита APCRDOWN. Я пользую ее. Не надо ее копировать на второй сервер. Все написано в доке, и очень подробно. Лично у меня возник трабл с тремя серверами. Т.е. в текстовом файле параметров для каждого сервера, который нужно вырубить, надо написать строку с именем и паролем админа. Я написал 2 строки, но вырубался токо сервер из первой строки :(

СообщениеДобавлено: 06 дек 2002, 14:26
Юра Кан
С желеяками типа AP9607 или AP9207 вы еще получаете на smart 2 или 8 back портов куда втыкаете шнурки от серверов и спокойно гасите их парашютом.