Академический Документы
Профессиональный Документы
Культура Документы
cluster.conf
100% 4442 4.3KB/s 00:00
[root@psa7a cluster]# scp cluster.conf root@psa7dh:/etc/cluster
[root@psa7a cluster]# scp cluster.conf root@psa7d:/etc/clusterhhh
[root@psa7a cluster]# scp cluster.conf root@psa7e:/etc/cluster
************************************************************************
***
NOTICE TO USERS
This system is for the use of authorised users only. Individuals using
this computer system without authority, on in excess of their authority,
are subject to having all of their activities on this system monitored and
recorded by system personnel.
In the course of monitoring individuals improperly using this system, or in
the course of system maintenance, the activities of authorized users may
also be monitored.
Anyone using this system expressly consents to such monitoring and is
advised that if such monitoring reveals possible evidence of criminal
activity, system personnel may provide the evidence of such monitoring to
law enforcement officials.
************************************************************************
****
root@psa7e's password:
cluster.conf
100% 4442 4.3KB/s 00:00
[root@psa7a cluster]# service ccsd start
Starting ccsd:
[ OK ]
[root@psa7a cluster]# service cman start
Starting cman:
[FAILED]
login as: root
************************************************************************
***
NOTICE TO USERS
This system is for the use of authorised users only. Individuals using
this computer system without authority, on in excess of their authority,
are subject to having all of their activities on this system monitored and
recorded by system personnel.
Filesystem
1K-blocks
Used Available Use% Mounted on
/dev/mapper/vg00-lvol1
507748 190550 290984 40% /
/dev/cciss/c0d0p1
256666 21687 221727 9% /boot
none
4081948
0 4081948 0% /dev/shm
/dev/mapper/vg00-lvol3
507748 17641 463893 4% /home
/dev/mapper/vg00-lvol4
4128448 647388 3271348 17% /opt
/dev/mapper/vg00-lvol5
507748 24211 457323 6% /tmp
/dev/mapper/vg00-lvol6
4128448 2570688 1348048 66% /usr
/dev/mapper/vg00-lvol7
253871 10709 230055 5% /usr/local
/dev/mapper/vg00-lvol8
9289080 3506360 5310864 40% /var
/dev/mapper/vg00-aethos
4128448 132700 3786036 4% /usr/aethos
/dev/mapper/vg00-debuglogs
2064208 232344 1727008 12% /usr/aethos/debuglogs
/dev/mapper/vg00-suppimp
253871 10288 230476 5% /usr/aethos/suppimp
/dev/mapper/vg00-customer
253871 10288 230476 5% /usr/aethos/customer
/dev/mapper/vgapp1-datafiles
4128448 44032 3874704 2% /usr/aethos/datafiles
/dev/mapper/vgapp1-suppimpapp1
253871 10288 230476 5% /usr/aethos/suppimpapp1
/dev/mapper/vgdblpd-backups
31729
4512 25579 15% /usr/aethos/backups
/dev/mapper/vgdblpd-suppimpdb
253871 10288 230476 5% /usr/aethos/suppimpdb
[root@psa7a log]# umount /usr/aethos/suppimpdb
[root@psa7a log]# umount /usr/aethos/backups
[root@psa7a log]# df
Filesystem
1K-blocks
Used Available Use% Mounted on
/dev/mapper/vg00-lvol1
507748 190549 290985 40% /
/dev/cciss/c0d0p1
256666 21687 221727 9% /boot
none
4081948
0 4081948 0% /dev/shm
/dev/mapper/vg00-lvol3
507748 17641 463893 4% /home
/dev/mapper/vg00-lvol4
4128448 647388 3271348 17% /opt
/dev/mapper/vg00-lvol5
[ OK ]
************************************************************************
****
root@psa7b's password:
Last login: Mon Jan 21 08:46:13 2008 from 10.122.17.177
[root@psa7b ~]# service ccsd start
Starting ccsd:
[ OK ]
[root@psa7b ~]# service cman start
Starting cman:
[ OK ]
[root@psa7b ~]# exit
logout
Connection to psa7b closed.
[root@psa7a ~]# ssh psa7c
************************************************************************
***
NOTICE TO USERS
This system is for the use of authorised users only. Individuals using
this computer system without authority, on in excess of their authority,
are subject to having all of their activities on this system monitored and
recorded by system personnel.
In the course of monitoring individuals improperly using this system, or in
the course of system maintenance, the activities of authorized users may
also be monitored.
Anyone using this system expressly consents to such monitoring and is
advised that if such monitoring reveals possible evidence of criminal
activity, system personnel may provide the evidence of such monitoring to
law enforcement officials.
************************************************************************
****
root@psa7c's password:
Last login: Mon Jan 21 00:33:10 2008 from 10.122.17.177
[root@psa7c ~]# service ccsd start
Starting ccsd:
[ OK ]
[root@psa7c ~]# service cman start
Starting cman:
[ OK ]
[root@psa7c ~]# exit
logout
Connection to psa7c closed.
[root@psa7a ~]# ssh psa7d
************************************************************************
***
NOTICE TO USERS
This system is for the use of authorised users only. Individuals using
this computer system without authority, on in excess of their authority,
are subject to having all of their activities on this system monitored and
recorded by system personnel.
In the course of monitoring individuals improperly using this system, or in
the course of system maintenance, the activities of authorized users may
also be monitored.
Anyone using this system expressly consents to such monitoring and is
advised that if such monitoring reveals possible evidence of criminal
activity, system personnel may provide the evidence of such monitoring to
law enforcement officials.
************************************************************************
****
root@psa7d's password:
Last login: Mon Jan 21 08:48:40 2008 from 10.122.17.177
[root@psa7d ~]# service ccsd start
Starting ccsd:
[ OK ]
[root@psa7d ~]# service cman start
Starting cman:
[ OK ]
[root@psa7d ~]# exit
logout
Connection to psa7d closed.
[root@psa7a ~]# ssh psa7e
************************************************************************
***
NOTICE TO USERS
This system is for the use of authorised users only. Individuals using
this computer system without authority, on in excess of their authority,
are subject to having all of their activities on this system monitored and
recorded by system personnel.
In the course of monitoring individuals improperly using this system, or in
the course of system maintenance, the activities of authorized users may
also be monitored.
Anyone using this system expressly consents to such monitoring and is
advised that if such monitoring reveals possible evidence of criminal
activity, system personnel may provide the evidence of such monitoring to
law enforcement officials.
************************************************************************
****
root@psa7e's password:
Last login: Mon Jan 21 08:50:00 2008 from 10.122.17.177
[root@psa7e ~]# service ccsd start
Starting ccsd:
[ OK ]
[root@psa7e ~]# service cman start
Starting cman:
[ OK ]
[root@psa7e ~]# exit
logout
Connection to psa7e closed.
[root@psa7a ~]# service fenced start
Starting fence domain:
[ OK ]
[root@psa7a ~]# service rgmanager start
Starting Cluster Service Manager:
[root@psa7a ~]# ssh psa7b
************************************************************************
***
NOTICE TO USERS
This system is for the use of authorised users only. Individuals using
this computer system without authority, on in excess of their authority,
are subject to having all of their activities on this system monitored and
recorded by system personnel.
In the course of monitoring individuals improperly using this system, or in
the course of system maintenance, the activities of authorized users may
also be monitored.
Anyone using this system expressly consents to such monitoring and is
advised that if such monitoring reveals possible evidence of criminal
activity, system personnel may provide the evidence of such monitoring to
law enforcement officials.
************************************************************************
****
root@psa7b's password:
Last login: Mon Jan 21 08:58:22 2008 from psa7a
[root@psa7b ~]# service fenced start
Starting fence domain:
[ OK ]
[root@psa7b ~]# exit
logout
Connection to psa7b closed.
[root@psa7a ~]# ssh psa7c
************************************************************************
***
NOTICE TO USERS
This system is for the use of authorised users only. Individuals using
this computer system without authority, on in excess of their authority,
are subject to having all of their activities on this system monitored and
recorded by system personnel.
In the course of monitoring individuals improperly using this system, or in
the course of system maintenance, the activities of authorized users may
also be monitored.
Anyone using this system expressly consents to such monitoring and is
advised that if such monitoring reveals possible evidence of criminal
activity, system personnel may provide the evidence of such monitoring to
law enforcement officials.
************************************************************************
****
root@psa7c's password:
Last login: Mon Jan 21 00:44:32 2008 from psa7a
[root@psa7c ~]# service fenced start
Starting fence domain:
[ OK ]
[root@psa7c ~]# exit
logout
Connection to psa7c closed.
[root@psa7a ~]# ssh psa7d
************************************************************************
***
NOTICE TO USERS
This system is for the use of authorised users only. Individuals using
this computer system without authority, on in excess of their authority,
are subject to having all of their activities on this system monitored and
recorded by system personnel.
In the course of monitoring individuals improperly using this system, or in
the course of system maintenance, the activities of authorized users may
also be monitored.
Anyone using this system expressly consents to such monitoring and is
advised that if such monitoring reveals possible evidence of criminal
activity, system personnel may provide the evidence of such monitoring to
law enforcement officials.
************************************************************************
****
root@psa7d's password:
Last login: Mon Jan 21 08:59:18 2008 from psa7a
************************************************************************
***
NOTICE TO USERS
This system is for the use of authorised users only. Individuals using
this computer system without authority, on in excess of their authority,
are subject to having all of their activities on this system monitored and
recorded by system personnel.
In the course of monitoring individuals improperly using this system, or in
the course of system maintenance, the activities of authorized users may
also be monitored.
Anyone using this system expressly consents to such monitoring and is
advised that if such monitoring reveals possible evidence of criminal
activity, system personnel may provide the evidence of such monitoring to
law enforcement officials.
************************************************************************
****
root@psa7c's password:
Last login: Mon Jan 21 00:46:46 2008 from psa7a
[root@psa7c ~]# service clvmd start
Activating VGs:
[ OK ]
[root@psa7c ~]# exit
logout
Connection to psa7c closed.
[root@psa7a ~]# ssh psa7d
************************************************************************
***
NOTICE TO USERS
This system is for the use of authorised users only. Individuals using
this computer system without authority, on in excess of their authority,
are subject to having all of their activities on this system monitored and
recorded by system personnel.
In the course of monitoring individuals improperly using this system, or in
the course of system maintenance, the activities of authorized users may
also be monitored.
Anyone using this system expressly consents to such monitoring and is
advised that if such monitoring reveals possible evidence of criminal
activity, system personnel may provide the evidence of such monitoring to
law enforcement officials.
************************************************************************
****
root@psa7d's password:
Last login: Mon Jan 21 09:01:25 2008 from psa7a
[root@psa7d ~]# service clvmd start
Activating VGs:
[ OK ]
[root@psa7d ~]# exit
logout
Connection to psa7d closed.
[root@psa7a ~]# ssh psa7e
************************************************************************
***
NOTICE TO USERS
This system is for the use of authorised users only. Individuals using
this computer system without authority, on in excess of their authority,
are subject to having all of their activities on this system monitored and
recorded by system personnel.
In the course of monitoring individuals improperly using this system, or in
the course of system maintenance, the activities of authorized users may
also be monitored.
Anyone using this system expressly consents to such monitoring and is
advised that if such monitoring reveals possible evidence of criminal
activity, system personnel may provide the evidence of such monitoring to
law enforcement officials.
************************************************************************
****
root@psa7e's password:
Last login: Mon Jan 21 09:01:40 2008 from psa7a
[root@psa7e ~]# service clvmd start
Activating VGs:
[ OK ]
[root@psa7e ~]# exit
logout
Connection to psa7e closed.
[root@psa7a ~]# service rgmanager start
Starting Cluster Service Manager:
[root@psa7a ~]# cat /var/log
cat: /var/log: Is a directory
[root@psa7a ~]# cd /var
[root@psa7a var]# ls
account crash depots gdm local log
mail opt
run tmp www
cache db empty lib lock lost+found nis preserve spool tux yp
[root@psa7a var]# cd logs
Status
-----Online, rgmanager
Online, rgmanager
Online, rgmanager
aepsa7d
aepsa7e
Online, rgmanager
Online, Local, rgmanager
Service Name
Owner (Last)
------- -------- -----psa7_db
(none)
psa7_app1
(none)
psa7_app2
(none)
psa7_app3
(none)
[root@psa7e ~]#
State
----stopped
stopped
stopped
stopped
Device:
/dev/mapper/vgapp1-cdr
Blocksize:
4096
Filesystem Size:
262096
Journals:
4
Resource Groups:
8
Locking Protocol:
lock_dlm
Lock Table:
psa7:cdr
Syncing...
All Done
[root@psa7a dev]# lvextend -L +512 /dev/vgapp1/suppimpapp1
Extending logical volume suppimpapp1 to 768.00 MB
Logical volume suppimpapp1 successfully resized
[root@psa7a dev]# extendfs
-bash: extendfs: command not found
[root@psa7a dev]# clear
[root@psa7a dev]# gfs_mkfs -p lock_dlm -t psa7:suppimpapp1 -j 5 /dev/mapper/vgapp1suppimpapp1
This will destroy any data on /dev/mapper/vgapp1-suppimpapp1.
It appears to contain a EXT2/3 filesystem.
Are you sure you want to proceed? [y/n] y
Device:
/dev/mapper/vgapp1-suppimpapp1
Blocksize:
4096
Filesystem Size:
65492
Journals:
4
Resource Groups:
8
Locking Protocol:
lock_dlm
Lock Table:
psa7:suppimpapp1
Syncing...
All Done
If face the following issue:
[root@psa7a dev]# gfs_mkfs -p lock_dlm -t psa7:suppimpapp1 -j 5 /dev/mapper/vgapp1suppimpapp1
gfs_mkfs: Partition too small for number/size of journals
--- Logical volume --LV Name
/dev/vgapp1/suppimpapp1
VG Name
vgapp1
LV UUID
Qt2sxE-rg1O-8P3T-1nuh-mVKl-7k88-6fnhN5
LV Write Access
read/write
LV Status
available
# open
0
LV Size
256.00 MB
Current LE
64
Segments
1
Allocation
inherit
Read ahead sectors 0
Block device
253:24
[root@psa7a dev]# lvextend -L +512 /dev/vgapp1/suppimpapp1
Extending logical volume suppimpapp1 to 768.00 MB
Logical volume suppimpapp1 successfully resized
[root@psa7a dev]# gfs_mkfs -p lock_dlm -t psa7:suppimpapp1 -j 4
/dev/mapper/vgapp1-suppimpapp1
This will destroy any data on /dev/mapper/vgapp1-suppimpapp1.
It appears to contain a EXT2/3 filesystem.
Are you sure you want to proceed? [y/n] y
Device:
/dev/mapper/vgapp1-suppimpapp1
Blocksize:
4096
Filesystem Size:
65492
Journals:
4
Resource Groups:
8
Locking Protocol:
lock_dlm
Lock Table:
psa7:suppimpapp1
Syncing...
All Done
[root@psa7a dev]# gfs_mkfs -p lock_dlm -t psa7:datafiles -j 5 /dev/mapper/vgapp1datafiles
This will destroy any data on /dev/mapper/vgapp1-datafiles.
It appears to contain a EXT2/3 filesystem.
Are you sure you want to proceed? [y/n] y
Device:
/dev/mapper/vgapp1-datafiles
Blocksize:
4096
Filesystem Size:
917396
Journals:
4
Resource Groups:
14
Locking Protocol:
lock_dlm
Lock Table:
psa7:datafiles
Syncing...
All Done
Do the below steps on all nodes:
[root@psa7b ~]# vgchange -a n vgapp1
0 logical volume(s) in volume group "vgapp1" now active
[root@psa7b ~]# vgchange -a y vgapp1
3 logical volume(s) in volume group "vgapp1" now active
[root@psa7a ~]# mount -t gfs /dev/vgapp1/suppimpapp1 /usr/aethos/suppimpapp1
[root@psa7a ~]# mount -t gfs /dev/vgapp1/datafiles /usr/aethos/datafiles
[root@psa7a ~]# ll /usr/aethos/cdr
total 0
[root@psa7a ~]# mount -t gfs /dev/vgapp1/cdr /usr/aethos/cdr
[root@psa7a ~]# df
Filesystem
1K-blocks
Used Available Use% Mounted on
/dev/mapper/vg00-lvol1
507748 190579 290955 40% /
/dev/cciss/c0d0p1
256666 21687 221727 9% /boot
none
4081948
0 4081948 0% /dev/shm
/dev/mapper/vg00-lvol3
507748
/dev/mapper/vg00-lvol4
4128448
/dev/mapper/vg00-lvol5
507748
/dev/mapper/vg00-lvol6
4128448
/dev/mapper/vg00-lvol7
253871
17641
463893 4% /home
457289 6% /tmp
230055 5% /usr/local
/dev/mapper/vg00-lvol8
9289080 3508628 5308596 40% /var
/dev/mapper/vg00-aethos
4128448 135040 3783696 4% /usr/aethos
/dev/mapper/vg00-debuglogs
2064208 35920 1923432 2% /usr/aethos/debuglogs
/dev/mapper/vg00-suppimp
253871 10288 230476 5% /usr/aethos/suppimp
/dev/mapper/vg00-customer
253871 10288 230476 5% /usr/aethos/customer
/dev/mapper/vgapp1-suppimpapp1
261968
20 261948 1% /usr/aethos/suppimpapp1
/dev/mapper/vgapp1-datafiles
3669584
20 3669564 1% /usr/aethos/datafiles
/dev/mapper/vgapp1-cdr
1048384
20 1048364 1% /usr/aethos/cdr