Previous Topic: Windows APKNext Topic: Windows-specific Information


Operational Characteristics

The operational characteristics of Windows appliances which use the Windows APK are as follow:

Computer Name

The computer name of a Windows appliance is automatically changed by CA AppLogic whenever the appliance instance name is changed. You can change the instance name using the GUI or when a new appliance instance from a catalog is added to an application. The Windows APK that runs in all Windows appliances handles the computer name change.

On appliance start, the Windows APK compares the computer name to the appliance name. If the two names differ, the APK:

When you are starting a Windows appliance where the computer name is being updated, the appliance start process requires a few extra minutes than normal. This is due to the extra appliance reboot needed for the computer name change.

During the time the appliance is rebooting, the following message displays in the console during the app/comp start: "compname entered maintenance state" where compname is the name of the Windows component.

To prevent the APK from renaming an appliance:

To change the computer name of your appliance, you can either use the Windows GUI or login into your appliance and run the following command from the login shell. This assumes the APK computer name change has been disabled as described above.

Run the following command:

wmic computersystem 

where name="%COMPUTERNAME%" rename name="newname"

replace newname with the computer name

Note: CA AppLogic includes the wincfg utility which allows a user to change various settings of their Windows appliances, such as computer name, and Administrator password.

Administrator Password

If you need access to the graphical console and do not know the Administrator password, it is possible to change the password through the login shell.

Use the following command:

net user Administrator admin-new-password 

where admin-new-password is the new password for the Administrator

Notes:

Login Shell

The Windows msi installers include Cygwin, a compact Linux-like environment which runs under Windows. The Cygwin ssh server provides ssh access to Windows appliances. The login shell is bash. The Cygwin bash shell supports the majority of commands available under the Windows command shell, as well as the usual bash commands.

The cygwin shell uses / as a directory delimiter rather than \.

To access the root of a drive use, for example, cd c: or cd c:/ You can also use the cygpath utility to convert between the Cygwin POSIX style pathnames and the Windows native filenames; man cygpath for more information.

The security context in the publickey-authenticated ssh login is almost but not exactly the same as the Administrator login. The current user SID is that of Administrator but name lookup for the SID returns sshd_service instead of Administrator.

A few commands, such as diskpart, do not work from the login shell.

Services

The Windows msi installers disable both the Windows Automatic Update Service and the Windows Firewall Service. These services can be re-enabled manually after installation if needed. For additional information, refer to Manually Perform APK Prep Script.

NTFS volumes

The Windows msi installers disable the Microsoft Windows volume auto-mounting feature. The APK auto-mounting feature supersedes this feature.

Before using the Windows Filer to operate on an NTFS volume, please read the NTFS implementation specifics in the Filer Data Sheet.

Shutdown

Managed windows appliances are shutdown using a shutdown event generated by the APK. On occasion, Windows can block this event if it is waiting for a user interaction, for example, in the GUI. In this case, issuing app stop or comp stop causes the appliance stop to time out in 15 minutes at which point the appliance is abruptly stopped and not gracefully shutdown.

To perform a graceful shutdown in such an event, log in to the graphic console of the appliance and shut it down through the GUI after initiating app stop or comp stop.