SLURM RPC Reference
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了SLURM RPC Reference相关的知识,希望对你有一定的参考价值。
一, controller端:
controller在启动过程中,会专门创建一个线程:slurmctld_rpc_mgr,来处理RPC请求, slurmctld_rpc_mgr调用_service_connection,进而调用RPC处理主函数slurmctld_req。 RPC的type和action如下:
TYPE |
ACTION |
DESCRIPTION |
REQUEST_RESOURCE_ALLOCATION |
_slurm_rpc_allocate_resources |
|
REQUEST_BUILD_INFO |
_slurm_rpc_dump_conf | |
REQUEST_JOB_INFO |
_slurm_rpc_dump_jobs | |
REQUEST_JOB_USER_INFO |
_slurm_rpc_dump_jobs_user |
|
REQUEST_JOB_INFO_SINGLE |
_slurm_rpc_dump_job_single |
|
REQUEST_SHARE_INFO |
_slurm_rpc_get_shares |
|
REQUEST_PRIORITY_FACTORS |
_slurm_rpc_get_priority_factors |
|
REQUEST_JOB_END_TIME |
_slurm_rpc_end_time |
|
REQUEST_FRONT_END_INFO |
_slurm_rpc_dump_front_end | |
REQUEST_NODE_INFO |
_slurm_rpc_dump_nodes | |
REQUEST_NODE_INFO_SINGLE |
_slurm_rpc_dump_node_single |
|
REQUEST_PARTITION_INFO |
_slurm_rpc_dump_partitions |
|
MESSAGE_EPILOG_COMPLETE |
_slurm_rpc_epilog_complete | |
REQUEST_CANCEL_JOB_STEP |
_slurm_rpc_job_step_kill | |
REQUEST_COMPLETE_JOB_ALLOCATION |
_slurm_rpc_complete_job_allocation |
|
REQUEST_COMPLETE_PROLOG |
_slurm_rpc_complete_prolog | |
REQUEST_COMPLETE_BATCH_JOB |
_slurm_rpc_complete_batch_script | |
REQUEST_COMPLETE_BATCH_SCRIPT |
_slurm_rpc_complete_batch_script | |
REQUEST_JOB_STEP_CREATE |
_slurm_rpc_job_step_create | |
REQUEST_JOB_STEP_INFO |
_slurm_rpc_job_step_get_info | |
REQUEST_JOB_WILL_RUN |
_slurm_rpc_job_will_run | |
MESSAGE_NODE_REGISTRATION_STATUS |
_slurm_rpc_node_registration | |
REQUEST_JOB_ALLOCATION_INFO |
_slurm_rpc_job_alloc_info | |
REQUEST_JOB_ALLOCATION_INFO_LITE |
_slurm_rpc_job_alloc_info_lite | |
REQUEST_JOB_SBCAST_CRED |
_slurm_rpc_job_sbcast_cred | |
REQUEST_PING |
_slurm_rpc_ping | |
REQUEST_RECONFIGURE |
_slurm_rpc_reconfigure_controller |
|
REQUEST_CONTROL |
_slurm_rpc_shutdown_controller | |
REQUEST_TAKEOVER |
_slurm_rpc_takeover | |
REQUEST_SHUTDOWN |
_slurm_rpc_shutdown_controller | |
REQUEST_SHUTDOWN_IMMEDIATE |
_slurm_rpc_shutdown_controller_immediate | |
REQUEST_SUBMIT_BATCH_JOB |
_slurm_rpc_submit_batch_job | |
REQUEST_UPDATE_FRONT_END |
_slurm_rpc_update_front_end | |
REQUEST_UPDATE_JOB |
_slurm_rpc_update_job | |
REQUEST_UPDATE_NODE |
_slurm_rpc_update_node | |
REQUEST_CREATE_PARTITION |
_slurm_rpc_update_partition | |
REQUEST_UPDATE_PARTITION |
_slurm_rpc_update_partition | |
REQUEST_DELETE_PARTITION |
_slurm_rpc_delete_partition |
|
REQUEST_CREATE_RESERVATION |
_slurm_rpc_resv_create | |
REQUEST_UPDATE_RESERVATION |
_slurm_rpc_resv_update | |
REQUEST_DELETE_RESERVATION |
_slurm_rpc_resv_delete | |
REQUEST_UPDATE_BLOCK |
_slurm_rpc_update_block |
|
REQUEST_RESERVATION_INFO |
_slurm_rpc_resv_show | |
REQUEST_NODE_REGISTRATION_STATUS |
||
REQUEST_CHECKPOINT |
_slurm_rpc_checkpoint |
|
REQUEST_CHECKPOINT_COMP |
_slurm_rpc_checkpoint_comp |
|
REQUEST_CHECKPOINT_TASK_COMP |
_slurm_rpc_checkpoint_task_comp | |
REQUEST_SUSPEND |
_slurm_rpc_suspend | |
REQUEST_JOB_REQUEUE |
_slurm_rpc_requeue | |
REQUEST_JOB_READY |
_slurm_rpc_job_ready | |
REQUEST_BLOCK_INFO |
_slurm_rpc_block_info |
|
REQUEST_STEP_COMPLETE |
_slurm_rpc_step_complete |
|
REQUEST_STEP_LAYOUT |
_slurm_rpc_step_layout | |
REQUEST_UPDATE_JOB_STEP |
_slurm_rpc_step_update | |
REQUEST_TRIGGER_SET |
_slurm_rpc_trigger_set | |
REQUEST_TRIGGER_GET |
_slurm_rpc_trigger_get | |
REQUEST_TRIGGER_CLEAR |
_slurm_rpc_trigger_clear | |
REQUEST_TRIGGER_PULL |
_slurm_rpc_trigger_pull | |
REQUEST_JOB_NOTIFY |
_slurm_rpc_job_notify | |
REQUEST_SET_DEBUG_FLAGS |
_slurm_rpc_set_debug_flags | |
REQUEST_SET_DEBUG_LEVEL |
_slurm_rpc_set_debug_level | |
REQUEST_SET_SCHEDLOG_LEVEL |
_slurm_rpc_set_schedlog_level |
|
ACCOUNTING_UPDATE_MSG |
_slurm_rpc_accounting_update_msg |
|
ACCOUNTING_FIRST_REG |
_slurm_rpc_accounting_first_reg | |
ACCOUNTING_REGISTER_CTLD |
_slurm_rpc_accounting_register_ctld | |
REQUEST_TOPO_INFO |
_slurm_rpc_get_topo | |
REQUEST_SPANK_ENVIRONMENT |
_slurm_rpc_dump_spank | |
REQUEST_REBOOT_NODES |
_slurm_rpc_reboot_nodes | |
REQUEST_STATS_INFO |
_slurm_rpc_dump_stats |
|
REQUEST_LICENSE_INFO |
_slurm_rpc_dump_licenses |
|
REQUEST_KILL_JOB |
_slurm_rpc_kill_job2 |
以上是关于SLURM RPC Reference的主要内容,如果未能解决你的问题,请参考以下文章