This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revision Both sides next revision | ||
opennebula_install [2012/06/06 20:53] SLUUG Administration |
opennebula_install [2012/06/11 19:51] SLUUG Administration |
||
---|---|---|---|
Line 128: | Line 128: | ||
</code> | </code> | ||
+ | == Storage == | ||
+ | |||
+ | We will use NFS for shared storage. As we go we will advance this. | ||
+ | |||
+ | Key configuration options for NFS - no_root_squash. This will allow us to perform needed commands as root and log data appropriately for the oneadmin user. We will restrict our NFS shares to our internal network: | ||
+ | |||
+ | /etc/exports\\ | ||
+ | <file> | ||
+ | /srv/storage/@/home 192.168.118.0/27(crossmnt,rw,no_root_squash,sync,no_subtree_check) 192.168.115.0/27(crossmnt,rw,no_root_squash,sync,no_subtree_check) | ||
+ | /srv/storage/@/backups 192.168.115.0/27(crossmnt,rw,no_root_squash,sync,no_subtree_check) 192.168.118.0/27(crossmnt,rw,no_root_squash,sync,no_subtree_check) | ||
+ | /var/lib/one 192.168.118.0/27(crossmnt,rw,no_root_squash,sync,no_subtree_check) 192.168.115.0/27(crossmnt,rw,no_root_squash,sync,no_subtree_check) | ||
+ | |||
+ | </file> | ||
+ | |||
+ | /etc/fstab (client side) \\ | ||
+ | <file> | ||
+ | 192.168.115.5:/var/lib/one /var/lib/one nfs rw,hard,intr | ||
+ | </file> | ||
- | storage | ||
http://opennebula.org/documentation:rel3.4:lvm | http://opennebula.org/documentation:rel3.4:lvm |