profile for Gajendra D Ambi on Stack Exchange, a network of free, community-driven Q&A sites

Monday, May 4, 2015

Change timezone on EMC PowerPath [Suse Linux Appliance]

So on a vblock 540 we had to change the timezone for powerpath appliances which are basically suse linux appliances.
So here are the steps for me to recall if i need them again.
check the existing timezone
 # cat /etc/sysconfig/clock
-
-
-
-
TIMEZONE="America/Phoenix"
DEFAULT_TIMEZONE="America/Phoenix"
 you will see the above at the end of the output which we want to change.
#yast timezone
press alt+z
then using the up/down arrow keys select (in our case it will be
America/EST)
the timezone and press return/enter.

#vi  cat /etc/sysconfig/clock
change the  DEFAULT_TIMEZONE too, just like the TIMEZONE.

create a symlink to the localtime now.

#ln -sf /usr/share/zoneinfo/America/EST /etc/localtime
instead of the above you can also do 
#cp /usr/share/zoneinfo/America/EST /etc/localtime
 instead of creating a symbolic link we are just copying it there.
 
#reboot
 
source; http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/set-time.html
http://www.planetmy.com/blog/how-to-configure-timezone-on-sles-linux/ 
 

No comments:

Post a Comment