ljr/wcmtools/mogilefs/devnotes/sql-data-office.txt

13 lines
695 B
Plaintext
Raw Normal View History

2019-02-05 21:49:12 +00:00
INSERT INTO host SET hostid=1, status='alive', hostname='kenny', hostip='10.1.0.2', remoteroot='/var/mogdata';
INSERT INTO host SET hostid=2, status='alive', hostname='cartman', hostip='10.1.0.1', remoteroot='/var/mogdata';
INSERT INTO host SET hostid=3, status='alive', hostname='brad', hostip='10.1.0.10', remoteroot='/var/mogdata';
INSERT INTO device SET devid=1, hostid=1, status='alive';
INSERT INTO device SET devid=2, hostid=1, status='alive';
INSERT INTO device SET devid=3, hostid=2, status='alive';
INSERT INTO device SET devid=4, hostid=3, status='alive';
INSERT INTO domain SET dmid=1, namespace='test';
INSERT INTO class SET dmid=1, classid=1, classname='normal', mindevcount=2;