- iSCSI ¸¦ ÀÌ¿ëÇÑ Shared Volume ±¸¼º¿¡¼ Steeleye ´Â Reservaction Key ¿¡ ´ëÇؼ
Active ¼¹öÀÇ key ¸¦ °®°í ÀÖÀ¸¸ç ¸í·É¾î ¹× Á¤»óÀûÀÎ Àýü¿¡ ´ëÇؼ´Â Active Key ¸¦
°¡Áö°í °¡¸ç, Fencing µî, Àå¾Ö°¡ ¹ß»ýÇÏ°Ô µÇ¸é Active ¼¹öÀÇ Reservaction Key ¸¦ Áö¿ì°í
Standby ÀÇ Reservaction Key ¸¦ °®°ÔµÊ
==================== ÀçºÎÆà Àü
====================
20-STEELEYE - Active
21-STEELEYE - Standby
[root@20-STEELEYE ~]# lcdstatus -q
LOCAL TAG
ID STATE PRIO PRIMARY
20-STEELEYE pgsql-5444
20-STEELEYE.pgsql-5444 ISP 1 20-STEELEYE
20-STEELEYE /PG_DATA
/PG_DATA ISP 1 20-STEELEYE
20-STEELEYE dmmp9216
1IET_00030001 ISP 1 20-STEELEYE
20-STEELEYE /PG_XLOG
/PG_XLOG ISP 1 20-STEELEYE
20-STEELEYE dmmp9970
1IET_00040001 ISP 1 20-STEELEYE
20-STEELEYE ip-10.10.10.22
IP-10.10.10.22 ISP 1 20-STEELEYE
MACHINE NETWORK ADDRESSES/DEVICE
STATE PRIO
21-STEELEYE TCP 30.30.30.20/30.30.30.21
ALIVE 1
21-STEELEYE TCP 40.40.40.20/40.40.40.21
ALIVE 2
[root@20-STEELEYE ~]# sg_persist -i -k -d
/dev/mapper/PPAS_DATA
IET VIRTUAL-DISK 0001
Peripheral device type: disk
PR generation=0x39, 1 registered reservation key
follows:
0xa169cd573ce50061
[root@20-STEELEYE ~]# sg_persist -i -k -d
/dev/mapper/PPAS_XLOG
IET VIRTUAL-DISK 0001
Peripheral device type: disk
PR generation=0x11, 1 registered reservation key
follows:
0xa169cd573ce50062
[root@21-STEELEYE ~]# lcdstatus -q
LOCAL TAG
ID STATE PRIO PRIMARY
21-STEELEYE pgsql-5444
20-STEELEYE.pgsql-5444 OSU 10 20-STEELEYE
21-STEELEYE /PG_DATA
/PG_DATA OSU 10 20-STEELEYE
21-STEELEYE dmmp9216
1IET_00030001 OSU 10 20-STEELEYE
21-STEELEYE /PG_XLOG
/PG_XLOG OSU 10 20-STEELEYE
21-STEELEYE dmmp9970
1IET_00040001 OSU 10 20-STEELEYE
21-STEELEYE ip-10.10.10.22
IP-10.10.10.22 OSU 10 20-STEELEYE
MACHINE NETWORK ADDRESSES/DEVICE
STATE PRIO
20-STEELEYE TCP 30.30.30.21/30.30.30.20
ALIVE 1
20-STEELEYE TCP 40.40.40.21/40.40.40.20
ALIVE 2
[root@21-STEELEYE ~]# sg_persist -i -k -d
/dev/mapper/PPAS_DATA
IET VIRTUAL-DISK 0001
Peripheral device type: disk
PR generation=0x39, 1 registered reservation key
follows:
0xa169cd573ce50061
[root@21-STEELEYE ~]# sg_persist -i -k -d
/dev/mapper/PPAS_XLOG
IET VIRTUAL-DISK 0001
Peripheral device type: disk
PR generation=0x11, 1 registered reservation key
follows:
0xa169cd573ce50062
==================== ÀçºÎÆà ÈÄ (20-STEELEYE -->
21-STEELEYE) ====================
20-STEELEYE - Standby
21-STEELEYE - Active
[root@20-STEELEYE ~]#
lcdstatus -q
LOCAL TAG
ID STATE PRIO PRIMARY
20-STEELEYE pgsql-5444
20-STEELEYE.pgsql-5444 OSU 1
20-STEELEYE
20-STEELEYE /PG_DATA
/PG_DATA OSU 1
20-STEELEYE
20-STEELEYE dmmp9216
1IET_00030001 OSU 1
20-STEELEYE
20-STEELEYE /PG_XLOG
/PG_XLOG OSU 1
20-STEELEYE
20-STEELEYE dmmp9970
1IET_00040001 OSU 1
20-STEELEYE
20-STEELEYE ip-10.10.10.22
IP-10.10.10.22 OSU 1
20-STEELEYE
MACHINE NETWORK
ADDRESSES/DEVICE STATE PRIO
21-STEELEYE TCP
30.30.30.20/30.30.30.21 ALIVE 1
21-STEELEYE TCP
40.40.40.20/40.40.40.21 ALIVE 2
[root@20-STEELEYE ~]# sg_persist
-i -k -d /dev/mapper/PPAS_DATA
IET VIRTUAL-DISK 0001
Peripheral device type: disk
PR generation=0x3b, 1 registered reservation key
follows:
0x178081462f830061
[root@20-STEELEYE ~]# sg_persist -i -k -d
/dev/mapper/PPAS_XLOG
IET VIRTUAL-DISK 0001
Peripheral device type: disk
PR generation=0x13, 1 registered reservation key
follows:
0x178081462f830062
[root@21-STEELEYE ~]# lcdstatus -q
LOCAL TAG
ID STATE PRIO PRIMARY
21-STEELEYE pgsql-5444
20-STEELEYE.pgsql-5444 ISP 10 20-STEELEYE
21-STEELEYE /PG_DATA
/PG_DATA ISP 10 20-STEELEYE
21-STEELEYE dmmp9216
1IET_00030001 ISP 10 20-STEELEYE
21-STEELEYE /PG_XLOG
/PG_XLOG ISP 10 20-STEELEYE
21-STEELEYE dmmp9970
1IET_00040001 ISP 10 20-STEELEYE
21-STEELEYE ip-10.10.10.22
IP-10.10.10.22 ISP 10 20-STEELEYE
MACHINE NETWORK ADDRESSES/DEVICE
STATE PRIO
20-STEELEYE TCP 30.30.30.21/30.30.30.20
ALIVE 1
20-STEELEYE TCP 40.40.40.21/40.40.40.20
ALIVE 2
[root@21-STEELEYE ~]# sg_persist -i -k -d
/dev/mapper/PPAS_DATA
IET VIRTUAL-DISK 0001
Peripheral device type: disk
PR generation=0x3b, 1 registered reservation key
follows:
0x178081462f830061
[root@21-STEELEYE ~]# sg_persist -i -k -d
/dev/mapper/PPAS_XLOG
IET VIRTUAL-DISK 0001
Peripheral device type: disk
PR generation=0x13, 1 registered reservation key
follows:
0x178081462f830062