README for the HP Neoview Command Interface (NCI) HP Part Number: 617880-001 Published: July 2010 Edition: HP Neoview Release 2.
© Copyright 2010 Hewlett-Packard Development Company, L.P. Legal Notice Confidential computer software. Valid license from HP required for possession, use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer Software, Computer Software Documentation, and Technical Data for Commercial Items are licensed to the U.S. Government under vendor’s standard commercial license. The information contained herein is subject to change without notice.
Table of Contents Checking Version Compatibility............................................................................................................5 Getting the Version of an Installed Client Product...........................................................................5 Installation of the Neoview Command Interface (NCI).........................................................................6 Installation Package.................................................................................
List of Tables 1 4 NCI Software Files.........................................................................................................................
Checking Version Compatibility Before installing the client product, you must check that the product is compatible with the version of the Neoview release installed on the Neoview platform. For all client products, refer to the Neoview Client and Platform Compatibility Reference for version compatibility information. This document is available at http://www.hp.com/go/neoviewdocs. NOTE: In previous releases, Neoview Command Interface (NCI) was called Neoview Script.
2. Enter the VERSION command to display information about the build versions: SQL>version Neoview Neoview Neoview Neoview Platform Connectivity Services JDBC Type 4 Driver Command Interface : : : : N02.05.00 T7970N29_18JUN2010_SRV_0706 T1249_N29(R2.5)_18JUN10_HP_JDBCT4_2010_07_06 T0774N29_(R2.
You can install NCI using either of those installer files. For more information, see “Choosing an Installer” (page 12). Installation Requirements The Neoview Command Interface (NCI) runs on Windows and various *nix operating systems, including AIX, HP-UX, Linux, and Solaris.
Setting the PATH to a Supported Java Version on Windows 8 1. Right-click the My Computer icon on your desktop, and then select Properties: 2. 3. In the System Properties dialog box, click the Advanced tab. Click the Environment Variables button: 4.
5. Place the cursor at the beginning of the Variable Value field and type the path of the Java bin directory, ending with a semicolon (;): For example: "C:\Program Files\Java\j2re1.4.2_10\bin"; NOTE: Check that no space is after the semicolon (;) in the path. If there are spaces in the directory name, delimit the entire directory path in double quotes (") before the semicolon. 6. 7. 8. Click OK. Verify that the updated Path appears under System variables, and click OK.
2. In the user profile, set the PATH environment variable to include the path of the Java bin directory. For example: export PATH=/opt/java1.4/jre/bin:$PATH NOTE: Place the path of the Java bin directory before $PATH, and check that no space is after the colon (:) in the path. In the C shell, use the setenv command instead of export. 3. To activate the changes, either log out and log in again or execute the user profile. For example: . .
Installing Perl or Python If you plan to use Perl or Python scripts with NCI, verify that you have Perl or Python installed on the client workstation. NCI supports these versions of Perl and Python: • • Perl version 5.8.8 Python version 2.3.4 If you do not have Perl or Python, download it from any open source software provider. You can perform this installation procedure anytime before or after installing NCI.
Choosing an Installer Use one of these installers to install NCI: • • • hpnciInstaller.jar, an executable JAR file hpnci.msi, a Windows installer file setup.exe, a Windows installer file If your computer is running Windows, use the executable JAR file or one of the Windows installers to install NCI. If your computer has a UNIX or Linux operating system, use the executable JAR file to install NCI. To run one of the installers, see these instructions: • • “Running the Windows Installer (.msi or .
2. Verify that the hpnciInstaller.jar file appears as an executable JAR File. If not, skip the next two steps and go to Step 5. 3. 4. 5. Double-click the hpnciInstaller.jar file icon to launch the Installer Wizard. Proceed to “Using the Installer Wizard” (page 13). At a command prompt, change to the directory where you downloaded the installer: cd installer-directory installer-directory is the directory where you downloaded the installer file, hpnciInstaller.jar. 6.
3. To locate the JDBC driver JAR file, click Browse next to HP Neoview JDBC Type 4 Driver JAR file: 4.
5. Select hpt4jdbc.
6. 7. 8. 16 To install in the default location, proceed to Step 9. To install in a user-preferred location, proceed to Step 7.
The Installer Wizard displays the directory where NCI is installed. 9. Click Next to review the open source disclaimer.
10. If you agree to the terms and conditions, click the check box and click Next. The Installer Wizard dialog box appears, showing which components are available for you to download and install: 11. Select the optional components to be downloaded and installed. Each optional component is installed if the component box is checked. Select the proxy information as necessary to download the open source extensions.
13. Click Detect Proxy Server(s) to start this process. If NCI detects one or more proxy servers, they are located in a drop-down menu next to the Detect Proxy Server(s) button. 14. Click Install to start the installation. After the core NCI files are installed, the Installation Status dialog box appears indicating how many files were extracted to the installation directory: 15. After the core NCI files are installed, the installer attempts to download and install the components.
After the core NCI files are installed, the Installer Wizard completes.
16. Click Exit. Command-Line Installation Steps 1. At a command prompt, change to the directory where you downloaded the installer: cd installer-directory installer-directory is the directory where you downloaded the installer. 2. Before launching the command-line installer, see the command options below: java -jar hpnciInstaller.
The command-line installer starts and prompts you to enter the type of installation: • • For a standard installation, type Y and press Enter. To install the optional components only, type N, press Enter, and proceed to Step 7: NOTE: value. 4. All items in square brackets are default values. Press Enter to accept the default Enter the full directory path and file name of the JDBC driver JAR file, hpt4jdbc.
8. If you do not require a proxy server, type N, press Enter, and proceed to Step 10. Otherwise, type Y, press Enter, and proceed to Step 9. Use a proxy server? [N]: 9. When prompted to auto-detect proxy servers, type Y and press Enter to direct NCI to detect your proxy settings. If NCI finds proxy servers, it displays them.
Table 1 NCI Software Files Folder Files Description bin hpnci.cmd Windows launch file hpnci.sh Linux or UNIX launch file hpnci.pl Perl wrapper script. hpnci-perl.pl is renamed hpnci.pl. To run this script, see the Neoview Command Interface (NCI) Guide. hpnci-perl.pl Perl wrapper script. This script has been modified to invoke hpnci.pl. This script is retained for backward compatibility. hpnci.py Python wrapper script. hpnci-python.py is renamed as hpnci.py.