02-23-2012
I thought that disks are tied to controllers which are tied to system boards and you can't really move them between domains. Just out of curiosity.. What command did you use for that operation?
10 More Discussions You Might Find Interesting
1. Solaris
Hi, Guys
I have to change the HostID for my SUNFire880 in lab.
Can some body help me? and give the detail procedure?
I don't think the command "mkp" can be used in SUNFire880 system.
So please help!:cool: (2 Replies)
Discussion started by: surainbow
2 Replies
2. Solaris
Hello Everybody
I would like to know that I have configure the OS & other application on the SunFire V440 server
1) If suppose no hostid base software install in that v440 server & if some problem comes in the motherboard of that server. If I remove the harddisk ( on which Solaris & other... (4 Replies)
Discussion started by: girish.batra
4 Replies
3. Solaris
Hi all.
Solaris 9.
After I change the hostid, how can I change it back without rebooting the machine?
Thanks (2 Replies)
Discussion started by: jamie_collins
2 Replies
4. Solaris
My system is showing following .. how can i remove this rpool .. ?
zpool status -v rpool
pool: rpool
state: UNAVAIL
status: One or more devices could not be opened. There are insufficient
replicas for the pool to continue functioning.
action: Attach the missing device and... (0 Replies)
Discussion started by: fugitive
0 Replies
5. Solaris
Hi,
I've searched the UNIX forum looking for a simple procedure how to change\control my Solaris server hostid.
I did found few threads but all of them either have broken links to all kinds of scripts or not described simply for some UNIX beginers user like me.
Can anyone assist me?
I... (21 Replies)
Discussion started by: avisht
21 Replies
6. Solaris
Trying to set or modify the randomly set hostID of a Solaris 10 virtual/guest machine that I installed on a Windows-XP host machine (using Virtual Box 4.1.12).
I was able to set/modify the hostname of the Solaris 10 virtual/guest machine during installation as well as via the Virtual Box... (4 Replies)
Discussion started by: Matt_VB
4 Replies
7. Red Hat
There is no /etc/hostid file.
I know that there is no relationship between with MAC address and hostid. There are a lot of scripts on the net but how can I exactly do in my case. :rolleyes: (4 Replies)
Discussion started by: getrue
4 Replies
8. Red Hat
Hello guys,
currently I'm working on migration services from physical to virtual server (RHEL 6). One form applications is binded to hostid of old server.
I put value of hostid from old server to the /etc/hostid on new server, but output of hostid command is giving nonsenses then.
#... (0 Replies)
Discussion started by: brusell
0 Replies
9. Solaris
Hi,
I have rpool about 500G. So i want to use 210G from rpool and assign mount point as /database.
I seek in google and couldn't found it. Does anyone know how to achieve it?
Thanks. (2 Replies)
Discussion started by: mzainal
2 Replies
10. Solaris
Hello,
I need some help mirroring my rpool.
I have a 60gb ssd running the rpool alone and want to mirror it for redundancy so I bought a 120gb ssd that I found for a good price. 60gb drives aren't as easy to find at a good price anymore it seems.
I (a bit naively) thought after reading... (9 Replies)
Discussion started by: Zorken
9 Replies
LEARN ABOUT SUSE
tie::scalar
Tie::Scalar(3pm) Perl Programmers Reference Guide Tie::Scalar(3pm)
NAME
Tie::Scalar, Tie::StdScalar - base class definitions for tied scalars
SYNOPSIS
package NewScalar;
require Tie::Scalar;
@ISA = qw(Tie::Scalar);
sub FETCH { ... } # Provide a needed method
sub TIESCALAR { ... } # Overrides inherited method
package NewStdScalar;
require Tie::Scalar;
@ISA = qw(Tie::StdScalar);
# All methods provided by default, so define only what needs be overridden
sub FETCH { ... }
package main;
tie $new_scalar, 'NewScalar';
tie $new_std_scalar, 'NewStdScalar';
DESCRIPTION
This module provides some skeletal methods for scalar-tying classes. See perltie for a list of the functions required in tying a scalar to
a package. The basic Tie::Scalar package provides a "new" method, as well as methods "TIESCALAR", "FETCH" and "STORE". The Tie::StdScalar
package provides all the methods specified in perltie. It inherits from Tie::Scalar and causes scalars tied to it to behave exactly like
the built-in scalars, allowing for selective overloading of methods. The "new" method is provided as a means of grandfathering, for classes
that forget to provide their own "TIESCALAR" method.
For developers wishing to write their own tied-scalar classes, the methods are summarized below. The perltie section not only documents
these, but has sample code as well:
TIESCALAR classname, LIST
The method invoked by the command "tie $scalar, classname". Associates a new scalar instance with the specified class. "LIST" would
represent additional arguments (along the lines of AnyDBM_File and compatriots) needed to complete the association.
FETCH this
Retrieve the value of the tied scalar referenced by this.
STORE this, value
Store data value in the tied scalar referenced by this.
DESTROY this
Free the storage associated with the tied scalar referenced by this. This is rarely needed, as Perl manages its memory quite well. But
the option exists, should a class wish to perform specific actions upon the destruction of an instance.
Tie::Scalar vs Tie::StdScalar
"Tie::Scalar" provides all the necessary methods, but one should realize they do not do anything useful. Calling "Tie::Scalar::FETCH" or
"Tie::Scalar::STORE" results in a (trappable) croak. And if you inherit from "Tie::Scalar", you must provide either a "new" or a
"TIESCALAR" method.
If you are looking for a class that does everything for you you don't define yourself, use the "Tie::StdScalar" class, not the
"Tie::Scalar" one.
MORE INFORMATION
The perltie section uses a good example of tying scalars by associating process IDs with priority.
perl v5.12.1 2010-04-26 Tie::Scalar(3pm)