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.9.200.14Welcome to the Junos Space network settings utility.Initializing, please waitJunos Space Settings Menu1> Change Password
2> Change Network Settings
3> Change Time Options
4> Retrieve Logs
5> Security
6> Expand VM Drive Size
7> (Debug) run shellA> Apply changes
Q> Quit
R> Redraw MenuChoice [1-7,AQR]: 7[sudo] password for admin:
[[email protected] ~]#
[[email protected] ~]#
[[email protected] ~]#
[[email protected] ~]# 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 -AWelcome 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: 0mysql> 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: 0mysql> select HardwareModel from FABRIC_NODE;
+-------------------------+
| HardwareModel |
+-------------------------+
| VMware Virtual Platform |
| VMware Virtual Platform |
+-------------------------+
2 rows in set (0.00 sec)mysql> quit
Bye
[[email protected] ~]#
[[email protected] ~]#
[[email protected] ~]#
License has been accepted as shown in the following screenshot.
Summary for Resolution detailed steps:
platform, not compatible as per release notes, because of this we were unable
to activate the license.
able to activate it, steps:
- ·
Log to Junos space
CLI (debugging mode #7) - ·
Then, access
MySQL
- ·
Then, run:
- ·
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:
HardwareModel=’HVM domU’;
- ·
Copy –paste the
license on notepad++ to avoid tabulation / indentation issues - ·
License successfully
activated.