From: Chris B. <buc...@li...> - 2014-06-24 01:01:19
|
Hi Arun, SFCB does not provide a method for log file retrieval. To do it via the CIM interface, you would need to have a provider with that functionality. You may be able to use HTTP chunking to reduce the size of the buffers SFCB creates when returning data. The chunking feature is enabled by default for SFCB, but the request needs to send "TE: Trailers" as an HTTP header for SFCB to chunk the response. Another way to to this (if you have a provider that supports it) is to issue an ExecQuery request to return a subset of the log file lines (for example, all the log lines for a given date). Alternatively if EQ requests aren't supported, issue a lot of GetInstanceRequests for RecordInLog (or whatever class is relevant to the log file). -Chris On 06/20/2014 08:21 PM, Arunkumar S wrote: > Hi, > > I have a CIM Client CLI utility which connects to my SFCB provider to > manage the remote system. > Now, I have a requirement to copy the log files ( of huge size around > 20MB ) from the remote system through CIM. > > Is there any standard mechanism to achieve this. ? > My managed system have strict memory limitation, due to that, I can't > allocate string buffer for 20MB and pass the string as CMPI output > value from Provider to CLI client. > > Thanks, > Arun > |