基于瞻博网络“Junos Space虚拟设备安装和配置指南,JunOS Space” 必须将虚拟设备部署在 VMware ESX,VMWare ESXi或KVM服务器,它提供CPU,硬盘,RAM和网络控制器,但需要安装操作系统和应用程序才能发挥全部功能。”

在我的测试环境中,Citrix Xen环境已安装了一个JunOS Space,在我们尝试导入许可证之前,它运行良好。

该许可证是从Juniper License网站生成的,并通过txt文件通过电子邮件发送给我们。它曾经在Vmware ESX环境中托管的另一台计算机上工作。不幸的是,这次,JunOS Space拒绝了。

许可证信息窗口显示:
许可证上传失败。请检查以下内容:
1)许可数据格式
2)许可证密钥

Citrix Xen Server上的Juniper Space VE –许可错误

 


解:

JTAC能够使用一种解决方法来帮助解决这一问题,基本上,它只是将JunOS Space Sql数据库型号从HVM domU更改为Vmware Virtual Platform。这有效。

 

Space release 16.1R2.7 (381623)

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

Welcome to the Junos Space network settings utility.

Initializing, please wait


Junos Space Settings Menu

1> Change Password
2> Change 网络 Settings
3> Change Time Options
4> Retrieve Logs
5> 安全
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: 
[[email protected] ~]# 
[[email protected] ~]# 
[[email protected] ~]# 
[[email protected] ~]# mysql -u jboss -pnetscreen build_db
Warning: Using a password 上 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>从FABRIC_NODE中选择HardwareModel;
+-------------------------+
| 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>从FABRIC_NODE中选择HardwareModel;
+-------------------------+
| HardwareModel           |
+-------------------------+
| VMware Virtual Platform |
| VMware Virtual Platform |
+-------------------------+
2 rows in set (0.00 sec)

mysql> quit
Bye
[[email protected] ~]# 
[[email protected] ~]# 
[[email protected] ~]# 


许可证已被接受,如以下屏幕截图所示。



解决方案摘要详细步骤:

Junos Space在Citrix上运行
平台,根据发行说明不兼容,因此我们无法
激活许可证。
通过做一些SQL魔术,我们
能够激活它,步骤:
  • ·
    登录到Junos空间
    CLI(调试模式#7)
  • ·
    然后,访问
    的MySQL 

            #mysql -u jboss -pnetscreen build_db 
  • ·
    然后,运行: 

              #mysql>从FABRIC_NODE中选择HardwareModel;
  • ·
    获得以下内容
    输出: 

+ ——————– +
|硬件型号   |
+ ——————– +
| HVM domU |
+ ——————– +
设置1行(0.00秒) 
  • ·
    然后,这是必需的
    为“ VMware Virtual Platform”更改值“ Virtual Machine”
    使用: 

# 更新FABRIC_NODE设置HardwareModel =“ VMware Virtual Platform”,其中
HardwareModel =“ HVM domU”; 
  • ·
    复制–粘贴
    记事本++上的许可以避免制表/缩进问题
  • ·
    许可成功
    活性。

通过 约翰

发表评论