Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 29 Next »

Version: 1.4 - Published:

Contents

Description

When a Charon instance is stopped using the Charon tray icon, the Charon service management utility, Windows service management or the Virtual Machines Manager (depending on Charon version installed), it is like powering off a physical system without shutting it down first. In such a case, there is no clean shutdown of the guest operating system, the services and applications are not stopped properly, and the file systems are not dismounted cleanly.

The utility described in this document is designed to perform a clean shutdown before the power off occurs. It is based on a Powershell script and an optional expect script.

Only CHARON instances running as Windows services can be managed by this utility. Virtual machines started from the launcher are not supported (CHARON-AXP and CHARON-VAX before version 4.8).


This document explains how to configure the utility and the methods that can be used to execute the remote shutdown.

Conventions

Throughout the document(s) these conventions are followed

Notation

Description

$

The dollar sign in interactive examples indicates an operating system prompt for VMS.

The dollar sign can also indicate non superuser prompt for UNIX / Linux.

#

The number sign represents the superuser prompt for UNIX / Linux.

>The right angle bracket in interactive examples indicates an operating system prompt for Windows command (cmd.exe).

User input

Bold monospace type in interactive examples indicates typed user input.

<path>

Bold monospace type enclosed by angle brackets indicates command parameters and parameter values.

Output

Monospace type in interactive examples, indicates command response output.

[ ]

In syntax definitions, brackets indicate items that are optional.

...

In syntax definitions, a horizontal ellipsis indicates that the preceding item can be repeated one or more times.

dsk0

Italic monospace type, in interactive examples, indicates typed context dependent user input.

The following definitions apply

TermDescription
HostThe system on which the emulator runs, also called the Charon server
GuestThe operating system running on a Charon instance, for example, Tru64 UNIX, OpenVMS, Solaris, MPE or HP-UX

Related products

  • CHARON-AXP on Windows, all versions
  • CHARON-VAX on Windows, all versions

Supported Guest Operating System versions

  • All VMS versions
  • All Tru64 versions

Supported Windows versions

This version of the utility has been validated on the following operating systems:

  • Windows Server 2008 R2
  • Windows Server 2012 R2
  • Windows Server 2016
  • Windows 7
  • Windows 8.1
  • Windows 10

Versions notes

VersionDateNotes
1.022-Aug-2016
  • Initial version
1.124-Aug-2017
  • sync issue solved for old versions of VMS when telnet mode is used (commands and username/password were shifted)
1.228-Mar-2019
  • Copyright update
1.325-Mar-2020
  • 'telnet' mode is no more supported due to compatibility issues
  • New parameter "commandparams" added in .ini file that allows additional parameters for rsh and ssh.

Example using ssh:

commandparams=-o Ciphers=+3des-cbc -o KexAlgorithms=+diffie-hellman-group1-sha1 -o HostKeyAlgorithms=+ssh-dss

Notes: must be defined without quotes

  • New parameters "openconsolecmd" and "openconsolearg" added in .ini file that allows to open the legacy OS console while shutting down the (legacy) OS.

Notes:

  • The "openconsolecmd" parameter must contain the executable full path (without quotes)
  • The "openconsolearg" parameter is optional (and without quotes)

Example using putty:

openconsolecmd=C:\Program Files\CHARON\Build_20203\x64\putty

openconsolearg=-load OPA0 -P 10003

  • New parameter "identityfsys" added in .ini file that allows specific identity file for ssh when script is executed with "system" account (if added to Windows shutdown). If not specified the "identityfile" parameter is used
1.416-Apr-2020
  • minor change in display for information messages

  • added banner to help identify what is running during Windows shutdown

  • error handling when stopping service added

  • script stop moved to a singe function

  • during execution the window name is changed according to messages reported in the log file

  • environment information display added when script is started (MD5sum added) and also recorded in the log file

  • No labels