Dell Poweredge

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Thursday, July 29, 2010

Rocks Cluster NAT

Posted on 9:32 AM by Unknown
The NAT was not enabled on the cluster to allow nodes access to the public network. This was achieved by editing the /etc/sysconfig/iptables with vim and adding the following lines:-

*nat
-A POSTROUTING -o eth1 -j MASQUERADE
COMMIT


to the beginning of the file.

Save the file using wq

Then restart the service using:-

/sbin/service iptables restart

Then sync the config using :-

rocks sync config

That is now the NAT working and allowing internet access from the compute nodes on the private network.
Read More
Posted in | No comments

Rocks Cluster iptables

Posted on 7:05 AM by Unknown
I needed to modify the iptables to allow connections on some extra tcp ports.
I edited the /etc/sysconfig/iptables file using vim. The extra lines added are shown below:-

# http and https is allowed for all nodes on the public subnet
-A INPUT -m state --state NEW -p tcp --dport 9618 -j ACCEPT
-A INPUT -m state --state NEW -p tcp --dport 9614 -j ACCEPT

The iptables service was restarted using the command /sbin/service iptables restart.
Read More
Posted in | No comments

Monday, July 5, 2010

NFS not working on some nodes

Posted on 8:14 AM by Unknown
NFS not working

The nodes were not working and issuing the command
showed that there was an NFS mounting problem
jimp@compute-2:~$ rpcinfo -p
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 52121 status
100024 1 tcp 59769 status


The /etc/hosts file was changed to match the other nodes
the rpcinfo command now gives the following.

jimp@compute-5:~$ rpcinfo -p hadoop
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 56797 status
100024 1 tcp 54606 status
100021 1 udp 53628 nlockmgr
100021 3 udp 53628 nlockmgr
100021 4 udp 53628 nlockmgr
100021 1 tcp 53694 nlockmgr
100021 3 tcp 53694 nlockmgr
100021 4 tcp 53694 nlockmgr
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100005 1 udp 40126 mountd
100005 1 tcp 37582 mountd
100005 2 udp 40126 mountd
100005 2 tcp 37582 mountd
100005 3 udp 40126 mountd
100005 3 tcp 37582 mountd



Read More
Posted in | No comments

Thursday, July 1, 2010

Add User to Sudo users

Posted on 1:42 AM by Unknown
Add User to Sudo users file

To add user to sudo users file use the command sudo adduser some_user admin. This will allow some_user to issue sudo commands as well as the original sudo user.
Read More
Posted in | No comments
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Popular Posts

  • Using a clone image on new hardware.
    The Centos networking will not work after the new hardware is using a clone image. The problem occurs because the MAC addresses on the new h...
  • OpenWRT MR3220 Command Snippets
    Reset the OpenWRT on Router back to the default use the command mtd -r erase rootfs_data Turn Wifi off uci set wireless.@wifi-device[0].dis...
  • SSH Tunnel Example
    Tunnel ssh from Local Machine to Remote Machine and from Remote Machine to a Local Machine on Remote Machines network. Local to remote machi...
  • PXE Boot a Dban image from an Ubuntu Server
     Dhcp Offers from Ubuntu Server to Compute Nodes ****Note**** exercise extreme care with these notes I have made as you can boot and wipe an...
  • Setting up Open-SSH in Ubuntu
    OpenSSH I set-up Open-SSH by installing the package ssh using the command 'sudo apt-get -y install ssh' . I then edited the config f...
  • 1Password using Wine in Ubuntu
    This program would not run properly in Ubuntu 10.10 it would not allow the creation of a 1Password folder but installing DirectX9 seems to h...
  • MR3220 OpenWRT Extroot installation
    The TP-Link has OpenWRT installed using either tftp or via the serial port using Kermit. Install the packages for using USB as storage on O...
  • Wine Install IE7 Problems
    Info from Wine HQ App Testing Info To install use the commands below : Install with "export WINEPREFIX=~/.wine_ie7" then "win...
  • SSH Tunnel command
    Command to setup the tunnel ssh -N -p 11000 remoteuser@remotecomputer.net -L 5901/localhost/5900 To view from Local computer vncviewer 127.0...
  • Getting the Arnova 9 G2 into Recovery Mode
    To enter Arnova 9 G2 recovery mode, press the esc button then using a paperclip press the recessed reset button (its located on the top edge...

Categories

  • Cluster Login Problem
  • Hadoop Cluster Passwordless SSH login
  • Open-SSH Installation
  • Software Update Command Line

Blog Archive

  • ►  2013 (6)
    • ►  September (3)
    • ►  April (2)
    • ►  March (1)
  • ►  2012 (16)
    • ►  November (1)
    • ►  October (1)
    • ►  July (2)
    • ►  June (3)
    • ►  May (1)
    • ►  April (1)
    • ►  March (3)
    • ►  February (3)
    • ►  January (1)
  • ►  2011 (17)
    • ►  December (1)
    • ►  November (3)
    • ►  August (4)
    • ►  July (1)
    • ►  June (2)
    • ►  May (2)
    • ►  March (2)
    • ►  February (1)
    • ►  January (1)
  • ▼  2010 (18)
    • ►  December (2)
    • ►  September (2)
    • ►  August (2)
    • ▼  July (4)
      • Rocks Cluster NAT
      • Rocks Cluster iptables
      • NFS not working on some nodes
      • Add User to Sudo users
    • ►  June (7)
    • ►  May (1)
Powered by Blogger.

About Me

Unknown
View my complete profile