openhpc 문서에서 하라는대로만 따라해서
어떤 원리로 어떻게 관리되는지 알지 못해서 구조를 좀 파악해야할 필요가 발생 ㅠㅠ
[링크 : https://github.com/nicksan2c/wwsh]
[링크 : https://dokuwiki.wesleyan.edu/doku.php?id=cluster:144]
+
> file /usr/bin/ww*
/usr/bin/wwan: symbolic link to bluetooth
/usr/bin/wwbootstrap: Perl script text executable
/usr/bin/wwconfig: Perl script text executable
/usr/bin/wwinit: Bourne-Again shell script, ASCII text executable
/usr/bin/wwlivesync: Perl script text executable
/usr/bin/wwmkchroot: Bourne-Again shell script, ASCII text executable
/usr/bin/wwnodescan: Perl script text executable
/usr/bin/wwsh: Perl script text executable
/usr/bin/wwuseradd: POSIX shell script, ASCII text executable
/usr/bin/wwvnfs: Perl script text executable
wwsh list 모음
> wwsh bootstrap list
BOOTSTRAP NAME SIZE (M) ARCH
5.3.18-lp152.57-default 58.0 x86_64
> wwsh ipmi list
NAME AUTO IPMI_IPADDR IPMI_NETMASK
================================================================================
openhpc-1 no UNDEF UNDEF
openhpc-2 no UNDEF UNDEF
> wwsh node list
NAME GROUPS IPADDR HWADDR
================================================================================
openhpc-1 UNDEF 10.0.2.4 08:00:27:4b:df:4f
openhpc-2 UNDEF 10.0.2.5 08:00:27:f9:ca:3f
> wwsh object list
NAME _TYPE
======================================================
passwd file
group file
shadow file
munge.key file
5.3.18-lp152.57-default bootstrap
leap15.2 vnfs
network file
openhpc-1 node
dynamic_hosts file
openhpc-2 node
> wwsh provision list
NODE VNFS BOOTSTRAP FILES
================================================================================
openhpc-1 leap15.2 5.3.18-lp152.57-de... dynamic_hosts,grou...
openhpc-2 leap15.2 5.3.18-lp152.57-de... dynamic_hosts,grou...
> wwsh vnfs list
VNFS NAME SIZE (M) ARCH CHROOT LOCATION
leap15.2 480.1 x86_64 /opt/ohpc/admin/images/leap15.2
도움말 모음
> wwsh help Warewulf command line shell interface Welcome to the Warewulf shell interface. This application allows you to interact with the Warewulf backend database and modules via a single interface. bootstrap Manage your bootstrap images dhcp Manage DHCP service and configuration events Control how events are handled exit Exit/leave the Warewulf shell file Manage files within the Warewulf data store ipmi Node IPMI configuration node Node manipulation commands object Generically manipulate all Warewulf data store entries output Set the output verbosity level provision Node provision manipulation commands pxe Manage PXE configuration quit Exit/leave the Warewulf shell ssh Spawn parallel ssh connections to nodes. vnfs Manage your VNFS images |
USAGE: bootstrap <command> [options] [targets] SUMMARY: This interface allows you to manage your bootstrap images within the Warewulf data store. COMMANDS: import Import a bootstrap image into Warewulf export Export a bootstrap image to the local file system delete Delete a bootstrap image from Warewulf list Show all of the currently imported bootstrap images set Set bootstrap attributes (re)build Build (or rebuild) the tftp bootable image(s) on this host help Show usage information |
USAGE: dhcp <command> SUMMARY: The DHCP command configures/reconfigures the DHCP service. COMMANDS: update Update the DHCP configuration, and restart the service restart Restart the DHCP service help Show usage information |
USAGE: events [command] SUMMARY: Control how/if events are handled. COMMANDS: enable Enable all events for this shell (default) disable Disable the event handler help Show usage information |
USAGE: file <command> [options] [targets] SUMMARY: The file command is used for manipulating file objects. It allows you to import, export, create, and modify files within the Warewulf data store. File objects may be used to supply files to nodes at provision time, dynamically create files or scripts based on Warewulf data and more. COMMANDS: import Import a file into a file object export Export file object(s) edit Edit the file in the data store directly new Create a new file in the data store set Set file attributes/metadata show Show the contents of a file list List a summary of imported file(s) print Print all file attributes (re)sync Sync the data of a file object with its source(s) delete Remove a node configuration from the data store help Show usage information |
USAGE: ipmi <command> [options] [targets] SUMMARY: The ipmi command is used for setting node ipmi configuration attributes. COMMANDS: set Modify an existing node configuration list List a summary of the node(s) ipmi configuration print Print the full node(s) ipmi configuration poweron Power on the list of nodes poweroff Power off the list of nodes powercycle Power cycle the list of nodes powerstatus Print the power status of the nodes ident Set chassis identify light to on for the nodes noident Set chassis identify light to off for the nodes printsel Print system event log for the nodes clearsel Clear system event log for the nodes printsdr Print sensor data records for the nodes console Start a serial-over-lan console session. NOTE: Requires that a serial console be defined in kernel arguments, i.e. console=ttyS0,57600 forcepxe Force next boot from PXE forcedisk Force next boot from first Hard Drive forcecdrom Force next boot from CD-ROM forcebios Force next boot into BIOS help Show usage information |
USAGE: node <command> [options] [targets] SUMMARY: The node command is used for viewing and manipulating node objects. COMMANDS: new Create a new node configuration set Modify an existing node configuration list List a summary of nodes print Print the node configuration delete Remove a node configuration from the data store clone Clone a node configuration to another node help Show usage information |
USAGE: object <command> [options] [targets] SUMMARY: The object command provides an interface for generically manipulating all object types within the Warewulf data store. COMMANDS: modify Add, delete, and/or set object member variables print Display object(s) and their members delete Completely remove object(s) from the data store dump Recursively dump objects in internal format jsondump Recursively dump objects in json format canonicalize Check and update objects to current standard format help Show usage information |
USAGE: output [command] SUMMARY: This command sets the desired command output verbosity level. COMMANDS: normal The standard (and default) output level intended for normal usage quiet Only print warning, error, or critical messages. verbose Increase verbosity over the normal output level debug Show debugging messages (very verbose) |
USAGE: provision <command> [options] [targets] SUMMARY: The provision command is used for setting node provisioning attributes. COMMANDS: set Modify an existing node configuration list List a summary of the node(s) provision configuration print Print the full node(s) provision configuration help Show usage information |
USAGE: pxe <command> [options] [targets] SUMMARY: Manage PXE configuration. COMMANDS: update Update the PXE configuration help Show usage information |
USAGE: ssh [nodes/targets] [command] SUMMARY: Run ssh connections to node(s) in parallel by either node names, group or any other known lookup. |
USAGE: vnfs <command> [options] [targets] SUMMARY: This interface allows you to manage your VNFS images within the Warewulf data store. COMMANDS: import Import a VNFS image into Warewulf export Export a VNFS image to the local file system delete Delete a VNFS image from Warewulf list Show all of the currently imported VNFS images set Set any VNFS attributes help Show usage information |
'프로그램 사용 > openHPC' 카테고리의 다른 글
MPI/PMI (0) | 2021.01.07 |
---|---|
hpl/linpack openmpi slurm (0) | 2021.01.05 |
openSUSE에 getvnfs extracting failed ㅠㅠ (0) | 2021.01.05 |
openSUSE에 openHPC 설치하기 part 1 (0) | 2021.01.04 |
slurm, pbs pro, torque/maui (0) | 2021.01.04 |