Oracle Management Cloud On Demand Upload (ODU) Tips and Tricks

Posted: October 14, 2018 in general, Tips and Trick, Work

From my recent work on doing ODU for OMC Log Analytics, I encountered some issues and challenges that I managed to overcome. I will be sharing my experiences here to help you.

  • If you’re executing curl command from Windows, replace all the single quotes (‘) with a double quote (“).
  • Curl sample for your reference:

curl -v -S -k -u “username:pwd” -X POST –form data=@D:\OMC_UPLOAD_LOGS\rac31_trace_1.zip “https://xxxx.xxxx-xxx.oraclecloud.com/serviceapi/logan.uploads?uploadName=xxxx&entityName=xxxx&entityType=xxxx&logSourceName=xxxx

  • You can have multiple curl session. Upload rate is limited at Oracle, so you can run multiple curl to increase the upload rate, provide that your own bandwidth is not limited. (This should help to reduce time to upload multiple log files)
  • You can group similar log files together into one zip files and upload them in zipped state.
  • Pay attention on the storage consumed by checking on the Storage menu in the OMC console regularly. Remember that the log files size are counted in unzipped state, meaning a 10Mb zipped log files will consumed more than that after uploaded.

These are some tips that I managed to collect. Happy uploading!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s