Specifications
• DataLoggingClient.properties properties file
• DataLoggingClient.sh shell script
3. Copy the exported data logging key file to the appropriate location on the virtual machine.
a. Set the data logging key file mod to 700 using the following command:
chmod 700 filename.
The data logging key file is only readable by the owner.
b. If you also want to run the data logging key file with other users, provide ownership
to other users using the following command:
chown username.username filename.
4. Edit the DataLoggingClient.properties file.
5. Set the DataLoggingClient.sh to executable using the following command:
chmod +x DataLoggingClient.sh
6. Execute the bash file to run the client using the following command:
./DataLoggingClient.sh -p <path to the java/bin directory> -c <path to the
DatatLoggingClient files>
7. Add the DataLoggingClient.sh file to run when the virtual machine starts.
The data logging client attempts to create the fifo device if it is not available. In this case, you
must restart the Syslog daemon after the data logging client starts.
Properties file structure
The data logging client acts as a multiplexer: it receives data from the virtual machine Syslog
and sends it back to one or more DSView 3 servers or data log files. Input and output can be
specified by defining different pipe entries. By default, the DataLoggingClient.properites file
defines the input type as a fifo file to which the Syslog server writes, and the output type as the
TCP port used to redirect data to the DSView 3 server.
Property Description
dls.localIp Sets the IP address used by the DSView 3 software to identify the virtual machine.
dls.queueSize Sets the message queue size.
Table 1.3: Data Logging Client Properties
DSView
®
3 Plug-in Virtualization Technical Bulletin25