How to upgrade the Foglight for Virtualization Standard edition (vOPS) virtual appliance manually, or without Internet access (offline), via the command line
If the vOPS virtual appliance is not connected to the Internet or the GUI upgrade process is not functioning, the following process can be followed.
NOTE: Transfering files to the appliance can be done a few different ways. Copying via sftp (using a program such as filezilla or winscp) or using the command wget on the appliance itself.
DOWNLOAD THE UPGRADE FILES
File: http://ftp.vkernel.com/downloads/vkernel/06a7238c-6ad9-42fd-b692-ce8277377824/updates/latest/VKernel.zip
Goes into folder: /usr/local/vkernel/tools/ant/
File: http://ftp.vkernel.com/downloads/vkernel/06a7238c-6ad9-42fd-b692-ce8277377824/tools/latest/deploy.zip
Goes into folder: /usr/local/vkernel/tools/ant/
Once downloaded, move these two files to the vOPS VM, using WinSCP, to directory /usr/local/vkernel/tools/ant/
VKernel-vOPS:~ #
5. Unzip 'deploy.zip' file: unzip -o /usr/local/vkernel/tools/ant/deploy.zip -d /usr/local/vkernel/tools/ant/
6. Press ENTER
7. Then perform the upgrade with the following commands:
cd /usr/local/vkernel/tools/ant/
chmod 755 manual-up.sh
./manual-up.sh
The script update the appliance, but before it does, it might determine the need for additional downloads.
If it determines that additional downloads are needed, it will provide instructions on how to download these files.
Below are possible examples of the files. Please be sure to download only the files that appear in the script's instructions.
PRE-MIGRATION STEPS (Various files needed depending on the version)
If you are running vOPS 4.2.0 - 6.5.2 and are upgrading to vOPS 7.0, these pre-migration step will need to be followed.
File: http://ftp.vkernel.com/downloads/vkernel/bundles/premigration.zip
Goes into folder: /usr/local/vkernel/tools/pre-migration/
VKernel-vOPS:~ #
5. Unzip the files: unzip -o /usr/local/vkernel/tools/pre-migration/premigration.zip -d /usr/local/vkernel/tools/pre-migration/
6. Press ENTER
VKernel-vOPS:~ # unzip -o /usr/local/vkernel/tools/pre-migration/premigration.zip -d /usr/local/vkernel/tools/pre-migration/
Archive: /usr/local/vkernel/tools/pre-migration/premigration.zip
inflating: /usr/local/vkernel/tools/pre-migration/premigration.xml
VKernel-vOPS:~ # unzip -o /usr/local/vkernel/tools/ant/deploy.zip -d /usr/local/vkernel/tools/ant/
Archive: /usr/local/vkernel/tools/ant/deploy.zip
inflating: /usr/local/vkernel/tools/ant/manual-up.sh
inflating: /usr/local/vkernel/tools/ant/deploy.xml
inflating: /usr/local/vkernel/tools/ant/schema.properties
inflating: /usr/local/vkernel/tools/ant/deploy.properties
VKernel-vOPS:~ #
7. Execute the following commands:
cd /usr/local/vkernel/tools/pre-migration/
ant -f premigration.xml manual
exit
8. Download and re-transfer any files the pre-migration script request, and then re-run the migration script.
cd /usr/local/vkernel/tools/pre-migration/
ant -f premigration.xml manual
exit
In details, here are the files typically needed.
Pre-migration files needed for all versions (4.2.0 - 6.5.2):
File: http://ftp.vkernel.com/downloads/vkernel/bundles/premigration.zip
Goes into folder: /usr/local/vkernel/tools/pre-migration/
File: http://ftp.vkernel.com/downloads/vkernel/bundles/sqljdbc_2.0.1803.100_enu.tar.gz
Goes into folder: /usr/local/vkernel/tools/pre-migration/
Versions 4.2.0 - 5.1.0 also need the following additional pre-migration files, along with the files listed above:
File: http://ftp.vkernel.com/downloads/vkernel/bundles/rest-api-schemas.jar
Goes into folder: /usr/local/vkernel/tools/pre-migration/
File: http://ftp.vkernel.com/downloads/vkernel/bundles/vcloud-java-sdk.jar
Goes into folder: /usr/local/vkernel/tools/pre-migration/
File: http://ftp.vkernel.com/downloads/vkernel/bundles/httpcomponents-client-4.2.1-bin.tar.gz
Goes into folder: /usr/local/vkernel/tools/pre-migration/
File: http://ftp.vkernel.com/downloads/vkernel/bundles/commons-lang-2.6-bin.tar.gz
Goes into folder: /usr/local/vkernel/tools/pre-migration/
Versions 4.2.0 - 4.7.0 also need the following additional pre-migration file, along with the files listed above:
File: http://ftp.vkernel.com/downloads/vkernel/bundles/apache-ant-1.8.3-bin.tar.gz
Goes into folder: /usr/local/vkernel/tools/pre-migration/
---
VKernel-vOPS:~ #
5. Unzip the files: unzip -o /usr/local/vkernel/tools/pre-migration/premigration.zip -d /usr/local/vkernel/tools/pre-migration/
6. Press ENTER
VKernel-vOPS:~ # unzip -o /usr/local/vkernel/tools/pre-migration/premigration.zip -d /usr/local/vkernel/tools/pre-migration/
Archive: /usr/local/vkernel/tools/pre-migration/premigration.zip
inflating: /usr/local/vkernel/tools/pre-migration/premigration.xml
VKernel-vOPS:~ # unzip -o /usr/local/vkernel/tools/ant/deploy.zip -d /usr/local/vkernel/tools/ant/
Archive: /usr/local/vkernel/tools/ant/deploy.zip
inflating: /usr/local/vkernel/tools/ant/manual-up.sh
inflating: /usr/local/vkernel/tools/ant/deploy.xml
inflating: /usr/local/vkernel/tools/ant/schema.properties
inflating: /usr/local/vkernel/tools/ant/deploy.properties
VKernel-vOPS:~ #
7. Execute the following commands:
cd /usr/local/vkernel/tools/pre-migration/
ant -f premigration.xml manual
exit
Once this is complete, re-run the upgrade.
1. Then upgrade with the following commands:
cd /usr/local/vkernel/tools/ant/
chmod 755 manual-up.sh
./manual-up.sh
© ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center