Sponsored Content
Operating Systems Solaris what is going on with SUNW.HAStoragePlus?!!!!! Post 302268694 by samar on Tuesday 16th of December 2008 06:09:26 AM
Old 12-16-2008
Error what is going on with SUNW.HAStoragePlus?!!!!!

Hi all,
really interesting thing I have encountered . So :

root@host4 # uname -a
SunOS host4 5.9 Generic_122300-31 sun4u sparc SUNW,Sun-Fire-880
root@host4 # scinstall -p
3.2

latest recommended patches applied ..all SUN cluster patches applied.

SUN cluster software installed without any issue.
all needed resource types installed:

root@host4 # clrt list
SUNW.LogicalHostname:2
SUNW.SharedAddress:2
SUNW.gds:6
SUNW.HAStoragePlus:4

so I created simply one resource group ..

root@host4 # clrg create data-rg

and then created logicalhostname:

root@host4 # clrslh create -g data-rg -h datalh datalh-rs

and simply created SUNW.HAStorkagePlus:

root@host4 # clrs create -g data-rg -t SUNW.HAStoragePlus -p AffinityOn=TRUE -p FilesystemMountPoints=/data1,/data2 hasp-rs

then simply tried enable resource group with it's resources ..
Everything fine .. it started up .. got logicalhostname .. and then mounted /data1 and /data2 ..
here I create directory in /data1
root@host4 # mkdir /data1/test
root@host4 # cd /data1/test
root@host4 # mkfile 5m file1
root@host4 # mkfile 10m file2
root@host4 #chown -R mysql:mysql /data1/test

I gave all included files owner as mysql ..

then I'm testing it .. failed it over to second node .. it started on second node succesfully .. but here the problem is .. I look in /data1 and so that permissions of that directory "test" and files that I ceated changed ..

root@host3 # cd /data1
root@host3 # ls -al test
total 30756
drwxr-xr-x 2 60003 mysql 512 Dec 16 14:58 .
drwxr-xr-x 4 root root 512 Dec 16 14:58 ..
-rw------T 1 60003 mysql 5242880 Dec 16 14:58 file1
-rw------T 1 60003 mysql 10485760 Dec 16 14:58 file2

.. from where does it take "60003" ?!!!!! Smilie

If I fail it over again to forst node it is ok with it's permissions:

root@host4 # ls -al
total 30756
drwxr-xr-x 2 mysql mysql 512 Dec 16 13:49 .
drwxr-xr-x 5 root root 512 Dec 16 13:47 ..
-rw------T 1 mysql mysql 5242880 Dec 16 13:49 file1
-rw------T 1 mysql mysql 10485760 Dec 16 13:49 file2


...
 

We Also Found This Discussion For You

1. Solaris

SUNW, hme0: Link Down - Cable problem

Ultra E150 Solaris 2.5.1 Oracle server. was working fine, then started losing network connection. I can see in messages file that it was complaining about another device using its ip address. Though not any longer, though I wonder if that was a red herring. My IT guys have now re-reserved its ip... (29 Replies)
Discussion started by: AlSmith1964
29 Replies
MYSQL_TZINFO_TO_S(1)					       MySQL Database System					      MYSQL_TZINFO_TO_S(1)

NAME
mysql_tzinfo_to_sql - load the time zone tables SYNOPSIS
mysql_tzinfo_to_sql arguments DESCRIPTION
The mysql_tzinfo_to_sql program loads the time zone tables in the mysql database. It is used on systems that have a zoneinfo database (the set of files describing time zones). Examples of such systems are Linux, FreeBSD, Solaris, and Mac OS X. One likely location for these files is the /usr/share/zoneinfo directory (/usr/share/lib/zoneinfo on Solaris). If your system does not have a zoneinfo database, you can use the downloadable package described in Section 10.6, "MySQL Server Time Zone Support". mysql_tzinfo_to_sql can be invoked several ways: shell> mysql_tzinfo_to_sql tz_dir shell> mysql_tzinfo_to_sql tz_file tz_name shell> mysql_tzinfo_to_sql --leap tz_file For the first invocation syntax, pass the zoneinfo directory path name to mysql_tzinfo_to_sql and send the output into the mysql program. For example: shell> mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root mysql mysql_tzinfo_to_sql reads your system's time zone files and generates SQL statements from them. mysql processes those statements to load the time zone tables. The second syntax causes mysql_tzinfo_to_sql to load a single time zone file tz_file that corresponds to a time zone name tz_name: shell> mysql_tzinfo_to_sql tz_file tz_name | mysql -u root mysql If your time zone needs to account for leap seconds, invoke mysql_tzinfo_to_sql using the third syntax, which initializes the leap second information. tz_file is the name of your time zone file: shell> mysql_tzinfo_to_sql --leap tz_file | mysql -u root mysql After running mysql_tzinfo_to_sql, it is best to restart the server so that it does not continue to use any previously cached time zone data. COPYRIGHT
Copyright (C) 1997, 2014, Oracle and/or its affiliates. All rights reserved. This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/. SEE ALSO
For more information, please refer to the MySQL Reference Manual, which may already be installed locally and which is also available online at http://dev.mysql.com/doc/. AUTHOR
Oracle Corporation (http://dev.mysql.com/). MySQL 5.5 01/30/2014 MYSQL_TZINFO_TO_S(1)
All times are GMT -4. The time now is 06:32 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy