Perceus Modules
Submitted by gmk on Thu, 05/03/2007 - 8:58pm.
Importing modules
When you install Perceus it will come with some core level modules already integrated but are not set active. Any additional modules you wish to download and import should be done with the command:# perceus module import [/path/to/module.pmod]
Module Activation
When a node boots and connects to the Perceus service, it will start the communication by stating what provisionary state it is in (e.g. init, boot, ready, etc...) and its NodeID. With this information, the Perceus daemon can figure out what node/boot scripts need to be run for this node.Modules can be activated for various provisionary states (by default there is 'init' and 'ready' but this can be customized). Inside each of the provisionary states there are 4 substates (all, group, vnfs, node).
These can be used in the following form:
# perceus module activate hostfile # perceus module activate hostname init/all # perceus module activate passwdfile init/group/newgroup # perceus module activate groupfile init/node/node0000 init/group/anothergroup
Module summary
You can view the current module stack using perceus module summary: # perceus module summary
groupfile:
init/group/anothergroup
init/node/node0000
hostfile:
init/all
hostname:
init/all
passwdfile:
init/group/newgroup
Module deactivate
Disabling modules in particular provisionary states can be done as follows:# perceus module deactivate groupfile init/group/anothergroup
»
- Printer-friendly version
- Login or register to post comments


