![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems . |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
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" ?!!!!! 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 ... |
|
||||
|
Quote:
|
|
||||
|
Thank you for reply.
I have of course .. I set up all necessary preinstallation configuration .. But I recognised that when I enable resourse that was registered for mysql it works on active node and besides this it chages uid of mysql user on other node .. I don't know maybe it is bug .. so I manually updated /etc/passwd file on standby node .. modified it for user mysql .. and then tried failover .. it works ))) Anyway I couldn't find that it's bug on sunsolve .. Thanks in advance .. Good luck |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|