Changing VLAN on AIX lpars in the same subnet


 
Thread Tools Search this Thread
Operating Systems AIX Changing VLAN on AIX lpars in the same subnet
# 1  
Old 06-14-2016
Changing VLAN on AIX lpars in the same subnet

Hi Guys,

Our lpars is currently running on 2 different vlans (20, 30). Now we have a requirement that vlan 30 needs to be change to vlan 31 at the same subnet. I'm not sure on what is the best approach for this or what change is involve on the AIX side.

This is our setup.

Network switch - trunked (allowed vlan 20, 30)
note: vlan 20 is the previous default vlan before it was changed to "trunked" and added vlan 30.

VIO1 and VIO2 - SEA (ent4) with ent2 (PVID 1) and ent3 (PVID 88, VLAN ID 30) attached to it.

lpar 1 - ent0 (PVID 1)
lpar 2 - ent0 (PVID 30)

Scenario:

Network team needs to change vlan 30 to vlan 31.

Change to be made on AIX lpars:

1. on VIOS, Add a new virtual adapter on SEA with PVID 89, VLAN ID 31
2. on lpar 2, this is where I'm confused if I need to change anything or not. Do I need to change PVID 30 to 31? Or I can just DLPAR the current ent0 and add VLAN 31 there?

I'm also confused on how PVID works on AIX clients.

Any inputs will be very much appreciated.

Regards,
K
# 2  
Old 06-16-2016
Can you bring your systems offline?
How much downtime do you receive from the service owner?
Are there HACMP (PowerHA) installed?
Do the VIOses have their own IP addresses in the same subnet or in some other?
# 3  
Old 06-16-2016
Quote:
Can you bring your systems offline?
How much downtime do you receive from the service owner?
Are there HACMP (PowerHA) installed?
Do the VIOses have their own IP addresses in the same subnet or in some other?
Yes, I can bring the system offline maybe for 1 hour.
No HACMP.
VIOS' have their own IP addresses in their SEA, in a different subnet and vlan (Vlan 20)

- K
# 4  
Old 06-17-2016
You already get the best possible help from agent.kgb, so i won't interfere. But one detail puzzles me:


Quote:
Originally Posted by kaelu26
I'm also confused on how PVID works on AIX clients.
What do you mean by that? Because the "PVID" (Physical Volume Identifier) has nothing to do with networks at all. Or is that completely unrelated to the rest of your question? In this case please create a new thread (or ask a moderator, we can split this thread into two for the separate questions).

I hope this helps.

bakunin
# 5  
Old 06-17-2016
if you can bring your systems offline:

1. add VLAN 31 to the network switch ports.
2. configure a new virtual adapter for VLAN 31 on both of your VIOSes.
3. configure the virtual adapter into the existing SEA.
4. configure a new virtual adapter for VLAN 31 for all of your AIX LPARs.
5. check that it works (usually it is enough to get it up with ifconfig and look at traffic with tcpdump, even without an IP address).
6. on day X, when you have downtime, remove your old virtual adapters with VLAN 30 from the AIX LPARs and configure IP addresses on the new virtual adapters.
7. if everything works ok, remove virtual adapter with VLAN 30 from SEA and from all VIOSes.
8. remove VLAN 30 from the network switch ports.
These 2 Users Gave Thanks to agent.kgb For This Post:
# 6  
Old 06-19-2016
Quote:
Originally Posted by bakunin
What do you mean by that? Because the "PVID" (Physical Volume Identifier) has nothing to do with networks at all. Or is that completely unrelated to the rest of your question? In this case please create a new thread (or ask a moderator, we can split this thread into two for the separate questions).

I hope this helps.

bakunin
Sorry for the confusion there Bakunin. What I meant by the PVID is (Port VLAN ID) in the virtual ethernet adapter settings. But I know how this works now.

- K

---------- Post updated at 11:32 AM ---------- Previous update was at 11:26 AM ----------

Quote:
Originally Posted by agent.kgb
if you can bring your systems offline:

1. add VLAN 31 to the network switch ports.
2. configure a new virtual adapter for VLAN 31 on both of your VIOSes.
3. configure the virtual adapter into the existing SEA.
4. configure a new virtual adapter for VLAN 31 for all of your AIX LPARs.
5. check that it works (usually it is enough to get it up with ifconfig and look at traffic with tcpdump, even without an IP address).
6. on day X, when you have downtime, remove your old virtual adapters with VLAN 30 from the AIX LPARs and configure IP addresses on the new virtual adapters.
7. if everything works ok, remove virtual adapter with VLAN 30 from SEA and from all VIOSes.
8. remove VLAN 30 from the network switch ports.
Thanks agent.kgb. This seems like a good plan. I will try this and see how it goes.

- Kaelu
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Changing single path NIC to a teamed connection in same subnet

Dear all, I have a remote CentOS7 server that has two network cards. Each card has four ports and port one of card one was defined with the IP address assigned to the server. So far, so good and it's been working for over a year. We have now got cables sorted out so there are four paths... (4 Replies)
Discussion started by: rbatte1
4 Replies

2. AIX

Is it must to enable TCB on AIX LPARs ?

Hi, I've verified my AIX 7.1 LPAR , and TCB is disabled by default. #odmget -q attribute=TCB_STATE PdAt PdAt: uniquetype = "" attribute = "TCB_STATE" deflt = "tcb_disabled" values = "" width = "" type = "" generic = "" ... (3 Replies)
Discussion started by: System Admin 77
3 Replies

3. AIX

Automation of AIX LPARs reboot

Hello Everyone, Can you please help me with the following questions regarding recycling LPARs. 1) Is it recommended to automate the reboot of AIX LPARs with a script ? i mean we've few App LPARs and Database LPARs. we would like to bring down LPARs on last sunday of every month for about 1... (4 Replies)
Discussion started by: System Admin 77
4 Replies

4. AIX

Creating LPARS in AIX

Hi, I have a p520 with 2 cpus and 10gb of ram.Is it sufficient enough to create 2 lpars.What other things we have to check. (2 Replies)
Discussion started by: sekar52
2 Replies

5. Solaris

Changing the subnet mask on solaris 10

Hello, can anyone help me with the command to change the subnet mask on solaris 10? The mask is currently 255.255.255.255 I will like to change it to 255.255.2555.0. Thank you (5 Replies)
Discussion started by: cjashu
5 Replies

6. AIX

Changing subnet mask for a NIM Network.

I am new to this forum so please bare with me. I did search for this answer prior to posting but no luck. Running an AIX NIM Master at 5.3TL9SP4, with about 100 clients. The subnet of one of the networks defined in the NIM env has changed. When I go to Manage Networks, Change/Show... (0 Replies)
Discussion started by: juredd1
0 Replies

7. AIX

AIX:Command to get netaddress/subnet address command in IPv4/IP6

AIX:Command to get netaddress/subnet address command in IPv4/IP6 Can anybody help us with a command to retrieve netaddress/subnet address command in IPv4/IP6 on aix machine. net/subnet address is in the format 172.16.212.0(signifies all 255 machines in an IPv4 network) (2 Replies)
Discussion started by: rookie8278
2 Replies

8. Solaris

Need help in changing the subnet mask

Hi, I have a task to edit the subnet mask in almost 100+ solaris servers.Few of the servers are configured with IPMP.There will be no change of IP address or default gateway.If its a single IP we can bring NIC down,change the subnet mask in /etc/netmasks,then bring the NIC back to normal.But... (3 Replies)
Discussion started by: rajip23
3 Replies

9. IP Networking

Migrating existing Subnet to a new subnet and changing ip addresses in UNIX

Hi, My project needs to migrate the existing Subnet (255.255.255.0) to a new subnet and change the ipaddresses (currently C class). How can I do that. I need some information. John (0 Replies)
Discussion started by: johnmarsh
0 Replies

10. IP Networking

changing the subnet mask permanently

I understand how to change the ip address permanently however, I need to also make a permanent change to the subnet mask. How would I accomplish this. (5 Replies)
Discussion started by: johnparksjr
5 Replies
Login or Register to Ask a Question