09-01-2008
Aix raid ?
Hi all,
I'm just wondering here....
When we're talking about mirrorvg and it's siblings we're talking about software raid...
right ?
9 More Discussions You Might Find Interesting
1. AIX
Hi guys!!
I terribly need help in setting up RAID 5 for a P615 IBM server. IBM said that I needed a diagnostic cd but it will take them 6 weeks to send it to me. I need help PLEASE
Server configuration:
P615 IBM Server
3 pcs 36.4GB HDD
Dual Channel SCSI RAID Enab. Card
Thank you,
Jose (0 Replies)
Discussion started by: josramon
0 Replies
2. AIX
hi
how to identify the raid type on aix?
thx (1 Reply)
Discussion started by: melanie_pfefer
1 Replies
3. UNIX for Dummies Questions & Answers
Hi
Can someone tell me what are the differences between software and hardware raid ?
thx for help. (2 Replies)
Discussion started by: presul
2 Replies
4. Solaris
Dear ALl,
I have a RAID 5 volume which is as below
d120 r 60GB c1t2d0s5 c1t3d0s5 c1t4d0s5 c1t5d0s5
d7 r 99GB c1t2d0s0 c1t3d0s0 c1t4d0s0 c1t5d0s0
d110 r 99GB c1t2d0s4 c1t3d0s4 c1t4d0s4 c1t5d0s4
d8 r 99GB c1t2d0s1 c1t3d0s1... (2 Replies)
Discussion started by: jegaraman
2 Replies
5. Solaris
Hello All,
I have read enough of texts on Raid 01 and Raid 10 on solaris :wall: . But no-where found a way to create them using SVM. Some one pls tell me how to do or Post some link if that helps.
TIA
Curious
solarister (1 Reply)
Discussion started by: Solarister
1 Replies
6. AIX
Hello,
I have a scsi pci x raid controller card on which I had created a disk array of 3 disks
when I type lspv ; I used to see 3 physical disks ( two local disks and one raid 5 disk )
suddenly the raid 5 disk array disappeared ; so the hardware engineer thought the problem was with SCSI... (0 Replies)
Discussion started by: filosophizer
0 Replies
7. Solaris
Server Model: T5120 with 146G x4 disks.
OS: Solaris 10 - installed on c1t0d0.
Plan to use software raid (veritas volume mgr) on c1t2d0 disk.
After format and label the disk, still not able to detect using vxdiskadm.
Question:
Should I remove the hardware raid on c1t2d0 first?
My... (4 Replies)
Discussion started by: KhawHL
4 Replies
8. Red Hat
Hello,
I want to delete a RAID configuration an old server has.
Since i haven't the chance to work with the specific raid controller in the past can you please help me how to perform the configuraiton?
I downloaded IBM ServeRAID Support CD but i wasn't able to configure the video card so i... (0 Replies)
Discussion started by: @dagio
0 Replies
9. AIX
Hello All,
Our servers having emc clarion for the data disks. Is that possible to see those san disks raid level from AIX ?
Am having AIX 6.1 and EMC clarion 5.5.
Regards,
Gowtham.G (3 Replies)
Discussion started by: gowthamakanthan
3 Replies
LEARN ABOUT PHP
mongowritebatch
MONGOWRITEBATCH(3) 1 MONGOWRITEBATCH(3)
The MongoWriteBatch class
INTRODUCTION
MongoWriteBatch is the base class for the MongoInsertBatch, MongoUpdateBatch and MongoDeleteBatch classes.
MongoWriteBatch allows you to "batch up" multiple operations (of same type) and shipping them all to MongoDB at the same time. This can be
especially useful when operating on many documents at the same time to reduce roundtrips.
Prior to version 1.5.0 of the driver it was possible to use MongoCollection::batchInsert, however, as of 1.5.0 that method is now discour-
aged.
Note: This class is only available when talking to MongoDB 2.6.0 (and later) servers. It will throw MongoProtocolException if attempting
to use it on older MongoDB servers.
CLASS SYNOPSIS
MongoWriteBatch
MongoWriteBatch
Constants
o const int$MongoWriteBatch::COMMAND_INSERT1
o const int$MongoWriteBatch::COMMAND_UPDATE2
o const int$MongoWriteBatch::COMMAND_DELETE3
Methods
o protected MongoWriteBatch::__construct (MongoCollection $collection, [string $batch_type], [array $write_options])
o public bool MongoWriteBatch::add (array $item)
o finalpublic array MongoWriteBatch::execute (array $write_options)
MONGOWRITEBATCH TYPES
o MongoWriteBatch::COMMAND_INSERT -Create an Insert Write Batch
o MongoWriteBatch::COMMAND_UPDATE -Create an Update Write Batch
o MongoWriteBatch::COMMAND_DELETE -Create an Delete Write Batch
DESCRIPTION
When executing a batch, by calling MongoWriteBatch::execute, MongoWriteBatch will send over maxWriteBatchSize (defaults to 1000) documents
or up to maxBsonObjectSize (defaults to 16777216 bytes), whichever comes first.
Note
Documents will never be partially transferred. When adding documents to the batch, that overflows the limit, a new batch will be
created and the document put into the new batch.
ERRORS
/EXCEPTIONS
oException on parameter parsing failures
oException on argument validation errors (e.g. missing keys)
oMongoProtocolException when talking to MongoDB server older then 2.6.0.
oMongoProtocolException on socket errors.
oMongoWriteConcernException when a write fails due to WriteConcerns
EXAMPLES
Example #1
MongoWriteBatch example
Adding documents to a Insert batch and then execute it
<?php
$mc = new MongoClient("localhost");
$collection = $mc->selectCollection("test", "test");
$docs = array();
$docs[] = array("my" => "demo");
$docs[] = array("is" => "working");
$docs[] = array("pretty" => "well");
$batch = new MongoInsertBatch($collection);
foreach($docs as $document) {
$batch->add($document);
}
$retval = $batch->execute(array("w" => 1));
var_dump($retval);
?>
The above example will output:
array(2) {
["nInserted"]=>
int(3)
["ok"]=>
bool(true)
}
PHP Documentation Group MONGOWRITEBATCH(3)