Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File system benchmarking with SBK-GEM #302

Open
kmgowda opened this issue Feb 22, 2022 · 4 comments
Open

File system benchmarking with SBK-GEM #302

kmgowda opened this issue Feb 22, 2022 · 4 comments

Comments

@kmgowda
Copy link
Owner

kmgowda commented Feb 22, 2022

Describe the Issue (Bug/Feature)
Run sbk-gem command on set of nodes/systems for file system benchmarking

To Reproduce

  1. set the ssh name and password on set of host/nodes/systems
  2. run the sbk-gem with "-class file" to get the file system benchmarking on all the hosts and integrated on host

Expected behavior
you will get the fully integrated file system benchmarking results on the node where you are running sbk-gem

Additional context
see the examples here : https://github.com/kmgowda/SBK/tree/master/sbk-gem

@Amartya-Mahato
Copy link
Contributor

Amartya-Mahato commented Mar 4, 2022

@kmgowda Hi, Sir
i am trying to reproduce the bug ( i am not sure if i am doing it right )
i used this command.

./sbk-gem/build/install/sbk-gem/bin/sbk-gem -class jdbc -readers 1 -size 100 -time ns -seconds 60 -gemuser root -gempass roots -sbkdir build/install/sbk

i am facing this error localhost not found!
Please guide me with this problem

2022-03-04 22:38:35 INFO SBK-GEM: Ssh Connection to host 'localhost' starting...
2022-03-04 22:38:35 INFO Using MinaServiceFactoryFactory
2022-03-04 22:38:36 ERROR SBK-GEM: Ssh Connection to host 'localhost' time out!
2022-03-04 22:38:36 INFO SBK-GEM: Ssh session establishment Success..
java.net.ConnectException: ssh session to host: localhost not found!
        at io.sbk.gem.impl.SbkSsh.getSession(SbkSsh.java:62)
        at io.sbk.gem.impl.SbkSsh.runCommandAsync(SbkSsh.java:70)
        at io.sbk.gem.impl.SbkGemBenchmark.start(SbkGemBenchmark.java:139)
        at io.sbk.gem.impl.SbkGem.run(SbkGem.java:85)
        at io.sbk.main.SbkGemMain.main(SbkGemMain.java:25)

@kmgowda
Copy link
Owner Author

kmgowda commented Mar 5, 2022

@Amartya-Mahato there are could be two problems here

  • check if the ssh login is enabled in the system where SBK is running
  • check the ssh user name and password '-gemuser root -gempass roots' are correct

@Amartya-Mahato
Copy link
Contributor

Amartya-Mahato commented Mar 5, 2022

@kmgowda Hi sir, I was using mysql database that time, Which was using ( Standard TCP/IP ) connection, well i tried to switch the connection to ( Standard TCP/IP Over SSH ) but it was a failure too, I am still getting that error, I checked all my names and password properly this time but couldn't figure it out what's wrong. Is there any other way to reproduce the actual bug. 😅😅

@kmgowda
Copy link
Owner Author

kmgowda commented Mar 6, 2022

@Amartya-Mahato the mysql database and sbk-gem command are not related.
your localhost should have the ssh service running ;
the login id and password of the ssh service should be given with options -gemuser and -gempass.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants