IPMP/zones config how for this case ,urgent


 
Thread Tools Search this Thread
Operating Systems Solaris IPMP/zones config how for this case ,urgent
# 1  
Old 06-05-2008
Question IPMP/zones config how for this case ,urgent

Hi

I am setting up a test server for actual 2 node servers which will be behind load balancer. I will not be using sun cluster at all. The test machine is installed with solaris 10.

I am not sure how to setup a test env of 2 nodes on only 1 node..may be creating 2 zones on test server will help the situation.

now if I want to create 2 zones on this solaris 10 test machine and 2 network ports connected to switch from the test server , how should I configure IPMP on the test server.

What I have is,

4 IPS and 4 corresponding hostnames available ( with DNS entries) which I have to use on test machine. following info is given to me...

a.b.c.10 - machine specific hostname
a.b.c.11 - hostanme-e1000g0
a.b.c.12 - hostname-e1000g1
a.b.c.13 - application specific hostname

I wonder how to configure this test server for IPMP.

Please guide me and provide steps as it would save my time.

Current-test server

I have all4 ip-hosts entry in /etc/hosts and hostname of server is /etc/nodename = /etc/hostname.e1000g0

Thanks
# 2  
Old 06-06-2008
you will just need to have 2 cables. one for each IP. the zones will host the virtual IP, thus your zones should nit be configured for IPMP except for your physical box.
check this out.
http://www.eng.auburn.edu/~doug/howtos/multipathing.html
# 3  
Old 06-06-2008
Thanks, I will see that linkSmilie
# 4  
Old 06-09-2008
Bug

Quote:
Originally Posted by incredible
you will just need to have 2 cables. one for each IP. the zones will host the virtual IP, thus your zones should nit be configured for IPMP except for your physical box.
check this out.
http://www.eng.auburn.edu/~doug/howtos/multipathing.html

Can you tell me , if I want to create 2 zones,

can I use 1 network interface on physical server for both zones or 2 zones *have* to be on two different network interfaces ?ie. e1000g0, e1000g1

Also, can I use same host name I used in /etc/hosts for one external interface - for a zone ?

I have 4 IPS and 4 hostnames in /etc/hosts and I configured IPMP for 2 hostnames mentioned in the file.

Please let me know,

Also , the link you pasted helped in configuring IPMP, Thanks
# 5  
Old 06-09-2008
Yes, you can have a single interface for 2 zones bcos they are virtual. When you set the physical net, automatically the first zone will use e1000g0:1 and so on..
you can use same hostname (but not recommended) in a case if you were to implement DNS, there'll be conflict

My method of ipmp configuration will be like this, just a sample:
/etc/hosts:

host 192.168.2.34 #floating IP/server IP
hostA 192.168.2.134 # IP for 1st NIC e1000g0
hostB 192.168.2.234 # IP for 2nd NIC e1000g1
# 6  
Old 06-09-2008
Bug

Thanks for quick reply again,

my config is as follows, I have not created zones !!

-bash-3.00$ cat /etc/hosts
Quote:
#
# Internet host table
#
::1 localhost
127.0.0.1 localhost
192.168.30.71 t5120-t.my.domain t5120-t loghost
192.168.30.72 t5120-t-test-e1000g0.my.domain t5120-t-test-e1000g0
192.168.30.73 t5120-t-test-e1000g1.my.domain t5120-t-test-e1000g1
192.168.30.74 apache-t.my.domain apache-t
-bash-3.00$ cat /etc/hostname.e1000g0

Quote:
t5120-t-test-e1000g0 netmask + broadcast + group BB_TEST deprecated -failover up addif t5120-t netmask + broadcast + failover up
-bash-3.00$ cat /etc/hostname.e1000g1
Quote:
t5120-t-test-e1000g1 netmask + broadcast + group BB_TEST deprecated -failover up
addif apache-t netmask + broadcast + failover up
/sbin/ifconfig -a
Quote:
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
e1000g0: flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu 1500 index 2
inet 192.168.30.72 netmask ffffff00 broadcast 192.168.30.255
groupname BB_TEST
e1000g0:1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 192.168.30.71 netmask ffffff00 broadcast 192.168.30.255
e1000g1: flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu 1500 index 3
inet 192.168.30.73 netmask ffffff00 broadcast 192.168.30.255
groupname BB_TEST
e1000g1:1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
inet 192.168.30.74 netmask ffffff00 broadcast 192.168.30.255
apache-t has a dns entry already..but what I will be doing is have a load balancer for the Apps installed in 2 zones and test the 2 load balanced zones.
apache-t is the host name that will be used to access the load balanced apps installed in 2 zones.

BTW I have one more hostname available with IP not yet used and not having entry in /etc/hosts and already with resource record in DNS.

I am confused on what host names should be given and what IPs and if these IPs have to have a DNS record at all.

Thanks

Last edited by upengan78; 06-09-2008 at 01:24 PM..
# 7  
Old 06-10-2008
You can keep any hostname or IP you want and theres no hard and fast rule for that. /etc/hosts need not have zonename and IP in it. Its just virtual.
once you have created the zone successfully , you will be able to see its attributes by doing a zonecfg -z <zonename> info . zoneadm list -vc should show whether your zone is running.
ifconfig -a will "see" the ip and name of you zone. or you may diectly login to the zone using zlogin -l root <zonename> from the global zone. Once you're in the zone do ifconfig to check the IP, you should be able to ping the zone similar to how you do to the host from anywhere and it should work.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Network / global zones (Solaris 10 / 8) config recommendations

I have a few non-globa zones running in a 10.10.xx.xx network on a machine that is on a 192.168.xx.xx network. My goal is to allow each of the non-global zones to communicate to each other while not communicating on the 192.168.xx.xx network. I am using the current version of Solaris 10 in... (7 Replies)
Discussion started by: BradJM
7 Replies

2. Red Hat

Apache virtual host config vs global config problem

Hi folks, I am trying to configure Apache webserver and also a virtual host inside this webserver. For Global server config: /var/www/html/index.html For virtual host config: /var/www/virtual/index.html Both client10 & www10 are pointing to 192.168.122.10 IP address. BUT, MY... (1 Reply)
Discussion started by: freebird8z
1 Replies

3. Solaris

Can't login using ssh after IPMP config.

Dear All, After configuring IPMP in 2 fresh Servers (T5520 and T2000) I can't login in any of them using SSH, I can login by serial console then I had to enable Telnet to access. IPMP works fine. This is the error in /var/adm/messages: sshd: Failed password for lvalle from 172.28.12.95 port... (0 Replies)
Discussion started by: Luis Valle
0 Replies

4. Shell Programming and Scripting

!!VERY URGENT!! Trouble in getting user input, while using under CASE statement in UNIX

i want to get user input like this please tell which option to chose 1. mango 2. tango 3. rango if user chooses mango then it should execute a set of statements and again ask like this what do you want to do 1.add 2.subtract 3.exit when i choose exit it should goto my previous... (1 Reply)
Discussion started by: s.deepak
1 Replies

5. Shell Programming and Scripting

Shell script that will compare two config files and produce 2 outputs 1)actual config file 2)report

Hi I am new to shell scripting. There is a requirement to write a shell script to meet follwing needs.Prompt reply shall be highly appreciated. script that will compare two config files and produce 2 outputs - actual config file and a report indicating changes made. OS :Susi linux ver 10.3. ... (4 Replies)
Discussion started by: muraliinfy04
4 Replies

6. Shell Programming and Scripting

parsing config file to create new config files

Hi, I want to use a config file as the base file and parse over the values of country and city parameters in the config file and generate separate config files as explained below. I will be using the config file as mentioned below: (config.txt) country:a,b city:1,2 type:b1... (1 Reply)
Discussion started by: clazzic
1 Replies

7. Solaris

IPMP config

Hi All, I have unplumbed one interface. after that ifconfig -a shows that lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1 inet 127.0.0.1 netmask ff000000 e1000g0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2 ... (7 Replies)
Discussion started by: jegaraman
7 Replies

8. Shell Programming and Scripting

Script needed to select and delete lower case and mixed case records

HELLO ALL, URGENTLY NEEDED A SCRIPT TO SELECT AND DELETE LOWER AND MIXED CASE RECORDS FROM A COLUMN IN A TABLE. FOR EXAMPLE : Table name is EMPLOYEE and the column name is CITY and the CITY column records will be: Newyork washington ... (1 Reply)
Discussion started by: abhilash mn
1 Replies

9. UNIX for Dummies Questions & Answers

lower case to upper case string conversion in shell script

How can convert a Lower case variable value to an upper case in the kron shell script. (3 Replies)
Discussion started by: dchalavadi
3 Replies
Login or Register to Ask a Question