Rechercher une page de manuel
migrate_self
Langue: en
Version: 08/23/2007 (mandriva - 22/10/07)
Section: 2 (Appels système)
NAME
migrate_self - Migrate the calling process to a given node.SYNOPSIS
#include <libkerrighed.h>
- int migrate_self(int node_id);
DESCRIPTION
migrate_self
- migrates the calling process to the cluster node nodeid.
RETURN VALUE
On success, zero is returned. On error, -1 is returned, and errno is set appropriately.
ERRORS
EPERM
- The process does not have permission to migrate to the given node. This can occurs if the process does not have the right capabilities (see krg_capability(7) for further details).
FILES
/etc/kerrighed_nodes
- This file contains the list of nodes used in the Kerrighed cluster. See kerrighed_nodes(5) for further details.
AUTHOR
Renaud Lottiaux <renaud.lottiaux@kerlabs.com>
SEE ALSO
migrate(2), krg_capability(7)
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre