11 Replies Latest reply on Jun 5, 2013 5:04 AM by Burke-

    Onyx doesn't display anything

    apapap Novice

      I tried connecting to a vCenter server 5.1 using Onyx.

      And after connecting to the vCenter server I added a CPU for a VM using vSphere .Net Client.

      But after this task gets completed, nothing appears on the Onyx screen.

       

      Please help me with this issue.

       

      Let me know if i am missing any steps.

       

      Note: I am running this utility on Windows-7 (32 bit)  with .Net framework 3.5.1

       

       

      Thanks in advance,

      apapap

        • 1. Re: Onyx doesn't display anything
          vkaranam Hot Shot

          Hey apapap,

           

          you said after connecting to the vcenter server u have added a cpu for a vm and it did not capture. Did u push the start button on the onyx window after connecting to vcenter and before adding the cpu to the vm.

           

          Thanks

          VK

          • 2. Re: Onyx doesn't display anything
            apapap Novice

            Hey VK,

             

                 Yes, i did push the Start button on the onyx window after connecting to vcenter server.

            One more issue that i am facing is that on the Connect window, the option to Launch client is greyed out. Attaching a screen-shot for the same.

             

            Also, let me know if there are any changes in settings which are needed for onyx to work properly.

             

            Thanks and Regards,

            apapap

            • 3. Re: Onyx doesn't display anything
              vkaranam Hot Shot

              Hey apapap,

               

              Where is the screenshot??

               

              Thanks

              VK

              • 4. Re: Onyx doesn't display anything
                apapap Novice

                Hey VK,

                 

                           Oops, sorry.

                Added the image.

                 

                onyx-issue.jpg

                 

                Regards,

                apapap

                • 5. Re: Onyx doesn't display anything
                  vkaranam Hot Shot

                  Hello APAPAP

                   

                  That is not a problem.I hope you are starting the onyx on the vcenter server where u want to get the commands. After entering the server IP click on that start button and the onyx will be started. Now to launch the vsphere client open the vsphere client from start menu on the vcenter server and connect using your id. The Ipaddress/username in the vsphere client should be as shown in the image.

                   

                  vsphere client.JPG

                  Thanks

                  VK

                  • 6. Re: Onyx doesn't display anything
                    apapap Novice

                    Hey VK,

                     

                         These are the steps which i have performed:

                    1. Start Onyx and Connect it to an vCenter server.

                    2. Launch vSphere .Net Client,

                    3. Pushed the Start button on the onyx window.

                    4. Added a CPU to a VM.

                     

                    Still, onyx doesn't generate any sort of code.

                    Do let me know if i am following the wrong steps.

                     

                    Also, from where can i get the logs for operations performed on Onyx?

                     

                    Also attaching a screenshot regarding the issue. PFA

                     

                    onyx-nt-working-issue.jpg

                     

                     

                    Thanks,

                    apapap

                    • 7. Re: Onyx doesn't display anything
                      apapap Novice

                      Hey VK,

                       

                           I also found the Onyx.log file. Also followed the same steps, but there doesn't seem to be any output on the Onyx window.

                      These are the contents of the log file for the steps performed above:

                       

                      <LOG_FILE>

                      Loading Onyx v2.1.4226.28168...

                      Onyx.exe Information: 0 : [Proxy @01545 -> 172.17.x.x:443] Created...

                      Onyx.exe Information: 0 : [Proxy @01545 -> 172.17.x.x:443] Starting...

                      Onyx.exe Information: 0 : [Proxy @01545 -> 172.17.x.x:443] Started...

                      Onyx.exe Information: 0 : [Proxy @01545 -> 172.17.x.x:443] Starting...

                      Onyx.exe Information: 0 : [Proxy @01545 -> 172.17.x.x:443] Listening for client connections at port Proxy @01545 -> 172.17.x.x:443...

                      Onyx.exe Information: 0 : [Proxy @01545 -> 172.17.x.x:443] Started...

                      Onyx.exe Information: 0 : [Proxy @01545 -> 172.17.x.x:443] Started...

                      Onyx.exe Information: 0 : [ProxyHttp @01546 -> 172.17.x.x:80] Listening for client ping at port ProxyHttp @01546 -> 172.17.x.x:80...

                      </LOG_FILE>

                       

                      Please help me with this.

                       

                      Regards,

                      apapap

                      • 8. Re: Onyx doesn't display anything
                        Burke- Virtuoso
                        VMware Employees

                        Apapap,

                        When you are starting the C# vCenter Client and entering the IP address of vCenter, are you remembering to specify the port that Onyx is listening on? See the screenshot by VK on May 20th... If you don't tell the VC Client to connect to Onyx, then Onyx cannot intercept the API calls to display them in the desired language...

                        • 9. Re: Onyx doesn't display anything
                          apapap Novice

                          Hey Burke,

                           

                               Thanks a lot, for the input. It worked.

                          I was trying to log-in by providing the "vCenter server address" instead of "localhost".

                          So, changing it "http://localhost:1545" while logging in the C# client worked.

                           

                          Thanks a lot.

                           

                           

                          Regards,

                          apapap

                          • 10. Re: Onyx doesn't display anything
                            apapap Novice

                            Hey Burke,

                             

                                 One more query regarding onyx.

                            How can we connect Onyx to listen to API calls from vSphere Web Client?

                             

                            Please reply.

                             

                            Thanks & Regards,

                            apapap

                            • 11. Re: Onyx doesn't display anything
                              Burke- Virtuoso
                              VMware Employees

                              Well, it sounds like you are actually finally already there....

                               

                              When you have Onyx running, logged into a vCenter Server, then you have the vCenter client connect to Onyx (you did this in the last step by having vCenter connect to localhost:1545), all actions performed in the vCenter Client go through Onyx..

                               

                              So, your next step is to:

                              1. Prepare yourself in the client by getting to the page/resource you wish to modify
                              2. Switch over to Onyx, tell it which language to generate code for
                              3. Start recording in Onyx
                              4. Now switch back to the vCenter client and do what you need to do (as you do things, code will generate in the Onyx window)
                              5. When done, copy the code generated in Onyx and modify as needed