Sponsored Content
Operating Systems Solaris aggr not persistent after a reboot Post 302584496 by Captainquark on Friday 23rd of December 2011 11:31:00 AM
Old 12-23-2011
Thanks for the quick reply.
No, that wasn't correct, that should have been "nas1" only. However, the aggr0 is still not up after a reboot.

The error message I mentioned before is:
Quote:
root@nas1:~# ipadm enable-if aggr0
ipadm: persistent operation not supported for enable-if
root@nas1:~#
However, it works with "-t" flawlessly.
Thanks for your support...
Cap'
 

10 More Discussions You Might Find Interesting

1. Solaris

different between soft reboot and hard reboot

Hi Guru's Can any want here could explain to me the different between soft reboot and hard reboot . Best Regards Seelan (3 Replies)
Discussion started by: seelan3
3 Replies

2. UNIX for Advanced & Expert Users

named pipe with persistent buffer

Hey folks, i need communicate between 2 processes in a reliable manner. The information delivery has to be guarenteed. I thought about proc 2 sending a signal to proc 1 when information has being written to disc and wirte() has been verified (sync/flush). The IPC method for the data is named... (4 Replies)
Discussion started by: heck
4 Replies

3. Shell Programming and Scripting

Persistent variable

I found a way to make a numeric variable persistent for a script : #!/bin/bash function Persist() { # 1:Expression like VARIABLE=Value (numeric) local V=${1%=*} eval "$1" sed -i "s/^$V=*/$1/" $(which $(basename $0)) || return 1 }And how to use itAA=12 read -p "Enter a... (2 Replies)
Discussion started by: frans
2 Replies

4. AIX

HACMP Persistent IP blacklisted

Hi, I want to use the service IP incase for any network activity rather than the persistent IP as the Persistent IP is blacklisted in our network. Is there any way to make the service ip as LPARs default IP to be used as the lpars source IP incase it pings anything or acceses any external... (6 Replies)
Discussion started by: aixromeo
6 Replies

5. AIX

Unable to add persistent IP

i am trying to make HACMP but when i add a persistent ip, error shows unable to determine address for 'UPIDGIS1_pers' pls help me out AIX - 5.3 HACMP -5.4 thanks (2 Replies)
Discussion started by: reply.ravi
2 Replies

6. AIX

PowerHA, same subnet for persistent and service ip

I am new in AIX and please forgive my poor english. I know that AIX allow same subnet IPs for different interfaces, which result in multipath routing / route striping. My question is, is there any best practice for the persistent and service IP with same subnet to stay on same interface, or... (5 Replies)
Discussion started by: skeyeung
5 Replies

7. War Stories

Why am I persistent to be WRONG!

:wall::wall::wall::wall: I am sharing some techno-geeky-work related issue, which can best be dissected here only. I am expecting more of a discussion,as serious as when two guys sharing experience over smoke and beer. The thing is, till now i have been only a student, so never cared about how... (10 Replies)
Discussion started by: animesharma
10 Replies

8. Programming

Python Request Persistent

I noticed that when attempting to download videos from the url, I receive a 403 forbidden when I get through to a certain point in my downloads. I can download a third of the videos but will error: Retrieving file 'blah-video.f4v'... Traceback (most recent call last): ... (0 Replies)
Discussion started by: metallica1973
0 Replies

9. AIX

BootIP vs Persistent IP in HACMP

I have done other clusters (HP MC/Service Guard and oracle Clusters, and RHEL Cluster services), and have good idea about hacmp (a little older knowledge). However the term "Boot IP" for some reason is messing with my head. Have not done HACMP since the 4.1.2.X days. Is the Bootip the... (1 Reply)
Discussion started by: mrmurdock
1 Replies

10. Solaris

Create-aggr failed

Hi, I am trying to create aggregation by using dladm, But am getting the following error. dladm create-aggr -P L2 -l net2 sumaggr2 dladm: create operation failed: link busy I have checked in dladm show-link and the state is "down".. dladm show-link | grep ^net2 net2 phys ... (1 Reply)
Discussion started by: Sumanthsv
1 Replies
PMPARSEHOSTATTRSSPEC(3) 				     Library Functions Manual					   PMPARSEHOSTATTRSSPEC(3)

NAME
__pmParseHostAttrsSpec, __pmUnparseHostAttrsSpec, __pmFreeHostAttrsSpec, __pmFreeAttrsSpec - host and attributes specification parser C SYNOPSIS
#include <pcp/pmapi.h> #include <pcp/impl.h> int __pmParseHostAttrsSpec(const char *string, pmHostSpec **hostsp, int *count, __pmHashCtl *attrs, char **errmsg); int __pmUnparseHostAttrsSpec(pmHostSpec *hostsp, int *count, __pmHashCtl *attrs, char *string, size_t size); void __pmFreeHostAttrsSpec(pmHostSpec *hosts, int count, __pmHashCtl *attrs); void __pmFreeAttrsSpec(__pmHashCtl *attrs); cc ... -lpcp DESCRIPTION
__pmParseHostAttrsSpec accepts a string specifying the location of a PCP performance metric collector daemon, and any attributes that should be associated with the connection to that daemon. The syntax allows the optional specification of a protocol (native PCP protocol, encrypted PCP protocol or unix domain socket protocol). If the specified protocol is native PCP protocol, or encrypted PCP protocol, an initial pmcd(1) hostname with optional port numbers and op- tional proxy host, and optional attributes which are to be associated with the connection may be specified. Some examples follow: pcp://nas1.servers.com:44321@firewalls.r.us?compress pcps://nas1.servers.com?user=otto&pass=blotto&compress If the specified protocol is a unix domain socket protocol, the path to the socket in the local file system may be specified along with op- tional attributes which are to be associated with the connection. For example: unix://$PCP_RUN_DIR/pmcd.socket:?compress local://my/local/pmcd.socket:?user=otto&pass=blotto&compress If the optional protocol component is not specified, then the default setting will be used - which is the native PCP binary protocol. How- ever, this can still be overwritten via the environment as described in PCPIntro(1). If the protocol prefix is specified, it must be one of either "pcp://" (clear), "pcps://" (secure, encrypted), "unix://" (authenticated local) or "local://" ("unix://" then "pcp://"). The path specified for the "unix://" and "local://" protocols will always be interpreted as an absolute path name. For example, the follow- ing are all interpreted identically as $PCP_RUN_DIR/pmcd.socket. unix://$PCP_RUN_DIR/pmcd.socket unix:/$PCP_RUN_DIR/pmcd.socket unix:$PCP_RUN_DIR/pmcd.socket Refer to __pmParseHostSpec(3) for further details of the host and proxy host components. If any optional connection attributes are to be specified, these are separated from the hostname component via the '?' character. Each at- tribute is separated by the '&' character, and each can be either a simple attribute flag (such as "compress") or a name=value pair (such as "username=fred"). __pmParseHostAttrsSpec takes a null-terminated host-and-attributes specification string and returns an array of pmHostSpec structures, where the array has count entries, and an attrs hash table containing any attributes (including the optional protocol, if it was speci- fied). Full details of the pmHostSpec structures are provided in __pmParseHostSpec(3). The __pmHashCtl structure that is filled out on return via attributes, represents each individual attribute in the specification string with any associated value. It should be considered an opaque structure and should be zeroed beforehand. The returned hash table control structure can be iterated using one of the supplied iteration mechanisms - __pmHashWalkCB (a callback-based mechanism) or __pmHashWalk (a simple procedural mechanism). These provide access to the individual hash nodes, as __pmHashNode entries, which provide access to decoded attributes and their (optional) values. typedef struct __pmHashNode { __pmHashNode *next; /* next node in hash bucket (internal) */ unsigned int key; /* key identifying particular attribute */ void *data; /* attributes value (optional, string) */ } __pmHashNode; There are a set number of valid attributes, however these may be extended in future releases as new connection parameters become needed. These can be identified via the PCP_ATTR_* macros in the PCP header files. __pmUnparseHostSpec performs the inverse operation, creating a string representation from hosts and attributes structures. The size of the supplied string buffer must be provided by the caller using the size parameter. RETURN VALUE
If the given string is successfully parsed __pmParseHostAttrsSpec returns zero. In this case the dynamic storage allocated by __pmParse- HostAttrsSpec can be released by calling __pmFreeHostAttrsSpec using the addresses returned from __pmParseHostAttrsSpec Alternatively, the hosts and attributes memory can be freed separately, using __pmFreeHostSpec(3) and __pmFreeAttrsSpec. __pmParseHostAttrsSpec returns PM_ERR_GENERIC and a dynamically allocated error message string in errmsg, if the given string does not parse, and the user-supplied errmsg pointer is non-null. Be sure to free(3C) the error message string in this situation. In the case of an error, both hosts and attributes are undefined. In the case of success, errmsg is undefined. On success __pmUnparseHostAttrsSpec returns a positive value indicating the number of characters written into the supplied buffer. Howev- er, if the supplied buffer was too small, a negative status code of -E2BIG will be returned. SEE ALSO
pmcd(1), pmproxy(1), pmchart(1), __pmParseHostSpec(3), PMAPI(3) and pmNewContext(3). Performance Co-Pilot PCP PMPARSEHOSTATTRSSPEC(3)
All times are GMT -4. The time now is 05:15 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy