I inserted a new appliance into the set of Rocks nodes by hacking the mysql database containing the node information. This was started with
[root@frontend-0 root]# mysql -u apache cluster
then I added a database entry (for dbreport to use) with:
mysql> insert into nodes (MAC, Name, Membership, CPUs, Rack, Rank, IP)
-> values ("xx:xx:xx:xx:xx", "external-0-0", 4, 0, 0, 0, "10.255.255.1");
You can update the database entry with the command:
mysql> update nodes set IP="10.255.255.1" where Name="external-0-0";
(since, at first, I put in the wrong IP address).
No comments:
Post a Comment