This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
opennebula_install [2012/06/06 20:52] SLUUG Administration |
opennebula_install [2012/06/11 19:51] SLUUG Administration |
||
---|---|---|---|
Line 88: | Line 88: | ||
1 xenhost - 0 0 0 100 0K 0K 0K on | 1 xenhost - 0 0 0 100 0K 0K 0K on | ||
- | oneadmin@xenhost:~$ onehost show xenflame | + | oneadmin@xenhost:~$ onehost show xenhost |
HOST 1 INFORMATION | HOST 1 INFORMATION | ||
ID : 1 | ID : 1 | ||
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 |