# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
192.168.1.60 cluster1.rmohan.com cluster1
192.168.1.61 cluster2.rmohan.com cluster2
192.168.1.62 cluster3.rmohan.com cluster3
192.168.1.50 storage.rmohan.com storage
/etc/init.d/iptables stop
iptables-save > /etc/sysconfig/iptables
SELINUX=disabled
yum update
yum install ricci
yum groupinstall Clustering
yum install -y iscsi-initiator-utils
yum install -y httpd*
cluster1: yum install luci
chkconfig luci on
chkconfig –list luci
service luci start
chkconfig ricci on
chkconfig –list ricci
service ricci start
chkconfig iscsi on
service iscsi start
chkconfig –level 345 httpd on
service httpd start
/usr/sbin/luci_admin init
service luci restart
chkconfig luci on
https://192.168.1.60:8084
admin
admin123
iscsiadm -m discovery -t sendtargets -p storage.rmohan.com
iscsiadm – mode discovery – type sendtargets – portal storage.rmohan.com
iscsiadm –mode discovery –type sendtargets –portal storage.rmohan.com
chkconfig iscsi on
service iscsi start
[root@storage ~]# cat /etc/initiators.deny
# PLEASE DO NOT MODIFY THIS CONFIGURATION FILE!
# This configuration file was autogenerated
# by Openfiler. Any manual changes will be overwritten
# Generated at: Sat Sep 22 23:19:38 SGT 2012
#iqn.2006-01.com.openfiler:tsn.34ee3fce49f8 ALL
#iqn.2006-01.com.openfiler:tsn.218fac7efc66 ALL
filesystem ALL
# End of Openfiler configuration
/etc/init.d/iscsi restart
cluster1
fdisk /dev/sdb
partprobe /dev/sdb
mkfs.ext3 /dev/sdb1
mount /dev/sdb1 /var/www/html/
[root@cluster1 ~]# cat /etc/fstab
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
/dev/sdb1 /var/www/html ext3 defaults 1 1
cluster2 yum install -y ricci httpd*
yum groupinstall Clustering
service ricci start
chkconfig ricci on
chkconfig iscsi on
service iscsi start
iscsiadm -m discovery -t sendtargets -p storage.rmohan.com
service iscsi restart
mount /dev/sdb1 /var/www/html/
add in fstab
/dev/sdb1 /var/www/html/ ext3 defaults 1 2
cluster3
yum install -y ricci httpd*
yum groupinstall Clustering
service ricci start
chkconfig ricci on
iscsiadm -m discovery -t sendtargets -p storage.rmohan.com
service iscsi restart
mount /dev/sdb1 /var/www/html/
/dev/sdb1 /var/www/html/ ext3 defaults 1 2
Recent Comments