1.1

Table Of Contents
4.
If you are upgrading from SQLFire 1.0.x, run the sqlf command upgrade-disk-store to upgrade
each disk store to a format that is compatible with vFabric SQLFire 1.1. See sqlf upgrade-disk-store on page
397 for more information.
Note: You must update the default disk stores as well as any additional disk stores that were dened
through the CREATE DISKSTORE statement. Specify the full path to each disk store in multiple
invocations of the sqlf upgrade-disk-store command.
SQLFire creates default disk stores in each SQLFire server or locator directory, as well as in the
/datadictionary subdirectory of each SQLFire server or locator directory. The example below
shows how to upgrade these default disk stores on a single member; you must repeat the commands
on each machine that hosts a locator or server.
By default, SQLFire disk store les are owned by the user sqlfire, and you must preserve the ownership
of these les when upgrading the disk store. Use the sudo command to perform the upgrade commands as
the sqlfire user, as in these example commands:
sudo -u sqlfire sqlf upgrade-disk-store SQLF-DEFAULT-DISKSTORE
/var/opt/vmware/sqlfire/server
sudo -u sqlfire sqlf upgrade-disk-store SQLF-DD-DISKSTORE
/var/opt/vmware/sqlfire/server/datadictionary
Replace /var/opt/vmware/sqlfire/server with the actual server or locator directory.
5. Repeat the previous step to upgrade each default and user-dened disk store on the local system.
6. Repeat all previous steps for every virtual or physical machine on which you run a vFabric SQLFire member.
7. Restart all system members according to your usual procedures.
What to Do Next
After you have upgraded, perform the following tasks:
Run the product tutorial and examples. See Tutorials on page 35.
Test your development systems with the new version.
Upgrade vFabric SQLFire from a ZIP File
Upgrade vFabric SQLFire on every virtual and physical machine that will run SQLFire, using the downloaded
SQLFire ZIP le.
Procedure
Note: Thoroughly test your development systems with the new version before moving into production.
1. Review the items listed in Before You Upgrade on page 29 and make any appropriate preparations.
2. Stop all members of the system running the prior version of SQLFire. For example, in a SQLFire deployment
you can use the shut-down-all command to stop all members of the distributed system:
sqlf shut-down-all -locators=mylocator[10101]
3. Install the latest version of SQLFire in a different directory than the existing version. See Install vFabric
SQLFire from a ZIP File on page 19.
Note: SQLFire is installed as a complete product, rather than as a modication to a prior version. The
Java JRE runtime environment is not bundled with SQLFire, so you need to install and congure an
appropriate JDK or JRE to comply with SQLFire requirements and your unique system needs.
31
Upgrading vFabric SQLFire