Launch Appliance from VMWare

Pre-Requisite
  1. OVA image should be available in Local machine to deploy VM.
  2. VMware vSphere account credentials to login.

    Import VmWare vCenter Server Certificate:

    1. Make sure your jboss server is up and running.
    2. Download certificate by accessing VmWare vCenter server based on your environment, URL in any browser.
    3. Download/export this certificate to your local machine.
    4. Import certificate using CMC console from supre admin.
    Import VmWare Vcenter Usage Meter Server Certificate:
    1. Download certificate by accessing VmWare vCenter Usage Meter based on your environment, URL in any browser.
    2. Donwload/export this certificate to your local box.
    3. Import certificate using cmc console from super admin.

Deployment of JSDN OVA image using vCenter

Note: These steps are documentated based on Exsi 6.5 version.
  1. Launch VMware vSphere URL in the web browser.

  2. Click the “vSphere Web client (Flash)” Link.

  3. User has to allow Adobe Flash player to access login screen.

  4. Input Login credentials and click Login.

  5. Under Navigator, Expand the Data center and right click the host where VM has to be deployed.

  6. Click Deploy OVF Template.

  7. Select Local File and click Browse to choose OVA file from local and click Next.

  8. Provide Name of the VM to be deployed. Click the Browse tab and select Data center and then click Next.

  9. Click the Browse tab and select the host which is listed under Data center and then click Next.

  10. Review the template details listed and then click Next.

  11. Select the storage listed under Filter tab and then click Next.
    Note: Other than storage, don’t change other configurations which were listed by default.
  12. Select destination network which will be listed in drop-down and then click Next.

  13. Review the data listed and click Finish.
    Note: If anything has to be changed, User has to click on back button and proceed with configuration changes.

  14. Deployment is completed now.
  15. To Power on the VM, Navigate to Navigator >> Data center >> Hosts.
    • Right Click New VM deployed and then Power On the VM.

Deployment of JSDN OVA image using Esxi

This section explains you how to spin up JSDN OVA image in vSphere/Esxi.

  1. Login into ESXI Host.

  2. Enter username and Password.

  3. Right-click on Virtual Machines and select Create/Register VM.

  4. Select Creation Type as shown in the below figure and click Next.

  5. Give the VM name and location of downloaded JSDN OVA file.

  6. Select Storage, and click Next.

  7. Select the Deployment Options based on your environment than click Next.

  8. Click Finish, to complete the deployment process.

  9. After the OVA deployment than Power ON VM, Right-click on the VM, select Power ON options from the vSphere / ESXI.

    Than login to the server with root credential

    Assume that your own DHCP server will assign the IP address to the newly launch JSDN VM.

    Optional

    For the first time while launching a VM, the system will create a temporary Dynamic Host Configuration Protocol (DHCP) profile. However, you need a static IP to allocate to the servers to access your VM, for which you need to remove the existing NIC Cards and re-create new NIC Card configuration in VMware Console. Add the newly created NIC Cards in JSDN VM by following the below step:

    • Remove All the NIC Cards from the VM Hardware Configuration and click the VM, which is created from .ova file and then edit and remove the NIC details as shown in figure below.

    • After removing the NIC Card details, you need to login to VM from the VM Console using the credentials as mentioned below.

      Credentials:

      • Username: root
      • Password: xxxxxx. If you do not have your credentials, please contact our support team.
    • Check connection status and device status.

      Type the below commands:

      nmcli conn
              show
      nmcli dev
              status
    • Edit the VM and add two NIC Cards to JSDN VM and click Save.

    • Navigate to the VM console and check the connection and device status.
      Note: If nmcli conn shows the ethernet values as shown in the figure below.

      Then follow the commands as mentioned in the figure below to delete the existing ethernet details.

      Then the nmcli dev status is displayed as disconnected, as shown in steps 5.

    • Create Connection profile for static IP, and give the device name and IP/Gateway details according to your network environment.

      For Public: nmcli conn add type ethernet con-name public ifname <interface_name> ip4 <ipaddress/subnet> gw4 <GateWay Address>

      For Private: nmcli conn add type ethernet con-name public ifname <interface_name> ip4 <ipaddress/subnet> gw4 <GateWay Address>

      Then check the connection profile using nmcli conn as shown in figure below:

    • Add DNS details for the network:

      nmcli conn mod public ipv4.dns 8.8.8.8 (Kindly add your DNS IP or use a Public DNS: 8.8.8.8 is google public DNS IP)

    • Activate the NIC card which is tagged with static IP.

    • Check IP and Network configuration details.

    • Check the connectivity of the Network using ping command.

    • Change the hostname according to your environment.

      Type the below command to change the host name.

      Hostnamectl set
              hostname <enter hostname>

Find Server IP

To find the server IP, perform the following steps:

  1. Right-Click on the VM and Click "Open Console”.
  2. Login to the server (Credentials will be shared through email).
  3. Enter Command: “ifconfig” or “ip addr show” to display IP address.

Email Server IP Settings

Post deployment, the SMTP server IP needs to be changed in the following file (refer screenshot).

/d01/jboss-as-7.1.1.Final/pp_config/environment.properties

SMTP_HOST=XXXXXXXX

smtpHost=XXXXXXXXXX

JSDN Application Access

Please wait for 10 minutes once the VM is launched before accessing the application.

Step1: Local host entry needs to add as like as follows

Windows Path location: C:\Windows\System32\drivers\etc\hosts

Host Entry:

<<IP Address>> superadmin.jamcracker.com admin.jccloudplatform.com store.sourcestore.com store1.jccloudplatform.com jcp.jccloudplatform.com store2.jccloudplatform.com store3.jccloudplatform.com

*Replace the ip address with the ip of the instance where appliance is hosted.

Step2: Hit the store URL into the Browser. Upload the license file.
Note: License file will be shared through mail.

URL: https://jcp.jccloudplatform.com

Step 3: Enter the credentials to login to application.
Note: Credentials will be shared through mail.