# As I read on various forum, have to perform vgchgid but am not sure can we perform vgchgid on all LUN's with on active VG ..as this is production server and I can't take any risk ..
---------- Post updated at 08:54 AM ---------- Previous update was at 05:39 AM ----------
Have solved the issue .. we can use below command to import map file ..
1# Varify corresponding luns on secondary server .. and pass the data path discovered disk as args to vgimport as below ..
2# ensure pass both primary and alternate disk path without -s option ..
Hi,
I am working on device drivers.Once If register a device i'll get one major no. If i unregister and register again i'll get a different major no.What i have to do to get same major no. each time :( (0 Replies)
Hello, I have 2 hp-ux both running 11.23, I have move one of a harddisk from "UNIX A" to "UNIX B", so how can I read back the data in "UNIX B"?
Thanks (5 Replies)
I have a list of LUN ID, my task is to find if disk has been added or not. How do I do that? I have been searching the forum and not able to find answer.
thanks (4 Replies)
Hi.
I have these two variables:
My objective here is to reuse that $file_name variable again and again by resetting the $cv value.
for example, if i reissue the cv="$(print 'CV01')" command, thus $file_name is now should be "CP99978_CV01.TXT", not "CP99978_CV01.TXT" anymore.
How I'm... (7 Replies)
I'm currently using zsh. Sometimes I find myself wishing to reuse an argument from earlier in the command.
I know that I can, of course, assign an argument to a variable ahead of time, and then easily use that variable more than once.
I know about the ability to reuse arguments from previous... (0 Replies)
Hello everyone.
I'm trying to create a conf file with variables that my other scripts will use.
I have several scripts that use the same variables, and since I don't know how to read them from an external file, i define them in each script (and then if i want to change one's value i need to... (4 Replies)
Hi
I am trying to write a shell script and wanted to re-use the value which I have entered already.
Here is the sample code.
echo "Enter Value : \c" ; read val
echo "Enter number: $val\c" ; read num
Now I wanted to change the value as showing in 2nd Line or if I will use enter, it... (15 Replies)
I have a collection of format strings for sscanf, such as
"%02d%*1s%02d%*1s%02d"
to read in certain formatted strings, such as dates, times, etc.
I wonder if there is a way to use them in printf without some changes? The example above would not work - at least I can't think of any ways to... (4 Replies)
Discussion started by: migurus
4 Replies
LEARN ABOUT OPENSOLARIS
scconf_quorum_dev_netapp_nas
scconf_quorum_dev_netapp_nas(1M) System Administration Commands scconf_quorum_dev_netapp_nas(1M)NAME
scconf_quorum_dev_netapp_nas - add and remove shared Network Appliance network-attached storage (NAS) quorum devices and change various NAS
cluster quorum configuration properties or states.
SYNOPSIS
scconf {-a|-c|-r} -q name=devicename otheroptions
DESCRIPTION
Note -
Beginning with the Sun Cluster 3.2 release, Sun Cluster software includes an object-oriented command set. Although Sun Cluster software
still supports the original command set, Sun Cluster procedural documentation uses only the object-oriented command set. For more infor-
mation about the object-oriented command set, see the Intro(1CL) man page.
A Network Appliance NAS device can be configured as a quorum device for Sun Cluster. The NAS configuration information consists of:
o a device name, which must be unique across quorum devices
o
a filer name, which defaults to the device name if not specified
o a LUN ID, which defaults to 0 if not specified
To provide support for NAS devices as quorum devices, the administrator must install the quorum device support module provided by Network
Appliance. If this module is not available, scconfprevents the addition of the quorum device. See Sun Cluster With Network-Attached Storage
Devices Manual for Solaris OS for instructions about obtaining the support module.
Additionally, the iSCSI license must be valid for the Network Appliance device.
OPTIONS
The following options can be used for NAS quorum devices. See scconf(1M) for the list of supported generic options. See scconf_quo-
rum_dev_netapp_nas(1M) for options that are specific to shared disk quorum devices.
The add and remove forms of the command are used to add and remove NAS quorum devices to or from the configuration. The change form of the
command is used for changing various properties of cluster quorum configuration.
Before you add a quorum device, you must set up and configure the device and the logical unit number (LUN) on the device to be configured
as a quorum device. For detailed procedures, see your Network Appliance documentation. For Sun Cluster requirements of device setup, see
Sun Cluster With Network-Attached Storage Devices Manual for Solaris OS. After the quorum device is added, you cannot change the type.
Add a NAS quorum device:
-q -a name=devicename,type=netapp_nas[,filer=filer-name][,lun_id=0]
Change a NAS quorum device's configuration:
-q -c name=devicename,{maintstate | reset}
Remove a NAS quorum device:
-q -r name=devicename
The -q option supports the following Network Appliance NAS-specific suboptions:
filer=filer-name
Specifies the name of the device on the network that you can use to access the NAS device when you are using rsh or telnet.
lun_id=0
Specifies the LUN ID on the NAS device that will be a NAS quorum device. The LUN ID defaults to 0.
When scconf is interrupted or fails while performing quorum-related operations, quorum configuration information can become inconsistent in
the cluster configuration database. If an inconsistency occurs, either run the same scconf command again or run it with the reset option to
reset the quorum information.
EXAMPLES
Example 1 Adding Network Appliance NAS Quorum Devices
The following scconf command adds the Network Appliance NAS quorum device qd1.
-a -q name=qd1,type=netapp_nas,filer=nas1.sun.com,lun_id=0
Example 2 Removing Network Appliance NAS Quorum Devices
The following scconf command removes the Network Appliance NAS quorum device qd1.
-r -q name=qd1
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWsczu |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
SEE ALSO Intro(1CL), clquorum(1CL), cluster(1CL), scconf(1M), scconf-quorum-dev-scsi(1M)Sun Cluster 3.2 10 Apr 2006 scconf_quorum_dev_netapp_nas(1M)