09-27-2006
What kind of array?
SCSI/FCAL/iSCSI?
The answers may very depending on this and the actual models you are talking about, different models may have very differnt configurations required.
Last edited by reborg; 09-28-2006 at 08:50 AM..
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I wish to store $string1 in $string1array a character in each array element.
Then i wish to echo the entire array to the screen so that it reads as the normal string again.
I have been trying with the code below but does not work. Please help...
To put string into array:
... (5 Replies)
Discussion started by: rorey_breaker
5 Replies
2. Solaris
I would like to extend a logical drive on our 3510. I have four unallocated disks which I would like to use for this purpose.
The 3510 supports a Sun Cluster but for now all I wish to see is a "new" disk when I run format.
I am a little familiar with the telnet/ssh session on the 3510 but am... (2 Replies)
Discussion started by: malcqv
2 Replies
3. Programming
I am facing a strange error while creating posix threads:
Given below are two snippets of code, the first one works whereas the second one gives a garbage value in the output.
Snippet 1
This works:
--------------
int *threadids;
threadids = (int *) malloc (num_threads * sizeof(int));
... (4 Replies)
Discussion started by: kmehta
4 Replies
4. Solaris
Hi;
I have 4 new disks in a 6120 Array attached to a SUN server running zfs.
There are already two virtual disks on the array comprising of 3 disk raid 5 for each Vdisk.
I need to add two more disks to each vdisk making each a 5 disk raid 5 Vdisk.
If ZFS already has the original... (3 Replies)
Discussion started by: myjess
3 Replies
5. Shell Programming and Scripting
Hi All,
I'm writing a nagios check that will see if our ldap servers are in sync...
I got the status data into a nested array, I would like to search key of each array and if "OK" is NOT present, echo other key=>values in the current array to a variable
so...eg...let take the single array... (1 Reply)
Discussion started by: zeekblack
1 Replies
6. Shell Programming and Scripting
Hi Everyone,
#!/usr/bin/perl
use strict;
use warnings;
my @test=("a;b;qqq;c;d","a;b;ggg;c;d","a;b;qqq;c;d");
would like to split the @test array into two array:
@test1=(("a;b;qqq;c;d","a;b;qqq;c;d"); and @test2=("a;b;ggg;c;d");
means search for 3rd filed.
Thanks
find the... (0 Replies)
Discussion started by: jimmy_y
0 Replies
7. Shell Programming and Scripting
Hi.
I'm new to scripting / programming and was wondering what the best way to output all mounted storage devices and their names to an array would be ? I would like to achieve this using the bash shell.
Any assistance with this would be greatly appreciated.
Regards,
Jonno :b: (4 Replies)
Discussion started by: Jonno888
4 Replies
8. Shell Programming and Scripting
I have an array and two variables as below,
I need to check if $datevar is present in $filename.
If so, i need to replace $filename with the values in the array.
I need the output inside an ARRAY
How can this be done.
Any help will be appreciated. Thanks in advance. (2 Replies)
Discussion started by: irudayaraj
2 Replies
9. Shell Programming and Scripting
Trying to do some control flow parsing based on the index postion of an array member. Here is the pseudo code I am trying to write in (preferably in pure bash) where possible. I am thinking regex with do the trick, but need a little help.
pesudo code
if == ENDSINFIVEINTS ]]; then
do... (4 Replies)
Discussion started by: briandanielz
4 Replies
10. Shell Programming and Scripting
hello,
i need a bit of help on how to do this effectively in bash without a lot of extra looping or massive switch/case
i have a long array of M elements and a short array of N elements, so M > N always. M is not a multiple of N.
for case 1, I want to stretch N to fit M
arrayHuge
H = (... (2 Replies)
Discussion started by: f77hack
2 Replies
LEARN ABOUT SUSE
ocf_heartbeat_iscsilogicalunit
OCF_HEARTBEAT_ISCSIL(7) OCF resource agents OCF_HEARTBEAT_ISCSIL(7)
NAME
ocf_heartbeat_iSCSILogicalUnit - Manages iSCSI Logical Units (LUs)
SYNOPSIS
iSCSILogicalUnit [start | stop | monitor | meta-data | validate-all]
DESCRIPTION
Manages iSCSI Logical Unit. An iSCSI Logical unit is a subdivision of an SCSI Target, exported via a daemon that speaks the iSCSI protocol.
SUPPORTED PARAMETERS
implementation
The iSCSI target daemon implementation. Must be one of "iet", "tgt", or "lio". If unspecified, an implementation is selected based on
the availability of management utilities, with "iet" being tried first, then "tgt", then "lio". (optional, string, no default)
target_iqn
The iSCSI Qualified Name (IQN) that this Logical Unit belongs to. (required, string, no default)
lun
The Logical Unit number (LUN) exposed to initiators. (required, integer, no default)
path
The path to the block device exposed. Some implementations allow this to be a regular file, too. (required, string, no default)
scsi_id
The SCSI ID to be configured for this Logical Unit. The default is the resource name, truncated to 24 bytes. (optional, string, default
default)
scsi_sn
The SCSI serial number to be configured for this Logical Unit. The default is a hash of the resource name, truncated to 8 bytes.
(optional, string, no default)
vendor_id
The SCSI vendor ID to be configured for this Logical Unit. (optional, string, no default)
product_id
The SCSI product ID to be configured for this Logical Unit. (optional, string, no default)
additional_parameters
Additional LU parameters. A space-separated list of "name=value" pairs which will be passed through to the iSCSI daemon's management
interface. The supported parameters are implementation dependent. Neither the name nor the value may contain whitespace. (optional,
string, no default)
SUPPORTED ACTIONS
This resource agent supports the following actions (operations):
start
Starts the resource. Suggested minimum timeout: 10.
stop
Stops the resource. Suggested minimum timeout: 10.
monitor
Performs a detailed status check. Suggested minimum timeout: 10. Suggested interval: 10.
meta-data
Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5.
validate-all
Performs a validation of the resource configuration. Suggested minimum timeout: 10.
EXAMPLE
The following is an example configuration for a iSCSILogicalUnit resource using the crm(8) shell:
primitive example_iSCSILogicalUnit ocf:heartbeat:iSCSILogicalUnit
params
target_iqn=string
lun=integer
path=string
op monitor timeout="10" interval="10" depth="0"
SEE ALSO
http://www.linux-ha.org/wiki/iSCSILogicalUnit_(resource_agent)
AUTHOR
Linux-HA contributors (see the resource agent source for information about individual authors)
resource-agents 1.0.3 07/05/2010 OCF_HEARTBEAT_ISCSIL(7)