RAC on Docker ã®æé ãããç¨åº¦ç¢ºç«ã§ããã®ã§ãDocker image ã¨æé ãå
¬éãã¾ãã
CentOS7/docker-1.5 ubuntu 14.04/docker-1.5,docker-1.6ã§åä½ç¢ºèªãã¦ãã¾ã
ãªããã³ã³ããå ã§è¨å®ã§ããªããRACè¦ä»¶ã®ã«ã¼ãã«ãã©ã¡ã¼ã¿(net.core.rmem_defaultç)ãåå¨ãããããä»åã®æé ã§ã¯ã-ignoreSysPrereqs -ignorePrereq ä»ãã§ã¤ã³ã¹ãã¼ã«ãã¾ããï¼è¦ããã«åä½ä¿è¨¼ããã¦ãã¾ããï¼
https://github.com/s4ragent/rac_on_docker
ãã¼ã¹ã¯OracleLinux7ã§ãã
ã³ã³ããçªå· | ã³ã³ããå(ãã¹ãåï¼ | eth0(nouse) | eth1(public) | eth2(private) |
---|---|---|---|---|
1 | node001 | 172.17.xx.xx | 192.168.0.51 | 192.168.100.51 |
2 | node002 | 172.17.xx.xx | 192.168.0.52 | 192.168.100.52 |
ï¼æé ï¼
ã»gitãã¤ã³ã¹ãã¼ã«ãã¦ããã¾ã
(Debian/ubuntu apg-get install gitãCentOS,OracleLinux yum install git)
ã»Oracleã½ããã¦ã§ã¢ããã¦ã³ãã¼ããã¦/docker/mediaã«é
ç½®ãã¾ã
#mkdir -p /docker/media
#unzip linuxamd64_12102_database_1of2.zip -d /docker/media
#unzip linuxamd64_12102_database_2of2.zip -d /docker/media
#unzip linuxamd64_12102_grid_1of2.zip -d /docker/media
#unzip linuxamd64_12102_grid_2of2.zip -d /docker/media
#ls -al /docker/media
total 16
drwxr-xr-x 4 root root 4096 May 1 21:56 .
drwxr-xr-x 3 root root 4096 May 1 21:53 ..
drwxr-xr-x 7 root root 4096 Jul 7 2014 database
drwxr-xr-x 7 root root 4096 Jul 7 2014 grid
ã»create_racbase.sh ãå®è¡ãã¾ãï¼å¿ è¦ã«å¿ãã¦ããã±ã¼ã¸(dockerå«ãï¼ãã¤ã³ã¹ãã¼ã«ããã¾ãï¼
#git clone http://github.com/s4ragent/rac_on_docker/
#cd rac_on_docker
#bash create_racbase.sh all_in_one
ããã ãã§ãã¨ãããã Oracle RAC on Dockerãåãã¾ãã
â»5/3 追è¨
ã¤ã³ã¹ãã¼ã«å¾ãã³ã³ãã1ãåæ¢ãããå ´å
#bash create_racbase.sh stopnode 1
ãã®å¾ãã³ã³ããï¼ãèµ·åãããå ´åã
#bash create_racbase.sh startnode 1
ãã¹ãããªãã¼ãå¾ãå度ãã¹ã¦ã®ã³ã³ãããèµ·åãããå ´å
#bash create_racbase.sh startall
詳ãã解説ã¯å¾æ¥