sexta-feira, 23 de agosto de 2013

Disable cache in Node Controller (NC) - Eucalyptus

How I disable or enable cache in NC?

Take a look at the parameter NC_CACHE_SIZE in eucalyptus.conf on the NC. Any value below 10 will disable caching.
By default neither NC_CACHE_SIZE nor NC_WORK_SIZE are set, which causes the NC to pick values based on disk space available when NC is first started. If you end up setting NC_CACHE_SIZE, I recommend setting NC_WORK_SIZE, too, so that you know exactly what to expect.

How I clean the cache in NC?
 
To clean out the cache, you must terminate all running instances on the NC (since the cache is used as part of a copy-on-write clone of the disk image of the instance) first. Then you can just ‘rm -rf’ everything in $INSTANCE_PATH/eucalyptus/cache directory.


restart the two hosts: frontend and node controller 
:)

Nenhum comentário:

Postar um comentário