~wb-munzinger/+junk/ocfs2-tools

« back to all changes in this revision

Viewing changes to o2cb_ctl/o2cb_ctl.8

  • Committer: Bazaar Package Importer
  • Author(s): Jeremy Lainé
  • Date: 2009-07-06 07:26:30 UTC
  • mfrom: (1.1.7 upstream) (0.1.5 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090706072630-59335sl51k3rvu74
Tags: 1.4.2-1
* New upstream release (Closes: #535471).
* Drop patch for limits.h, included upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.TH "o2cb_ctl" "8" "February 2007" "Version 1.3.9" "OCFS2 Manual Pages"
 
1
.TH "o2cb_ctl" "8" "April 2009" "Version 1.4.2" "OCFS2 Manual Pages"
2
2
.SH "NAME"
3
3
o2cb_ctl \- Control program for the \fIO2CB\fR cluster service.
4
4
.SH "SYNOPSIS"
100
100
.SH "EXAMPLES"
101
101
 
102
102
.HP
103
 
In the cluster "mycluster", create the node "node5":
 
103
Add node5 to an offline cluster:
104
104
 
105
 
o2cb_ctl -C -n node5 -t node -a number=5
 
105
$ o2cb_ctl -C -n node5 -t node -a number=5
106
106
.br
107
107
        -a ip_address=192.168.0.5 -a ip_port=7777
108
108
.br
109
109
        -a cluster=mycluster
110
110
 
111
111
.TP
112
 
To query the IP address of node5:
113
 
 
114
 
o2cb_ctl -I -n node5 -a ip_address
115
 
 
116
 
.TP
117
 
To change the IP address of node5:
118
 
 
119
 
o2cb_ctl -H -n node5 -a ip_address=192.168.1.5
 
112
Add node10 to an online cluster:
 
113
 
 
114
$ o2cb_ctl -C -i -n node10 -t node -a number=10
 
115
.br
 
116
        -a ip_address=192.168.1.10 -a ip_port=7777
 
117
.br
 
118
        -a cluster=mycluster
 
119
 
 
120
Note the -i argument.
 
121
 
 
122
.TP
 
123
Query the IP address of node5:
 
124
 
 
125
$ o2cb_ctl -I -n node5 -a ip_address
 
126
 
 
127
.TP
 
128
Change the IP address of node5:
 
129
 
 
130
$ o2cb_ctl -H -n node5 -a ip_address=192.168.1.5
120
131
 
121
132
.SH "SEE ALSO"
122
133
.BR mkfs.ocfs2(8)
124
135
.BR tunefs.ocfs2(8)
125
136
.BR mounted.ocfs2(8)
126
137
.BR ocfs2console(8)
127
 
.BR ocfs2cdsl(8)
 
138
.BR o2cb(7)
128
139
 
129
140
.SH "AUTHORS"
130
141
Oracle Corporation
131
142
 
132
143
.SH "COPYRIGHT"
133
 
Copyright \(co 2004, 2007 Oracle. All rights reserved.
 
144
Copyright \(co 2004, 2009 Oracle. All rights reserved.