Rocks Command 중 특이한 명령이 있어 올려봅니다.
이미 있었는데,, 제가 좀 늦게 눈치챈 것도 있고, Rocks 5.4에서 추가된 것도 있습니다.

rocks add host bonded compute-0-0 channel=bond0 interface=eth0,eth1 ip=10.1.255.254 network=private
http://www.rocksclusters.org/roll-documentation/base/5.4/x1640.html#ROCKS-ADD-HOST-BONDED

rocks create mirror http://mirrors.kernel.org/contos/4.5/updates/i386/RPMS rollname=updates version=4.5
http://www.rocksclusters.org/roll-documentation/base/5.4/x3097.html#ROCKS-CREATE-MIRROR

rocks iterate host compute commnad="scp file %:/tmp/"
http://www.rocksclusters.org/roll-documentation/base/5.4/x3755.html

rocks open host console {host} [key=string] [vncflags=string]
http://www.rocksclusters.org/roll-documentation/base/5.4/x4603.html#ROCKS-OPEN-HOST-CONSOLE

rocks set host interface channel compute-0-0 iface=eth1 channel="bond0"
http://www.rocksclusters.org/roll-documentation/base/5.4/x6200.html#ROCKS-SET-HOST-INTERFACE-CHANNEL

rocks set host power action=on/off/install
http://www.rocksclusters.org/roll-documentation/base/5.4/x6200.html#ROCKS-SET-HOST-POWER

rocks swap host interface {host} [ifaces=string] [sync-config=boolean]
http://www.rocksclusters.org/roll-documentation/base/5.4/x7772.html

rocks update
http://www.rocksclusters.org/roll-documentation/base/5.4/x7861.html

'Rocks' 카테고리의 다른 글

Installing pdsh on HPC cluster  (0) 2010.12.15
Adding a Login Appliance to Your Cluster  (0) 2010.12.09
Channel Bonding Interfaces  (0) 2010.12.09
Add roll on an existing server  (0) 2010.11.23
What you have to do after channel bonding  (0) 2010.10.19

Rocks 5.4 에서 추가된 또 다른 기능입니다.
Login 노드를 추가할 수 있습니다.
예전에는 별도로 다운받거나 XML을 수정해서 Login 노드 타입을 설정할 수 있었지만,,
기본 기능으로 추가되었네요..

http://www.rocksclusters.org/roll-documentation/base/5.4/login-appliance.html


7.3. Adding a Login Appliance to Your Cluster

A login appliance is a host that users use to build, launch and monitor their application(s). This host is a subset of a frontend appliance (a frontend runs several other services that are used to install and maintain all the nodes in the system).

First, we need to perform the initial installation of the login appliance. On the frontend, execute:

# insert-ethers

Select "Login" as the appliance type.

Then PXE boot the host that you want to be a login appliance.

Login hosts are generally hosts that also have a public network interface so users can directly access the login host. After the login appliance installs, to configure the public network interface on the login host, see Adding a public IP address to the second ethernet adapter on a compute node.

7.3.1. Making any Host a Submission and/or Execution Host

If you've installed a batch queueing system (e.g., by using the SGE Roll or Torque Roll), you can change any host in your system to be a submission host (a host where users can submit jobs) and/or an execution host (the queueing system schedules jobs on execution hosts).

Note

By default, a login host is a submission host, but not an execution host. By default, a compute node is an execution host, but not a submission host.

To make a host a submission host (e.g., tile-0-0), on the frontend execute:

# rocks set host attr tile-0-0 submit_host true

Then reinstall tile-0-0.

To make a host an execution host (e.g., tile-0-0), on the frontend execute:

# rocks set host attr tile-0-0 exec_host true

Then reinstall tile-0-0.


'Rocks' 카테고리의 다른 글

Installing pdsh on HPC cluster  (0) 2010.12.15
Rocks Command  (0) 2010.12.09
Channel Bonding Interfaces  (0) 2010.12.09
Add roll on an existing server  (0) 2010.11.23
What you have to do after channel bonding  (0) 2010.10.19

Rocks Cluster 5.4에서 추가된 Channel Bonding 관련 내용입니다. 간단한 명령으로 채널 본딩을 구성할 수있게 되었네요..

http://www.rocksclusters.org/roll-documentation/base/5.4/bonding.html 

7.4. Channel Bonding Interfaces

Channel bonding enables two or more network interfaces to act as one. The following procedure describes how to channel bond interfaces in Rocks.

We'll use the example of channel bonding two interfaces for compute-0-1. First, let's list the current configuration of the interfaces for compute-0-1:

# rocks list host interface compute-0-1
SUBNET IFACE MAC IP NETMASK MODULE NAME VLAN OPTIONS
private eth0 00:1e:4f:b0:74:ef 10.1.255.253 255.255.0.0 tg3 compute-0-1 ---- -------
------- eth1 00:10:18:31:74:43 ------------ ----------- tg3 ----------- ---- -------

Here's what we'll do:

  • Bond eth0 and eth1.

  • Name the bonded channel "bond0".

  • Give bond0 the IP address 10.1.255.253.

  • Associate bond0 with the private network.

# rocks add host bonded compute-0-1 channel=bond0 interfaces=eth0,eth1 ip=10.1.255.253 network=private

The above command changes the interface configuraion for compute-0-1 in the following way:

# rocks list host interface compute-0-1
SUBNET IFACE MAC IP NETMASK MODULE NAME VLAN OPTIONS CHANNEL
private bond0 ----------------- 10.1.255.253 255.255.0.0 bonding compute-0-1 ---- ------- -------
------- eth0 00:1e:4f:b0:74:ef ------------ ----------- tg3 ----------- ---- ------- bond0
------- eth1 00:10:18:31:74:43 ------------ ----------- tg3 ----------- ---- ------- bond0

To apply the configuration, execute:

# rocks sync config
# rocks sync host network compute-0-1

7.4.1. Adding Parameters to the Kernel Bonding Module

There are several options that can be added to the kernel bonding module (see RedHat's documentation The Channel Bonding Module for a full description of all the options).

To set options "miimon=100" and "mode=balance-rr" for the kernel bonding module associated with bond0, execute:

# rocks set host interface options compute-0-1 bond0 options="miimon=100 mode=balance-rr"
Warning

The "options" value (e.g., "miimon=100 mode=balance-rr") must be a space-separated list.

And now we see:

SUBNET  IFACE MAC               IP           NETMASK     MODULE  NAME        VLAN OPTIONS                    CHANNEL
private bond0 ----------------- 10.1.255.253 255.255.0.0 bonding compute-0-1 ---- miimon=100 mode=balance-rr -------
------- eth0 00:1e:4f:b0:74:ef ------------ ----------- tg3 ----------- ---- -------------------------- bond0
------- eth1 00:10:18:31:74:43 ------------ ----------- tg3 ----------- ---- -------------------------- bond0

To apply the options to the bond0 interface, execute:

# rocks sync host network compute-0-1

'Rocks' 카테고리의 다른 글

Rocks Command  (0) 2010.12.09
Adding a Login Appliance to Your Cluster  (0) 2010.12.09
Add roll on an existing server  (0) 2010.11.23
What you have to do after channel bonding  (0) 2010.10.19
Dell Blade 성능이슈 및 해결 방법  (0) 2010.10.08
<이것 또한 지나가리라>

"이 또한 지나가리라!(Soon it shall also come to pass)"

유대인의 지혜서라는 <미드라시>에 이런 얘기가 있다.
이스라엘의 다윗 왕이 어느 날 궁중의 보석세공사를 불러 지시를 내렸다.
“내가 항상 지니고 다닐 만한 반지를 하나 만들고 그 반지에 글귀를 새겨 넣어라.
내가 전쟁에서 승리하거나 위대한 일을 이루었을 때
그 글귀를 보고 우쭐해 하지 않고 겸손해질 수 있어야 하며,
또한 견디기 힘든 절망에 빠졌을 때 용기를 주는 글귀여야 한다.”
세공사는 최선을 다해 최고의 반지를 만들었지만 고민에 빠지고 말았다.
어떤 글귀를 새겨야 다윗 왕의 마음에 들지 감을 잡을 수가 없었다.
고민을 하다가 지혜롭다는 솔로몬 왕자를 찾아가 조언을 구했다.
한참을 생각하던 솔로몬이 말했다.
“이렇게 써넣으세요. ‘이것 또한 지나가리라’.”

'ETC' 카테고리의 다른 글

ATTO  (0) 2011.06.16
Only the Paranoid Survive - Andrew S. Grove  (0) 2009.11.17
휴브리스(hubris), 과거의 작은 성공을 잊어라  (0) 2009.11.17
가을인데,, 책읽기에 빠져 보심이...  (0) 2009.09.15
Lenovo T61 Multibooting  (4) 2009.07.22

+ Recent posts