12-12-2013
POST REMOVED
Reason: Relative to Solaris 10 only.
Last edited by hicksd8; 12-13-2013 at 06:18 AM..
10 More Discussions You Might Find Interesting
1. Solaris
I am seeking help from the gurus in this forum and hope that I can find answers soon. Anyone who provide the answers will be greatly appreciated.
I have a sparc box with Solaris 10 on it. We install Solaris with zone structure. One global zone and two other zone. I installed Oracle DB on global... (6 Replies)
Discussion started by: duke0001
6 Replies
2. Solaris
Hi Everyone,
I have installed open solaris 10 on one of the x86 machines available but inspite of configuring the IP i am unable to access the machine through the network.
Can anyone please help me wih the settings required to access the machine across the network.Its really Urg..Any help is... (13 Replies)
Discussion started by: sankasu
13 Replies
3. Solaris
Hi
i have created a solaris zone but have not yet connected any network cables for this new zone,
can i set the zone up without running the command 'add net' and not adding an ip or physical interface?
i tried to add dummy internet settings and get this
zonecfg:coddr> add net... (4 Replies)
Discussion started by: newbiesolaris10
4 Replies
4. Solaris
I am trying to use a serial communications device that is connected to /dev/ttyb on a netra 240 server. This is a solaris zone configuration using solaris 10 0910. I am able to access /dev/ttyb from the global zone but not throught he non-global zone. I have enabled all of the tty devices in my... (0 Replies)
Discussion started by: disagreeable
0 Replies
5. Solaris
I am trying to create a branded 10 zone on a Solaris 11.1 control domain. I am using a flar image (cpio) from an existing LDOM. Here are the steps taken after flarcreate.
#zonecfg -z <device>
>create -b
>set brand=solaris10
>set zonepath=/zonez/<device>
>set ip-type=exclusive
>add net... (1 Reply)
Discussion started by: aeroforce
1 Replies
6. UNIX for Advanced & Expert Users
Dear all,
recently, I migrated a solaris zone from one host to another. The zone was inside of a zpool. The zpool cotains two volumes.
I did the following:
host1:
$ zlogin zone1 shutdown -y -g0 -i0 #Zone status changes from running to installed
$ zpool export zone1
host2:
$ zpool... (2 Replies)
Discussion started by: custos
2 Replies
7. Solaris
Have 2 nics on physical system
net0 phys 1500 up --
net1 phys 1500 up --
1. I want to create a link aggregation with LACP enabled with above 2 nics
2. Create port-group(Like we create on ESXi) with VLAN-ID 2141
3. And assign this... (0 Replies)
Discussion started by: Shirishlnx
0 Replies
8. Solaris
I am planning to do solaris 11 global zone patching having solaris 10 branded zone. I have a doubts on step 8 specially
Can someone clear my step 8 doubts or if anything wrong between step 1 to step 9 please correct that also as I have pretty good idea about Step 10 mean patching in solaris 10... (2 Replies)
Discussion started by: amity
2 Replies
9. Solaris
Hi,
I have a Solaris 10 zone which I need to configure on a new network. I have configured the new IP on the zone itself and I can ping the interface from a node on the same network, but not from another network. Basically I need to know how to route the traffic from the zone to it's... (3 Replies)
Discussion started by: sparcman
3 Replies
10. Solaris
Hi, hoping someone can help, its been a while since I used Solaris.
After creating a NGZ (non global zone), the NGZ can access the GZ (Global Zone) and the GZ can access the NGZ (using ssh, zlogin)
However, the NGZ cannot access any other netwqork devices, it can't even see the default router
... (2 Replies)
Discussion started by: GazinLincoln
2 Replies
LEARN ABOUT LINUX
mnesia_frag_hash
mnesia_frag_hash(3erl) Erlang Module Definition mnesia_frag_hash(3erl)
NAME
mnesia_frag_hash - Defines mnesia_frag_hash callback behaviour
DESCRIPTION
The module mnesia_frag_hash defines a callback behaviour for user defined hash functions of fragmented tables.
Which module that is selected to implement the mnesia_frag_hash behaviour for a particular fragmented table is specified together with the
other frag_properties . The hash_module defines the module name. The hash_state defines the initial hash state.
It implements dynamic hashing which is a kind of hashing that grows nicely when new fragments are added. It is well suited for scalable
hash tables
EXPORTS
init_state(Tab, State) -> NewState | abort(Reason)
Types Tab = atom()
State = term()
NewState = term()
Reason = term()
This function is invoked when a fragmented table is created with mnesia:create_table/2 or when a normal (un-fragmented) table is
converted to be a fragmented table with mnesia:change_table_frag/2 .
Note that the add_frag/2 function will be invoked one time each for the rest of the fragments (all but number 1) as a part of the
table creation procedure.
State is the initial value of the hash_state frag_property . The NewState will be stored as hash_state among the other frag_proper-
ties .
add_frag(State) -> {NewState, IterFrags, AdditionalLockFrags} | abort(Reason)
Types State = term()
NewState = term()
IterFrags = [integer()]
AdditionalLockFrags = [integer()]
Reason = term()
In order to scale well, it is a good idea ensure that the records are evenly distributed over all fragments including the new one.
The NewState will be stored as hash_state among the other frag_properties .
As a part of the add_frag procedure, Mnesia will iterate over all fragments corresponding to the IterFrags numbers and invoke
key_to_frag_number(NewState,RecordKey) for each record. If the new fragment differs from the old fragment, the record will be moved
to the new fragment.
As the add_frag procedure is a part of a schema transaction Mnesia will acquire a write locks on the affected tables. That is both
the fragments corresponding to IterFrags and those corresponding to AdditionalLockFrags .
del_frag(State) -> {NewState, IterFrags, AdditionalLockFrags} | abort(Reason)
Types State = term()
NewState = term()
IterFrags = [integer()]
AdditionalLockFrags = [integer()]
Reason = term()
The NewState will be stored as hash_state among the other frag_properties .
As a part of the del_frag procedure, Mnesia will iterate over all fragments corresponding to the IterFrags numbers and invoke
key_to_frag_number(NewState,RecordKey) for each record. If the new fragment differs from the old fragment, the record will be moved
to the new fragment.
Note that all records in the last fragment must be moved to another fragment as the entire fragment will be deleted.
As the del_frag procedure is a part of a schema transaction Mnesia will acquire a write locks on the affected tables. That is both
the fragments corresponding to IterFrags and those corresponding to AdditionalLockFrags .
key_to_frag_number(State, Key) -> FragNum | abort(Reason)
Types FragNum = integer()()
Reason = term()
This function is invoked whenever Mnesia needs to determine which fragment a certain record belongs to. It is typically invoked at
read, write and delete.
match_spec_to_frag_numbers(State, MatchSpec) -> FragNums | abort(Reason)
Types MatcSpec = ets_select_match_spec()
FragNums = [FragNum]
FragNum = integer()
Reason = term()
This function is invoked whenever Mnesia needs to determine which fragments that needs to be searched for a MatchSpec. It is typi-
cally invoked at select and match_object.
SEE ALSO
mnesia(3erl)
Ericsson AB mnesia 4.4.17 mnesia_frag_hash(3erl)