<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://systems.nic.uoregon.edu/internal-wiki/index.php?action=history&amp;feed=atom&amp;title=Procedure%3ANIM_Setup</id>
	<title>Procedure:NIM Setup - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://systems.nic.uoregon.edu/internal-wiki/index.php?action=history&amp;feed=atom&amp;title=Procedure%3ANIM_Setup"/>
	<link rel="alternate" type="text/html" href="https://systems.nic.uoregon.edu/internal-wiki/index.php?title=Procedure:NIM_Setup&amp;action=history"/>
	<updated>2026-08-19T02:25:40Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.12</generator>
	<entry>
		<id>https://systems.nic.uoregon.edu/internal-wiki/index.php?title=Procedure:NIM_Setup&amp;diff=3018&amp;oldid=prev</id>
		<title>Nic-systems: Created page with &quot;== First Install ==  Install NIM and load with packages. Assumes contents of CDS 1,2,4,5,expansion have been copied up and update set is dumped to a directory.&lt;br&gt; ''On NIM in...&quot;</title>
		<link rel="alternate" type="text/html" href="https://systems.nic.uoregon.edu/internal-wiki/index.php?title=Procedure:NIM_Setup&amp;diff=3018&amp;oldid=prev"/>
		<updated>2020-02-04T02:06:20Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== First Install ==  Install NIM and load with packages. Assumes contents of CDS 1,2,4,5,expansion have been copied up and update set is dumped to a directory.&amp;lt;br&amp;gt; &amp;#039;&amp;#039;On NIM in...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== First Install ==&lt;br /&gt;
&lt;br /&gt;
Install NIM and load with packages. Assumes contents of CDS 1,2,4,5,expansion have been copied up and update set is dumped to a directory.&amp;lt;br&amp;gt;&lt;br /&gt;
''On NIM install server:''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
installp -qaYXd /mnt/netapp/research/systems/AIX-5.3/CD1 bos.sysmgt.nim.master bos.sysmgt.nim.client bos.sysmgt.nim.spot&lt;br /&gt;
nim_master_setup -a device=/mnt/netapp/research/systems/AIX-5.3/CD1 -v -B&lt;br /&gt;
nim -o update -a packages=all -a source=/mnt/netapp/research/systems/AIX-5.3/CD2 530lpp_res&lt;br /&gt;
nim -o update -a packages=all -a source=/mnt/netapp/research/systems/AIX-5.3/CD4 530lpp_res&lt;br /&gt;
nim -o update -a packages=all -a source=/mnt/netapp/research/systems/AIX-5.3/CD5 530lpp_res&lt;br /&gt;
nim -o update -a packages=all -a source=/mnt/netapp/research/systems/AIX-5.3/expansion/ 530lpp_res&lt;br /&gt;
nim -o update -a packages=all -a source=/mnt/netapp/research/systems/AIX-5.3/Firefox 530lpp_res&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create NIM node info from CSM definition, copy over CSM scripts and files&amp;lt;br&amp;gt;&lt;br /&gt;
''On CSM Master:''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
updatenode -kn pluto&lt;br /&gt;
csm2nimnodes -n p655-3&lt;br /&gt;
csmsetupnim&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Import bundle contents into lpp resource&amp;lt;br&amp;gt;&lt;br /&gt;
''On NIM install server:''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
gencopy -d /mnt/netapp/research/systems/AIX-5.3/RPMS    -t /export/nim/lpp_source/530lpp_res -f /export/nim/custom_bundles/gnu_misc.bnd&lt;br /&gt;
gencopy -d /mnt/netapp/research/systems/AIX-5.3/RPMS    -t /export/nim/lpp_source/530lpp_res -f /export/nim/custom_bundles/openssl.bnd&lt;br /&gt;
gencopy -d /mnt/netapp/research/systems/AIX-5.3/openssh -t /export/nim/lpp_source/530lpp_res -f /export/nim/custom_bundles/openssh.bnd&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Update LPP resource with technology level / service pack updates:&amp;lt;br&amp;gt;&lt;br /&gt;
''On NIM install server:''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
nim_update_all -l 530lpp_res -s 530spot_res -d /mnt/netapp/research/systems/AIX-5.3/5300-05 -B -u -v&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''Note:''' Using gencopy to add packages to the LPP resource will overwrite any updated packages with whatever version exists in the LPP source given. For this reason, nim_update_all should be done last.&lt;br /&gt;
&lt;br /&gt;
== Customize Bundles and Scripts ==&lt;br /&gt;
&lt;br /&gt;
Define custom RPM bundles&amp;lt;br&amp;gt;&lt;br /&gt;
''On NIM install server:''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
nim -o define -t installp_bundle -a server=master -a location=/export/nim/custom_bundles/gnu_misc.bnd gnu_misc&lt;br /&gt;
nim -o define -t installp_bundle -a server=master -a location=/export/nim/custom_bundles/openssl.bnd openssl&lt;br /&gt;
nim -o define -t installp_bundle -a server=master -a location=/export/nim/custom_bundles/openssh.bnd openssh&lt;br /&gt;
nim -o define -t installp_bundle -a server=master -a location=/export/nim/custom_bundles/ldap_crypto.bnd ldap_crypto&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Define custom scripts&amp;lt;br&amp;gt;&lt;br /&gt;
''On NIM install server:''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
nim -o define -t script -a server=master -a location=/export/nim/custom_scripts/nic_customize nic_customize&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Define custom Basic Operating System configuration script:&amp;lt;BR&amp;gt;&lt;br /&gt;
''On NIM install server:''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
nim -o define -t bosinst_data -a server=master -a location=/export/nim/bid_nic bid_nic&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create a new resource group for customized install configurations&amp;lt;br&amp;gt;&lt;br /&gt;
''On NIM install server:''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
nim -o define -t res_group -a bosinst_data=bid_nic -a lpp_source=530lpp_res -a spot=530spot_res -a resolv_conf=master_net_conf nic_res_grp&lt;br /&gt;
nim -o change -a script=osprereboot_csmserver nic_res_grp&lt;br /&gt;
nim -o change -a installp_bundle=gnu_misc -a installp_bundle=openssl -a installp_bundle=openssh -a installp_bundle=ldap_crypto nic_res_grp&lt;br /&gt;
nim -o change -a script=nic_customize nic_res_grp&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Update NIM Master With CSM Changes ==&lt;br /&gt;
&lt;br /&gt;
Sync CSM node info with NIM; rebuild CSM node install info (scripted operations and files) and push to install server&amp;lt;br&amp;gt;&lt;br /&gt;
''On CSM Master:''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
csm2nimnodes -n p655-3&lt;br /&gt;
csmsetupnim -n p655-3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Trigger Node Install ==&lt;br /&gt;
&lt;br /&gt;
Kick off a node install&amp;lt;br&amp;gt;&lt;br /&gt;
''On CSM Master:''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ssh pluto &amp;quot;nim -o bos_inst -a source=rte -a group=nic_res_grp -a boot_client=no p655-3&amp;quot;&lt;br /&gt;
netboot -n p655-3 &amp;amp;&lt;br /&gt;
chnode -n p655-3 Mode=Installing AllowManageRequest=1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Procedures]]&lt;/div&gt;</summary>
		<author><name>Nic-systems</name></author>
	</entry>
</feed>