Billing module in cluster setup

Discussion in 'Plugins/Modules/Addons' started by diablo666, Apr 4, 2013.

  1. diablo666

    diablo666 Member

    Hi there,
    i've a cluster setup of two nodes with ispconfig.

    I've just bought the Billing module. Now i've to install the module on both nodes of cluster or only on the master server?

    And another question, i read that i can install a second copy of the billing module on a test server, there are some kind of check during installation or similar that can hang up the production server (eg.: check on number of installation or similar)?

    May i translate the module in my language through the panel?

    Thnx for resposne.
     
    Last edited: Apr 4, 2013
  2. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    If the cluster is a mirror system were you can access the ispconfig interface on both servers, then the billing module has to be installed on both servers as both are master nodes.

    There is no check. The restriction is that you legally may use the module on one production system and one test system only. If your production system is a mirror were both nodes are master nodes, then these two servers count as one server as they mirror each other.

    Yes.
     
  3. diablo666

    diablo666 Member

    Ok, perfect!
     
  4. diablo666

    diablo666 Member

    Mmmm i've just installed the plugin on both server.

    On primary node all is ok, on second node when i login i'll get

    Code:
    DB::query(SELECT * FROM invoice_settings WHERE invoice_settings_id = 1) -> mysqli_query Table 'dbispconfig1.invoice_settings' doesn't exist#0 db->query(SELECT * FROM invoice_settings WHERE invoice_settings_id = 1) called at [/usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php:171] #1 db->queryOneRecord(SELECT * FROM invoice_settings WHERE invoice_settings_id = 1) called at [/usr/local/ispconfig/interface/web/dashboard/dashlets/invoices.php:21] #2 dashlet_invoices->show() called at [/usr/local/ispconfig/interface/web/dashboard/dashboard.php:162] DB::query(SELECT * FROM invoice_settings WHERE invoice_settings_id = 1) -> mysqli_query Table 'dbispconfig1.invoice_settings' doesn't exist#0 db->query(SELECT * FROM invoice_settings WHERE invoice_settings_id = 1) called at [/usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php:171] #1 db->queryOneRecord(SELECT * FROM invoice_settings WHERE invoice_settings_id = 1) called at [/usr/local/ispconfig/interface/web/dashboard/dashlets/products.php:23] #2 dashlet_products->show() called at [/usr/local/ispconfig/interface/web/dashboard/dashboard.php:171] DB::query(SELECT * FROM invoice_settings WHERE invoice_settings_id = 1) -> mysqli_query Table 'dbispconfig1.invoice_settings' doesn't exist#0 db->query(SELECT * FROM invoice_settings WHERE invoice_settings_id = 1) called at [/usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php:171] #1 db->queryOneRecord(SELECT * FROM invoice_settings WHERE invoice_settings_id = 1) called at [/usr/local/ispconfig/interface/web/dashboard/dashlets/shop.php:23] #2 dashlet_shop->show() called at [/usr/local/ispconfig/interface/web/dashboard/dashboard.php:171] 
    Any solution?
     
  5. diablo666

    diablo666 Member

    Oh nvm, got some problem on mysql replication.

    Restarted mysql on slave and all went fine.

    Great work! ;)
     

Share This Page