CommandCentral Storage (CCS) installer for the hardware Abstraction layer (HAL) cannot handle a SSH (Secure Shell) banner popping up during connection for push installation. The Banner needs to be configured to not return on standard error to the push install host.

Article:TECH55894  |  Created: 2007-01-03  |  Updated: 2007-01-03  |  Article URL http://www.symantec.com/docs/TECH55894
Article Type
Technical Solution

Product(s)

Environment

Issue



CommandCentral Storage (CCS) installer for the hardware Abstraction layer (HAL) cannot handle a SSH (Secure Shell) banner popping up during connection for push installation. The Banner needs to be configured to not return on standard error to the push install host.

Error



SSH is returning a non-zero exit code even after successful execution

Solution



Problem:
CCS uses two installers, the main installer written in CPI and the HAL installer based on VxIF (Veritas Installation Framework) for configuring HAL.
Due to a ssh banner being configured, CPI will display a false failure (even though the packages are installed it fails to get the correct status).
HAL installer cannot handle a SSH banner at all. With the presence of a ssh banner the configuration of HAL will fail and the install will error out.
This is because ssh client throws the banner on standard error.
If there is a SSH banner, HAL installer will always fail.

Approach:
If the ssh banner is disabled, install will be performed successfully.
SSH provides "-q" option which will suppress ssh errors and warnings which also suppresses ssh banner.
The installer is patched to be using the option to workaround the issue for both the installers (HAL as well as CPI)

Solution:
1) Download and save the SSH_Banner_294616.zip patch file into a temporary directory, such as /tmp/sshpatch.pl
2) Set environment variable SSH_BANNER=1 (export SSH_BANNER=1) on the host from where the push install is being performed.
3) Start installation/uninstallation from CCS DVD kit as given below:

./installccstor -require /tmp/sshpatch.pl   (For GA push install)
./uninstallccstor -require /tmp/sshpatch.pl   (For GA push uninstall)

NOTE: This workaround can be skipped for hosts not having any ssh banner enabled by unsetting or not setting SSH_BANNER environment variable on the host from where the push install or push uninstall is being performed.

Note: CPI references -
   * Cross Product Installation
   * Cross Platform Installation
   * Common Packaging and Installation

This patch would work for both, CCS5.0GA as well CCS5.0RP1 installers.
The same fix will be available as part of CCS5.0MP1 installer.



Attachments

SSH_Banner_294616.zip (2 kBytes)

Supplemental Materials

SourceETrack
Value1152977
Descriptionssh is returning non zero exit code even after successful execution


Legacy ID



294616


Article URL http://www.symantec.com/docs/TECH55894


Terms of use for this information are found in Legal Notices