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
 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
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.