HowToInstallSciDB slides

advertisement
How To Install SciDB
Donghui Zhang
Director, SW Development
Paradigm4’s SciDB
SciDB is a scalable array database with native complex
math analytics, tightly integrated with R and python
© Paradigm4 Inc. 2
Installing a SciDB Cluster
• Simple Demo Configuration
V M 1
V M 2
S c iD B in s t a lla t io n d ir e c t o r y :
/ o p t / s c id b / 1 3 . 1 2
S c iD B in s t a lla t io n d ir e c t o r y :
/ o p t / s c id b / 1 3 . 1 2
S c iD B d a t a b a s e d ir :
/ h o m e / s c id b / 0 0 0 / 0 ( in s t 0 )
/ h o m e / s c id b / 0 0 0 / 1 ( in s t 1 )
S c iD B d a t a b a s e d ir :
/ h o m e / s c id b / 0 0 1 / 1 ( in s t 2 )
/ h o m e / s c id b / 0 0 1 / 2 ( in s t 3 )
© Paradigm4 3
– two VMs
– two SciDB instances per VM
Prerequisites
• One or more machines
• Supported OS
– Ubuntu 12.04
– RedHat 6
– CentOS 6
• Passwords for
• SSH
© Paradigm4 4
– ‘root’
– ‘scidb’
3 Installation Steps
1. Download the deployment tool at
© Paradigm4 5
https://github.com/Paradigm4
3 Installation Steps
2. Prepare input for the cluster-install script
– Generate ssh key file
• ssh-keygen
// note: don’t type a password
– Generate a text file listing the VMs
• E.g. /tmp/vmlist
– Get postgres cidr network address
 IP=10.0.20.38, mask=255.255.255.0
– Generate config file
• Use the configurator tool also at
https://github.com/Paradigm4
• E.g. save to /tmp/config.ini
© Paradigm4 6
• E.g. 10.0.20.0/24
3 Installation Steps
3. Install
© Paradigm4 7
– cd deployment
– ./cluster_install_13.12.sh -s
/home/scidb/.ssh/id_rsa.pub /tmp/vmlist
10.0.20.0/24 /tmp/config.ini
Test the Installation
© Paradigm4 8
• source ~/.bashrc
• scidb.py startall myscidb
• iquery -aq “list()”
Questions?
Email us
• info@paradigm4.com
Check out the discussion board
• scidb.org/forum
Try a VM or an AMI
• scidb.org/forum
www.paradigm4.com
© Paradigm4 Inc. 9
Download