03-29-2010
Whats wrong with the given answers?
10 More Discussions You Might Find Interesting
1. AIX
I have AIX 5.1
I ran these commands and was not able to see what disk were mirrored to what. I thought this is what I should do?
lslv -m rd |more
lslv -m db |more
I get a error stating that it can't find or in the device configuation databse.
Is there another way to look? I have a physcal... (1 Reply)
Discussion started by: rocker40
1 Replies
2. AIX
How do I know, which all disks are mirrored? any command?
Bala (7 Replies)
Discussion started by: balaji_prk
7 Replies
3. Solaris
Hi guys,
I havent done this before but iam trying to create an image of a mirrorred drive.
Correct me if iam wrong, but when i have two disks setup in raid configuration and have them mirrored in solaris. It then defines at one entity.
How would i create a "flar" image of that one entity... (3 Replies)
Discussion started by: tlee
3 Replies
4. Solaris
We use SW mirroring (RAID1) using SVM for our SUN servers (which we OEM to end clients with our application on). When I need to make a tape backup for the server (disk), I disable mirroring and perform backup of the entire disk to tape using ufsdump. This process requires an outage and sensitive as... (8 Replies)
Discussion started by: StarSol
8 Replies
5. UNIX for Advanced & Expert Users
I have a HP proliant ML 570 G3 with two 146GB disk drives mirrored(RAID1+0)
windows server 2003 was installed on that disk.
I will add a disk.(scsi 300GB)
I will install Linux on that additional disk.
I want to create multiple-boot system.
Is it possible?
I wanna know how to create... (0 Replies)
Discussion started by: lifegeek
0 Replies
6. HP-UX
Hello All,
Am trynig to identify if the local HD's on our BL860 (running 11v3) are indeed mirrored to each other.
Cheers,
Cameron (3 Replies)
Discussion started by: Cameron
3 Replies
7. Solaris
# metastat
d1: Mirror
Submirror 0: d11
State: Okay
Submirror 1: d12
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 14582208 blocks (7.0 GB)
d11: Submirror of d1
State: Okay
Size: 14582208 blocks... (2 Replies)
Discussion started by: Exposure
2 Replies
8. AIX
This is the report I got running the comand rptconf, but I would like to know what is the capacity of the disks installed into our server power 6 with AIX
System Model: IBM,7778-23X
Machine Serial Number: 1066D5A
Processor Type: PowerPC_POWER6
Processor Implementation Mode: POWER 6... (6 Replies)
Discussion started by: cucosss
6 Replies
9. HP-UX
Want to extend the /home filesystem:
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol4 262144 260088 2056 99% /home
root@server:./root # vgdisplay vg00
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 11
Open... (4 Replies)
Discussion started by: proactiveaditya
4 Replies
10. Solaris
Hi Guys,
obviously new to SOLARIS SUN SPARC 5.10
I would really appreciate if you help me see how to find free disks available in my system.
Like i am a linux admin. If i want to grow a file system in linux. I would first have a look at my volume groups to see if they have free PEs if not then... (2 Replies)
Discussion started by: aiqbal
2 Replies
LEARN ABOUT DEBIAN
poe::component::irc::cookbook::resolver
POE::Component::IRC::Cookbook::Resolver(3pm) User Contributed Perl Documentation POE::Component::IRC::Cookbook::Resolver(3pm)
NAME
POE::Component::IRC::Cookbook::Resolver - A bot that can resolve DNS records
SYNOPSIS
This bot uses POE::Component::Client::DNS to DNS records for channel members.
DESCRIPTION
#!/usr/bin/env perl
use strict;
use warnings;
use IRC::Utils qw(parse_user);
use POE;
use POE::Component::Client::DNS;
use POE::Component::IRC::State;
use POE::Component::IRC::Plugin::AutoJoin;
use POE::Component::IRC::Plugin::BotCommand;
POE::Session->create(
package_states => [
main => [ qw(_start irc_botcmd_resolve dns_response) ]
],
);
$poe_kernel->run();
sub _start {
my $heap = $_[HEAP];
my $irc = POE::Component::IRC::State->spawn(
Nick => 'resolver_bot',
Server => 'irc.freenode.net',
);
$heap->{irc} = $irc;
$irc->plugin_add('AutoJoin', POE::Component::IRC::Plugin::AutoJoin->new(
Channels => [ '#test_channel1', '#test_channel2' ]
));
$irc->plugin_add('BotCommand', POE::Component::IRC::Plugin::BotCommand->new(
Commands => {
resolve => 'Usage: resolve <host>'
}
));
$heap->{dns} = POE::Component::Client::DNS->spawn();
$irc->yield(register => 'botcmd_resolve');
$irc->yield('connect');
return;
}
sub irc_botcmd_resolve {
my $dns = $_[HEAP]->{dns};
my $nick = parse_user( $_[ARG0] );
my ($channel, $host) = @_[ARG1, ARG2];
my $res = $dns->resolve(
event => 'dns_response',
host => $host,
context => {
channel => $channel,
nick => $nick,
},
);
$poe_kernel->yield(dns_response => $res) if $res;
return;
}
sub dns_response {
my $irc = $_[HEAP]->{irc};
my $res = $_[ARG0];
my @answers = $res->{response}
? map { $_->rdatastr } $res->{response}->answer()
: ();
$irc->yield(
'privmsg',
$res->{context}->{channel},
$res->{context}->{nick} . (@answers
? ": @answers"
: ': no answers for "' . $res->{host} . '"')
);
return;
}
AUTHOR
Hinrik Oern Sigur`sson, hinrik.sig@gmail.com
perl v5.14.2 2011-12-07 POE::Component::IRC::Cookbook::Resolver(3pm)