Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

          upffilepath=/home/ubuntu/dcae/UPF.xml.gzgz 

       55run the commandjava -jar simulator-0.0.1-SNAPSHOT.jar >/dev/null &6.Currently OOM  does not support the chart config , So remove the charts manually. Will work with OOM team to make the chart level configable.


  Start by docker-compose

step1: Extract the downloaded cn-nssmf-simulator-docker-compose.tar.gz

tar xf cn-nssmf-simulator-docker-compose.tar.gz -C .
cd cn-nssmf-simulator-docker-compose


step2: modify application.properties

# vi application.properties
server.port=11111
notifyurl=http://192.168.235.25:30472/v1/pm/notification
ftppath=sftp://root:oom@192.168.235.25:22/home/ubuntu/dcae/PM.tar.gz
fixeddelay=900000
#Configure the output files generated in docker.
filepath=/app/dcae
amffilepath=/app/dcae/AMF.xml.gz
upffilepath=/app/dcae/UPF.xml.gz


step3: modify docker-compose.yml

# vi docker-compose.yml
version: '3'
services:
cn-simulator-docker-compose:
image: openjdk:8-jre-slim
container_name: cn-simulator-test-1
ports:
- "11111:11111"
restart: always
# mount the cn-nssmf-simulator-docker-compose directory of the host machine to the /app directory of the container
# If you need to modify the simulator's configuration file application.properties later,
# you can directly modify the host's cn-nssmf-simulator-docker-compose/application.properties to synchronize to the container
volumes:
- ./:/app
working_dir: /app
entrypoint: java -jar simulator-0.0.1-SNAPSHOT.jar


step4: start up the application by running " docker-compose up "


Customize the helm charts to suit use case(from the kubernetes directory):

...