close
Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": /usr/lib/python2.7/dist-packages/libsvn/_core.so: failed to map segment from shared object: Cannot allocate memory). Look in the Trac log for more information.
Grid_environment
- 1. Introduction
- The installation guide is written by consulting GT 4.2 Quickstart. We install GT4.2 and DRBL on Debian.
- 2. Install and set up on the DRBL server and clients
- At first, you can download gt4.2.0-all-source-installer.tar.gz and build it. After installing, you can test successfully if you follow the instructions(see GT 4.2 Quickstart) to set up your machine. Now we only list some differences and modifications for GT4.2 based on DRBL.
- part_a) Globus Toolkit:
- part_b) DRBL:
- After you install DRBL server, you can follow the example when you execute "drblpush -i" to set up the client environments. Each machine need a host certificate for Globus, and its hostname needs to be fixed. In order to avoid modifying some configuration files(ex:/etc/hosts) every time and avoid starting Globus unsuccessfully, you need to let the DHCP service in DRBL server offer same IP address to the client every time when client boots.
root@drbl-srv:/opt/drbl# /opt/drbl/sbin/drblpush -i -l 0
******************************************************
Now we can collect the MAC address of clients!
If you want to let the DHCP service in DRBL server offer same IP
address to client every time when client boot, and you never did this
procedure, you should do it now!
If you already have those MAC addresses of clients, you can put them
into different group files (These files number is the same number of
networks cards for DRBL service). In this case, you can skip this
step.
This step helps you to record the MAC addresses of clients, then
divide them into different groups. It will save your time and reduce
the typos.
The MAC addresses will be recorded turn by turn according to the boot
of clients,
and they will be put into different files according to the network
card in server, file name will be like macadr-eth1.txt,
macadr-eth2.txt... You can find them in directory /etc/drbl.
Please boot the clients by order, make sure they boot from etherboot or PXE!
Do you want to collect them ?
[y/N] y
******************************************************
OK! Let's do it!
request_eth_port:eth1
Stopping dhcp3-server ...
Stopping DHCP server: dhcpd3.
Stopping tftpd-hpa ...
Stopping HPA's tftpd: in.tftpd.
*****************************************************.
Start detecting MAC address....
Enter 1 or press Enter to view the collecting status.
Enter 2 or q to finish collecting and quit.
1
=======================================
00:0C:29:FA:20:5A
00:0C:29:EB:9E:2F
00:0C:29:1B:19:1E
Total: 3
=======================================
Enter 1 or press Enter to view the collecting status.
Enter 2 or q to finish collecting and quit.
2
*****************************************************.
The collected MAC addresses from [eth1] are saved in file(s)
separately: macadr-eth1.txt.
These files are saved in directory /etc/drbl.
******************************************************
OK! Let's continue...
******************************************************
Do you want to let the DHCP service in DRBL server offer same IP
address to the client every time when client boots (If you want this
function, you have to collect the MAC addresses of clients, and save
them in file(s) (as in the previous procedure)). This is for the
clients connected to DRBL server's ethernet network interface eth1 ?
[y/N] y
******************************************************
OK! Please tell me the file name which contains the MAC address of
clients line by line for eth1.
[macadr-eth1.txt]
******************************************************
What is the initial number do you want to use in the last set of
digits in the IP (i.e. the initial value of d in the IP address
a.b.c.d) for DRBL clients connected to this ethernet port eth1.
[1] 10
******************************************************
The file name you set is "macadr-eth1.txt".
The clients number in this file is 3.
We will set the IP address for the clients connected to DRBL server's
ethernet network interface eth1 By the MAC address file you set, the
IP addresses for the clients connected to DRBL server's ethernet
network interface eth1 as: 192.168.0.10 - 192.168.0.12
Accept ? [Y/n] y
******************************************************
OK! Let's continue...
******************************************************
The Layout for your DRBL environment:
******************************************************
NIC NIC IP Clients
+-----------------------------+
| DRBL SERVER |
| |
| +-- [eth0] 192.168.183.129 +- to WAN
| |
| +-- [eth1] 192.168.0.254 +- to clients group 1 [ 3 clients, their IP
| | from 192.168.0.10 - 192.168.0.12]
+-----------------------------+
******************************************************
Total clients: 3
******************************************************
Press Enter to continue...
- You need to modify two files: "/opt/drbl/sbin/drbl-nfs-exports" and "/opt/drbl/sbin/drbl-gen-client-files".
- (1) /opt/drbl/sbin/drbl-nfs-exports
In "for subnet in $subnet_list" loop, you should add one line.
/usr/local/globus-4.2.0 $subnet.*($EXPORTS_NFS_RW_NRS_OPT)
In "for ip in `get-client-ip-list`" loop, you should also add one line.
/usr/local/globus-4.2.0 $ip($EXPORTS_NFS_RW_NRS_OPT)
We assume that $GLOBUS_LOCATION is /usr/local/globus-4.2.0.
- (2) /opt/drbl/sbin/drbl-gen-client-files
You only need to add one line.
$nfsserver:/usr/local/globus-4.2.0 /usr/local/globus-4.2.0 nfs $FSTAB_NFS_RW_OPT
- After modifying the two files, you should run "/opt/drbl/sbin/drblpush -c /etc/drbl/drblpush.conf" to replace current /etc/exports.
References
Download in other formats: