Unable to create a SPOT


 
Thread Tools Search this Thread
Operating Systems AIX Unable to create a SPOT
# 8  
Old 12-04-2014
Quote:
Originally Posted by trivium012
So I'm guessing I really do have an NFS problem, but I have no idea how to troubleshoot this problem...
Again, you shouldn't (and need not) export anything by hand when you use NIM. Your exports file shows that a lot of directories are exported already. Some of them are probably exported by allocating NIM resources to machines, but some may be exported by hand.

If you use the NIM server alone or get some downtime for it: deallocate all resources at the NIM-server, then remove everything "/nim/..." (which i presume to be the root for your NIM resources) from the exports file. Always deallocate with the "force" option (otherwise that fails most of the times).

You might want to use something like:

Code:
lsnim -t standalone | while read system junk ; do
     nim -o reset -a force=yes $system
     nim -Fo deallocate -a subclass=all $system
done

Only then allocate resources again. These (and ONLY these) should appear in the exports file.

Next thing is to check the client you test with if the NIM connection is working. Quite often this is the problem. If you use "nimsh" check if the nimsh service is running on the client, otherwise you need a running rsh:

Code:
root@client # lssrc -g nimclient
 nimsh            nimclient        5505154      active

Now test this by placing a simple script (just put a "date" command into it, is enough) in "/nimres/scripts" (or somewhere, this is how i call the directory), add a nim resource of the type "script" and let it point to the script. Then test the client by

Code:
nim -o cust -a script=<scriptname> <client>

I hope this helps.

bakunin
# 9  
Old 12-08-2014
Hi Bakunin!

Thanks for the reply! But my problem happens before I can allocate ressources. Also, in the LPAR setup, before installing the OS with BOOTP, I set an interface to communicate with the NIM and it pings. And finally, I was able to install the OS with an already made mksysb.

My problem is I'm unable to create an lpp_source, even from the base AIX DVD...

(See prior post for info... my format gets all screwed up when I copy paste it again...)
# 10  
Old 12-08-2014
Quote:
Originally Posted by trivium012
Thanks for the reply! But my problem happens before I can allocate ressources.
This is why i have shown you how to reset NIM resources. They are probably "partly" allocated already. At least the exports file you have shown suggests this.

Quote:
Originally Posted by trivium012
Also, in the LPAR setup, before installing the OS with BOOTP, I set an interface to communicate with the NIM and it pings.
Actually this is not what you need. First you need to define a "NIM network" where the (prospective) client can reside in (if this is not already there). When creating the network NIM tests if the router there can act as a "bootp relay agent" (see RFC 1533 and RFC 1534). The bootp protocol relies on an initial broadcast issued without any source IP address at all (from the client to be configured) to be transmitted by the router (or whatever functions as a relay agent).


Quote:
Originally Posted by trivium012
My problem is I'm unable to create an lpp_source, even from the base AIX DVD...
Sigh...

Copy all the lpp-files from "/cdrom-mount/installp/ppc" to a directory.

Next, rename the packages to their true name:

Code:
bffcreate -c -d <source_device/path>

They will now have one of two names:

Code:
some.name.V.R.M.F.I
some.name.V.R.M.F.U

V, R, M and F are the version, release, ... numbers, like "1.7.15.30", "I" is for "installable" (a base level package, installable on its own), "U" is for "update" (installable only if the respective "I"-package is already installed).

Then create a table of contents (the file ".toc"):

Code:
 cd /path/to/prospective/lpp
inutoc .

Finally create the LPP-source with the command i showed you in Post #6 already. Proceed from there.

Quote:
Originally Posted by trivium012
(See prior post for info... my format gets all screwed up when I copy paste it again...)
This is because your CODE snippets are full of all kind of crazy markup with "FONT", "SIZE", "COLOR" and whatnot-tags. I tried to remove them, but had to give up for the sheer amount. You might want to edit your posts yourself and just remove them. Leave only the CODE-tags in place and remove everything else.

I hope this helps.

bakunin
This User Gave Thanks to bakunin For This Post:
# 11  
Old 12-15-2014
Hi Bakunin!

Thanks for the replies!!! Unfortunately, I haven't had time to try what's written above (work has been getting crazy) I'll have to try next year probably!

I'll keep you posted!

Thank you very much for your time! Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Unable to create a ftp user only

Hi all I am facing difficulties when using the useraddcommand. when running useradd -u 60006 -g 100 -d /opt/xxx/yyy/z -m -s /bin/false ftpuser It does create the user, but with a wrong home directory. It creates its home directory at /home/ftpuser Please can you help? (2 Replies)
Discussion started by: fretagi
2 Replies

2. Forum Support Area for Unregistered Users & Account Problems

Unable to create new thread

Hi. I registered, but when trying to post, I get ... "Sorry, you do not have enough Bits to post a new thread" Google & Forum search showed some hits, but no solution. Please advide. Thanks! (1 Reply)
Discussion started by: gehe
1 Replies

3. AIX

Unable to Create spot from mksysb

Hello All, Kindly need help in my problem i.e. I get this error when i create spot from mksysb. #0042-001 nim: processing error encountered on "master": 0042-001 m_mkspot: processing error encountered on "master": 0042-175 c_mkspot: An unexpected result was returned by the... (2 Replies)
Discussion started by: emerann
2 Replies

4. Red Hat

unable to open / create any file in vi

Hi, I am unable to create/open any file in vi editor for normal user, though using root I am able to create/open any file, using redhat 5.5, example vi test it showing nothing after entering command (9 Replies)
Discussion started by: manoj.solaris
9 Replies

5. Solaris

Unable to create folder as a user

Hi All, I am trying to create a folder in /export/home/user1 directory as a user1 but I am getting the error message as -bash-3.00$ mkdir abc mkdir: Failed to make directory "abc"; Permission denied Also I tried creating the folder but it fails too -bash-3.00$ touch abc touch: cannot... (2 Replies)
Discussion started by: Manjunath K V
2 Replies

6. HP-UX

Need help. Unable to create threads after a certain number

Hi, I have a process which creates pthreads to generate some reports. After creating the reports these threads return null. But after 1024 threads, the process is not able to create any threads further.,and at max 5 threads are existing simultaneously and are returning the control back after... (2 Replies)
Discussion started by: Krsh
2 Replies

7. UNIX for Dummies Questions & Answers

Unable to create a bootable tape

Good morning, I have no unix training. My daily backup failed with the following error. ' Cannot create /tmp/tape.bootimage because it already exists. I am using smit to run a rootvg and SAPvg backup. What should I do? (1 Reply)
Discussion started by: ubyankees
1 Replies

8. UNIX for Dummies Questions & Answers

Unable to create alias

I am using Solaris 9 machine. I am unable to create any aliases. I gave the following command: alias ls='ls -ltr' It did nt give any errors. But next time, I use ls, it is working simply as ls but not like ls -ltr. I am not having admin permissions. Is it the reason. (3 Replies)
Discussion started by: mumashankar
3 Replies

9. Solaris

unable to create flar

Hello friend, Now i'm doing JDS3.1 in v440 servers.while checking the lustatus command getiing out like this lustatus Boot Environment Is Active Active Can Copy Name Complete Now On Reboot Delete Status -------------------------- --------... (0 Replies)
Discussion started by: rjay.com
0 Replies

10. AIX

Unable to create a group

Hi, I'm trying to create a new group on an AIX 5.2.0.0. server but am getting the following error: root:/root $ mkgroup debt 3004-698 Error committing changes to "debt" : Value is invalid. I've change the group name to no affect. Does anyone have any ideas what could be causing this? ... (0 Replies)
Discussion started by: m223464
0 Replies
Login or Register to Ask a Question