09-21-2011 03:12 AM
Given the limited disk space allocated to a Zeus Traffic Manager Virtual Appliance you might need to free some space to perform certain tasks. This is usually most visible when performing upgrades where you might be presented with the following message:
Analyzing system: failed ERROR: Not enough space available, need 300000KB, however only xxxxxxKB is available
Removing Previous Software Versions
When you upgrade the Virtual Appliance, the previous version of the software is retained so that you can revert back to it at any point in time. If you upgrade through a series of minor revisions you might have several older versions of the software still installed.
If you want to switch between versions of the software you can use the script 'rollback' in the directory '/opt/zeus/zxtm/bin' on the appliance, but in practice it is unlikely that you need to retain all of these; having a single version that is known to be good should suffice.
Firstly you must decide which older versions of the software to keep. At the time of writing, the latest release is Zeus Traffic Manager 6.0r5. If you are intending to upgrade to 6.0r6, you could for example choose to remove all versions prior to 6.0r5.
To do this, use ssh to log into the appliance, or access it via the provided console on the virtual host. Change to the '/opt/zeus' directory, where the software is installed. Note that manual modifications within this directory are not supported, with very few exceptions. This set of instructions is one such exception.
The three main directories in which the software is contained are annotated with a version, these are 'admin-<version>', 'zxtm-<version>' and 'zxtmadmin-<version>'. To remove version 6.0r1 of the software you would use a command such as the following:
root@machinename:/opt/zeus# rm -rf admin-6.0r1 zxtm-6.0r1 zxtmadmin-6.0r1
Repeat this procedure for each of the older software versions you want to remove. Note that once you have removed a version of the software the deletion is permanent and you will not be able to roll back to it.
Other options include:
# rm -rf /opt/zeus/.upgrade # rm -rf /opt/zeus.extract.* # rm -rf /usr/share/zxtm-*
3. If you've uploaded anything to /root that isn't needed any more, delete those files.
4. Back up some old log files and remove them from /logs.
5. Extend the logs partition as described in the Virtual ApplianceGetting Started Guide.
09-19-2011 12:30 PM
(Originally posted April 19, 2010)
© Copyright 2012 Riverbed Technology. All rights reserved Riverbed.com | Contact Us | Technical Support | Terms & Conditions | Privacy Policy