virtual jnc - socomec · 4 virtual jnc for hyper-v - ref.: iomvjncxxx01-gb 00 1.1. description the...

22
VIRTUAL JNC for Hyper-V Installation and operating manual GB Manuel d’installation et d’utilisation FR Manuale di installazione e uso IT

Upload: others

Post on 03-Aug-2020

6 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: VIRTUAL JNC - Socomec · 4 VIRTUAL JNC for Hyper-V - Ref.: IOMVJNCXXX01-GB 00 1.1. DESCRIPTION The VIRTUAL JNC is software for automatically managing the shutdown of virtual machines

VIRTUAL JNCf o r H y p e r - V

Installation and operating manual GB

Manuel d’installation et d’utilisation FR

Manuale di installazione e uso IT

Page 2: VIRTUAL JNC - Socomec · 4 VIRTUAL JNC for Hyper-V - Ref.: IOMVJNCXXX01-GB 00 1.1. DESCRIPTION The VIRTUAL JNC is software for automatically managing the shutdown of virtual machines

2 VIRTUAL JNC for Hyper-V - Ref.: IOMVJNCXXX01-GB 00

CERTIFICATE AND CONDITIONS OF WARRANTY

Installing the software means full acceptance of all contractual terms. For this reason, please read all the points listed below carefully. If you do not agree with one or more of the contractual terms, do not install this software and/or return it immediately to SOCOMEC.

1. Copyright and Intellectual Property ownership rights

The user of the software acknowledges that all rights referred to and the copyright belong to SOCOMEC, in relation to both the source code and the object code.

Anyone entering into possession of the software without prior authorization from SOCOMEC must immediately uninstall it, if it has been installed, and return it to SOCOMEC. If such persons fail to take this action SOCOMEC will exercise its rights to the full extent permitted by civil and criminal law.

The software and documentation are protected by copyright. The unlawful use and/or partially or totally copying of the software shall lead to claims for damage compensation. It is permitted to create a back-up copy of the media supplied by SOCOMEC (CD Rom). This documentation and software are not specifications. SOCOMEC reserves the right to make changes to information without prior notice.

SOCOMEC retains the full and exclusive ownership of all intellectual rights, such as, but not limited to those relating to documenta-tion, software, source code, object code etc. Only a personal entitlement to use the documentation and software for the application indicated by SOCOMEC is granted to the recipients. The reproduction, modification, or distribution of this documentation and software either partially or totally and in any way is expressly prohibited except upon Socomec’s express prior written consent.

2. License to use

The JNC software (object code) JNC and supporting documentation are freely installable for private use solely in combination with the use of SOCOMEC's products.

The software contains confidential information. This license does not authorize the user to modify, adapt, decompile, or disassemble the software in question or to reconstruct the source code using any other method. SOCOMEC will protect its rights against any such unauthorized use to the full extent permitted by civil and criminal law.

The software may not be hired out to third parties. The license of use for this software is issued exclusively for the purposes laid out in the software documentation.

3. Entry into force and duration of the license

This license enters into force on the day of installation of the software, whereby the user accepts these conditions of use and liability. The license is open term and has no date of expiry. The licence and the limited rights of use by the user of the software will be invalidated in the event of a breach of any of the points outlined in paragraphs 1. Copyright and Intellectual Property ownership rights and 2. License.

4. Warranty conditions

SOCOMEC neither implicitly nor explicitly provides any warranty concerning the usability of the software. Despite the extensive use of resources to develop the software, no guarantees are provided concerning the absence of errors. SOCOMEC may provide the support needed to solve any errors present in the software. Such support is limited to the correction of programming errors and is not extended to the implementation of new functions that are not present in the version of the software used by the user.

If the user finds any manifest or hidden errors, SOCOMEC should be notified of such errors in writing.

5. Software updates

This licence does not grant the right to receive software updates, or new versions.

6. Limitations of liability

SOCOMEC shall not be held liable, under any circumstances, for damage of any kind, including economic damage, directly or indirectly consequential to the use of, or inability to use the software.

7. Severability

If any clause of this contract is found to be ineffective or becomes ineffective for any reason whatsoever, the remaining terms of the licence shall still apply. The unenforceable clause or ineffective provisions will be replaced by a clause, also with retroactive effect, that addresses subsequently identified requirements, within the scope of legal enforceability.

8. Amendments to the licence

Any amendment to this licence must be made in writing.

9. Applicable law

This contract is subject to French law.

The information contained herein, the software and documentation, are the exclusive property of SOCOMEC.

Page 3: VIRTUAL JNC - Socomec · 4 VIRTUAL JNC for Hyper-V - Ref.: IOMVJNCXXX01-GB 00 1.1. DESCRIPTION The VIRTUAL JNC is software for automatically managing the shutdown of virtual machines

3VIRTUAL JNC for Hyper-V - Ref.: IOMVJNCXXX01-GB 00

EN

GL

ISH

EN

GL

ISH

SUMMARY

1. INTRODUCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61.1. DESCRIPTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61.2. COMPATIBILITY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61.3. REQUIREMENTS - RECOMMENDED INSTALLATION . . . . . . . . . . . . . . . . . . . . 61.4. GLOSSARY OF TERMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

2. UPS NETWORK CONNECTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72.1. SHUTDOWN CONFIGURATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72.2. REDUNDANT N+1 INDEPENDENT UPS ARCHITECTURE . . . . . . . . . . . . . . . 7

3. Hyper-V ENVIRONMENT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83.1. HYPER-V COMPATIBILITY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83.2. SYSTEM CENTER VIRTUAL MACHINE MANAGER COMPATIBILITY . . . . . . . . 83.3. INTEGRATION TOOLS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83.4. GENERAL PREREQUISITE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

4. VIRTUAL JNC INSTALLATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94.1. OS COMPATIBILITY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94.2. JNV INSTALLATION CASES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94.3. RUNNING THE INSTALLATION PACKAGE . . . . . . . . . . . . . . . . . . . . . . . . . . . 104.4. CONFIGURING THE REMOTE HYPER-V / SYSTEM CENTER VIRTUAL

MACHINE MANAGER SERVER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

5. VIRTUAL JNC CONFIGURATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125.1. INFORMATION SLIDE: UPS AND NETWORK CONFIGURATION . . . . . . . . . . 125.2. PARAMETERS SLIDE: SHUTDOWN PROCESS CONFIGURATION . . . . . . . . 145.3. VIRTUAL MACHINES LIST VIEW . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175.4. SHUTDOWN DELAY MANAGEMENT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185.5. BATTERY BACKUP TIME MANAGEMENT . . . . . . . . . . . . . . . . . . . . . . . . . . . 20

6. VIRTUAL JNC VIEWER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 216.1. UPS STATUS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 216.2. UPS ICON COLOUR CONDITION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 216.3. NOTIFICATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21

Page 4: VIRTUAL JNC - Socomec · 4 VIRTUAL JNC for Hyper-V - Ref.: IOMVJNCXXX01-GB 00 1.1. DESCRIPTION The VIRTUAL JNC is software for automatically managing the shutdown of virtual machines

4 VIRTUAL JNC for Hyper-V - Ref.: IOMVJNCXXX01-GB 00

1.1. DESCRIPTION

The VIRTUAL JNC is software for automatically managing the shutdown of virtual machines and hosts in the Hyper-V and System Center Virtual Machine Manager 2012 environment. It includes an intuitive graphical interface and ensures an ordered shutdown process for all Virtual Machines.

The VIRTUAL JNC contains two software programs:

• JNV Service Configuration

- Network configuration (UPS IP address – port settings)

- Virtual Machine automatic discovery service

- Delay and shutdown parameters for each Virtual Machine and Host(s)

• JNV Service Viewer

- UPS Status

- Shutdown process notification

The shutdown agent is managed as a WINDOWS service.

The UPS which supplies the server must be equipped with an Ethernet Network Interface (i.e. NetVision) and shutdown events and timings must be configured via the web pages.

1.2. COMPATIBILITY

VIRTUAL JNC is a .Net application for MICROSOFT WINDOWS™. Before installing the software make sure the latest version of .Net framework has already been installed (v 4.0 full or higher).

1.3. INSTALLATION RECCOMANDATION

This manual does not explain Hyper-V or System Center Virtual Machine Manager SW functionality. Refer to Microsoft related documentation for further information.

It is advisable to install the VIRTUAL JNC on a MS Windows System Center Virtual Machine Manager server. To perform the shutdown correctly, integration tools must be operating on all virtual machines. If these tools are not present, the shutdown agent will force a POWER OFF command on the VM.

1.4. GLOSSARY OF TERMS

JNV: Short form for Virtual JNC

SP1: Service Pack 1

VM: Virtual Machine

SCVMM: System Center Virtual Machine Manager

OS: Operating System

FQDN: Fully Qualified Domain Name

1. INTRODUCTION

Page 5: VIRTUAL JNC - Socomec · 4 VIRTUAL JNC for Hyper-V - Ref.: IOMVJNCXXX01-GB 00 1.1. DESCRIPTION The VIRTUAL JNC is software for automatically managing the shutdown of virtual machines

5VIRTUAL JNC for Hyper-V - Ref.: IOMVJNCXXX01-GB 00

EN

GL

ISH

EN

GL

ISH

The JNV is compliant with the following SOCOMEC Ethernet Network Interface.

- NET VISION

- RT VISION or Embedded Ethernet Network Interface

- MODULYS Green Power Embedded Ethernet Network Interface

- DELPHYS Green Power mimic panel

2.1. SHUTDOWN CONFIGURATION

See the user manual for your UPS and Ethernet Network Interface.

2.2. REDUNDANT N+1 INDEPENDENT UPS ARCHITECTURE

JNV is compliant with N+1 UPS architecture. JNV enables the possibility of selecting UPSs with or without redundancy.

In the case of redundant architecture the JNV agent waits for all UPS requests before performing the VM shutdown process. If not redundant, the first UPS event initiates the shutdown process.

In this specific case, UPSs have to be configured like a parallel system up to 6 UPS, on JNV agent. Each UPS has its own IP address.

2. UPS NETWORK CONNECTION

Page 6: VIRTUAL JNC - Socomec · 4 VIRTUAL JNC for Hyper-V - Ref.: IOMVJNCXXX01-GB 00 1.1. DESCRIPTION The VIRTUAL JNC is software for automatically managing the shutdown of virtual machines

6 VIRTUAL JNC for Hyper-V - Ref.: IOMVJNCXXX01-GB 00

For more details on the Hyper-V environment and tools please refer to Microsoft documentation.

3.1. HYPER-V COMPATIBILITY

Virtual System Version Notes

Windows Server 2008 R2 (SP1) With Hyper-V role enabled

Windows Server 2012 With Hyper-V role enabled

Hyper-V Server 2008 R2

Hyper-V Server 2012

The server manager, Remote Management, must be enabled on the server.

The server name must be resolvable in a FQDN form, using a DNS server.

If the network type is set as Workgroup, the JNV doesn't perform the shutdown of the host. The JNV shuts down the host only in the case of an Active Directory network.

3.2. SYSTEM CENTER VIRTUAL MACHINE MANAGER COMPATIBILITY

System Center Virtual Machine Manager with Hyper-V, and/or VmWare ESX Server, and/or XenServer hosts connected is NOT SUPPORTED.

It is strongly recommended to install the JNV software on the MS Windows SVMM server.The server manager Remote Management must be enabled on Microsoft Windows server where SCVMM is installed.

The server name must be resolvable in a FQDN form using a DNS server.

3.3. INTEGRATION TOOLS

Integration tools must be operating on all virtual machines. If integration tools are not installed the JNV sends a POWER OFF command instead of an OS shutdown execution.

Please note that, depending on the environment in use, Integration Tools can assume different names (VM Additions, VM Guest Services, Integration Services).

3.4. GENERAL PREREQUISITES

Framework NET Framework 4.0 full Installed on the computer where JNV is installed.

Remote management Remote Management must be enabled on JNV, Hyper-V and SCVMM Servers.

DNS The JNV, Hyper-V and SCVMM server names must be resolvable in a FQDN form, using a DNS server.

Security The user (username) configured on JNV must be granted to:

- Remotely manage the Hyper-V / SCVMM server.

- Fully manage Hyper-V / SCVMM environment.

- Perform computer shutdown on the Hyper-V / SCVMM server.

- Perform computer shutdown on every Hyper-V server (in the of SCVMM connection).

3. HYPER-V ENVIRONMENT

Page 7: VIRTUAL JNC - Socomec · 4 VIRTUAL JNC for Hyper-V - Ref.: IOMVJNCXXX01-GB 00 1.1. DESCRIPTION The VIRTUAL JNC is software for automatically managing the shutdown of virtual machines

7VIRTUAL JNC for Hyper-V - Ref.: IOMVJNCXXX01-GB 00

EN

GL

ISH

EN

GL

ISH

4.1. OS COMPATIBILITY

MS WINDOWS

Virtual Machine or

Physical PC

Windows Server 2008 R2 (provided with .Net 4 Full)

Windows Server 2012

4.2. JNV INSTALLATION CASES

Case 1: System Center Virtual Machine Manager not present

In this case VIRTUAL-JNC must be installed for each Hyper-V server.

Case A: with Windows Server with Hyper-V role, it is preferable to install JNV on this machine.

Case B: with standalone Hyper-V server the Virtual JNC can be installed on a Windows Virtual machine or on an external PC connected on the same network.

Case 2: System Center Virtual Machine Manager present

In this case VIRTUAL-JNC must be installed on a machine (physical or virtual) that is configured on the same sub-network as System Center Virtual Machine Manager server.

The suggested architecture is to have JNV installed on the same machine where System Center Virtual Machine Manager is installed.

CASE 1System Center Virtual Machine Manager not present

CASE 2System Center Virtual Machine Manager present

4. VIRTUAL JNC INSTALLATION

A B

Page 8: VIRTUAL JNC - Socomec · 4 VIRTUAL JNC for Hyper-V - Ref.: IOMVJNCXXX01-GB 00 1.1. DESCRIPTION The VIRTUAL JNC is software for automatically managing the shutdown of virtual machines

8 VIRTUAL JNC for Hyper-V - Ref.: IOMVJNCXXX01-GB 00

4. VIRTUAL JNC INSTALLATION

4.3. RUNNING THE INSTALLATION PACKAGE

Download it from the web and unzip the file to the target disk.

4.3.1. JNV setup

Launch setup.exe in the JNV \SETUP folder. The setup will automatically check for the presence of the latest version of .Net framework.

Uses the same setup.exe program to remove or repair the JNV software.

The default folder of JNV is located in '<Program Files>\SOCOMEC\Socomec JNV Virtual Systems Shutdown'.

Installation steps:

- Licence agreement

- Installation options:

- Installation process

- A new program group is created:

4.4. CONFIGURING THE REMOTE HYPER-V / SCVMM SERVER

The Remote Management needs to be enabled on the Hyper-V / SCVMM server. Usually it is possible to enable the Remote Management from the Server Manager.

Configure remote management on SCVMM and ALL hyper-V hosts

Page 9: VIRTUAL JNC - Socomec · 4 VIRTUAL JNC for Hyper-V - Ref.: IOMVJNCXXX01-GB 00 1.1. DESCRIPTION The VIRTUAL JNC is software for automatically managing the shutdown of virtual machines

9VIRTUAL JNC for Hyper-V - Ref.: IOMVJNCXXX01-GB 00

EN

GL

ISH

EN

GL

ISH

Execute "JNV Service Configuration".

The configuration tool has four slides/tabs, one for each arrangment of settings.

A dedicated slide shows the list of all Virtual Machines.

Default language is English. Use "Language" slide to select another.

5.1. INFORMATION SLIDE: UPS AND NETWORK CONFIGURATION

Parallel modules

Enter the number of UPS units in parallel supplying power to the Hyper-V Hosts protected by VIRTUAL-JNC.

If there is only one UPS, enter "1".

Examples:

CASE 1: for a single UPS set “1”;

CASE 2: for UPSs in parallel equipped with a single Ethernet Network Interface, set “1”;

CASE 3: for an independent UPS system, set the number required.

CASE 1 CASE 2 CASE 3

Single UPS UPSs in parallelwith shared LAN connection

Indipendent UPSwith dedicated LAN connection

5. VIRTUAL JNC CONFIGURATION

Page 10: VIRTUAL JNC - Socomec · 4 VIRTUAL JNC for Hyper-V - Ref.: IOMVJNCXXX01-GB 00 1.1. DESCRIPTION The VIRTUAL JNC is software for automatically managing the shutdown of virtual machines

10 VIRTUAL JNC for Hyper-V - Ref.: IOMVJNCXXX01-GB 00

Redundancy

To be set only if the number of UPSs is >1.

Redundancy=“NO” means non-redundant system. In this instance, VIRTUAL-JNC starts the shutdown procedure when any single UPS unit in the parallel system detects a shutdown event (e.g. “UPS Failure”).

Redundancy=“YES" means n+1level redundant system. In this instance, VIRTUAL-JNC starts the shutdown procedure only when at least 2 UPS units in the parallel system simultaneously detect a shutdown event (e.g. “UPS Failure”).

Address:

Enter the IP address of the UPS Ethernet Network Interface (IPv4 only)

Remote Server UDP port:

200 by default, it should be the same port used by the UPS Ethernet network interface.

When a new parameter is set it must be saved . The JNV service stops and starts automatically after saving parameters.

Using and starts and stops the service manually.

When the service starts, communication between the JNV and UPS Ethernet Network Interface is established.

If the JNV viewer is running, and the connection is established, a message appears in the service area and the UPS icons turns green.

5. VIRTUAL JNC CONFIGURATION

Page 11: VIRTUAL JNC - Socomec · 4 VIRTUAL JNC for Hyper-V - Ref.: IOMVJNCXXX01-GB 00 1.1. DESCRIPTION The VIRTUAL JNC is software for automatically managing the shutdown of virtual machines

11VIRTUAL JNC for Hyper-V - Ref.: IOMVJNCXXX01-GB 00

EN

GL

ISH

EN

GL

ISH

5. VIRTUAL JNC CONFIGURATION

5.2. PARAMETERS SLIDE: SHUTDOWN PROCESS CONFIGURATION

5.2.1. Credentials

Server Type:

Select the desired server type.

- Hyper-V: for single Hyper-V host connection.

- SCVMM: for System Center Virtual Machine Manager connection.

Server Name:

Insert the System Center Virtual Machine Manager or Hyper-V Host computer name.

Local host address is not supported.

When credential parameters are changed and saved JNV tries to connect with the Hyper-V host. The status of the Hyper-V connection is indicated at the top right of the page.

Status connection values: Connecting, Disconnected or Connected.

VM list refresh

Username:Insert the user name (in format DOMAIN\UserName)

Password:Insert the user password

The user must be authorised to:- Remotely manage the Hyper-V / SCVMM server.- Fully manage the Hyper-V / SCVMM environment.- Perform shutdown on the Hyper-V / SCVMM.- Perform shutdown on every Hyper-V server in the environment (in the case of SCVMM connection).

Config WinRM and Firewall rules on this PC:Checking this flag, the software automatically configs the Windows Remote Management and the Windows Firewall Settings on the PC where JNV is running. If this checkbox is unchecked it is necessary to manually perform these commands from the DOS command:

'WinRM quickconfig'

'WinRM set winrm/config/service/auth @{Basic="true"}'

'WinRM set winrm/config/client @{TrustedHosts="<local>"}'

'WinRM set winrm/config/client @{TrustedHosts="remoteServerName"}'

netsh advfirewall firewall set rule group='windows management instrumentation (wmi)' new enable=yes

Page 12: VIRTUAL JNC - Socomec · 4 VIRTUAL JNC for Hyper-V - Ref.: IOMVJNCXXX01-GB 00 1.1. DESCRIPTION The VIRTUAL JNC is software for automatically managing the shutdown of virtual machines

12 VIRTUAL JNC for Hyper-V - Ref.: IOMVJNCXXX01-GB 00

5.2.2. VM default group and Host(s) control

Add new VM to group:

If a VM is added after this configuration stage, the VM is added in the group selected in this drop down list.

Ordered group: shuts down the VM in a specific order and after a specific delay.

Any Order Group: shuts down all VMs at the same time.

There is also a Shutdown with hosts group. In this case the shutdown of these VMs is not managed from JNV. It will turn off when Hosts shut down according to the specific Hyper-V settings.

Perform host power off:

if this option is selected the host will be POWERED OFF when all VMs are down. If there are more than one all Hyper-V hosts will be powered off at the same time.

Note: If the JNV and/or SCVMM is installed on a VM on this host, this Hyper-V host powering off will be performed after 10 s with respect to the other hosts. Check the SCVMM/JNV conditions (also with different hosts).

5.2.3. Shutdown process control

Script to execute:

It is possible to execute a script or batch file when the JNV agent receives the shutdown command from the UPS. This script is executed in the machine where the JNV is installed.

If this field is blank no action will be executed.

Process starts in:

Specifies the time in seconds when the shutdown process will start. The countdown starts when the JNV agent receives the shutdown command from the UPS (irreversible phase).

When the delay is reached the shutdown command is sent to the first VM in the Ordered Group.

JNV server name:

Identifies the name of the JNV Server. This name is displayed in the client list of the UPS Ethernet Network Interface.

Example of NET VISION client table:

5. VIRTUAL JNC CONFIGURATION

Page 13: VIRTUAL JNC - Socomec · 4 VIRTUAL JNC for Hyper-V - Ref.: IOMVJNCXXX01-GB 00 1.1. DESCRIPTION The VIRTUAL JNC is software for automatically managing the shutdown of virtual machines

13VIRTUAL JNC for Hyper-V - Ref.: IOMVJNCXXX01-GB 00

EN

GL

ISH

EN

GL

ISH

5. VIRTUAL JNC CONFIGURATION

Shutdown JNV server:

JNV Server means the machine (physical or virtual) where the VIRTUAL JNC SW is installed.

This function behaves differently depending on where the JNV is installed, as outlined in the table below:

JNV installed and running on Flag status Function

VM (Different from SCVMM machine)

If selectedThis PC will be turned off at the end of the process, when all VMs on Ordered and AnyOrder group are down.Physical machine (different from

Hyper-V / SCVMM machine)

Physical Machine(Hyper-V / SCVMM machine)

No effectThis flag has no effect.The VM where JNV is running SCVMM shutdown will not be executed.

VM (SCVMM machine) No effect

This flag has no effect.The VM where JNV is running SCVMM shutdown will not be executed.The VM where JNV is running can be shutdown only if the Host(s) POWER OFF flag is checked.

5.2.4. VM Status and JNV interactions

VM State JNV action Notes

Powered On Shutdown / PowerOffIn the presence of Integration Tools, JNV performs a Shutdown command to the VM. Othervise a Power Off command is sent.

Powered Off Skip No action is performed from JNV.

Paused Power Off JNV performs a Power Off command.

Saved Skip No action is performed from JNV.

Page 14: VIRTUAL JNC - Socomec · 4 VIRTUAL JNC for Hyper-V - Ref.: IOMVJNCXXX01-GB 00 1.1. DESCRIPTION The VIRTUAL JNC is software for automatically managing the shutdown of virtual machines

14 VIRTUAL JNC for Hyper-V - Ref.: IOMVJNCXXX01-GB 00

5. VIRTUAL JNC CONFIGURATION

5.3. VIRTUAL MACHINES LIST VIEW

5.3.1. Virtual Machine interface

The table shows the 3 groups of VMs. For VM in ordered group the table gives the type of delay management and its value.

It is also possible to change VM from one to another group using the UP and DOWN buttons.

5.3.2. Discovery of VM machines

When this window is open VMs are automatically updated.

updates the list in the case of VM changes on the Hyper-V server. This function is disabled during JNV setup. It is necessary

to save the configuration ( ) before requesting VM discovery.

5.3.3. Ordered group

VMs present in this group will be shut down following the list order. Shutdown of the next VM is dependent on the delay condition relative to the previous VM.

Shutdown sequence:

1 The first VM shuts down when the shutdown process countdown is reached (shutdown parameters configuration tab).

2 Shutdown of the second VM is performed when the first one is off (SkipOnPowerOff) or at the end of the delay interval (WaitFull).

3 , The next VM follows the same principle.

Page 15: VIRTUAL JNC - Socomec · 4 VIRTUAL JNC for Hyper-V - Ref.: IOMVJNCXXX01-GB 00 1.1. DESCRIPTION The VIRTUAL JNC is software for automatically managing the shutdown of virtual machines

15VIRTUAL JNC for Hyper-V - Ref.: IOMVJNCXXX01-GB 00

EN

GL

ISH

EN

GL

ISH

5. VIRTUAL JNC CONFIGURATION

5.3.4. Delay conditions function

Skip on Power Off

Once one VM is off, the next VM starts shutting down.

If at the end of the delay the VM is still on, the JNV forces a POWER OFF command to this VM and sends a shutdown command to the next VM.

POWER OFF (1)

Time delay

Next VM shutdown

Wait Full Delay

The next VM shuts down at the end of the delay even if the current VM is shut down. If this VM is not powered off at the end of this delay JNV forces a POWER OFF command and shuts down the next VM.

POWER OFF (1)

Time delay

VM shutdown time

Next VM shutdown

(1) forced if the shutodwn does not occur in the VM time delay.

5.3.5. Any Order Group

JNV sends a shutdown command to all VMs in this list when the last VM of Ordered Group is down or powered off.

After 1 minute (timeout) JNV sends a power off command to the VMs that are still running. JNV still waits for all the VMs to be correctly shut down by the shutdown command during this timeout interval.

5.3.6. Shutdown With Host Group

JNV ignores all VMs in this list.

The VMs located on this group will be shut down only in the case where a Host PowerOff (where the VMs are running) is performed.

Shutdown conditions and configurations are independant from JNV and need to be configured manually on the Hyper-V / System Center Virtual Machine Manager server.

5.3.7. VM position modifi cation

and moves the selected VM in the list. Use to change the first of Any Order Group to the last VM of Ordered Group.

5.3.8. VM shutdown delay modifi cation

Select a VM from Ordered Group, change the delay management and its value, then to confirm the change. The VM in the Ordered group is updated. Do not forget to save the change.

Page 16: VIRTUAL JNC - Socomec · 4 VIRTUAL JNC for Hyper-V - Ref.: IOMVJNCXXX01-GB 00 1.1. DESCRIPTION The VIRTUAL JNC is software for automatically managing the shutdown of virtual machines

16 VIRTUAL JNC for Hyper-V - Ref.: IOMVJNCXXX01-GB 00

5. VIRTUAL JNC CONFIGURATION

event

delay (minutes)

JNV server Shutdown sequences for Virtual Machines

Time lag before initiation of shutdown sequence

Execution of Script on JNV

server

Shutdown sequence of VM in 'Predefined order' group with management of time delay

Shutdown sequence for 'Any Order' group

Timeout lasting 1 minute

JNV server shutdown after 90 seconds (*)

Host shutdown

JNV shutdown procedure

UPS shutdown delay (seconds)

custom script starting and shutdown cuntdown

UPS shut off

timeREVERSIBLE SHUTDOWN PHASE NOT REVERSIBLE SHUTDOWN PHASE

Shutdown sequence of VM in 'Order' group with management of time lagsShutdown sequence for

'Any Order' group.

Timeout lasting 1 minute

Time lag of 15 seconds

Time lag of 15 seconds

Time lag of 15 seconds

Shutdown of all others VMs

VM shutdown time

VM shutdown time

VM shutdown time

5.4. SHUTDOWN DELAY MANAGEMENT

Example:

Shutdown with hosts

Process timing:

The VM win2003std64en01 is the fisrt VM to to be shutdown in this example.

The VMs from Any Order group, CSWDevelop and openSUSE VMs shut down when the VM Solaris10 is off.

The VMs from Shutdown with hosts group are not shutdown by the JNV software.

(*) Depending on configuration

Details of the Ordered Group sequence:

Page 17: VIRTUAL JNC - Socomec · 4 VIRTUAL JNC for Hyper-V - Ref.: IOMVJNCXXX01-GB 00 1.1. DESCRIPTION The VIRTUAL JNC is software for automatically managing the shutdown of virtual machines

17VIRTUAL JNC for Hyper-V - Ref.: IOMVJNCXXX01-GB 00

EN

GL

ISH

EN

GL

ISH

Timing data:

1. The maximum duration of shutdown sequence for Ordered group - calculation based on this formula: ∑ of time lags for each VM ; 3 * 15 = 45 seconds max.

2. The duration of the shutdown sequence for the Any Order group is limited to 60s (1 min).

3. Add a time lag of xx seconds before launching the process and 90s time lag before shutdown of the Scvmm Server and the Hyper-V hosts.

4. Total time for shutdown process: xx + 45 + 60 + 90 = xx + 195 s

Restriction:

- It is not possible to execute a local script on the VM or host.

- If Integration tools are not operating on each VM, the POWER OFF command is executed instead of an OS shutdown command.

5.5. BATTERY BACKUP TIME MANAGEMENT

NOTE: all delays defined in the shutdown process have to take account of:

- Remaining battery backup time

- Time needed to shut down all VMs, hosts, and SCVMM Server.

Total time of VM SD process (worst case):

∑ VM delay (order group) + 60s of timeout (Any Order Group) + 90s for JNV server shutdown

Total of SD process:

UPS shutdown delay + JNV countdown + VM SD process.

For security reasons it is suggested that:

Total of SD process <= ½ Battery backup time

Example with 10’ of backup time (600’’), host with 9 VM + vCenterVM where JNV is installed

Parameters Delay (example) Number Process time

Local delay ("Process Starts in" parameter) 20" (set by configuration) 1 20"

Delay of VM SD (ordered group) 20" (set by configuration) 9 180"

Timeout for Any Order Group 60" fixed delay 1 60"

Hyper-V / System Center Virtual Machine Manager server SD (only if perform host power off is enabled)

From 30" to 90" 1 90"

TOTAL 350"

For compliance with the safety margins (1/2 battery back-up time), it is recommended that the UPS runs on battery for 1 or 2 minutes at most before transmitting the shutdown command to the server.

Time per UPS

reversibile shutdown phase

JNV Local Delay ('Process starts in')

JNV Server (local delay)

Shutdown time for 'Ordered' group

Virtual Machine shutdown process

Not reversible shutdown phase

Shutdown time of 'AnyOrder' grop (1 mn timeout)

Hosts shutdown

60'' 20'' 180'' 60'' 90''

If the UPS shutoff is configured by the Ethernet Network Interface, it is necessary to check the delay according to the complete shutdown time needed.

Page 18: VIRTUAL JNC - Socomec · 4 VIRTUAL JNC for Hyper-V - Ref.: IOMVJNCXXX01-GB 00 1.1. DESCRIPTION The VIRTUAL JNC is software for automatically managing the shutdown of virtual machines

18 VIRTUAL JNC for Hyper-V - Ref.: IOMVJNCXXX01-GB 00

This monitor indicates the status of the UPS and the JNV service, and displays the different notifications sent by JNV.

When the JNV Viewer is running an icon appears in the systray bar:

green (connected to the UPS)

yellow (shutdown procedure in progress or no communication with UPS)

6.1. UPS STATUS

Status Remark

Connection requested JNV tries to connect to UPS

Normal No shutdown events detected

AC Fail

The shutdown event has been sent to the JNV.

Overload

Over temperature

Imminent Stop

Battery low

On Bypass

EMD Temperature

EMD Humidity

EMD IN1 Abnormal

EMD IN2 Abnormal

Level of battery capacity

6.2. UPS ICON COLOUR CONDITION

Color Condition

Red JNV tries to connect to UPS

GreenNo shutdown events detected

Normal situation

YellowShutdown event has been detected. Notification sent. Reversible period: if the event is removed the status switches to NORMAL. The shutdown process is cancelled.

MagentaThe event delay has been reached. The JNV countdown begins. Irreversible period: if the event is removed, the shutdown process continues.

6.3. NOTIFICATION

The Service Message area shows the reason for the event when it appears, with date and time.

NOTE: If the viewer is not running the notification cannot be seen.

6. VIRTUAL JNC VIEWER

Page 19: VIRTUAL JNC - Socomec · 4 VIRTUAL JNC for Hyper-V - Ref.: IOMVJNCXXX01-GB 00 1.1. DESCRIPTION The VIRTUAL JNC is software for automatically managing the shutdown of virtual machines
Page 20: VIRTUAL JNC - Socomec · 4 VIRTUAL JNC for Hyper-V - Ref.: IOMVJNCXXX01-GB 00 1.1. DESCRIPTION The VIRTUAL JNC is software for automatically managing the shutdown of virtual machines
Page 21: VIRTUAL JNC - Socomec · 4 VIRTUAL JNC for Hyper-V - Ref.: IOMVJNCXXX01-GB 00 1.1. DESCRIPTION The VIRTUAL JNC is software for automatically managing the shutdown of virtual machines
Page 22: VIRTUAL JNC - Socomec · 4 VIRTUAL JNC for Hyper-V - Ref.: IOMVJNCXXX01-GB 00 1.1. DESCRIPTION The VIRTUAL JNC is software for automatically managing the shutdown of virtual machines

*IOMVJNCXXX01-GB 00*IOMVJNCXXX01-GB 00 09.2013

www.socomec.com

VALID FOR FRANCE VALID FOR ITALY

ISO 9001FM 28237

ISO14001EMS 553476

YOUR DISTRIBUTOR HEAD OFFICE

SOCOMEC GROUPS.A. SOCOMEC capital 10 951 300 € R.C.S. Strasbourg B 548 500 149 B.P. 60010 - 1, rue de Westhouse F-67235 Benfeld Cedex - FRANCE

SALES, MARKETING AND SERVICE MANAGEMENT

SOCOMEC Paris95, rue Pierre Grange F-94132 Fontenay-sous-Bois Cedex FRANCE Tel. +33 (0)1 45 14 63 90 Fax +33 (0)1 48 77 31 12 [email protected]

Socomec worldwideIN WESTERN EUROPE

BELGIUMB - 1190 Bruxelles Tel. +32 (0)2 340 02 34 [email protected]

FRANCEF - 94132 Fontenay-sous-Bois Cedex Tel. +33 (0)1 45 14 63 90 [email protected]

GERMANYD - 68309 Mannheim Tel. +49 (0) 621 71 68 40 [email protected]

ITALY20098 San Giuliano Milanese (MI) Tel. +39 02 98 242 942 [email protected]

PORTUGAL 2640-486 Mafra Tel. +351 261 812 599 [email protected]

SPAINE - 08329 Teià (Barcelona) Tel. +34 935 407 575 [email protected]

THE NETHERLANDSNL - 3991 CD Houten Tel. +31 (0)30 760 0911 [email protected]

UNITED KINGDOMCirencester - GL7 5XL Tel. +44 (0)1285 863300 [email protected]

OTHER COUNTRIESTel. +34 935 407 575 [email protected]

IN EASTERN EUROPE, MIDDLE EAST, AFRICA

UNITED ARAB EMIRATES371355 Dubai airport free zone Dubai (United Arab Emirates) Tel.: +971 (0) 4 29 98 441 [email protected]

POLAND01-625 Warszawa Tel. +48 22 825 73 60 [email protected]

ROMANIA023383 Bucharest Tel. +40 21 319 36 88 ( 89, 81, 82) [email protected]

RUSSIA125167 - Moscow Tel. +7 495 775 19 85 [email protected]

SLOVENIASI - 1000 Ljubljana Tel. +386 1 5807 860 [email protected]

TURKEY34357 Istanbul Tel. +90 (0) 216 540 71 20 [email protected]

OTHER COUNTRIESTel. +39 0444 598 611 [email protected]

IN ASIA PACIFIC

AUSTRALIAMacquarie Park NSW 2113 Tel. +61 2 9325 3900 [email protected]

CHINAChaoyang, Beijing 100016 P.R., China Tel. +86 10 59756108 [email protected]

INDIAGuindy, Chennai – 600 032 Tel. +91 44 3921 5400 [email protected]

MALAYSIA47301 Petaling Jaya.- Selangor, Malaysia Tel. +603 7804 0850 [email protected]

SINGAPORE Singapore 408723 Tel. +65 6506 7600 [email protected]

THAILANDChatujak Bangkok 10900 Tel. +66 2 941-1644-7 [email protected]

VIETNAMHo Chi Minh City Tel. +84 8 3559 1220 [email protected]

ASIA PACIFIC HEAD OFFICETel. +65 6506 [email protected]

IN AMERICA

LATIN AMERICAN COUNTRIESTel. +34 935 407 575 [email protected]