Tuesday, October 17, 2006

Remove node from gfarm 1.3

This instruction apply to Gfarm 1.3.1 using Postgresql backend metadata storage only

1. Remove the node from your cluster. Ex: For NPACI Rocks 4.2
insert-ethers --remove compute-0-7
2. Use psql to access gfarm database. Make sure to change the port number to the correct port. Use 'ps auxw | grep postmaster' to find the port number
psql -p 10602 gfarm farm
3. From psql prompt, input
DELETE FROM filesectioncopy WHERE hostname='compute-0-7.local';
4.Exit from psql. Now the node has been removed permanently from database. Remove it from gfarm now.
gfhost -d compute-0-7.local
That should be all.