How to reclaim hard disks and IP's in AIX?


 
Thread Tools Search this Thread
Operating Systems AIX How to reclaim hard disks and IP's in AIX?
# 8  
Old 01-13-2017
Quote:
Originally Posted by Joseph Sabo
All I really need is concerning removing the IP.
OK, i concentrated on one part only in my first posting.

I share the underlying assumption of my dear colleague rbatte1: the IP was perhaps the service IP address over which the DB service was known to the outside world. This is commonly the case with cluster-setups (either HACMP/SystemMirror/PowerHA or Oracle RAC or even other cluster systems as well).

If you have any cluster on this system: before either removing the VGs or the IP you need to deconfigure the "resource group" (that is the HACMP term, whatever it is called in your cluster). Such a resource group usually consists of:

- a service IP address
- one or more VGs/filesystems
- start-/stop-script(s)
- optionally monitoring scripts to check if the application still runs

However, if this is a non-cluster (again: really make sure this is the case, you can easily render the whole system unusable by deleting VGs which are part of a cluster) and you only need to delete the IP service:

- check on which network adapter the IP is configured and if this network adapter also serves other IP addresses
- check wehter there are special routing entries for that IP (netstat -rn)
- check wether the corresponding name is provided by: DNS/NIS/hostfiles/whatever
- check the type of the network adapter if planning to remove it (virtual/physical).

Only then you start to remove the IP from service:

- deconfigure the IP and the associated routing (if any) from the network adapter and the system (if unsure how: use the SMIT panels, it will deal with the rather intricate ODM handiwork for you)

- i suggest to wait for one or two days then,maybe there are (unknown) services provided over the IP address which you would become aware now from the complaints

- remove the IP definition from whatever name system (see above: NIS, DNS, ...) it is configured in

- if the network adapter on which the IP ran is not used any more you can deconfigure it: rmdev

- if you deconfigured the network adapter and it was virtual: remove the definition from the LPAR profile and the VIOS(es).

- if you want to be super-clean: get a downtime and, after changing the LPAR profile, shut the LPAR down (to "halt", not just reboot), then power it up again. It should come up without the adapter in question.

So, this is a rough overview what it entails. The real work is just a few minutes worth, but planning and double-checking is vital.

You will also note that you will have to acquaint yourself with some concepts of IBMs virtualisation to understand what you are doing. I'd like to emphasize the point: TAKE THE TIME to do so! It is quite easy to make yourself rather prominent within a company rather quickly if this is an important system and you fumble there. This is not rocket science, but you should know what you are doing when you do it.

I hope this helps.

bakunin
This User Gave Thanks to bakunin For This Post:
# 9  
Old 01-16-2017
Thank you Gentlemen. Your response are greatly appreciated. I have enough information here to get the task done. Thank you
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Solaris

Determining number of hard disks in the system

Hello to all, what is the command in Solaris/Unix which I can use to determine how many hard disks exist in the system? I have tried with different command such as df -lk and similar but cannot know for sure how many actual disks are installed. Commands like # fdisk -l | grep Disk and #... (14 Replies)
Discussion started by: Mick
14 Replies

2. Shell Programming and Scripting

How to get number of attached hard disks in HP-UX

how do i get the number of attached hard disks in HP-UX (1 Reply)
Discussion started by: achak01
1 Replies

3. Solaris

Hard/Transfer errors in disks

Could you please explain us what are these transport/hard errors... when i ran the following command, iostat -E | grep Errors i got the following: sd240 Soft Errors: 37 Hard Errors: 1144 Transport Errors: 0 sd578 Soft Errors: 0 Hard Errors: 890 Transport Errors: 0 Please... (5 Replies)
Discussion started by: sundar3350
5 Replies

4. AIX

Mount points to hard disks

Hi I am oracle DBA and sometimes need to see on which disks oracle data files are residing . How can we check that . The file system is jfs on aix 5.2.0.0 The method is use is to use mount |grep oracle_dir_name or lsfs mount_point_name command to see what /dev/logical_volume_name is mounted... (1 Reply)
Discussion started by: clifford
1 Replies

5. Solaris

Get onyl local hard disks

How can I get only the local hard disks in Solaris? I've tried iostat -x, iostat -E, etc, but it shows the cdroms, dvds, external storage... I want only the local physical hard disks. Thanks. (2 Replies)
Discussion started by: psimoes79
2 Replies

6. Solaris

Hard disks in solaris

I need to insert a new hard disk into a Sun Fire v210 machine. The (only) internal disk which is already in the machine is part number XRA-SC1CB-73G10K (DISK DRIVE ASSY. 73GB, 10K RPM, with SPUD BRACKET). I also have nearly endless access to IBM hard disks at extremely low prices and would there... (2 Replies)
Discussion started by: sprellari
2 Replies

7. UNIX for Advanced & Expert Users

Solaris GRUB troubled with dual hard disks

I have the following system: - DELL Dimension 8300 - Pentium IV @ 2.66GHz - BIOS Revision A07 - 1.5GB RAM - 2 Hard Disks (Master 120GB, Slave 80GB), I guess it's IDE I had WinXP on the master disk (hd0) and recently installed Solaris 10 1/06 on the slave disk (hd1). The NTLDR is in MBR... (0 Replies)
Discussion started by: Hawk
0 Replies

8. Filesystems, Disks and Memory

External Lacie USB hard disks

I'm trying to mount a USB Lacie external hardrive in my Linux system but am having trouble doing so, I'm also having trouble mounting my USB ZIP 250 drive. It is totally me being stupid, but I'm new to unix and am having a few teathing problems. the command I'm using is the following mount... (4 Replies)
Discussion started by: electrode101
4 Replies
Login or Register to Ask a Question