Upgrade of the appliances to a later version may fail if any of the self test component fails

Article:TECH190441  |  Created: 2012-06-05  |  Updated: 2012-07-01  |  Article URL http://www.symantec.com/docs/TECH190441
NOTE: If you are experiencing this particular known issue, we recommend that you Subscribe to receive email notification each time this article is updated. Subscribers will be the first to learn about any releases, status changes, workarounds or decisions made.
Article Type
Technical Solution

Product(s)

Issue



Multiple customers faced problem where the upgrade of the apppliance software to a later version 2.0.3 or 2.5 failed if self test of any of the configured components failed.


Error



 

- [Error] Appliance self-test failed. Cannot install SYMC_NBAPP_update-2.5-1.x86_64.rpm.  Please resolve self-test failures before attempting again.

Environment



NetBackup 52x0 appliances


Cause



There might be two different reasons for the failure (check which one is appropriate)

1. Self Test component checking if NetBackup is configured and running fails.

Cause: Not all required NetBackup services are running.

2. Self Test component checking if OpsCenter is configured and running fails.

Cause: Mismatch between what '/opt/SYMCOpsCenterServer/bin/opsadmin.sh monitor'  script prints and what /opt/NBUAppliance/scripts/self_test.conf contains.

Please note that the issue is usually seen after an earlier failed upgrade.


Solution



A. Self Test component checks if NetBackup is configured and running successfully:

Solution:

1. Check whether all required NetBackup services are running. If not stop and start NetBackup services and make sure all required NetBackup services are running.

2. Run the self test only (not the upgrade) and make sure it passes for the NetBackup component.

3. If step 2 runs fine, run the upgrade.

B. Self Test component checking if OpsCenter is configured and running fails

    Checking if OpsCenter is configured and running ...              [FAIL]
    Checking test backup and restore operations ...                  [OK]
    Expiring test backup images and deleting test policy ...         [OK]
    Checking IPsec setup on the box ...                              [NOT CONFIGURED]   
Completed running tests on the appliance.
    SELF TEST RESULT :                                               [FAIL]
 
Result of self-test to confirm appliance configuration ...           failed
- [Error] Appliance self-test failed. Cannot install SYMC_NBAPP_update-2.5-1.x86_64.rpm.  Please resolve self-test failures before attempting again.

Solution:

   1.      Run "opsadmin.sh monitor" script and note what it prints

The script is under /opt/SYMCOpsCenterServer/bin directory
 

   2. Check the contents of /opt/NBUAppliance/scripts/self_test.conf

  1. If what you see in step 2, does not match with what "opsadmin.sh monitor" script prints in step 1, delete all the lines from self_test.conf file between the following two lines below, and add the lines those are printed by  "opsadmin.sh monitor" script:
Begin_Opscenter_Section
 
End_Opscenter_Section
 
  1. Check /usr/openv/db/bin/servername has the correct servername and syntax. Example : NB_servername
  2. Make sure required Opscenter services stay UP, monitor for a while and if so, continue to next step
  3. Run self test itself only to make sure it passes, if so follow next step
  4. Run the upgrade.



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


Terms of use for this information are found in Legal Notices