Sponsored Content
Operating Systems Solaris dependency require_all/none svc:/network/physical (maintenance) Post 302602032 by getrue on Saturday 25th of February 2012 03:38:28 PM
Old 02-25-2012
Output is below.
Code:
bash-3.00# svccfg -s network/physical listprop
loopback                           dependency
loopback/entities                  fmri     svc:/network/loopback
loopback/grouping                  astring  require_all
loopback/restart_on                astring  none
loopback/type                      astring  service
pfil_network                       dependency
pfil_network/entities              fmri     svc:/network/pfil
pfil_network/external              boolean  true
pfil_network/grouping              astring  optional_all
pfil_network/restart_on            astring  none
pfil_network/type                  astring  service
tnctl_network-physical             dependency
tnctl_network-physical/entities    fmri     svc:/network/tnctl
tnctl_network-physical/external    boolean  true
tnctl_network-physical/grouping    astring  optional_all
tnctl_network-physical/restart_on  astring  none
tnctl_network-physical/type        astring  service
general                            framework
general/entity_stability           astring  Unstable
tm_common_name                     template
tm_common_name/C                   ustring  "physical network interfaces"
tm_man_ifconfig                    template
tm_man_ifconfig/manpath            astring  /usr/share/man
tm_man_ifconfig/section            astring  1M
tm_man_ifconfig/title              astring  ifconfig
bash-3.00#

 

9 More Discussions You Might Find Interesting

1. Cybersecurity

network card physical reset error

Hi all I am facing some problem with network card i am using solaris8 and on sunultra10 .As it is my firewal machine i have got on backup harddisk for any emergency. In one hardidsk while installation only hme0 interface was configured and in the backup hard disk qfe0/hme0 both are... (0 Replies)
Discussion started by: Prafulla
0 Replies

2. UNIX for Dummies Questions & Answers

physical volume and physical disk.

Hello, I need explanations about physical disks and physical volumes. What is the difference between these 2 things? In fact, i am trying to understand what the AIX lspv2command does. Thank you in advance. (2 Replies)
Discussion started by: VeroL
2 Replies

3. Solaris

Testing physical network connection

How do you test the physical network connection of an interface in solaris. I know that if you have an active connection and the cable gets yanked, you can look in the messages file to check for link failure messages. But is there any better way to see if you have good layer 2 connectivity? (1 Reply)
Discussion started by: tjlst15
1 Replies

4. UNIX for Dummies Questions & Answers

Physical volume- no free physical partitions

I was in smit, checking on disc space, etc. and it appears that one of our physical volumes that is part of a large volume group, has no free physical partitions. The server is running AIX 5.1. What would be the advisable step to take in this instance? (9 Replies)
Discussion started by: markper
9 Replies

5. AIX

Maximum Limit of HMC to handle Physical Power Virtualization Physical Machine

Hello All, Can anybody please tell me what is the maximum limit of Physical IBM Power Machine which can be handled by single HMC at a single point of time? Thanks, Jenish (1 Reply)
Discussion started by: jenish_shah
1 Replies

6. Solaris

svc:/system/filesystem/local is always in maintenance status

Hello Friends, I need to change network filesystem status as online but it always seems in maintenance mode, I appreciate your any suggestion to change its state as online. shell>svcadm enable svc:/system/filesystem/local shell>svcs -l svc:/system/filesystem/local fmri ... (4 Replies)
Discussion started by: EAGL€
4 Replies

7. Solaris

svc:/network/physical:default: Method "/lib/svc/method/net-physical" failed with exit status 96. [ n

After a memory upgrade all network interfaces are misconfigued. How do i resolve this issue. Below are some out puts.thanks. ifconfig: plumb: SIOCLIFADDIF: eg000g0:2: no such interface # ifconfig eg1000g0:2 plumb ifconfig: plumb: SIOCLIFADDIF: eg1000g0:2: no such interface # ifconfig... (2 Replies)
Discussion started by: andersonedouard
2 Replies

8. Solaris

Svc:/network/http:apache2 error

Dear All, http:apache2 service on my node is continuously in maintenance mode. I have tried to enable and disable the service but nothing works. root@ops # svcs -a | grep apache2 maintenance 15:46:37 svc:/network/http:apache2 When I reboot the system, I get the following error: ... (1 Reply)
Discussion started by: Junaid Subhani
1 Replies

9. Solaris

/network/smb/server goes into maintenance mode.

All I'm running an OpenSolaris system (Nexenta). When doing a svcs I see that/network/smb/server is in maintenance mode. I have run a clear on the service and restarted. I see the same service show online* for a bit but then, enters maintenance every time. In the service log I... (2 Replies)
Discussion started by: dcpatriot
2 Replies
svcprop(1)							   User Commands							svcprop(1)

NAME
svcprop - retrieve values of service configuration properties SYNOPSIS
svcprop [-fqtv] [-C | -c | -s snapshot] [-p [name/]name]... {FMRI | pattern}... svcprop -w [-fqtv] [-p [name/]name] {FMRI | pattern} DESCRIPTION
The svcprop utility prints values of properties in the service configuration repository. Properties are selected by -p options and the op- erands. Without the -C, -c, or -s options, svcprop accesses effective properties. The effective properties of a service are its directly attached properties. The effective properties of a service instance are the union of properties in the composed view of its running snapshot and the properties in nonpersistent property groups in the composed view of the instance's directly attached properties. See smf(5) for an explana- tion of property composition. If the running snapshot does not exist then the instance's directly attached properties are used instead. Output Format By default, when a single property is selected, the values for each are printed on separate lines. Empty ASCII string values are repre- sented by a pair of double quotes (""). Bourne shell metacharacters (';', '&', '(', ')', '|', '^', '<', '>', newline, space, tab, back- slash, '"', single-quote, '`') in ASCII string values are quoted by backslashes (). When multiple properties are selected, a single line is printed for each. Each line comprises a property designator, a property type, and the values (as described above), separated by spaces. By default, if a single FMRI operand has been supplied, the property designator con- sists of the property group name and the property name joined by a slash (/). If multiple FMRI operands are supplied, the designator is the canonical FMRI for the property. If access controls prohibit reading the value of a property, and no property or property group is specified explicitly by a -p option, the property is displayed as if it had no values. If one or more property or property group names is specified by a -p option, and any prop- erty value cannot be read due to access controls, an error results. Error messages are printed to the standard error stream. OPTIONS
The following options are supported: -C Uses the directly attached properties, without composition. -c For service instances, uses the composed view of their directly attached properties. -f Selects the multi-property output format, with full FMRIs as designators. -p name For each service or service instance specified by the operands, selects all properties in the name property group. For prop- erty groups specified by the operands, selects the name property. -p pg/prop Selects property prop in property group pg for each of the services or service instances specified by the operands. -q Quiet. Produces no output. -s name Uses the composed view of the name snapshot for service instances. -t Selects the multi-property output format. -v Verbose. Prints error messages for nonexistent properties, even if option -q is also used. -w Waits until the specified property group or the property group containing the specified property changes before printing. This option is only valid when a single entity is specified. If more than one operand is specified, or an operand matches more than one instance, an error message is printed and no action is taken. The -C option is implied. OPERANDS
The following operands are supported: FMRI The FMRI of a service, a service instance, a property group, or a property. Instances and services can be abbreviated by specifying the instance name, or the trailing portion of the service name. Proper- ties and property groups must be specified by a full FMRI. For example, given the FMRI: svc:/network/smtp:sendmail The following are valid abbreviations: sendmail :sendmail smtp smtp:sendmail network/smtp The following are invalid abbreviations: mail network network/smt Abbreviated forms of FMRIs are unstable and should not be used in scripts or other permanent tools. If an abbreviation matches multiple instances, svcprop acts on each instance. pattern A glob pattern which is matched against the FMRIs of services and instances in the repository. See fnmatch(5). If a pattern matches multiple services or instances, svcprop acts on each service or instance. EXAMPLES
Example 1 Displaying the Value of a Single Property The following example displays the value of the state property in the restarter property group of instance default of service system/cron. example% svcprop -p restarter/state system/cron:default online Example 2 Retrieving Whether a Service is Enabled Whether a service is enabled is determined by its -general/enabled property. This property takes immediate effect, so the -c option must be used: example% svcprop -c -p general/enabled system/cron:default true Example 3 Displaying All Properties in a Property Group On a default installation of Solaris, the following example displays all properties in the general property group of each instance of the network/ntp service: example% svcprop -p general ntp general/package astring SUNWntpr general/enabled boolean true general/entity_stability astring Unstable general/single_instance boolean true Example 4 Testing the Existance of a Property The following example tests the existence of the general/enabled property for all instances of service identity: example% svcprop -q -p general/enabled identity: example% echo $? 0 Example 5 Waiting for Property Change The following example waits for the sendmail instance to change state. example% svcprop -w -p restarter/state sendmail Example 6 Retrieving the Value of a Boolean Property in a Script The following example retrieves the value of a boolean property in a script: set -- `svcprop -c -t -p general/enabled service` code=$? if [ $code -ne 0 ]; then echo "svcprop failed with exit code $code" return 1 fi if [ $2 != boolean ]; then echo "general/enabled has unexpected type $2" return 2 fi if [ $# -ne 3 ]; then echo "general/enabled has wrong number of values" return 3 fi value=$3 ... Example 7 Using svcprop in a Script example% cat getval #!/bin/sh svcprop -p $1 $2 | ( read value v2 if [ -n "$v2" ]; then echo "Multiple values!"; exit; fi echo $value ) EXIT STATUS
The following exit values are returned: 0 Successful completion. 1 An error occurred. 2 Invalid command line options were specified. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
svcs(1), inetd(1M), svcadm(1M), svccfg(1M), svc.startd(1M), service_bundle(4), attributes(5), fnmatch(5), smf(5), smf_method(5), smf_secu- rity(5) SunOS 5.11 13 Sep 2007 svcprop(1)
All times are GMT -4. The time now is 10:07 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy