我們的品牌

Impact-Company-Logo-English Black-01-177x54

歡迎造訪施耐德電機全球網站

歡迎訪問我們的網站
		
我们今天能为您提供什么帮助?
How to edit the hosts file that is on the system PowerChute Network Shutdown has been installed onto.

Issue:
How to edit the network hosts file on the system PowerChute Network Shutdown has been installed onto.

Product:
PowerChute Network Shutdown versions 4.x or 5.x

Environment:
Windows OS,
PowerChute Virtual Machine (VM)
Linux OS

Cause:
The network hosts file must be edited to allow connection to a system if the Domain system is offline.

Solution:

Windows OS:
Using a text editor such as Word or Notepad, edit C:\Windows\System32\drivers\etc\hosts

In the example below, we have added the IP addresses and domain names of three servers.

# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column, followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host

# localhost name resolution is handled within DNS itself.
#    127.0.0.1       localhost
#    ::1             localhost
192.168.0.137  Server1.home.local  Server1
192.168.0.152  Server2.home.local  Server2
192.168.0.153  Server3.home.local  Server3


PowerChute Virtual Machine and other Linux OS:

Use vi editor and edit /etc/hosts

For example:
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.0.137 Server1.home.local Server1
192.168.0.152 Server2.home.local Server2
192.168.0.153 Server3.home.local Server3

NOTE: If you are not comfortable with using vi editor:

1. Verify that SSH is running on the PowerChute VM or the Linux OS. The command is systemctl status sshd.
If SSH is not running, enter the command systemctl start sshd.
2. Next, open a connection to the PowerChute VM or Linux OS from a Windows system using an SSH program, e.g., Filezilla or WinSCP.
3. Log in as root
4. Navigate to /etc
5. Right-click on the hosts file and select viewed/edited.

In the example below we log in to the PowerChute VM.

Filezilla log in

Note: Hostname entries in Linux OS are case sensitive.

Please do not forget to save the file after editing.

施耐德電機Taiwan

探索更多
系列:
探索更多
系列:

需要協助?

  • 產品選型工具

    快速輕鬆地為您的應用找到合適的產品和附件。

  • 取得報價

    立即線上提交您的銷售需求,專業團隊將主動聯繫您。

  • 購買地點

    輕鬆在您所在地區找到最近的施耐德電機經銷商。

  • 支援中心

    在同一位置找到滿足您所有需求的支援資源。

  • 產品文檔
  • 軟體下載
  • 產品選型工具
  • 產品替代和替換
  • 幫助和聯絡中心
  • 尋找我們的辦公室
  • 取得報價
  • 人才招募
  • 公司簡介
  • 舉報不當行為
  • 無障礙
  • 新聞中心
  • 投資者
  • 專業洞察
  • 台灣施耐德電機學院
  • 綠色影響力落差調查
  • Schneider Go Green 2025
  • 隱私政策
  • Cookie通告
  • 使用條款
  • Change your cookie settings