Here's the program I use: (it's short enough for posting)
PGM
/* goto start */
/* goto tftp */
ENDNFSSVR *ALL
MONMSG CPF0000
DLYJOB 15 /* ALLOW TO STOP */
STRNFSSVR *ALL
DLYJOB 15 /* ALLOW TO START */
start:
CHGAUT OBJ('/ibmi') USER(*PUBLIC) DTAAUT(*RWX) SUBTREE(*ALL)
export:
CHGNFSEXP OPTIONS('-I -O RO') DIR('/ibmi/v7r1/ptfs')
CHGNFSEXP OPTIONS('-I -O RO') DIR('/ibmi/v7r1/licpgm')
CHGNFSEXP OPTIONS('-I -O RO') DIR('/ibmi/v7r1/groups')
CHGNFSEXP OPTIONS('-I -O RO') DIR('/ibmi/v7r2/licpgm')
CHGNFSEXP OPTIONS('-I -O RO') DIR('/ibmi/v7r2/groups')
CHGNFSEXP OPTIONS('-I -O RO') DIR('/ibmi/v7r2/ptfs')
CHGNFSEXP OPTIONS('-I -O RO') DIR('/ibmi/v7r3/licpgm')
CHGNFSEXP OPTIONS('-I -O RO') DIR('/ibmi/v7r3/groups')
CHGNFSEXP OPTIONS('-I -O RO') DIR('/ibmi/v7r3/ptfs')
tftp:
ENDTCPSVR *TFTP
CHGTFTPA AUTOSTART(*YES) ALTSRCDIR('/ibmi/v7r3/licpgm/BOOTP')
CHGAUT OBJ('/ibmi') USER(QTFTP) DTAAUT(*RX) SUBTREE(*ALL)
STRTCPSVR *TFTP
ENDPGM
The last bit sets up the TFTP server for network installation of IBM i .
Often times after verifying the image catalog all you need to do is export
again. In that case I'll remove the comment on the correct goto and
recompile quickly then only do as needed. I suppose I could put in a
parameter and use a case statement but that's too much like work when this
program is so simple.
--
Jim Oberholtzer
Agile Technology Architects
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Rob
Berendt
Sent: Monday, May 07, 2018 1:46 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Subject: RE: Network setup for sharing imagecatalog.
Yeah, having to rebuild a goodly portion of this on a routine basis is quite
common. Actually scripted a bit of it.
Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1 Group Dekko Dept 1600 Mail
to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com
From: "Jim Oberholtzer" <midrangel@xxxxxxxxxxxxxxxxx>
To: "'Midrange Systems Technical Discussion'"
<midrange-l@xxxxxxxxxxxx>
Date: 05/07/2018 02:35 PM
Subject: RE: Network setup for sharing imagecatalog.
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>
A suggestion to verify that it's working without trying to apply PTFs:
Log on to the target system and vary on the network optical device. I
always call mine "OPTNETxx). So assuming OPTNET01 is the device defined
over the image catalog directory then:
WRKOPTVOL
You should see an optical device with the name OPTNET01. If not you'll
most
likely find an error in QSYSOPR that indicates a device error has occurred
on that device.
Assuming it's there put a "5" in front of it. If it comes back with
volume
information you're good to go. If not back to device error.
Re-verify the IP addresses. Make sure the host partition can ping the
target partition IP address.
I usually will rerun the program I use to set up the NFS shares and
re-export the files. Ordinarily that will clear up the problem.
--
Jim Oberholtzer
Agile Technology Architects
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of
Kevin
Bucknum
Sent: Monday, May 07, 2018 1:15 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Subject: RE: Network setup for sharing imagecatalog.
Thanks. I've got it up and it appears to be all set up correctly. We will
see when the next HIPER/SECURITY comes out. This is the first time I've
had
our two LPAR's on the same release in many years, so first chance to give
this a try.
Kevin Bucknum
Senior Programmer Analyst
MEDDATA/MEDTRON
Tel: 985-893-2550
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of
Jim Oberholtzer
Sent: Monday, May 7, 2018 12:26 PM
To: 'Midrange Systems Technical Discussion'
Subject: RE: Network setup for sharing imagecatalog.
Yea, I don't think I've ever added the host table entry for the
reverse look
up. We have literally 100s of these set up all over the world. I
have one
customer that pushes the images between countries in the EU. (slow
but it
works....)
--
Jim Oberholtzer
Agile Technology Architects
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of
DrFranken
Sent: Monday, May 07, 2018 12:13 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Subject: Re: Network setup for sharing imagecatalog.
Good document there but one comment. They speak about adding host
table entries but I've done a hundred of these easy and never added a
host
table entry for this even once.
- Larry "DrFranken" Bolhuis
www.Frankeni.com
www.iDevCloud.com - Personal Development IBM i timeshare service.
www.iInTheCloud.com - Commercial IBM i Cloud Hosting.
On 5/4/2018 4:01 PM, Kevin Bucknum wrote:
Probably a better doc out there, but I'm working off of this one:
http://www-01.ibm.com/support/docview.wss?uid=nas8N1013479
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe,
or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link:
http://amzn.to/2dEadiD
As an Amazon Associate we earn from qualifying purchases.