Sponsored Content
Full Discussion: Creating metadevices
Operating Systems Solaris Creating metadevices Post 303013843 by fretagi on Thursday 1st of March 2018 03:46:57 AM
Old 03-01-2018
Creating metadevices

Hi

I am new to SVM, but I would like to configure it in one of my servers. The setup is as follows: I have one server running solaris 10 , and is connected to a NetApp via iSCSI protocol. This is how I intend to do it:

Ask the NetApp admin, to provide me with 3 LUNs of 100G each, them use the format comand.
This is where I am stuck.
After creating disk devices such us c0t1d0s6 , c0t2d0s6 and c0t3d0s6, I have to create state database using metadb followed by cereating a metadevice using metainit d0 comand. Is this the right procedure?
 

9 More Discussions You Might Find Interesting

1. Programming

creating so's

hi everyone i have a doubt about ".so" files. what is the need of ".so" files. why we use ".so" files. where we can use ".so" files. how can i create ".so" files. can u tell me a good example please thank you (6 Replies)
Discussion started by: ramesh.jella
6 Replies

2. Shell Programming and Scripting

help needed with creating challenging bash script with creating directories

Hi, Can someone help me with creating a bash shell script. I need to create a script that gets a positive number n as an argument. The script must create n directories in the current directory with names like map_1, map_2 etcetera. Each directory must be contained within its predecessor. So... (7 Replies)
Discussion started by: I-1
7 Replies

3. Solaris

Metadevices in mirroring ?

Hi Guys. I have the follow disk mappig.... My doubt is that the filesystem root is in mirroring. I can see this in the configuration but , I dont know exactly if this in mirroring mean disk in RAID. In short: Watching the configuration...Can I said if the filesystem / is in Raid? ... (3 Replies)
Discussion started by: aggadtech08
3 Replies

4. Solaris

Problem with live upgrade creation: Telling me metadevices do not exist

Hi I am having a problem creating my live upgrade environment. Here is the error I get: root@server:/# lucreate -c SOL10_18May -n SOL10_19May -z /lu_excludelist -m /:dev/md/dsk/d0:ufs -m /var:/dev/md/dsk/d4:ufs -m /export/home:/dev/md/dsk/d6:ufs -m -:/dev/md/dsk/d3:swap -C... (0 Replies)
Discussion started by: notreallyhere
0 Replies

5. Solaris

metadevices: how to test metadb (how to corrupt replicas/understanding replicas)

Hi all, I recently started exploring Solaris 10. I am testing metadevices now. I have been reading about the state databases here: 6.State Database (Overview) (Solaris Volume Manager Administration Guide) - Sun Microsystems So I created 3 metadbs on 2 slices (6 in total; c1t1d0s3... (3 Replies)
Discussion started by: deadeyes
3 Replies

6. Solaris

Metadevices deleted

Hi Guys, We have an issue, all metadb's on system was deleted and the system was rebooted. the system is currented mounted in single-user mode . its a x86 server. the volumes under SVM is as follows. / /var and /usr please suggest Please use code tags <- click the... (1 Reply)
Discussion started by: karthick.sh
1 Replies

7. Solaris

SVM - Metadevices are offline after changing hostname solaris x86

Hi , We are facing an issue on one of our solaris x86 server, After changing the hostname and a orderly reboot , all metadevices shows offline. please let us know the steps to restore back all metadevices to working state with this new hostname (3 Replies)
Discussion started by: karthick.sh
3 Replies

8. Homework & Coursework Questions

Creating a .profile, displaying system variables, and creating an alias

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Here is what I am supposed to do, word for word from my assignment page: 1. Create/modify and print a... (2 Replies)
Discussion started by: Jagst3r21
2 Replies

9. SCO

Creating a VM

Also, in my tinkering around I was able to get SCO installed on a VM, using VM Workstation version 12.5 in a Windows 7 Pro-64 computer. I chose the VM Workstation 8.x compatibility model for my VM, an IDE hard drive at 0:0 and an IDE CD Rom at 1:0 using the physical drive of the computer. Using the... (3 Replies)
Discussion started by: jgt
3 Replies
NetApp::Aggregate(3pm)					User Contributed Perl Documentation				    NetApp::Aggregate(3pm)

NAME
NetApp::Aggregate -- OO class for creating and managing NetApp filer aggregates SYNOPSIS
use NetApp::Filer; use NetApp::Aggregate; my $filer = NetApp::Filer->new({ .... }); my @aggregate_names = $filer->get_aggregate_names; my @aggregates = $filer->get_aggregates; my $aggregate = $filer->get_aggregate( 'aggr01' ); DESCRIPTION
This class encapsulates a single NetApp filer aggregate, and provides methods for querying information about the aggregate and it's sub- objects (eg. volumes), as well as methods for managing the aggregate itself. INSTANCE METHODS
General Instance Methods get_filer Returns the NetApp::Filer object representing the filer on which the aggregate exists. get_name Returns the name of the aggregate as a string. get_states, get_statuses, get_options Each of these methods returns a list of strings, each of which represents a single state, status, or option for the aggregate. NOTE: All you English grammar pluralization rules fanatics can give up trying to convince the author to call that one method get_stati. get_state( $state ), get_status( $status ), get_option( $option ) Each of these methods returns the value for the specified state, status or option. If that particular key wasn't present, then this method will return undef. This makes it easy to tell the difference between a key that doesn't exist, and one that has a false value. get_plex Returns the NetApp::Aggregate::Plex object representing the plex on which the aggregate lives. Volume Specific Methods get_volume_names Returns a list of the volume names which are contained within this aggregate. get_volumes Returns a list of NetApp::Volume objects, each of which represents one of the volumes in the aggregate. get_volume( $name ) Returns a single NetApp::Volume object representing the specified volume. If that volume doesn't exist on the aggregate, then a fatal exception is raised. create_volume( %args ) This method creates a flexible volume in the aggregate, and returns the NetApp::Volume object representing the new volume. The arguments are as follows. All values are simple strings, unless otherwise noted. $aggregate->create_volume( # Required arguments name => $name, size => $size, # Optional arguments space => 'none' | 'file' | 'volume', language => $language, source_filer => $source_filer, source_volume => $source_volume, ); Both the source_filer and source_volume arguments must be given when creating a flexcache volume. The space and language arguments may not be specified with the source_filer/source_volume arguments. destroy_volume( %args ) Destroys the specified volume. Note that since this API is not designed to be used interactively, the -f (force) argument is always used. Be sure you really want to destroy the volume, programatically. $aggregate->destroy_volume( # Required argument name => $name, ); The $name must be a string, and it must be one of the volumes in the $aggregate. Qtree Specific Methods get_qtree_names Returns a list of strings, each of which is the name of a qtree on the aggregate. get_qtrees Returns a list of NetApp::Qtree objects, each of which represents a single qtree on the aggregate. get_qtree( $name ) Returns a single NetApp::Qtree object for the specified qtree name. The name must in the form of a pathname, for example: /vol/volume_name/qtree_name The qtree_name is optional if querying the object for a volume's qtree. This method simply returns nothing if the specified qtree doesn't exist on the aggregate. Snapshot Specific Methods get_snapshots Returns a list of NetApp::Snapshot objects for each of the snapshots of the aggregate. get_snapshot( $name ) Returns a single NetApp::Snapshot object matching the specified name, if it exists for the aggregate. create_snapshot( $name ) Creates a snapshot of the aggregate with the specified name. delete_snapshot( $name ) Deletes a snapshot of the aggregate with the specified name. get_snapshot_deltas Returns a list of NetApp::Snapshot::Delta objects for each snapshot delta for the aggregate. get_snapshot_reserved Returns a string representing the amount of reserved space, as a percentage. This string does NOT include the % sign. set_snapshot_reserved( $percentage ) Sets the snapshot reserved space to the specified percentage, which should also NOT include the % sign. get_snapshot_schedule Returns a NetApp::Snapshot::Schedule object representing the snapshot schedule for the aggregate. set_snapshot_schedule( %args ) Sets the snapshot schedule for the aggregate based on the arguments passed. The argument syntax is: $aggregate->set_snapshot_schedule( weekly => $weekly, daily => $daily, hourly => $hourly, hourlist => [ $hour1, $hour2, $hour3, .... ], ); TO BE IMPLEMENTED
NOTE: Currently, all of the following methods have yet to be implemented, but will be soon. This documentation serves as a guideline for how to implement the perl API for each associates CLI function. NetApp::Aggregate->create( ... ) my $aggregate = NetApp::Aggregate->create( # Required arguments filer => $filer, # NetApp::Filer object name => $aggregate_name, # Required but mutually exclusive arguments # Either 'disks' OR 'diskcount and/or disksize' disks => [ [ $disk1, $disk2, .... ], [ $diskn, $diskn+1, .... ], ], diskcount => $diskcount, disksize => $disksize, # Optional arguments raidtype => 'raid0' | 'raid4' | 'raid-dp', raidsize => $raidsize, disktype => 'ATA' | 'FCAL' | 'LUN' | 'SAS' | 'SATA' | 'SCSI', rpm => $rpm, mirrored => $boolean, ); $aggregate->add( ... ) $aggregate->add( # Required arguments name => $aggregate_name, # Required but mutually exclusive arguments # Either 'disks' OR 'diskcount and/or disksize' disks => [ [ $disk1, $disk2, .... ], [ $diskn, $diskn+1, .... ], ], diskcount => $diskcount, disksize => $disksize, # Optional arguments raidgroup => $raidgroup, force => 1, ); $aggregate->destroy() NOTE: This always uses the -force option, since this API is not interactive. $aggregate->offline() $aggregate->offline( # Optional arguments cifsdelaytime => $cifsdelaytime, ); $aggregate->online() NOTE: It is unclear whether or not we should always imply -f (force => 1), or whether we should treat the prompted scenario as an error, and raise an exception. Since forcing an aggregate online can result in data loss when -f is used, perhaps we should force that state to be cleaned up first. $aggregate->rename( $newname ) $aggregate->restrict( ... ) $aggregate->restrict( # Optional arguments cifsdelaytime => $cifsdelaytime, ); perl v5.14.2 2008-11-26 NetApp::Aggregate(3pm)
All times are GMT -4. The time now is 03:32 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy