nim tagged posts

Easiest Way to Build a New Virtualized LPAR in the DMZ

Having a fully virtualized server environment is great, but with the constant push towards public services, there has been an increase in DMZ servers for many companies.

In my opinion, I think the simplest way to do this is to create the LPAR with the normal virtual ethernet adapter, and the simply switch the adapters once set up is complete.  This allows you to complete all functions through the NIM and you don’t have to worry about firewall interference until after most of the tedious parts are complete.  No CDs to mount, no files to manually copy over.  Every body wins!

When creating an LPAR, follow the steps here for help, and add these simple tweaks to make your life easier when building an LPAR in the DMZ

  1. Before creating the LPAR, ensure that you have all of the details and netwo...
Read More

Automated Script from NIM by Setting Up nimsh

nimsh

If you are anything like me you much prefer spending 15 minutes writing a script and letting it do all of the work rather than spending the two gruelling days pounding your face across the keyboard doing the same keystrokes and mouse click over and over.  Well if you aren’t willing to set up all of the SSH private keys in order to have passwordless access to all lpars in your environment, I have a much simpler solution to all of your problems.

From ...

Read More

Install File Sets from NIM on an AIX LPAR

A quick guide on how to install file sets from a NIM server

rsct -> Reliable Scalable Cluster Technology

adt -> Application Development Toolkit

rte -> Run Time Environment

bff -> Backup File Format

rpm -> Red Hat Package Manager

ODM -> Equivalent to Windows Registry

**If filename does not contain *.rpm then it is bff -> IBM file set

Checklist

File Set
Location on NIM
Upgrade or Install

Commands

  • lslpp –l [package] -> list installed packages
  • oslevel –r -> View technology level
  • oslevel –s -> View software level
  • showmount –e [nim server] -> View all exports of NIM server (or any other server)
  • whereis [program] -> Locate program on LPAR
  • which_fileset [name] -> find file set for specific program
  • lslpp –w [full path to program] ->show installed file sets for a program

*...

Read More

Upgrading an AIX LPAR to a New OS Version using nim bosinst

super-mario-mushroom

How to upgrade an LPAR to a new version of AIX using a mksysb

Checklist

LPAR Information

Hostname
IP
Subnet and Gateway
Frame
Current Paging Space
Volume Groups
Free Disk Space
Memory
Disk Type (JFS)
File Systems

VIO Information

Current New New
Vio Servers
Vhost
Controller Id
Backing Device
VTD
Client Device
Disk Size

Backup SSH Files

  • copy ssh file to new location
     cp –r /etc/ssh /etc/ssh.backup 

Map disks from VIO

  • If new disks are being allocated for additional storage or JFS to JFS2 Conversion, you will need to map the disk through the VIO server
  • Once storage is allocated through SVC, login to VIO server
  • detect new hard ware
     cfgdev 
  • confirm LUN ID with disks allocated by storage team
     lsdev –dev hdiskx –v...
Read More

How to cut a new AIX LPAR from a Standard Image

gold_cd-r

A quick guide showing the steps on how to create a new LPAR based upon a standard(golden) image

Checklist:

  • IP address(es)
  • LUN number(s)
  • Host name
  • Processing unit requirements of the new LPAR
  • Memory requirements of the new LPAR
  • Dedicate I/O requirements of the new LPAR
  • Shared processor pool in which the new LPAR will be put Virtual I/O requirements of the new LPAR

HMC

  1. Login as hscroot
  1. “Systems Management”->“Servers” ->select server ->“Configuration”->”Create Logical Partition”->”AIX or Linux”
  2. Do not change the system assigned partition ID. Input hostname as partition name -> click “Next”
  3. Use hostname as profile name. DO NOT select “Use all the resources in the system” unless this will be the only LPAR on the system. Click “Next” to continue.
  4. Choose ”Sh...
Read More