Appendix B. Basic GFS Examples
149
c. Create the
nodes.ccs
file. This file contains the name of each node, its IP address, and
node-specific I/O fencing parameters. The file should look like the following:
nodes {
n01 {
ip_interfaces {
eth0 = "10.0.1.1"
}
fence {
power {
apc {
port = 1
}
}
}
}
n02 {
ip_interfaces {
eth0 = "10.0.1.2"
}
fence {
power {
apc {
port = 2
}
}
}
}
n03 {
ip_interfaces {
eth0 = "10.0.1.3"
}
fence {
power {
apc {
port = 3
}
}
}
}
}
d. Create the
fence.ccs
file. This file contains information required for the fencing
method(s) used by the GFS cluster. The file should look like the following:
fence_devices {
apc {
agent = "fence_apc"
ipaddr = "10.0.1.10"
login = "apc"
passwd = "apc"
}
}
e. The GFS license file should have been downloaded with the GFS RPMs. Rename the
license file to
license.ccs
and move it into the CCS directory:
n01#
mv license.ccs /root/alpha
Содержание GFS 5.2.1 -
Страница 1: ...Red Hat GFS 5 2 1 Administrator s Guide...
Страница 8: ......
Страница 14: ...vi Introduction...
Страница 24: ...10 Chapter 1 GFS Overview...
Страница 36: ...22 Chapter 4 Initial Configuration...
Страница 84: ...70 Chapter 6 Creating the Cluster Configuration System Files...
Страница 96: ...82 Chapter 8 Using Clustering and Locking Systems...
Страница 126: ...112 Chapter 10 Using the Fencing System...
Страница 132: ...118 Chapter 11 Using GNBD...
Страница 144: ...130 Appendix A Upgrading GFS...
Страница 184: ...170 Appendix B Basic GFS Examples...
Страница 190: ......
Страница 192: ...178...