01-26-2010
Hi, i did read this guide before. If i knew how to do i hadn't ask for help. Can u tell me more detail on my circumstance?
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
Here is what I am trying to do.
We have an old Enterprise 250 which we want to phase out. So plan is to move everything running on the 250 to an unused Sun Fire V280R.
Here is what I decided to do:
1. Fresh Solaris 8 install on Sun 280R (disk0). Configure network and install... (1 Reply)
Discussion started by: mshafi
1 Replies
2. Solaris
Dear All ;
first how are you every body I'm just subscribed in your forum and i hope i found what i searched for along time .
I'm not a Solaris specialist but i read more to build a Network Management Station depends on Solaris as OS and it is working good now .
my problem is how to perform... (16 Replies)
Discussion started by: Basha
16 Replies
3. Solaris
I tried to use zfs .. only for test ..so when I take my test disks into zfs pool their VTOC changed .. and 7th slice does not appear now. How can I restore default VTOC to my disks.
my machine is x86 .. SunFire X4200 .. so this disks do not have slices like sparc machines .. they have... (6 Replies)
Discussion started by: samar
6 Replies
4. Solaris
We currently have T2000 servers attached to Sun 3320 Storage Arrays. We run a database on the 3320 devices with the storage created through ZFS. We use 3 RAIDZ2 pools and then create our partitions from those.
Now onto the question. If our T2000 fails and we swap out machines is there a way... (1 Reply)
Discussion started by: buckhtr77
1 Replies
5. Solaris
I am doing a practice restore using a test UNIX(Solaris) system, and a SCSI Hard Drive whose slice 5 contains the Flash Archive file that I need to restore from.
The test system is offline( no network ) and does not have external devices, such as tape drive. My goal is to somehow restore the... (9 Replies)
Discussion started by: the.gooch
9 Replies
6. Solaris
Hi, I deleted a zfs snapshot because it was as big as the original zfs. After the snapshot was removed, all the data in the original zfs is gone. How this happened? Can I restore the snapshot? Please help. Thanks a lot! (5 Replies)
Discussion started by: aixlover
5 Replies
7. Solaris
I installed Solaris 11 Express on my machine and created a raidz2 filesystem over 5 harddrives.
Thas was a few months ago. Unfortunately, yesterday I made a mistake in free space calculation and tried to copy more data to the fs than how much space there was.
When the fs got full, the... (5 Replies)
Discussion started by: RychnD
5 Replies
8. Solaris
Hi ,
I added a new fs to the global zone and also did the zonecfg to add the FS to the zone but finally I do not see the new "FS" on the local zone.
Even in th e/etc/zones/zone.xml the fs and the correct directory is mentioned.
Any Idea please ? (4 Replies)
Discussion started by: manni2
4 Replies
9. UNIX and Linux Applications
The problematic directory is the following:
/root/.cache/deja-dup
This directory grows until my "/" is full and then the restoring activity fails.
I already tried to create a symbolic link with origin another partition where I have more space. However during the restoring activity ... (4 Replies)
Discussion started by: puertas12
4 Replies
LEARN ABOUT DEBIAN
openguides::test
OpenGuides::Test(3pm) User Contributed Perl Documentation OpenGuides::Test(3pm)
NAME
OpenGuides::Test - Methods to help test OpenGuides applications.
DESCRIPTION
Provides methods to help when writing tests for OpenGuides. Distributed and installed as part of the OpenGuides project, not intended for
independent installation. This documentation is probably only useful to OpenGuides developers.
SYNOPSIS
use OpenGuides;
use OpenGuides::Test;
OpenGuides::Test::refresh_db();
my $config = OpenGuides::Test->make_basic_config;
$config->default_language( "nl" );
my $guide = OpenGuides->new( config => $config );
OpenGuides::Test->write_data(
guide => $guide,
node => "Crabtree Tavern",
os_x => 523465,
os_y => 177490,
categories => "Pubs",
);
METHODS
make_basic_config
my $config = OpenGuides::Test->make_basic_config;
$config->default_language( "nl" );
Makes an OpenGuides::Config object with needed fields pre-filled. You can mess with it as you like then.
write_data
my $config = OpenGuides::Test->make_basic_config;
my $guide = OpenGuides->new( config => $config );
OpenGuides::Test->write_data(
guide => $guide,
node => "Crabtree Tavern",
os_x => 523465,
os_y => 177490,
categories => "Pubs
Pub Food",
);
This method calls the "make_cgi_object" method to make its CGI object; you can supply values for any key mentioned there. You should
supply them exactly as they would come from a CGI form, eg lines in a textarea are separated by "
".
This method will automatically grab the checksum from the database, so even if the node already exists your data will still be written.
If you don't want this behaviour (for example, if you're testing edit conflicts) then pass in a true value to the "omit_checksum"
parameter:
OpenGuides::Test->write_data(
guide => $guide,
node => "Crabtree Tavern",
omit_checksum => 1,
);
If you want to grab the output, pass a true value to "return_output":
my $output = OpenGuides::Test->write_data(
guide => $guide,
node => "Crabtree Tavern",
return_output => 1,
);
Similarly, if you pass a true value to "return_tt_vars", the return value will be the variables which would have been passed to the
template for output:
my %vars = OpenGuides::Test->write_data(
guide => $guide,
node => "Crabtree Tavern",
return_tt_vars => 1,
);
make_cgi_object
my $q = OpenGuides::Test->make_cgi_object;
You can supply values for the following keys: "content", "categories", "locales", "node_image", "node_image_licence",
"node_image_copyright", "node_image_url", "phone", "fax", "website", "hours_text", "address", "postcode", "map_link", "os_x", "os_y",
"osie_x", "osie_y", "latitude", "longitude", "summary", "username", "comment", "edit_type". You should supply them exactly as they
would come from a CGI form, eg lines in a textarea are separated by "
".
refresh_db
Openguides::Test::refresh_db();
Unlink the existing SQLite database t/node.db and plucene indexes. Then create a new SQLite database t/node.db
AUTHOR
The OpenGuides Project (openguides-dev@lists.openguides.org)
COPYRIGHT
Copyright (C) 2004-2009 The OpenGuides Project. All Rights Reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2013-01-11 OpenGuides::Test(3pm)