Hello All,
Can anyone time me the location where nim stores user defined NIM Network Routes (i.e. The location of the text file)? Here is my "/etc/niminfo" file for reference:
#------------------ Network Install Manager ---------------
# warning - this file contains NIM configuration...
Hello,
The command below
nimadm –l 5304lpp_res –c seahawk –s 5304spot_res –j
rootvg –d <disk removed in step 10 - e.g. hdisk1) -Y
Tells the nim server to use lpp source 5304lpp_res (Think Installation CDS!), install to server seahawk, spot 5304spot_res (Defines a type of NIM resouce...
Hello,
If you have access to a NIM Server and the rootvg of the client server is on 2 hard disks, I would use NIM Migration Installation. It works really well! Here are some rough instructions.
1. Backup Data and application files
2. Backup /etc/sendmail.cf file
3. Backup /etc/inetd.conf...
Hello,
Just over 6 months ago we had a few pseries servers with Oracle 9 and 10 rebooting themself's and asked IBM( via Aix Software support) to looking into. They recommanded the following settings, which seemed to do the trick
lru_file_repage = 0
strict_maxperm = 0
strict_maxclient = 1...
Hello All,
I am looking into using NIM to create a standard opearting Environment for are Aix Servers.
Are Company has two nim servers on different subnets and my plan is to setup one server as the master and other server as an Alternate Master. The master server will control
Spots...
Hello,
Can someone advise me how to pattern match like the following bit of perl code in BASH
$message="There has been an error detected";
$pattern="error";
if ($message =~ m/$pattern/i) {
print "Found error\n";
} elsif {
# Do nothing
}
Brian
Try -
rpm -ql expect-5.34-8 |grep `passmass` on one of you Aix servers. It should be located in `/opt/freeware/bin/`. Then vi this file.
No need to c code now.
Brian
Khalid,
To compile a program use
gcc -o <Program Name> <Source file(s)>
i.e. gcc -o test test.c
Before going down the `c` route, please consider the following future problems.
1. Loosing source code, as once this has a occurred it very difficult to change the functionality of the program...
Also, use
Use `chksum` to check the checksum of file. Then use the checksum to check against a `good` copy file which I assmuing you have backed up or on a another system.
Brian
Hello,
What I would do is setup a script as UNIX Daemon that loops for ever and searchs for the timestamp pattern. Something like this psudeocode:
Open alert file
Goto EOF mark of alert file
Reset EOF marker
while (1) {
Read Alert File
if NOT (End of Alert file)
if line ==...
Hello chomca,
First, What type of firmware, system , Fibre, Disk, LTO Tape Drive, etc?
Normally if use the IBM Micocode Discover Service, (google it!) there will be link to required firmware and a README file with the instructions!
Brian
Thanks Stevexff,
I discovered the IP:Compress::Gzip function last night. I have test this morning and seems to done the trick.
Thanks for the help
Brian
The code is as follows:
sub gzip_file {
my $file = $_[0];
my $gzfile = $file.".gz";
my $buf;
open (FILE, $file);
binmode FILE;
my $gz = gzopen($gzfile, "wb");
if (! $gz) {
print "Unable to write $gzfile $!\n"...
Yes, the file command is used on Aix and linux. The reason I ask on perl form is to find out how to write the correct file signture to a perl produced gzip file.
Brian
Silly me,
How do I get the compress:zlib produced files to return
/oraachieve/dag_t # file dag_t_1_1099_615050359.arc.gz: gzip (.gz) compressed data
instead of
/dag_t # file dag_t_1_1099_615050359.arc.gz
dag_t_1_1099_615050359.arc.gz: data or International Language text
from the file...
I using the compress::zlib library to gzip files in perl, which I have working. However, if use the `file` command on a perl procduced gzip file I get
/dag_t # file dag_t_1_1099_615050359.arc.gz
dag_t_1_1099_615050359.arc.gz: data or International Language text
istead of (using gzip command)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.