Nebulous
This page discusses various administrative tasks associated with Nebulous.
nebdiskd
nebdiskd can be restarted using the following procedure:
- log on to ippdb00
ssh ippdb00
- switch to a superuser account
su
- change directories to /
cd /
- restart nebdiskd
/etc/init.d/nebdiskd restart
Removing a host from nebulous permanently
If the RAID fails on the data partition and we lose the data from that partition, we need to do the following in the nebulous database:
- Remove the entry in the
mountedvoltable (should be auto-removed bynebdiskd):DELETE FROM mountedvol WHERE vol_id = XX;
- Convert the entry in the
volumetable to point to a dummy location:UPDATE volume SET name = 'ippNNN.0X', path = '/data/ippNNN.0X/nebulous', mountpoint = '/data/ippNNN.0X' WHERE vol_id = XX;
- Add the new volume:
neb-voladd --vname ippXXX.0 --vhost ippXXX --uri file:///data/ippXXX.0/nebulous --mountpoint /data/ippXXX.0 --db nebulous --user nebulous --pass XXXneb-voladm --vname ippXXX.0 --cab_id X --db nebulous --user nebulous --pass XXX
- Test that the directories exist:
mkdir /data/ippNNN.0/nebulouschown apache.nebulous /data/ippNNN.0/nebulousorchown --reference /data/ipp007.0/nebulous /data/ippNNN.0/nebulouschmod 1775 /data/ippNNN.0/nebulous
Last modified
14 years ago
Last modified on Nov 14, 2011, 3:35:58 PM
Note:
See TracWiki
for help on using the wiki.
