Tuesday, September 3, 2013

How gfsh Commands differs in vFabric GemFire 7.0 compare to Previous versions

The following table provides a mapping of previous GemFire commands (for example, gemfire, cacheserver, start locator, and so on) to new gfsh commands

Previous Command GemFire 7.0 gfsh Command
Old (pre-7.0) gfsh Commands
bcp export data --to-file=...
import data --from-file=...
clear remove --all
connect connect
debug enable with options --error-details and --logging-level
deploy deploy
fetch environment variable APP_FETCH_SIZE
gc gc
get get
index create index
destroy index
list index
key get/put/locate entry commands with option --key-class
ls describe region
describe member
list members
list regions
show config
mkdir create region
next implicit with select
put put
pwd environment variable APP_CONTEXT_PATH (Read only)
rebalance rebalance
rm remove
rmdir destroy region
select select
show With environment variables
show -col APP_COLLECTION_LIMIT
value get/put commands with option -value-class
which locate entry
Old (pre-7.0) cacheserver Commands
cacheserver start start server
cacheserver status status server
cacheserver stop stop server
Old (pre-7.0) gemfire Commands
gemfire backup-disk-store (online command) export disk-store
gemfire compact-all-disk-store (online command) compact disk-store
gemfire compact-disk-store (offline command) compact offline-disk-store
gemfire info-locator describe member (with --name to identify locator)
gemfire list-missing-disk-stores (online command) show missing-disk-stores
gemfire modify-disk-store (offline command) alter disk-store
gemfire revoke-missing-disk-store (online command) revoke missing-disk-store
gemfire start-locator start locator
gemfire status-locator status locator
gemfire stop-locator stop locator
gemfire shutdown-all-members (online command) shutdown
gemfire validate-disk-store (offline command) validate disk-store

Sunday, September 1, 2013

How to install ADB and Fast boot on Windows

The following guide is for Windows PCs only, Also note that this guide was written on a Windows 7 computer. However, the guide will work on Windows 8/XP/Vista the same way.

Download(11 MB) ADB, Fastboot, and other tools. Note: The tools found in the download are provided by Google, found in Android SDK. I have simply extracted the tools and uploaded them for easy access, instead of telling everyone to download the whole SDK. You can get the same tools if you download the Android SDK directly from Google.

Extract the contents directly into your C:\ partition. You should now have a folder C:\Android 

Press Win + R on your keyboard to bring up the Run dialog. Once the Run box is open, type in sysdm.cpl and hit OK:

From the Advanced tab click on Environment Variables:

At the Environment Variables window find where it says Path under System variables, click on it, and click the Edit button:

When the Edit System Variable window pops up, type in ;C:\Android at the very end and hit OK:

Make sure you type in exactly ;C:\Android (be sure to include the semi-colon at the beginning). After clicking OK, close out all windows. You are done!

USING ADB AND FASTBOOT Once you have them installed, using ADB or Fastboot is as easy as opening command prompt, typing in adb xxx or fastboot xxx (with xxx being the command you want to run)… …

…and hitting Enter on your keyboard to execute the command. Take note, however, installing ADB and Fastboot is not enough to start using it with your phones. You need to install the relevant drivers on your computer – so your PC recognizes your phone – before ADB or Fastboot will be able to work with it. If you don’t have any drivers installed, you will get an error similar to the following:

 

and hitting Enter on your keyboard to execute the command. Take note, however, installing ADB and Fastboot is not enough to start using it with your phones. You need to install the relevant drivers on your computer – so your PC recognizes your phone – before ADB or Fastboot will be able to work with it. If you don’t have any drivers installed, you will get an error similar to the following:

If you don’t have the proper drivers installed, read dotTech’s article on downloads links for USB (adb and fastboot) drivers for Windows for all Android phones.

 

Thanks to dottech