Installing NightWatchman with the wizard

To install NightWatchman Management Centre with the wizard:

  1. On the Welcome screen, click Next.
  2. On the License agreement screen, click Next.
  3. On the Prerequisites check screen, a number of checks are run before the installation can continue. If a prerequisite fails, the components dependent on those prerequisites are not installed.
  4. On the Setup type screen, choose:
    • Typical – a default installation where all components are installed on the local server
    • Custom – a distributed installation where you choose where to install the components
  5. The Database server configuration screen is only displayed if the wizard cannot locate a default instance on the local server when you opt for a typical install. This option allows you to install the database on a remote server and the rest of the NightWatchman Management Center components on the local server. The database can be specified using the following formats:
    • (Local) – uses the local default instance
    • ServerName – uses a remote server using the default instance
    • ServerName\Instance – uses a remote server and named instance on a dynamic port
    • ServerName, Port – uses a remote server and instance on a fixed port
    If you tick the Drop any existing NightWatchman Management Center Database box, the installer will remove the existing database before installing the new one. Leave this box unchecked to upgrade the existing database.
  6. On the Service account information screen, setup the service account using the Domain\Account format. Appropriate permissions are granted to this account by the installer. However, if you intend to use the NightWatchman Management Center console to implement remote wake-ups, you must set additional WMI permissions to the service account for the WakeUp namespaces.
  7. On the 1E ActiveEfficiency server screen, tick the Enable ActiveEfficiency checkbox and enter the location of the ActiveEfficiency server by providing its NetBIOS name or localhost if it is on the same machine as the NightWatchman Management Center. The other options are:
    • Enable synchronisation with the latest 1E power data catalog – updates the power data catalog automatically with the latest list of devices and their power consumption data
    • Upload hardware data to improve 1E power data catalog – share your data with us so that we can improve our power data catalog
    • Upload data on savings achieved by using NightWatchman Enterprise – an overview of the saving made from implementing NightWatchman Enterprise in your environment
    • WakeUp integration with ActiveEfficiency – if you are using Nomad 2012 and want to use this feature
    Click Next. The installer checks that MSMQ is enabled and that the ActiveEfficiency Server is accessible using the NetBIOS name provided. If either of these are not configured, a dialog is displayed informing you that the installer cannot access ActiveEfficiency server and the installation will not continue until the issue is resolved. If the issue is related to an incorrect NetBIOS name, correct the information in the installer and click Next again. If the issue is related to MSMQ not being enabled, you will have to abort the installation, resolve the issue and restart the installation.
  8. On the Environment setup screen, select the size of your organization and choose the currency that is used for energy tariffs.

    The NightWatchman database makes use of this information to provide the correct balance between responsiveness and database load

    CriteriaVery Small (lab)SmallMediumLarge
    Number of clients10-5050-5,0005,000-50,000>50,000
    How often client records are loaded into reporting tables5 minutes30 minutes1 hour1 hour
    How often summary data is updated10 minutes1 hour4 hours2am nightly
    How often clients will retry retrieval of Power Policy on failure5 minutes30 minutes30 minutes30 minutes
    How often clients poll for Power Policy15 minutes90 minutes500 minutes1500 minutes
    The maximum amount of time before a client sends up data900 seconds3600 seconds7200 seconds14400 seconds
    A client will send data as soon as it has this many messages to send551525
    How often new unassigned computers are assigned a power policy5 minutes5 minutes30 minutes60 minutes

    The currency is selected from a drop-down list of available currencies. For fresh installations the currency set on the machine where the installation is taking place will be selected from the list by default. For upgrades the default selected currency will be the one set in the earlier version of NightWatchman Management Center.

  9. On the Ready to install screen, click Next.
  10. On the Install screen, click Finish.
On this page:

Installing NightWatchman on a distributed environment

  1. For a distributed installation, follow steps 1-3 above.
  2. On the Setup Type screen, choose Custom. Ensure you have the supported platforms in place before you start. You will need to run the installer once for each group of components you want to install separately. These features are:
    • Database – installs the NightWatchman Management Center reporting database. It holds all the information returned by NightWatchman clients and the WakeUp agents and forms the basis for the reports. You can only have one instance of the database per implementation.
    • Report console – view NightWatchman (power consumption and performance) and WakeUp (computer availability) reports from the Reporting Website. You can only have 1 instance of the Reporting Website per implementation.
    • Services – Web services (manages communications between the NightWatchman clients) and Console service (manages communications between the NightWatchman console and the database). You can have up to 3 instances of the Web service feeding into a single database. Multiple-instances also cover hybrid environments using both HTTP and HTTPS communications (for example, HTTP for intranet-based and HTTPS for internet-based communications). Set the NightWatchman clients and ~WakeUp implementations in each region to communicate with the Web service using their respective protocols.
    • Console – install the NightWatchman Management Console on separate computers. You can have up to 10 instances of the console but they must be installed on computers with network access to the server where the console is running.
    • Analysis reports – installs the analysis reports
    By default, these components are installed to C:\Program Files\1E\NightWatchman Management Center. You can select a new location by clicking Change and navigating to a new folder.
  3. Follow steps 5-10 above.

Installing NightWatchman Management Center in unattended mode

You can install NightWatchman Management Center to a large number of machines by choosing to install it in unattended mode using the /qn switch in the installer command-line.

For example, to carry out a default installation where all the components are installed locally, run (the command-line is broken down into separate lines for clarity. Run it as a single command-line):

msiexec /i NightWatchmanManagementCenter.msi 
ACTIVE_DIRECTORY_SERVER=ACME 
AESERVERNAME=localhost 
ADMINACCOUNT=ACME\Roger.Wilco 
SVCUSER=ACME\SVCAccount 
SVCPASSWORD=Pswd 
SQLSERVER=ACMESQL 
CURRENCYCODE=GBP /qn

To install only the NightWatchman console where the NightWatchman Management Center console service is installed, run (the command-line is broken down into separate lines for clarity. Run it as a single command-line):

msiexec /i NightWatchmanManagementCenter.msi 
ADDLOCAL=Console 
SERVICELOCATION=ACME023 /qn

There are a number of installer properties which are detailed in NightWatchman Management Center installer properties.

Prerequisite checks are still carried out when you run in unattended mode. If they are not met, components will not install.

Uninstalling or repairing the NightWatchman Management Center

The NightWatchman Management Center can be removed using the Add or Remove Programs in Control Panel. To uninstall, select the NightWatchman Management Center item in the Currently Installed Programs list and click the Remove button. You can also access support information for the product in the Add or Remove Programs dialog.

When you carry our a repair or re-installation, certain information stored for the WakeUp server is not available to the installer. You must set the WakeUp provider settings in the global settings table.

To implement a repair the NightWatchman Management Center, run: Msiexec /fvom NightWatchmanManagementCenter.msi or if you are planning an upgrade, we recommend you refer to upgrade best practice.

Detailed requirements

A definitive checklist of prerequisites and dependencies you need to meet in order to install NightWatchman Management Centre.

ComponentProductNotes
Windows server OS
2019
2016
2012 R2
NightWatchman Management Center will install on systems running these server OSes.
  • It is not supported on servers configured as domain controllers.
SQL Server
2017
2016 SP1
2014 SP2
2016 RTM
SQL server must be configured to use a case-insensitive, accent-sensitive collation as the server default (the preferred collation is SQL_Latin1_General_CP1_CI_AS).
  • You can only have one instance of the NightWatchman Management Center database per implementation
  • The SQL Server Agent must be started and set to automatic
Runtime libraries
.NET Framework 4.6.2
.NET Framework 4.5.2
.NET Framework 3.5 SP1
 
Installation and service accounts 

To install NightWatchman Management Center on a single-server, you need:

  1. Installer account:
    • it is set as the primary NightWatchman Console administrator
  2. Service account:
    • must be a domain account with local admin rights (granted Log on as service privileges on the local machine for the installation) and configured where the password does not expire and the user can never change the password
    • must have sysadmin on the target database server unless the database and SQL Server agent jobs are created by a DBA. These permissions can be temporary

If you intend to use the automatic power consumption catalog update feature through ActiveEfficiency integration you must have:

  1. ActiveEfficiency server 1.8 or later installed and available on the network.
  2. Microsoft Message Queuing (MSMQ) enabled on the server where the NightWatchman Management Center is installed as well as on the ActiveEfficiency server.
  3. enable ports on the server OS.

If you are using the import Wizard to populate hierarchies, you:

  • are typically the person who installed the NightWatchman Management Centre components
  • be a database administrator or have been added to the Import Wizard database role on the Agility Framework database server.
  • have db owner rights on the NightWatchman Management Center database
  • if a user or group needs to use the import tool, they must be a member of the db_NWMConsoleImportWizard database role that is created when the Import Wizard is installed
  • the user or group must have a login on SQL and must be added to the Users of the NightWatchman Management Center database. Additionally, they must have permissions to modify the Import Wizard log file directory.

If you are installing NightWatchman Management Center across multiple servers, install the database first – it can be done remotely from a server where one or more of the other components are installed.

For a distributed installation, you will need the following:

  1. Installer account:
    • must be domain user account with local admin rights with sysadmin rights on the server where the database is installed unless it is created by a DBA
  2. Console service account:
    • must be a domain account

    If you are performing a clean NightWatchman Management Center installation or are upgrading NightWatchman Management Center and all the WakeUp Server components, permissions for the Console service account is set automatically as part of the installation process. The NightWatchman Console administrator account (used to define primary NightWatchman Console administrators) can be a domain user or group account.

    If you are upgrading NightWatchman Management Center, have legacy WakeUp servers or intend to use the NightWatchman console to implement remote wake-ups (which is done after installing the WakeUp server):
    • add the Console service account to the N1E/WakeUp namespace and grant the following permissions:
      • Execute Methods
      • Full Write
      • Enable Account
      • Remote Enable

    To set permissions:

    1. Run the WMI MMC (wmimgmt.msc) plug-in on the WakeUp server.
    2. Right-click the root node and select Properties.
    3. In the WMI Control (Local) Properties dialog, select the Security tab.
    4. Navigate to the N1E/WakeUp node and click the Security button. 
    5. In the Security for ROOT\N1E\WakeUp dialog, add the console service account and check the permissions listed above.

If you are using the import Wizard to populate hierarchies, you:

  • are typically the person who installed the NightWatchman Management Centre components
  • be a database administrator or have been added to the Import Wizard database role on the Agility Framework database server.
  • have db owner rights on the NightWatchman Management Center database
  • if a user or group needs to use the import tool, they must be a member of the db_NWMConsoleImportWizard database role that is created when the Import Wizard is installed
    member of the db_NWMConsoleImportWizard database role 
  • the user or group must have a login on SQL and must be added to the Users of the NightWatchman Management Center database. Additionally, they must have permissions to modify the Import Wizard log file directory.

For a default installation, the programs and files associated with NightWatchman Management Center are created in C:\Program Files\1E\NightWatchman Management Center