How change attributes listed in lsnim?


 
Thread Tools Search this Thread
Operating Systems AIX How change attributes listed in lsnim?
# 1  
Old 08-02-2013
How change attributes listed in lsnim?

How do I change the attributes in what lsnim lists using nim (without smit) to either clear them, remove them or modify them?

Code:
nim -o change -a attribute_name=some_value host01

doesn't always work. Are there variations to change different attribute types as well?

Cheers,
DH

Last edited by Scott; 08-03-2013 at 05:14 AM.. Reason: Code tags
# 2  
Old 08-02-2013
To answer your question "yes". Aside from the man page, you can always go into smitty nim panel and hit the command button to see the actual command being executed. You can also consult the smit.log file as well.
# 3  
Old 08-02-2013
Did go through man and smitty (too many options, would be there forever. I know about the F6 option though thank you.) earlier but commands just errored out. Did manage to figure it out through some trial and error.

Code:
nim -o change -a attribute_name=value host01

Cheers,
DH

Last edited by Scott; 08-03-2013 at 05:14 AM.. Reason: Code tags
# 4  
Old 08-04-2013
Hmm. For the change of the allocation status of NIM objects there is the "-F" (force) option, which, in my experience, is recommended to be used always because deallocation sometimes fails.

What exactly the difference is between using the -F option and not doing so eludes me, though, because both are just operations inside the NIM database, which i believe to be some sort of ODM. How exactly it is organized i never bothered to find out, though. But maybe someone else can shed some light on that.

I hope this helps.

bakunin
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

File attributes ????

I'm trying to sort out the charing of a problem folder, in the 'ls -l' list is shows as: d???????????? ? ? ? ? ? Pi-Share PiShare is the name of the directory, all the ??s make no sense to me at all, and no user (there are only two, pi and root) can make any changes to it.... (4 Replies)
Discussion started by: MuntyScrunt
4 Replies

2. UNIX for Advanced & Expert Users

Help with can't get execution attributes

Hi Gurus, I am trying to create a FS using SVM but system is throwing the following error. newfs /dev/md/rdsk/d1002 newfs: construct a new file system /dev/md/rdsk/d1002: (y/n)? y /usr/sbin/clri: can't get execution attributes (1 Reply)
Discussion started by: rama krishna
1 Replies

3. AIX

Single command to change the attributes of all luns presented to an AIX host

Hi, I would like to know if there is a command similar to scsimgr in HP-UX that can help me change the algorithm and reserve_policy attributes of all luns presented to an AIX host. Otherwise I would have to use, chdev -l hdiskX -a algorithm=round_robin reserve_policy=no_reserve in a... (1 Reply)
Discussion started by: kanna_geekworkz
1 Replies

4. Shell Programming and Scripting

Capture all the contents between two attributes

i have a file with contents test123 qwwww sdsad asdasd asdad adadsw sasfar sfaf a afasf OPERATION END i need to grep all the contents from test123 and OPERATION END.Can somebody help me how to do it ? (7 Replies)
Discussion started by: giri_luck
7 Replies

5. UNIX for Dummies Questions & Answers

Problems with any ls attributes

I got a server (test server) that hangs anytime we run a ls attribute like ls -ltr or ls -al. We can run ls | more command with no problem. But getting back to the ls attribute problem, it just sits and hangs, I did a ps -ef | grep ls, and a user had 15 sessions of ls -al running, I killed those,... (3 Replies)
Discussion started by: Sarccastik Dude
3 Replies

6. Shell Programming and Scripting

file attributes

How to retrieve file attributes in a sh/bash script (modification time, access time, size, etc.)? (1 Reply)
Discussion started by: Hitori
1 Replies

7. UNIX for Dummies Questions & Answers

how to find system attributes

hi, i am very- very new to unix i have os - sun solaris 5.9 and i want to learn more about system attributes for example, the make - model of machine , operating system & patch versions can somebody tell me a usefull command to learn these? any help would be apreciated, regards to all,... (3 Replies)
Discussion started by: merope
3 Replies

8. HP-UX

CVSWeb - Directories listed but files not listed

I am using CVSWeb on HPUnix. When i access it, all directories are listed but files are not listed. I am getting the error "NOTE: There are 51 files, but none matches the current tag. " in tomcat sevrer log i am getting the message "rlog warning: Missing revision or branch number after -r"... (0 Replies)
Discussion started by: ganesh
0 Replies

9. Shell Programming and Scripting

file attributes

how do we set file attributes at shell prompt (2 Replies)
Discussion started by: hytechpro
2 Replies

10. Shell Programming and Scripting

rcp and file attributes

Good day Does anyone have an idea on how I can rcp a file together with its attributes. owner,group, permissions ? Regards J (2 Replies)
Discussion started by: jhansrod
2 Replies
Login or Register to Ask a Question