zfs maintenance under suncluster


 
Thread Tools Search this Thread
Operating Systems Solaris zfs maintenance under suncluster
# 1  
Old 06-25-2009
zfs maintenance under suncluster

Hello,

Running Solaris 10x86 - on the 2 nodes of sun cluster.

I have a zfspool as HAstorage and zfs as SUNW.nfs (failover)

Quote:
zpool status
pool: bobnfs-b
state: ONLINE
scrub: none requested
config:

NAME STATE READ WRITE CKSUM
bobnfs-b ONLINE 0 0 0
c2t1d0s2 ONLINE 0 0 0

errors: No known data errors
# zfs list
NAME USED AVAIL REFER MOUNTPOINT
bobnfs-b 158K 196G 28K /hazpool/bobnfs-b
bobnfs-b/export 18K 196G 18K /hazpool/bobnfs-b/export
Now these resources including Logical hostanme are online. No issues. But I want to change zfs-name 'export' to 'export-b'

What would be the correct procedure in order to achieve this. I know zfs rename is a simple command which can be run and I can even change the dfstab but don't understand sequence to do this neatly.

If i take cluster RG for these resources offline then zfs / zpool commands don't work.

Any idea ?

Thanks in advanceSmilie
# 2  
Old 06-25-2009
the cluster takes the zpool to the "export" state. just import (zpool import ...) the zpool and after that rename it and make the changes in cluster software...
# 3  
Old 06-25-2009
Quote:
Originally Posted by DukeNuke2
the cluster takes the zpool to the "export" state. just import (zpool import ...) the zpool and after that rename it and make the changes in cluster software...
Thank you very very much DukeNuke2 Smilie

For others who may want to know,
Quote:
I offlined resource group
imported the zpool on the node where I created it. I could see SUNW.nfs directory in zfs. renamed zfs, edited dfstab
clrg -e RG again.
One more question, do you know how to switch an already online resource group from one node to the other node?

Many thanks for very quick reply

---------- Post updated at 09:58 AM ---------- Previous update was at 09:42 AM ----------

Quote:
Originally Posted by upengan78
One more question, do you know how to switch an already online resource group from one node to the other node?

Many thanks for very quick reply
man scswitch

scswitch -z -h <new master node name> -g <resource group name> worked for me.

I hope this is the command one has to use to failover the resource group to other node.
# 4  
Old 06-25-2009
this should be done with the "scswitch" command... there are new commands in cluster 3.2 and newer but the "old" commands should work also. should be something like

Code:
# scswitch -g resourcegroup -h node_to_switch_to

i don't have a cluster installation to check on this, so please read the docs and manpages before doing this on a live system!
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Maintenance mode

i booted into maintenance mode boot -- -s from the console I got the Root password for system maintenance (control-d to bypass) I did control -d and then logged in it told me that I was booting into boot -s but after I did a control -d and logged in who -r shows ... (9 Replies)
Discussion started by: goya
9 Replies

2. Solaris

Apache2 maintenance

Hi! apache and tomcat are installed in default on solaris 10, after some configuration tomcat is enable, but apache status is maintenance... How to change its status to online...? The log say And when I tape the svcs -xv commande, this is the result bash-3.00# svcs -xv... (2 Replies)
Discussion started by: tood
2 Replies

3. Solaris

suncluster co-existing with Veritas Cluster

have a pair of sun servers, wanting to test drive a 2-node cluster using both software.. would like disable one of these cluster software while the othe is running.. Is it feasible at all ?? (2 Replies)
Discussion started by: ppchu99
2 Replies

4. Solaris

in-completed suncluster installation..

machine got into this mess after in-complete suncluster installation.. can't spawn the console-login service at all... Feb 11 00:07:13 svc.startd: svc:/system/cluster/cl_boot_check:default: Method "/usr/cluster/lib/svc/method/svc_boot_check start" failed with exit status 1. Feb 11 00:07:13... (1 Reply)
Discussion started by: ppchu99
1 Replies

5. Shell Programming and Scripting

maintenance script

Hi Guys i wonder if anyone can help. i want to create a script that checks multiple servers for disk space availible, cpu usage for past 24 hours. as well as check if all the hardware components are still doing their jobs. i will be doing this in the tcsh, can anyone help? OS = Sun Solaris 5.10... (2 Replies)
Discussion started by: brian112
2 Replies

6. UNIX for Dummies Questions & Answers

NEED MAINTENANCE ON DISK

hELLO PEOPLE I AM DETECTING IN THE MIRROR ON MY SPARC THAT IS A DISK ASKING FOR MAINTENANCE. d0: Mirror Submirror 0: d10 State: Needs maintenance Submirror 1: d20 State: Needs maintenance Pass: 1 Read option: roundrobin (default) Write option: parallel... (0 Replies)
Discussion started by: enkei17
0 Replies

7. SuSE

Library Maintenance

How are libraries created and maintained? I tried the following to add prog.o to an existing library ar -r library.so prog.o but the output is "File format not recognized", on the other hand nm --print-armap library.so does print a table of contents. (2 Replies)
Discussion started by: jgt
2 Replies

8. UNIX and Linux Applications

Oracle Cluster Ready Services waiting for SunCluster on x86 to start

Recently i faced problem starting oracle application on my galaxy cluster on one node.In the log i found that the CRS demon was not started after the booting of the node , so i manually tried to start it but faced some error. So here are the work around that i had done and the CRS services got... (0 Replies)
Discussion started by: amitranjansahu
0 Replies

9. Solaris

Suncluster query

Hello, I have 2 systems Solaris 10 sparc with latest patches, 2 transports connected and 1 public port each and fiber connections to SAN. This is first time I am doing a SUN cluster install (latest soft). I installed the software using ./installer and then tried to install using "scinstall"... (9 Replies)
Discussion started by: upengan78
9 Replies

10. Solaris

Disk needs maintenance

Hi there, It's my first time here. I have an hard drive need a maintenance. here the result of metastat : Sun Microsystems Inc. SunOS 5.9 Generic May 2002 host2{11}: metastat d1: RAID State: Needs Maintenance Invoke: metareplace d1 c2t2d0s1 <new device> Interlace:... (3 Replies)
Discussion started by: Juterassee
3 Replies
Login or Register to Ask a Question