Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Configuring Junos Space Virtual Appliances and Databases

    This section describes procedures that you may need to perform after you provision the Junos Space VMs, depending on your Junos Space configuration and how you provisioned the Junos Space VMs.

    Configuring a Junos Space Cluster

    If you use a Junos Space cluster, you must configure the cluster after you provision the VMs manually or with the provisioning tool.

    To configure the Junos Space cluster:

    1. Log in to the Junos Space Network Management Web GUI.

      The default login credentials are:

      • Username—super
      • Password—juniper123

      The dashboard and the Password Expiry dialog box appear.

    2. Click Yes in the Password Expiry dialog box to change the default password.

      The Change User Settings dialog box appears.

    3. Specify a new password and click OK.

      The password is updated.

    4. Log out, then log in again with your new password.
    5. In the left navigation bar, select Administration > Fabric.

      The Administration > Fabric page appears.

    6. In the toolbar, click Add Node.

      The Add Node to fabric dialog box appears.

      1. For the Node Type field, select DB Node.
      2. Specify the hostname and IP address of the VMs for the primary and secondary Junos Space databases.
      3. For the primary database, specify the IP address of the VM for the primary Junos Space Virtual Appliance.
      4. Click Add.
    7. In the toolbar, click Add Node.

      The Add Node to fabric dialog box appears.

      1. For the Node Type field, select JBoss.
      2. Specify the hostname and IP address of the VM for the secondary Junos Space Virtual Appliance.
      3. Click Add.

        The Administration > Fabric page appears.

    8. Wait approximately 30 minutes for the nodes in the cluster to become active.

    Configuring MySQL for the Junos Space Databases

    You must complete this procedure for a Junos Space cluster or a standalone virtual appliance, whether you provisioned the VMs manually or with the provisioning tool.

    To configure MySQL for the Junos Space database:

    1. Using the credentials you specified when you provisioned the VMs, log in to the appropriate VM:
      • For a Junos Space cluster, log in to the VM for the primary Junos Space database.
      • For a standalone Junos Space Virtual Appliance, log in to the VM for the Junos Space Virtual Appliance.
    2. Open the file /var/chroot/mysql/etc/my.cnf with a text editor.
    3. in the [mysqld] section, add the following lines:
      bind-address = 0.0.0.0
      innodb_large_prefix=on
      innodb_file_format=barracuda
      innodb_file_per_table=true
      
    4. Save the file.
    5. Restart the MySQL database. For example:
      admin@space-db1:~/# /etc/init.d/mysql restart

      The MySQL database restarts.

    6. For a Junos Space cluster, repeat Steps 1 through 5 for the secondary MySQL database.

    Configuring MySQL to Communicate with the Contrail Service Orchestration Components

    You must complete this procedure for a Junos Space cluster or a standalone virtual appliance, whether you provisioned the VMs manually or with the provisioning tool.

    To configure MySQL to communicate with the Contrail Service orchestration components:

    1. Using the credentials you specified when you provisioned the VMs, log in to the appropriate VM:
      • For a Junos Space cluster, log in to the VM for the primary Junos Space database.
      • For a standalone Junos Space Virtual Appliance, log in to the VM for Junos Space.
    2. Configure access to MySQL through remote authentication. For example, if the MySQL remote authentication username is admin and the remote authentication password is secret123, type:
      admin@space1:~/# mysql -h localhost -uroot -pnetscreen -e "grant all on *.* to 'admin'@'%' identified by 'secret123'"
    3. Assign privileges for all MySQL operations to components with access to MySQL.
      admin@space1:~/# mysql -h localhost -uroot -pnetscreen -e "grant all privileges ON *.* TO 'admin'@'%' WITH GRANT OPTION"

    Disabling the Firewall on the Junos Space Virtual Appliances

    If you provisioned the Junos Space VMs manually and not with the provisioning tool, you must disable the firewall on each Junos Space Virtual Appliance in the Cloud CPE Centralized Deployment Model. For information on this procedure, see the Junos Space Virtual Appliance documentation at https://www.juniper.net/techpubs/en_US/release-independent/junos-space/index.html.

    Modified: 2016-02-10