You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+22-89Lines changed: 22 additions & 89 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,9 +10,8 @@ YB Workload Simulator is a Java application that simulates workloads against Yug
10
10
*[Code setup and Installation](#code-setup-and-installation)
11
11
*[Build the jar file](#build-the-jar-file)
12
12
*[Additional parameters for YCQL workloads](#additional-parameters-for-ycql-workloads)
13
-
*[How to build your own workload](#how-to-build-your-own-workload)
14
13
*[Start a read and write workload](#start-a-read-and-write-workload)
15
-
*[Create your own workload .java file](#create-your-own-workload-java-file)
14
+
*[Create your own workload](#create-your-own-workload)
16
15
17
16
## Download the jar
18
17
@@ -79,36 +78,12 @@ By default, workload simulator uses "Yugabyte Smart Driver". You can run the App
79
78
-Dspring.profiles.active=pgdriver
80
79
```
81
80
82
-
### Run the application on a YugabyteDB Managed cluster
81
+
### Run the application on a YugabyteDB Managed cluster (Aeon)
82
+
YugabyteDB smart driver doesn't connect to YugabyteDB Aeon cluster if you are running your app from your laptop. You will need to run the app from a machine which has VPC peered with Yugabyte Aeon VPC.
83
83
84
-
1. To connect the application to your cluster, ensure that you have downloaded the cluster SSL certificate and your computer is added to the IP allow list. Refer to [Before you begin](https://docs.yugabyte.com//preview/develop/build-apps/cloud-add-ip/).
84
+
#### Workaround:
85
+
If you need to run app against YugabyteDB Aeon on laptop, you can use the postgres driver. Please see "Run the application using postgres driver"
85
86
86
-
1. To start the application against a running YugabyteDB Managed cluster, use the following command:
87
-
88
-
```sh
89
-
java -Dnode=<host name> \
90
-
-Ddbname=<dbname> \
91
-
-Ddbuser=<dbuser> \
92
-
-Ddbpassword=<dbpassword> \
93
-
-Dssl=true \
94
-
-Dsslmode=verify-full \
95
-
-Dsslrootcert=<path-to-cluster-certificate> \
96
-
-jar ./yb-workload-sim-0.0.2.jar
97
-
```
98
-
99
-
Replace the following:
100
-
101
-
*`host name` - the host name of your YugabyteDB cluster. For YugabyteDB Managed, selectyour cluster on the Clusters page, and click Settings. The host is displayed under Connection Parameters.
102
-
103
-
*`dbname` - the name of the database you are connecting to (the default is yugabyte).
104
-
105
-
*`dbuser` and `dbpassword` - the username and password forthe YugabyteDB database. Use the credentialsin the credentials file you downloaded when you created your cluster.
106
-
107
-
*`path-to-cluster-certificate` with the path to the cluster certificate on your computer.
108
-
109
-
1. To view the application UI, navigate to `http://localhost:8080`.
110
-
111
-
Additional parameters forYugabyteDB Managed to start/stop nodes and scale cluster can be providedin UI by clicking settings gear option on right hand side.
112
87
113
88
## Code setup and Installation
114
89
@@ -134,31 +109,12 @@ A jar file gets created at : <yb-workload-sim>/target/yb-workload-simulator.jar.
1. To be able to call the new workload, you have to modify the `WorkloadConfig.java` file in [src/main/java/com/yugabyte/simulation/config/](src/main/java/com/yugabyte/simulation/config/).
0 commit comments