Wireless Access

last person joined: 23 hours ago 

Access network design for branch, remote, outdoor, and campus locations with HPE Aruba Networking access points and mobility controllers.
Expand all | Collapse all

Creating a multiple device license script

This thread has been viewed 0 times
  • 1.  Creating a multiple device license script

    Posted Sep 18, 2015 12:29 PM

    I am looking at adding a multiple devices to this script. I was able to decifer everything except the "installed varchar(255) DEFAULT '' NOT NULL". Can someone please help explain this to me, where I can find this on my devices or
    #
    # Table structure for table 'licenseinfo'
    #
    DROP TABLE IF EXISTS licenseinfo;
    CREATE TABLE licenseinfo (
      id int(10) unsigned DEFAULT '0' NOT NULL auto_increment,
      skey varchar(255) DEFAULT '' NOT NULL,
      installed varchar(255) DEFAULT '' NOT NULL,
      expires varchar(255) DEFAULT '' NOT NULL,
      complete varchar(4) DEFAULT '' NOT NULL,
      enabled varchar(4) DEFAULT '' NOT NULL,
      icount varchar(4) DEFAULT '' NOT NULL,
      inactive varchar(4) DEFAULT '' NOT NULL,
      PRIMARY KEY (id)
    );

    #
    # Dumping data for table 'licenseinfo'
    #

    LOCK TABLES licenseinfo WRITE;
    UNLOCK TABLES;

    #
    # Table structure for table 'licenseinfo_new'
    #
    DROP TABLE IF EXISTS licenseinfo_new;
    CREATE TABLE licenseinfo_new (
      id int(10) unsigned DEFAULT '0' NOT NULL auto_increment,
      skey varchar(255) DEFAULT '' NOT NULL,
      installed varchar(255) DEFAULT '' NOT NULL,
      expires varchar(255) DEFAULT '' NOT NULL,
      complete varchar(4) DEFAULT '' NOT NULL,
      enabled varchar(4) DEFAULT '' NOT NULL,
      icount varchar(4) DEFAULT '' NOT NULL,
      inactive varchar(4) DEFAULT '' NOT NULL,
      PRIMARY KEY (id)
    );

    #
    # Dumping data for table 'licenseinfo_new'
    #

    LOCK TABLES licenseinfo_new WRITE;
    INSERT INTO licenseinfo_new VALUES (1,'licensekey',''Unknown'','','0','1','1','0'),



  • 2.  RE: Creating a multiple device license script

    EMPLOYEE
    Posted Sep 18, 2015 12:30 PM
    What product is this for? 


    Thanks, 
    Tim


  • 3.  RE: Creating a multiple device license script

    Posted Sep 22, 2015 10:48 AM

    7010 Controllers



  • 4.  RE: Creating a multiple device license script

    Posted Oct 18, 2015 10:33 AM

    where did you find that? it looks not really ArubaOS style to me.



  • 5.  RE: Creating a multiple device license script

    EMPLOYEE
    Posted Oct 19, 2015 06:54 AM

    that is sql output from the licensedb backup file/export file - not sure what is the goal of messing with it, but it is not intended for modification outside of the controller. Fwiw, installed is the date the license was added to the controller.