Sponsored Content
Operating Systems Solaris [solved] How to blink faulty disk in Solaris hardware? Post 302867141 by Corona688 on Wednesday 23rd of October 2013 01:37:53 PM
Old 10-23-2013
Agreed... And 'hot-pluggable' is subtly, crucially different from 'can be unplugged without properly warning the server'.
This User Gave Thanks to Corona688 For This Post:
 

10 More Discussions You Might Find Interesting

1. AIX

Removing Faulty Disk SSA

Hi Experts, I have configured A D40 Array. There is an faulty disk which is not part of an raid volume but shows fault in the diagnostics. pdisk15 U0.1-P1-I1/Q1-W40AA83CC2400D SSA160 Physical Disk Drive ( MB) Is there a way to stop this... (2 Replies)
Discussion started by: vuppala360
2 Replies

2. Solaris

Solaris 10 installation issue Error 25: Disk cannot be read - Solved

Hi all, I guess most of you have seen this error message while installing Solaris 10 on an x86 platform. I got the error message while installing from DVD ISO on my home VMWare ESXi server. It took me a long time to figure the exact issue and a subsequent solution. the solution is very... (1 Reply)
Discussion started by: admin_xor
1 Replies

3. Solaris

Hardware faulty, but which hardware?

Hi folk, I have this hardware faunty message, but dont know which hardware is this ? can you guide me ? --------------- ------------------------------------ -------------- --------- TIME EVENT-ID MSG-ID SEVERITY ---------------... (9 Replies)
Discussion started by: dehetoxic
9 Replies

4. Solaris

Help with faulty Disk on Sun OS

Hi, Recently i came across a disk that seems to be faulty and need help. I have gathered some information by running below commands and any help on how to solve this will be great. # uname –a SunOS XYZ 5.7 Generic_106541-16 sun4u sparc SUNW,Ultra-4 #df -k Filesystem kbytes used... (3 Replies)
Discussion started by: phanidhar6039
3 Replies

5. HP-UX

Remove Faulty disk from HP-UX LVM VG

Requirement to remove a faulty mirrored disk from hp-ux LVM <root@pdwp1s>/etc # vgdisplay -v /dev/vg00 vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t0d0": The specified path does not correspond to physical volume attached to this volume group vgdisplay: Warning: couldn't... (9 Replies)
Discussion started by: Shirishlnx
9 Replies

6. HP-UX

Remove faulty disk LV from VG

Hi, Have mirrored the primary disk to 3 . Server and OS: # uname -a HP-UX pdwp1s B.11.11 U 9000/800 118434630 unlimited-user license # model 9000/800/L3000-7x # strings /etc/lvmtab /dev/vg00 +F@< /dev/dsk/c1t2d0 /dev/dsk/c2t2d0 /dev/dsk/c2t0d0 But now I have only 1 disk... (5 Replies)
Discussion started by: Shirishlnx
5 Replies

7. HP-UX

FAULTY DISK replacement HP rx4640

Hello, I'm new to this forum and as you will see from my question I'm new to UNIX as well. One of our costumers has HP rx4640 running on UNIX with two 300GB hot-swappable disks that are mirrored. They reported to us that one of the disks is faulty and they want us to take care of it. Below is... (16 Replies)
Discussion started by: gjk
16 Replies

8. Solaris

Is it possible to set a PSU as faulty on Solaris

Hi, I'm trying to generate an alert related to Power Supply Failure. As its difficult to generate such an event, Is it possible to set the status of a Power Supply Unit as "Faulty" Any ideas are welcome and highly appreciated -Thanks (3 Replies)
Discussion started by: justsam
3 Replies

9. UNIX for Advanced & Expert Users

[Solved] Add hardware in virt-install command

Hi, Again a question about virt-install. Someone knows how to add hardware in the virt-install command? I put the first disk with --disks path=/.... but I need a second disk and I don't know how to include it? Thanks (2 Replies)
Discussion started by: hiddenshadow
2 Replies

10. UNIX for Beginners Questions & Answers

Show faulty shows PS1 faulty

I plugged both power cables in both power supply. When I unplugged each power cable one by one, the SPARC T4-1 machine keep running. However, show faulty command shows below message. (I have also attached the picture of both power supply) -> show faulty Target ... (1 Reply)
Discussion started by: z_haseeb
1 Replies
Class::Pluggable(3pm)					User Contributed Perl Documentation				     Class::Pluggable(3pm)

NAME
Class::Pluggable - Simple pluggable class. SYNOPSIS
use Class::Pluggable; use base qw(Class::Pluggable); # Some::Plugin::Module has sub routin called newAction add_plugin("Some::Plugin::Module"); newAction(); # Plugged action. DESCRIPTION
This class makes your class (sub class of Class::Pluggable) pluggable. In this documentatin, the word "pluggable" has two meanings. One is just simply adding new method to your pluggable classs from other plugin modules. So, after you plugged some modules to your class, you can use there method exactly same as your own object method. You can see this kind of plugin mechanism in CGI::Application and CGI::Application::Plugin::Session. There are one thing that Plugin developer have to know. The plugin module MUST have @EXPORT_AS_PLUGIN to use this pluggable mechanism. This works almost same as @EXPORT. But the methods in the @EXPORT_AS_PLUGIN wouldn't be exported to your package. But it would be exported to the subclass of Class::Pluggable (only when you call add_plugin()). And the another meaning of "pluggable" is so called hook-mechanism. For example, if you want to allow to other modules to do something before and/or after some action. You can do like this: $self->execute_plugin_method($_, "before_action") foreach $self->get_plugins(); ## do some your own action here. $self->execute_plugin_method($_, "after_action") foreach $self->get_plugins(); METHODS
Here are all methods of Class::Pluggable. add_plugin $object->add_plugin($pluginName) This will add new plugin to your class. What you added to here would be returned by get_plugins() method. get_plugins @plugins = $object->get_plugins(); It will return all of plugin names that are already added to YouClass. execute_plugin_method $result = $object->execute_plugin_method("SomePlugin", "someMethod"); This will execute the method someMethod of SomePlugin. execute_all_plugin_method $object->execute_all_plugin_method("someMethod"); This will execute the method someMethod of all plugin we have. This is almost same as following code. $self->execute_plugin_method($_, "someMethod") foreach $self->get_plugins(); The difference is executeAllPluginMethod can't return any values. But executePluginMethod can. add_hook $object->add_hook("pre-init", "pre_init"); This will add new hook to your class. Whenever run_hook("pre-init") has called, the method pre_init of all plugins which we have will be executed. run_hook $object->run_hook("pre-init"); This will execute the hook-method of all plugins which we have. remove_hook $object->remove_hook("pre-init"); This will delete the hook from YourClass. After calling this method, you cannot call run_hook("pre-init"). If you do, it will die imme- diately. SEE ALSO
... AUTHOR
Ken Takeshige, <ken.takeshige@gmail.com> COPYRIGHT AND LICENSE
Copyright (C) 2006 by Ken Takeshige This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available. perl v5.8.8 2006-06-30 Class::Pluggable(3pm)
All times are GMT -4. The time now is 02:29 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy