2011年3月18日 星期五

Steps to setup a cluster node after using clonezilla

You may reference to this post for previous works.

1. Modify internet information


$sudo su
$vi /etc/hostname
$vi /etc/network/interface
$reboot

2. Extend volumn

$sudo su
$fdisk /dev/sda
$partprobe
$pvcreate /dev/sda4
$vgextend Root /dev/sda4
$vgdisplay Root
$lvresize -l +*** /dev/Root/home
$resize2fs /dev/Root/home
$exit

3. make SSH key

$cd ~/.ssh
$ssh-keygen -t rsa -P ""
$cat id_rsa.pub >> authorized_keys
$scp to other node