APC UPS Data Center & Enterprise Solutions Forum
Schneider, APC support forum to share knowledge about installation and configuration for Data Center and Business Power UPSs, Accessories, Software, Services.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-30 11:15 PM . Last Modified: 2024-03-06 03:22 AM
I have installed PCNS 2.2.4 into the vMA of an ESXi 4.1 server. It properly communicates with the associated NMC and performs correctly. However, it reports all the activities in Eastern Standard Time. I don't know where it's picking up that time zone and can't find anywhere to change it. In the vSphere client the time shows up correctly. Checking date inside the vMA from the CLI also shows the correct time and timezone. The date and time setting in the NMC is correct and is set to synch with NTP with correct time zone.
Any ideas on how to show the PCNS Event Logs to report in the same time zone as everything else? TIA
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-30 11:15 PM . Last Modified: 2024-03-06 03:22 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-30 11:15 PM . Last Modified: 2024-03-06 03:22 AM
It seems that I found a solution (link and quote below) but I can't figure out how to edit clock file. I'm not a linux user and also cant figure out how to edit clock file which is read-only file and I'm loged in as vi-admin.
[http://emea-en.apc.com/app/answers/detail/a_id/10728/~/events-log-in-powerchute-network-shutdown-esx...]
PCNS uses a standard java function to retrieve the current date from the system when writing events to the log. The Problem on the VIMA is that this function always returns the US date format (PDT).
This is an issue with Java http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6456628
You can correct the time issue on VIMA by modifying /etc/sysconfig/clock file.
+/etc/sysconfig/clock contains a line ZONE="America/Los_Angeles"+
You need to edit the ZONE= to match your region such as ZONE="America/New_York"
NOTE: Be sure to make a copy of the clock file before editing.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-30 11:15 PM . Last Modified: 2024-03-06 03:22 AM
hmm ok i checked on this and it is supposed to come from the vMA client.
can you provide is screenshots or something that shows what you checked so that we can compare the times? i'll need to provide this to the PCNS folks so we can get you an answer.
thanks!
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-30 11:15 PM . Last Modified: 2024-03-06 03:22 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-30 11:15 PM . Last Modified: 2024-03-06 03:22 AM
It seems that I found a solution (link and quote below) but I can't figure out how to edit clock file. I'm not a linux user and also cant figure out how to edit clock file which is read-only file and I'm loged in as vi-admin.
[http://emea-en.apc.com/app/answers/detail/a_id/10728/~/events-log-in-powerchute-network-shutdown-esx...]
PCNS uses a standard java function to retrieve the current date from the system when writing events to the log. The Problem on the VIMA is that this function always returns the US date format (PDT).
This is an issue with Java http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6456628
You can correct the time issue on VIMA by modifying /etc/sysconfig/clock file.
+/etc/sysconfig/clock contains a line ZONE="America/Los_Angeles"+
You need to edit the ZONE= to match your region such as ZONE="America/New_York"
NOTE: Be sure to make a copy of the clock file before editing.
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.