Tags:
create new tag
view all tags
-- Main.donal - 2011-11-28
steps to setup afs and xmanager on sl5.5 x86_64

NodeSetup

edit /etc/yum.repos.d/sl.repo change baseurl

baseurl=http://mirror.ihep.ac.cn/scientific/55/$basearch/SL

install & config AFS

yum install openafs-client openafs kernel-module-openafs openafs-authlibs openafs-kpasswd openafs-krb5 openafs-compat

edit /usr/vice/etc/CellServDB

>ihep.ac.cn #Cell name
202.122.35.122 #afsdb1.ihep.ac.cn
202.122.35.148 #afsdb2.ihep.ac.cn
202.122.35.162 #afsdb3.ihep.ac.cn

edit /usr/vice/etc/ThisCell

ihep.ac.cn

start afs client

ln -s /etc/init.d/afs /etc/rc.d/rc5.d/S60afs
/etc/init.d/afs start

mount NFS

mkdir -p /ihepbatch/cc
mount 192.168.51.143:/home/cc /ihepbatch/cc
ln -s /ihepbatch/cc /home/cc

config xmanager

edit /usr/share/gdm/defaults.conf

[xdmcp]
Enable=true
Port=177

edit /etc/inittab

x:5:respawn:/usr/sbin/gdm

start gdm

/usr/sbin/gdm

edit iptables

edit /etc/sysconfig/iptables

-A RH-Firewall-1-INPUT -d 192.168.0.0/16  -j ACCEPT
-A RH-Firewall-1-INPUT -d 202.122.33.0/24 -j ACCEPT
-A RH-Firewall-1-INPUT -d 202.122.32.0/24 -j ACCEPT
-A RH-Firewall-1-INPUT -d 202.122.35.0/24 -j ACCEPT
-A RH-Firewall-1-INPUT -d 202.38.128.0/24 -j ACCEPT
-A RH-Firewall-1-INPUT -s 192.168.0.0/16  -j ACCEPT
-A RH-Firewall-1-INPUT -s 202.122.33.0/24 -j ACCEPT
-A RH-Firewall-1-INPUT -s 202.122.32.0/24 -j ACCEPT
-A RH-Firewall-1-INPUT -s 202.122.35.0/24 -j ACCEPT
-A RH-Firewall-1-INPUT -s 202.38.128.0/24 -j ACCEPT

# AFS client rules to enable server callbacks ,added by NCM-afsclt
-A RH-Firewall-1-INPUT -m state --state NEW -m udp -p udp --dport 7001 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 7002 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m udp -p udp --dport 7003 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m udp -p udp --dport 7004 -j ACCEPT
# Xmanager
-A RH-Firewall-1-INPUT -p udp -m udp --dport 177 -j ACCEPT

restore iptables from file

/sbin/iptables-restore /etc/sysconfig/iptables
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2011-11-30 - Donal
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback