Professional Documents
Culture Documents
Topics in this guide: Related Documentation.................................................................................................................. 1 Obtaining the Zing Virtual Machine Software..................................................................................1 Installing the Self-Extracting Shell Script......................................................................................... 2 Installing the RPM Package............................................................................................................ 3 Verifying License............................................................................................................................. 4 Verifying ZST and ZVM Installation................................................................................................. 4 Uninstalling the Zing Virtual Machine.............................................................................................. 4
Related Documentation
See the Zing LX System Requirements guide for a complete list of ZST, ZVM, and ZVision requirements. See Using the Zing Virtual Machine for information about using the ZVM.
1. Ensure that the current and compatible version of ZST is installed and configured before
installing ZVM. See Installing and Configuring Zing System Tools.
2. Copy the self-extracting shell script for a supported host platform to the desired ZVM
directory. The file has the following naming format depending on the Java version supported. ZVM Development Kit package (including Linux JDK), for example: zing-jdk1.6.0-<version>-<buildnumber>.sh
3. Run the self-extracting shell script to install the ZVM software on the host platform where
the applications will be run. Type the file name preceded by the ./ characters to run the script, as follows: ./<filename> For example: ./zing-jdk1.6.0-5.0.0.0-12.sh Without options, this script automatically detects the current host platform and installs the 32-bit compatible version of the ZVM software. By default, the ZVM software is installed in the same directory where the self-extracting shell script is located. Options: -cp -dest <inst-dir> -pax Install a full copy of the local version of the Linux JDK along with the ZVM software when using the full installation package. Specify the directory to install the ZVM software. Specify the path where the the pax executable is located. Example: ./zing-jdk1.6.0-5.0.0.0-12.sh -pax /opt -tar Specify the path where the the GNU tar executable is located. Example: ./zing-jdk1.6.0-5.0.0.0-12.sh -tar /opt -target <sys> Specify the host compatible version of the ZVM software to install. <sys> options is: linux64 for Linux running on x86 (64-bit)
Installing the Zing Virtual Machine Example: ./zing-jdk1.6.0-5.0.0.0-12.sh -target linux64 The -target linux64 option must be used to install the 64-bit compatible version of the ZVM software for Linux. For a development version installation for Linux, the JDK is within the package and accessed as required by the script. Entering the Linux JDK location is not required. When the installation completes, the following message displays: Installation completed successfully.
5. Install customizations made to the local version of the standard Linux JDK.
Make customizations to the development version of the JDK to match any done to the local version of the Linux JDK . For example, if jar files were added to an ext directory of the local JDK, those files must also be added to the development version of the JDK.
1. Ensure that the current and compatible version of ZST is installed and configured before
installing ZVM. See Installing and Configuring Zing System Tools.
2. Download the file to the desired host server. 3. Ensure that the file size is the same as shown on the download page. 4. Enter the root shell. 5. Type the su command. 6. Enter the super-user password when prompted. 7. Install the download file. For example:
yum localinstall -nogpgcheck ./zing-jdk1.6.0-5.0.0.0.i386.rpm The contents of the RPM package are installed into the /opt/zing directory. To examine the contents of the RPM package prior to installation, execute the rpm command using the -qpl option. For example: rpm -qpl ./zing-jdk1.6.0-5.0.0.0.i386.rpm
8. If you are installing on a RHEL 5.x or CentOS 5.x system, and you have not already done
so, install the Gnu Project Debugger (GDB).
9. If you are installing on an SLES 11 system, prior to launching ZVM for the first time, set
the ulimit. At the command line, type: ulimit -v unlimited
Verifying License
Ensure the license file is installed. Check the /etc/zing/directory for your licensing authorization file, license. Licenses allow ZVM launches up to the day they are due to expire, but not on the day they are due to expire. For example if your license is good through March 15 th. You can launch ZVMs on March 14th, but not on March 15th.
2. Look for the ZVM reference in the system response, for example:
java version "1.6.0_23" Java(TM) SE Runtime Environment (build 1.6.0_23-1192) Java HotSpot(TM) 64-Bit Tiered VM (build 1.6.0_23-ZVM_5.0.0.012.x86-b1192-product-azlinuxM-X86_64, mixed mode)
1. Login to your RHEL system as root administrator. Change to the /root directory. 2. Ensure there are no running processes using Zing memory.
From the /root directory command line, type: [root@localhost ~]# zing-ps See the ZST Installation and Configuration guide.
3. Run the rpm command to remove (erase) the ZST software, type:
Azul Systems, Inc Confidential and Proprietary 4
Installing the Zing Virtual Machine yum remove zingLX-jdk<version> Where <version> is the Zing LX version you installed. For example, 1.6.0.
Copyright 20052011, Azul Systems, Inc. 1173 Borregas Avenue, Sunnyvale, CA 94089-1306. All rights reserved. Products and specifications discussed in this document may reflect future versions and are subject to change without notice. Azul Systems assumes no responsibility or liability for any errors or inaccuracies that may appear in the informational content contained in this guide. No part of this document may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, recording, or otherwise, without the prior written permission of Azul Systems. Please note that the content in this document is protected under copyright law even if it is not distributed with software that includes an end user license agreement. Azul Systems, Azul Zing, Zing, Zing JVM, and the Azul logo are trademarks or registered trademarks of Azul Systems, Inc. Linux is a registered trademark of Linus Torvalds. Red Hat is the property of Red Hat, Inc. Java is a registered trademark of Oracle Corporation. Microsoft and Windows are registered trademarks of Microsoft Corporation. Other marks are the property of their respective owners and are used here only for identification purposes.