PNDA on VMware vSphere installation guide

17 views
Skip to first unread message

Suriyan Subbarayan

unread,
Feb 1, 2019, 5:29:57 AM2/1/19
to PNDA Users

We have tried these steps from pnda guide for PNDA on VMware.

1. Selected PICO Flavor for our project.
2. Deployed an ESXi Server with 100GB Ram and 5 Number of SSD (each of size 255GB).
3. Added the firewall prerequisites in the ESXi shell.
4. Tried to build the image with packer and got  >>>>struck here<<<<<<.
      

We need some reference to proceed the pnda image and deployment on the vSphere. Please help us with this queries. 
  • Deploying the ESXi or vSphere and its configuration ( say if we chose pico what should be the total configuration (memory size, no of cpu's )  of the server memory and the VM's required for the pic flavor ).
  • Where do we need to execute the commands mentioned in the github (pnda-repo)? (in vSphere shell or ESXi Shell )
  • Do we separately create VM's for gateway, edge, mgr1, datanode, kafka with the mentioned configurations or the packer will take care of creating these VM's?
  • After deployment of the ESXi server or vSphere, do we need to deploy the number of VM's as per the flavor's spec (like in  pico has gateway, edge, mgr1, datanode, kafka ).

Donald Hunter (donaldh)

unread,
Feb 1, 2019, 5:47:37 AM2/1/19
to Suriyan Subbarayan, PNDA Users
Hi Suriyan,

Can you share the error message you got from packer please.

I’m just trying this myself and it fails for me because the CentOS ISO mirror we use no longer has CentOS 7 1804. It has been updated to 1810.

You would need this patch for the ESXi packer file:

diff --git a/packer/vmware/esxi/centos_base.json b/packer/vmware/esxi/centos_base.json
index defff26..9348538 100644
--- a/packer/vmware/esxi/centos_base.json
+++ b/packer/vmware/esxi/centos_base.json
@@ -18,9 +18,9 @@
         "headless": false,
         "disk_size": 50000,
         "disk_additional_size": [2000,5000],
-        "iso_checksum": "13675c6f74880e7ff3481b91bdaf925ce81bda8f",
-        "iso_checksum_type": "sha1",
+        "iso_checksum": "38d5d51d9d100fd73df031ffd6bd8b1297ce24660dc8c13a3b8b4534a4bd291c",
+        "iso_checksum_type": "sha256",
         "shutdown_command": "sudo -S /usr/sbin/shutdown -h now",
         "ssh_username": "{{user `username`}}",
         "ssh_password": "{{user `password`}}",
@@ -76,4 +76,4 @@
       "packer_vcenter_username": "{{env `PACKER_VCENTER_USERNAME`}}",
       "packer_vcenter_password": "{{env `PACKER_VCENTER_PASSWORD`}}"
     }
-  }
\ No newline at end of file
+  }

If you want to use the local packer method then you’d need to make similar changes to the local files.

Cheers,
Donald.

--
You received this message because you are subscribed to the Google Groups "PNDA Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pnda-users+...@googlegroups.com.
To post to this group, send email to pnda-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pnda-users/bfa7f299-793b-4516-9b95-b03fdd747de9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Suriyan Subbarayan

unread,
Feb 4, 2019, 1:03:14 AM2/4/19
to PNDA Users

CAN YOU PLEASE HELP ME WITH THE ERROR?
To post to this group, send email to pnda...@googlegroups.com.
err.png

Donald Hunter (donaldh)

unread,
Feb 4, 2019, 6:21:05 AM2/4/19
to Suriyan Subbarayan, PNDA Users
Hi,

Your log message says “Failed to create virtual disk: There is not enough space on the file system for the selected operation (13).” This is referring to the space required on the ESXi host to store a 50G VM volume.


I’m guessing from your log that the filesystem in question is /vmfs or maybe /vmfs/volumes/local-0 depending on how volumes are mounted. From what you said before “2. Deployed an ESXi Server with 100GB Ram and 5 Number of SSD (each of size 255GB).” I’m guessing the machine has plenty of disk available but not partitioned or mounted for use by vm storage?

Hope this helps
Donald.
PastedGraphic-1.tiff
Reply all
Reply to author
Forward
Message has been deleted
0 new messages