Info Security Memo
  • Blog
  • Sitemap
    • Categories
  • Contact
  • About
  • Resources
  • Tools
  • 51sec.org

Build Confidence

Focusing on Information Security 

Info Security Notes

Juniper Space License Issue on Citrix Xen Environment

4/16/2017

0 Comments

 
Based on Juniper "Junos Space Virtual Appliance Installation and Configuration Guide" , JunOS Space " must deploy the virtual appliance on a VMware ESX, VMWare ESXi or KVM server, which provides a CPU, hard disk, RAM, and a network controller, but requires installation of an operating system and applications to become fully functional."

In my test environment, one JunOS Space has been installed on Citrix Xen environment and it is working fine until we tried to import a license.

The license was generated from Juniper License site and emailed to us in a txt file. It used to work on another machine hosted in Vmware ESX environment. Unfortunately, this time, JunOS Space said no.

The License Information windows says:
License upload failed. Please check the following:
1) License data format
2) License Keys
Juniper Space VE at Citrix Xen Server - License Error



Solution:

JTAC was able to help this out using a workaround, basically it just changed JunOS Space Sql database model number from HVM domU to Vmware Virtual Platform. This works.


Space release 16.1R2.7 (381623)

Last login: Thu Mar 23 13:51:52 2017 from 10.94.200.14

Welcome to the Junos Space network settings utility.

Initializing, please wait


Junos Space Settings Menu

1> Change Password
2> Change Network Settings
3> Change Time Options
4> Retrieve Logs
5> Security
6> Expand VM Drive Size
7> (Debug) run shell

A> Apply changes
Q> Quit
R> Redraw Menu

Choice [1-7,AQR]: 7

[sudo] password for admin: 
[root@space-c6186f1b3edb ~]# 
[root@space-c6186f1b3edb ~]# 
[root@space-c6186f1b3edb ~]# 
[root@space-c6186f1b3edb ~]# mysql -u jboss -pnetscreen build_db
Warning: Using a password on the command line interface can be insecure.
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 603536
Server version: 5.6.34-enterprise-commercial-advanced-log MySQL Enterprise Server - Advanced Edition (Commercial)

Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> select HardwareModel from FABRIC_NODE;
+---------------+
| HardwareModel |
+---------------+
| HVM domU      |
|  HVM domU     |
+---------------+
2 rows in set (0.00 sec)

mysql> update FABRIC_NODE set HardwareModel = 'VMware Virtual Platform' where HardwareModel='HVM domU';
Query OK, 1 row affected (0.01 sec)
Rows matched: 1  Changed: 1  Warnings: 0

mysql> select HardwareModel from FABRIC_NODE;
+-------------------------+
| HardwareModel           |
+-------------------------+
| VMware Virtual Platform |
|  HVM domU               |
+-------------------------+
2 rows in set (0.00 sec)

mysql> update FABRIC_NODE set HardwareModel = 'VMware Virtual Platform' where HardwareModel=' HVM domU';
Query OK, 1 row affected (0.01 sec)
Rows matched: 1  Changed: 1  Warnings: 0

mysql> select HardwareModel from FABRIC_NODE;
+-------------------------+
| HardwareModel           |
+-------------------------+
| VMware Virtual Platform |
| VMware Virtual Platform |
+-------------------------+
2 rows in set (0.00 sec)

mysql> quit
Bye
[root@space-c6186f1b3edb ~]# 
[root@space-c6186f1b3edb ~]# 
[root@space-c6186f1b3edb ~]# 




License has been accepted as shown in the following screenshot.


Summary for Resolution detailed steps:

Junos Space is Running on Citrix platform, not compatible as per release notes, because of this we were unable to activate the license.
By doing some SQL magic we were able to activate it, steps:
  • ·         Log to Junos space CLI (debugging mode #7)
  • ·         Then, access MySQL 

            #mysql -u jboss -pnetscreen build_db 
  • ·         Then, run: 

              #mysql> select HardwareModel from FABRIC_NODE;
  • ·         To get the following output: 

+-----------------+
| HardwareModel   |
+-----------------+
| HVM domU |
+-----------------+
1 row in set (0.00 sec) 
  • ·         Then, it is required to change the value ‘Virtual Machine’ for 'VMware Virtual Platform' using: 

# update FABRIC_NODE set HardwareModel = 'VMware Virtual Platform' where HardwareModel='HVM domU'; 
  • ·         Copy –paste the license on notepad++ to avoid tabulation / indentation issues
  • ·         License successfully activated.



0 Comments



Leave a Reply.

    Categories

    All
    Architecture
    Blog
    Checkpoint
    Cisco
    Cloud
    CyberArk
    F5
    Fortigate
    Guardium
    Juniper
    Linux
    Network
    Others
    Palo Alto
    Qualys
    Raspberry Pi
    Security
    SIEM
    Software
    Vmware
    VPN
    Wireless

    Archives

    March 2024
    February 2024
    January 2024
    December 2023
    November 2023
    October 2023
    September 2023
    August 2023
    July 2023
    June 2023
    May 2023
    April 2023
    March 2023
    February 2023
    January 2023
    December 2022
    November 2022
    October 2022
    September 2022
    August 2022
    July 2022
    June 2022
    May 2022
    April 2022
    March 2022
    February 2022
    January 2022
    December 2021
    November 2021
    October 2021
    September 2021
    August 2021
    July 2021
    June 2021
    May 2021
    April 2021
    March 2021
    February 2021
    January 2021
    December 2020
    November 2020
    October 2020
    September 2020
    August 2020
    July 2020
    October 2019
    September 2019
    June 2019
    July 2018
    May 2018
    December 2017
    August 2017
    April 2017
    March 2017
    January 2017
    December 2016
    November 2016
    October 2016
    September 2016
    August 2016
    July 2016
    June 2016
    May 2016
    April 2016
    March 2016
    February 2016
    January 2016
    December 2015
    November 2015
    October 2015
    September 2015
    August 2015
    July 2015
    June 2015
    May 2015
    April 2015
    March 2015

    Print Page:

    RSS Feed

    Email Subscribe
Powered by Create your own unique website with customizable templates.
  • Blog
  • Sitemap
    • Categories
  • Contact
  • About
  • Resources
  • Tools
  • 51sec.org