Selecting multiple hosts, and an action (Delete?)



  • This isn’t a problem, per se. But more of a suggestion for a future release. Heck, for all I know it could have already been implimented.

    I notice you can checkmark multiple hosts, there should be a delete button if you’re ridding the database of more than one host as opposed to doing this one at a time.

    Just my two cents.



  • The only other way to massively remove hosts is to access the database directly and remove them from there. It’s easy if you want to just remove all of them:

    TRUNCATE TABLE hosts;
    

    Or if you have some known host value that you can leverage; such as all hosts currently assigned imageID 3:

    DELETE FROM hosts WHERE hostImage = 3;
    

    If you’re not used to messing around in MySQL then you might want to consider installing phpmyadmin, which will give you a web interface for managing the database.



  • Today i saw a strange issue. I upgraded my fog version from 0.28 to 0.31.
    I have hardly cloned 500 machine from this server.
    When i clicked on List All Hosts, it’s showing about 21,303 hosts, and it started pinging them
    and finally browser goes in hang state.

    Can you suggest me any alternate solution to delete this hosts, as even i cant move them to group and delete the group.
    Our most of the work had stacked because of this.



  • Gotcha.



  • The quick way to delete multiple hosts is to add them to a group and then delete the group.


Log in to reply
 

423
Online

38715
Users

10543
Topics

99813
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.