Netmask in solaris 11
How can i configure the netmask in solaris 11
the netmask needs to be 255.255.255.128
?
man ipadm
Looks like -a may help.
alan
Similar Messages
-
Hi Team,
We tried to change the netmask and broadcast address in solaris 10 by below steps
ifconfig ipge0 down
ifconfig ipge0 <ipaddress> netmask <subnet mask> broadcast <address
ifconfig ipge0 up
But interface is not up. The command (ifconfig ipge0 up) is hanged for long time without giving any error.
So, we changed the new netmask in the /etc/inet/netmasks and rebooted the server. The new changes got affect only after reboot.
Could you please confirm the Solaris 10 requres reboot for changes in netmask.
Regards,
R. Rajesh Kannan.No, it doesn't need a reboot.
In fact, you don't even have to take the interface down....
I would edit /etc/netmasks so that the correct setting was in there for the next time I booted. Then:
'ifconfig <interface> netmask + broadcast +' (Yes, with the '+' symbols).
That should do it. No need to down or up.
Darren -
Hi,
I want to change an IP and netmask and broadcast of a machine using solaris 8 but after I reboot the changes are lost. The IP is remembered but the netmask and broadcast are lost. In /etc/netmasks the last line has the new netmask that I established, all the lines before this line are comment.
I do:
ifconfig bge0 down
ifconfig bge0 new_IP netmask new_netmask broadcast new_broadcast
ifconfig bge0 up
It works for the moement, but after I reboot it does not work any more and I have to do it all again. What should I do to make the changes permanent?
Thank you for your help!
SerbanTo make the netmask permanent and with the result the broadcast as well you need to make changes to the /etc/netmask file.
You say that u have done it but it seems that the entry is not right.
The way to make the entries is to have the proper network no followed by the netmask.Calculate the Network Number based on the IP and netmask and put in the right entries.
The entry shd be like
192.168.1.0 255.255.255.0
Which means that for all the IP addresses in the range 192.168.1 would have the subnet mask of 255.255.255.0
And i suppose u have the right ip address in the /etc/hosts file. -
Netmask is not set properly in Solaris 10
Hi,
I am not able to change my netmask for bge0 NIC. I've just run Oracle CRS installer and it changed my netmask. I didn't install CRS.
bash-3.00# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
bge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 10.160.19.49 netmask ff000000 broadcast 10.255.255.255
ether 0:14:4f:0:64:82
bge0:1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 10.160.19.68 netmask fffffe00 broadcast 10.160.19.255
bge1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
inet 10.10.10.1 netmask fffffe00 broadcast 10.10.11.255
ether 0:14:4f:0:64:83
bash-3.00# cat /etc/netmasks
# The netmasks file associates Internet Protocol (IP) address
# masks with IP network numbers.
# network-number netmask
# The term network-number refers to a number obtained from the Internet Network
# Information Center.
# Both the network-number and the netmasks are specified in
# "decimal dot" notation, e.g:
# 128.32.0.0 255.255.255.0
10.160.19.0 255.255.254.0
bash-3.00# cat /etc/hosts
# Internet host table
::1 localhost
127.0.0.1 localhost
10.160.19.49 sun3.testwaw.symantec.pl sun3
10.160.19.50 sun4.testwaw.symantec.pl sun4
10.160.19.66 sun3-vip
10.160.19.67 sun4-vip
10.10.10.1 sun3-priv
10.10.10.2 sun4-priv
bash-3.00# cat /etc/nsswitch.conf
# DNS service expects that an instance of svc:/network/dns/client be
# enabled and online.
passwd: files
group: files
# You must also set up the /etc/resolv.conf file for DNS name
# server lookup. See resolv.conf(4).
hosts: files dns
# Note that IPv4 addresses are searched for in all of the ipnodes databases
# before searching the hosts databases.
ipnodes: files
networks: files
protocols: files
rpc: files
ethers: files
netmasks: files
bootparams: files
publickey: files
# At present there isn't a 'files' backend for netgroup; the system will
# figure it out pretty quickly, and won't use netgroups at all.
netgroup: files
automount: files
aliases: files
services: files
printers: user files
auth_attr: files
prof_attr: files
project: files
tnrhtp: files
tnrhdb: files
Any idea?Was there ever a solution to nagardd's original post? I am experiencing the same issue w/ the netmask not being set even though it's setup to do so in /etc/netmasks.
My /etc/netmasks
root@fsintntwrkrus1 cat /etc/netmasks
# The netmasks file associates Internet Protocol (IP) address
# masks with IP network numbers.
# network-number netmask
# The term network-number refers to a number obtained from the Internet Network
# Information Center.
# Both the network-number and the netmasks are specified in
# "decimal dot" notation, e.g:
# 128.32.0.0 255.255.255.0
172.25.40.0 255.255.255.0
*172.25.237.0 255.255.254.0*
My ifconfig after boot
root@fsintntwrkrus1 ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
ipge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 172.25.40.10 netmask ffffff00 broadcast 172.25.40.255
ether 0:14:4f:22:21:20
ipge1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
inet 172.25.237.241 netmask ffff0000 broadcast 172.25.0.0
ether 0:14:4f:22:21:21 -
Solaris 10 x86 setting wrong netmask at startup
Hello
one of our servers when it reboots set wrong netmask in the network interfaces;
the network interfaces should have 255.255.255.240 as netmask but upon reboot they have 255.255.255.0.
the /etc/netmask entries as
subnet netmask
let's say that my ip of one of the interfaces is 192.168.10.170
in the netmask file i have
192.168.10.160 255.255.255.240
is there a problem that i set the subnet and not the network in the netmask file? can i create an /etc/subnetmask?
is there a tool with dtrace that can determine why i cannot have the correct netmask at boot time.
thank you in advance
Mario G.Ach! I see that my first post had formatting problems. Never mind.
What I wanted you to try is:
ifconfig <interface> netmask + broadcast +rather thanifconfig <interface> netmask 255.255.255.240I think the plus characters were interpreted as formatting. Sorry for the confusing post.
Darren -
Logical interface in solaris 10
Hi there,
I need to configure logical interface in a solaris 10 3/05 server. After reading the Solaris 10 IP services manual, I am not quite sure what to do. All the examples and explanation are about using the new subcommand addif of ifconfig. It was not clear in the documentation if the setting logical interfaces via addif will persist across boot.
Can one still configure logical interface in Solaris 10 in a more traditional way like in Solaris 8? In an Solaris 8 server I will do the following.
Let's assume I want to configure in a solaris 8 server a logical interface named hme0:1 with IP address 192.168.20.28 with netmask 255.255.255.0 for hostname host001
# cat /etc/hostname.hme0:1
host001
^D
# echo "192.168.20.28 host001" >> /etc/inet/hosts
# echo "192.168.20.0 255.255.255.0" >> /etc/inet/netmasks
# reboot -- -r
Can one still do that in solaris 10 3/05 server?Hi there,
I need to configure logical interface in a solaris 10
3/05 server. After reading the Solaris 10 IP services
manual, I am not quite sure what to do. All the
examples and explanation are about using the new
subcommand addif of ifconfig. It was not clear in the
documentation if the setting logical interfaces via
addif will persist across boot.No. No 'ifconfig' command is persistent.
Can one still configure logical interface in Solaris
10 in a more traditional way like in Solaris 8? In an
Solaris 8 server I will do the following.
Let's assume I want to configure in a solaris 8
server a logical interface named hme0:1 with IP
address 192.168.20.28 with netmask 255.255.255.0 for
hostname host001
# cat /etc/hostname.hme0:1
host001
^D
# echo "192.168.20.28 host001" >> /etc/inet/hosts
# echo "192.168.20.0 255.255.255.0" >>
/etc/inet/netmasks
# reboot -- -r
Can one still do that in solaris 10 3/05 server?Absolutely.
You don't need to reboot (you can run ifconfig for this boot and let the files do the work next time) and the -r doesn't do anything with interfaces (expecially virtual interfaces) anyway.
Darren -
Configure Internet in Solaris 10
I new in Solaris
The computer have the fallowing IP 192.168.1.101
Router 192.168.1.1
other in the lan 192.168.1.100 (Windows Xp with Internet throw the router)
The computer with Solaris ping the router and the other
The DNS server is 194.65.100.117
the 2 is 194.65.2.5
what I have to do to have internet?
Thank youHello,
direct config files edit can look like the following:
echo "192.168.1.1" > /etc/defaultrouter
echo "nameserver 194.65.100.117" > /etc/resolv.conf
echo "nameserver 194.65.2.5" >> /etc/resolv.conf
echo "192.168.1.0 255.255.255.0" >> /etc/netmasks
then you have to decide the name of the computer (let it be 'abc') and the interface where you have the connection to internet - can be found using 'ifconfig -a' (let it be 'ce0')
echo "192.168.1.100 abc" >> /etc/hosts
echo "abc" > /etc/hostname.ce0
-p -
Problem with zone installation on solaris 08/07
Hello :)
I need some help
I install solaris 10 08/07 on my x2100 M2.Everything is ok.
Then I try to install non-global zone named web-zone with the following commands:
# mkdir /export/web-zone
# chmod 700 /export/web-zone
# zonecfg -z web-zone
web-zone: No such zone configured
Use 'create' to begin configuring a new zone.
zonecfg:web-zone> create
zonecfg:web-zone> set autoboot=true
zonecfg:web-zone> set zonepath=/export/web-zone
zonecfg:web-zone> add net
zonecfg:web-zone:net> set address=192.168.0.3
zonecfg:web-zone:net> set physical=bge1
zonecfg:web-zone:net> end
zonecfg:web-zone> info
zonepath: /export/web-zone
autoboot: true
pool:
inherit-pkg-dir:
dir: /lib
inherit-pkg-dir:
dir: /platform
inherit-pkg-dir:
dir: /sbin
inherit-pkg-dir:
dir: /usr
net:
address: 192.168.0.3
physical: bge1
zonecfg:web-zone> verify
zonecfg:web-zone> commit
zonecfg:web-zone> exit
# zoneadm -z web-zone verify
# zoneadm -z web-zone install
# zoneadm list -cv
# zoneadm -z web-zone boot
When I zlogin into zone configuration stack with:
Fatal internal error: prompt_error called before prompt_open!
The IP address previously set on the network interface
is no longer available. The system state is corrupted. System identification
can no longer continue.
Press Return to continue
And that�s it :)
On interface bge1 I have 2 ip addresses, one for management processor (192.168.0.254) and one for global zone (192.168.0.2)
The output from ifconfig �a is :
# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
lo0:1: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
zone web-zone
inet 127.0.0.1 netmask ff000000
bge1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 192.168.0.2 netmask ffffff00 broadcast 192.168.0.255
ether 0:1b:24:5:4f:6f
bge1:1: flags=4001000842<BROADCAST,RUNNING,MULTICAST,IPv4,DUPLICATE> mtu 1500 index 2
zone web-zone
inet 192.168.0.3 netmask ffffff00 broadcast 192.168.0.255
Any Ideas ?? :)
Thaks
pp Sory for my baad english :)Hi
Thank you for replay
This is happened exactly when I zlogin for first time to complete installation.
The installation procedure flow flawless.I set terminal type 13 (dt terminal) and everything is OK, but when I try to setup hostname I�ve got this error.
I try this with 3 different zones on this machine with same result
I have old x86 machines with solaris 11/06 zones installed , everything works fine (1 year uptime)
This is not the first zone in my life :)
Best Regards
DJ JAM -
New to Solaris 9 - Needs some help, if some could answer my question plz !!
Hello!
During the installation when I set that the computer is not networked, everything (SMC) seems to work absolutely fine.
But when I set the option that the computer is networked, The SMC (Solaris management Console) doesn;t startup. it says again and again that the server couldn't be found. Although I tried to stop and again start the SMC server process, but it didn;t work.,
Please help me out !!!!I'll give this a shot:
Does other network traffic work? Assuming that you are new to Solaris 9, and not just UNIX in general, you may want to make sure that your network settings are correct (ip addy, netmask, default route, and so on) SMC usually starts up a network service on port 898 (IIRC), and then starts up the client (the actual GUI) and connects to itself. -
I am a developer getting started with Solaris 10 configuration. I recently installed Solaris 10 and have run into an issue with network connectivity.
I have done much research on this and I was able to get communiction to the internet established once, but the settings were lost on reboot.
Overview - The Solaris box is connected to a router which is acting as a DHCP server.
AMD 64 dual 2.6
nForce4+ integrated NIC
1) I am not able to obtain an address from the router. Nor do I get a respons back when I ping it. I get an IP etc if I boot into Windows so phyicial connectivity is fine.
2) Upon reboot the device nfo0 as shown using ifconfig -a has an IP of 0.0.0.0.
3) If I run ifconfig [hostname] my machine gets the ip from the hosts file, but I would like to obtain this from the router.
4) NOTE - the machine shows as active on my router, but the Solaris box cannot be reached from other computers on the networ, nor do I get a reply back when pinging the router from the Solaris box.
GOAL - reach and obtain a DHCP from the router and have the changes stick upon reboot.
/etc/hosts contents
127.0.0.1 localhost loghost
192.168.1.55 solarisX /*<-- this is what I get when I do ifconfig nfo0 solarisX */
/etc/hosname.nfo0
netmask + 255.255.255.0
solarisX
/etc/defaultrouter
192.168.1.254
/et c/netmasks
192.168.0.0 255.255.2550
Specific Steps taken:
Using the driver nfo-2.4.5 locate at http://homepage2.nifty.com/mrym3/taiyodo/eng/ I did the following.
% cd /.../nfo-x.x.x
% rm obj Makefile
% ln -s Makefile.${KARCH}_${COMPILER} Makefile
% ln -s ${KARCH} obj
where ${KARCH} is the result of `isainfo -n`, and ${COMPILER} is
"gcc" or "suncc" which you want to use to make the driver.
4. Testing
Testing before installation is strongly recommended.
# cd /.../nfo-x.x.x
# /usr/ccs/bin/make install
# ./adddrv.sh
# /usr/ccs/bin/make uninstall (for solaris7, don't remove the file )
# modload obj/nfo
# devfsadm -i nfo (for solaris7, use drvconfig and reboot with -r )
# ifconfig nfoN plumb ( where N is an instance number, typcally 0 for first card)
# ifconfig -a ( you will see an entry for nfoN)
# ifconfig nfoN YOUR-HOST-NAME
# ifconfig nfoN ( ensure IP address is correct)
# ifconfig nfoN up ( and then you can test with ping, telnet, ftp ...)
5. Installation
After you ensure that the nfo driver is fully functional, install it.
(1) copy the nfo driver into the kernel directory
# cd /.../nfo-x.x.x
# /usr/ccs/bin/make install
If you do not test the nfo driver yet, execute the following commands:
# ./adddrv.sh
# devfsadm -i nfo (for solaris7, use drvconfig and reboot with -r)
(2) Configure the network interface. Create and/or modify the following file:
/etc/hostname.nfoN
(3) Reboot the system.
# init 6
Edited by: hedger on Nov 16, 2007 11:17 PMThanks Alan. I worked on trying to get the NIC working again last night. I had it working once, although the settings did not perist. I can still get the device to load, but I can't communciate with the router (it's not physical because another OS can reach it.
I took your advice and tried the sys-unconfig. But I did not have much success.
I am wondering if plopping in a new PCI NIC would be the most efficient route to get the server up.
What kind of NIC do you utilize and have had success with?
I am looking at possibly a DLINK DFE-530 or NetGear FA-311. I don't need wireless at this point just a rock solid DEV box.
Thanks again for the previous info.
Ted -
I did this on VirtualBox 4.1 on Windows 7 and VirtualBox 4.2 on Linux.X64. Basic pre-requisites are : 40GB disk space, 8GB RAM, 64-bit guest capable VirtualBox.
Please read all the descriptive messages/prompts shown by 'scinstall' and 'clsetup' before answering.
0) Download from OTN
- Solaris 11.1 Live Media for x86(~966 MB)
- Complete Solaris 11.1 IPS Repository Image (total 7GB)
- Oracle Solaris Cluster 4.1 IPS Repository image (~73MB)
1) Run VirtualBox Console, create VM1 : 3GB RAM, 30GB HDD
2) The new VM1 has 1 NIC, add 2 more NICs (total 3). Setting the NIC to any type should be okay, 'VirtualBox Host Only Adapter' worked fine for me.
3) Start VM1, point the "Select start-up disk" to the Solaris 11.1 Live Media ISO.
4) Select "Oracle Solaris 11.1" in the GRUB menu. Select Keyboard layout and Language.
VM1 will boot and the Solaris 11.1 Live Desktop screen will appear.
5) Click <Install Oracle Solaris> from the desktop, supply necessary inputs.
Default Disk Discovery (iSCSI not needed) and Disk Selection are fine.
Disable the "Support Registration" connection info
6) The alternate user created during the install has root privileges (sudo). Set appropriate VM1 name
7) When the VM has to be rebooted after the installation is complete, make sure the Solaris 11.1 Live ISO is ejected or else the VM will again boot from the Live CD.
8) Repeat steps 1-6, create VM2 and install Solaris.
9) FTP(secure) the Solaris 11.1 Repository IPS and Solaris Cluster 4.1 IPS onto both the VMs e.g under /home/user1/
10) We need to setup both the packages: Solaris 11.1 Repository and Solaris Cluster 4.1
11) All commands now to be run as root
12) By default the 'solaris' repository is of type online (pkg.oracle.com), that needs to be updated to the local ISO we downloaded :-
+$ sudo sh+
+# lofiadm -a /home/user1/sol-11_1-repo-full.iso+
+//output : /dev/lofi/N+
+# mount -F hsfs /dev/lofi/N /mnt+
+# pkg set-publisher -G '*' -M '*' -g /mnt/repo solaris+
13) Setup the ha-cluster package :-
+# lofiadm -a /home/user1/osc-4_1-ga-repo-full.iso+
+//output : /dev/lofi/N+
+# mkdir /mnt2+
+# mount -f hsfs /dev/lofi/N /mnt2+
+# pkg set-publisher -g file:///mnt2/repo ha-cluster+
14) Verify both packages are fine :-
+# pkg publisher+
PUBLISHER TYPE STATUS P LOCATION
solaris origin online F file:///mnt/repo/
ha-cluster origin online F file:///mnt2/repo/
15) Install the complete SC4.1 package by installing 'ha-cluster-full'
+# pkg install ha-cluster-full+
14) Repeat steps 12-15 on VM2.
15) Now both VMs have the OS and SC4.1 installed.
16) By default the 3 NICs are in the "Automatic" profile and have DHCP configured. We need to activate the Fixed profile and put the 3 NICs into it. Only 1 interface, the public interface, needs to be
configured. The other 2 are for the cluster interconnect and will be automatically configured by scinstall. Execute the following commands :-
+# netadm enable -p ncp defaultfixed+
+//verify+
+# netadm list -p ncp defaultfixed+
+#Configure the public-interface+
+#Verify none of the interfaces are listed, add all the 3+
+# ipadm show-if+
+# run dladm show-phys or dladm show-link to check interface names : must be net0/net1/net2+
+# ipadm create-ip net0+
+# ipadm create-ip net1+
+# ipadm create-ip net2+
+# ipadm show-if+
+//select proper IP and configure the public interface. I have used 192.168.56.171 & 172+
+# ipadm create-addr -T static -a 192.168.56.171/24 net0/publicip+
+#IP plumbed, restart+
+# ipadm down-addr -t net0/publicip+
+# ipadm up-addr -t net0/publicip+
+//Verify publicip is fine by pinging the host+
+# ping 192.168.56.1+
+//Verify, net0 should be up, net1/net2 should be down+
+# ipadm+
17) Repeat step 16 on VM2
18) Verify both VMs can ping each other using the public IP. Add entries to each other's /etc/hosts
Now we are ready to run scinstall and create/configure the 2-node cluster
19)
+# cd /usr/cluster/bin+
+# ./scinstall+
select 1) Create a new cluster ...
select 1) Create a new cluster
select 2) Custom in "Typical or Custom Mode"
Enter cluster name : mycluster1 (e.g)
Add the 2 nodes : solvm1 & solvm2 and press <ctrl-d>
Accept default "No" for <Do you need to use DES authentication>"
Accept default "Yes" for <Should this cluster use at least two private networks>
Enter "No" for <Does this two-node cluster use switches>
Select "1)net1" for "Select the first cluster transport adapter"
If there is warning of unexpected traffic on "net"1, ignore it
Enter "net1" when it asks corresponding adapter on "solvm2"
Select "2)net2" for "Select the second cluster transport adapter"
Enter "net2" when it asks corresponding adapter on "solvm2"
Select "Yes" for "Is it okay to accept the default network address"
Select "Yes" for "Is it okay to accept the default network netmask"Now the IP addresses 172.16.0.0 will be plumbed in the 2 private interfaces
Select "yes" for "Do you want to turn off global fencing"
(These are SATA serial disks, so no fencing)
Enter "Yes" for "Do you want to disable automatic quorum device selection"
(we will add quorum disks later)
Enter "Yes" for "Proceed with cluster creation"
Select "No" for "Interrupt cluster creation for cluster check errors"
The second node will be configured and 2nd node rebooted
The first node will be configured and rebootedAfter both nodes have rebooted, verify the cluster has been created and both nodes joined.
On both nodes :-
+# cd /usr/cluster/bin+
+# ./clnode status+
+//should show both nodes Online.+
At this point there are no quorum disks, so 1 of the node's will be designated quorum vote. That node VM has to be up for the other node to come up and cluster to be formed.
To check the current quorum status, run :-
+# ./clquorum show+
+//one of the nodes will have 1 vote and other 0(zero).+
20)
Now the cluster is in 'Installation Mode' and we need to add a quorum disk.
Shutdown both the nodes as we will be adding shared disks to both of them
21)
Create 2 VirtualBox HDDs (VDI Files) on the host, 1 for quorum and 1 for shared filesystem. I have used a size of 1 GB for each :-
*$ vboxmanage createhd --filename /scratch/myimages/sc41cluster/sdisk1.vdi --size 1024 --format VDI --variant Fixed*
*0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%*
*Disk image created. UUID: 899147b9-d21f-4495-ad55-f9cf1ae46cc3*
*$ vboxmanage createhd --filename /scratch/myimages/sc41cluster/sdisk2.vdi --size 1024 --format VDI --variant Fixed*
*0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%*
*Disk image created. UUID: 899147b9-d22f-4495-ad55-f9cf15346caf*
22)
Attach these disks to both the VMs as shared type
*$ vboxmanage storageattach solvm1 --storagectl "SATA" --port 1 --device 0 --type hdd --medium /scratch/myimages/sc41cluster/sdisk1.vdi --mtype shareable*
*$ vboxmanage storageattach solvm1 --storagectl "SATA" --port 2 --device 0 --type hdd --medium /scratch/myimages/sc41cluster/sdisk2.vdi --mtype shareable*
*$ vboxmanage storageattach solvm2 --storagectl "SATA" --port 1 --device 0 --type hdd --medium /scratch/myimages/sc41cluster/sdisk1.vdi --mtype shareable*
*$ vboxmanage storageattach solvm2 --storagectl "SATA" --port 2 --device 0 --type hdd --medium /scratch/myimages/sc41cluster/sdisk2.vdi --mtype shareable*
The disks are attached to SATA ports 1 & 2 of each VM. On my VirtualBox on Linux, the controller type is "SATA", whereas on Windows it is "SATA Controller".
The "--mtype shareable' parameter is important
23)
Mark both disks as shared :-
*$ vboxmanage modifyhd /scratch/myimages/sc41cluster/sdisk1.vdi --type shareable*
*$ vboxmanage modifyhd /scratch/myimages/sc41cluster/sdisk2.vdi --type shareable*
24) Start both VMs. We need to format the 2 shared disks
25) From VM1, run format. In my case, the 2 new shared disks show up as 'c7t1d0' and 'c7t2d0'.
+# format+
select disk 1 (c7t1d0)
[disk formated]
FORMAT MENU
fdisk
Type 'y' to accept default partition
partition
0
<enter>
<enter>
1
995mb
print
label
<yes>
quit
quit26) Repeat step 25) for the 2nd disk (c7t2d0)
27) Make sure the shared disks can be used for quorum :-
On VM1
+# ./cldevice refresh+
+# ./cldevice show+
On VM2
+# ./cldevice refresh+
+# ./cldevice show+
The shared disks should have the same DID (d2,d3,d4 etc). Note down the DID that you are going to use for quorum (e.g d2)
By default, global fencing is enabled for these disks. We need to turn it off for all disks as these are SATA disks :-
+# cldevice set -p default_fencing=nofencing-noscrub d1+
+# cldevice set -p default_fencing=nofencing-noscrub d2+
+# cldevice set -p default_fencing=nofencing-noscrub d3+
+# cldevice set -p default_fencing=nofencing-noscrub d4+
28) It is better to do one more reboot of both VMs, otherwise I got a error when adding the quorum disk
29) Run clsetup to add quorum disk and to complete cluster configuration :-
+# ./clsetup+
=== Initial Cluster Setup ===
Enter 'Yes' for "Do you want to continue"
Enter 'Yes' for "Do you want add any quorum devices"
Select '1) Directly Attached Shared Disk' for the type of device
Enter 'Yes' for "Is it okay to continue"
Enter 'd2' (or 'd3') for 'Which global device do you want to use'
Enter 'Yes' for "Is it okay to proceed with the update"
The command 'clquorum add d2' is run
Enter 'No' for "Do you want to add another quorum device"
Enter 'Yes' for "Is it okay to reset "installmode"?"Cluster initialization is complete.!!!
30) Run 'clquorum status' to confirm both nodes and the quorum disk have 1 vote each
31) Run other cluster commands to explore!
I will cover Data services and shared file system in another post. Basically the other shared disk
can be used to create a UFS filesystem and mount it on all nodes.The Solaris Cluster 4.1 Installation and Concepts Guide are available at :-
http://docs.oracle.com/cd/E29086_01/index.html
Thanks. -
Linux install server and solaris 10
Hi,
I am trying to learn Solaris as a student. I bought a SPARC (Netra T105 UltrasparcII) server on ebay which requires a network install as there is no cd-rom, or keyboard.
I only have a linux box (like I said, I'm a stingy student) to use as an install server, there is a few tutorials out there to try and do this, but none for Solaris 10. I have been hacking away at this for days, but cannot get it to install. I have the sparc server using RARP and then getting the /etc/bootparams file and downloading the boot files, but it does not get to locating the jumpstart files or the install files (I dont know if I can install from the terminal using the keyboard (without jumpstart) - I have not got that far yet).
I always get this, like it cannot find the install directory, I was wireshark on the linux boot server and see loads of NFS traffic after the TFTP download, but cannot seem to see what part it actually at. I have a detailed log at the bottom from putty. Any help greatly appreciated.Cheers
ERROR: bpgetfile unable to access network
/sbin/install-discovery: information: not found
Linux box setup:
/etc/bootparams
solaris root=192.168.2.10:/home/sunos/Solaris_10/Tools/Boot rootopts=rsize=32768 boottype=:in install=192.168.2.10:/home/sunos_install/Solaris_10/Product sysid_config=192.168.2.10:/home/sunos_install/jumpstart/sysidcfg install_config=192.168.2.10:/home/sunos_install/jumpstart/jumpstart.conf
TFTP setup from /tftpboot:
[root@robert tftpboot]# ll
total 232
lrwxrwxrwx 1 root root 8 Jun 10 13:55 C0A80214 -> inetboot
-rwxrwxrwx 1 root root 221280 Jun 10 13:47 inetboot
The Openboot can get ahold of the inetboot file and downloads and it and then loads it.
The following directories are exported through NFS
[root@robert sunos_install]# cat /etc/exports
#/home/nfs 192.168.2.0/24(ro,sync)
/home/sunos *(ro,no_root_squash)
/home/sunos_install *(ro,no_root_squash)
[root@robert tftpboot]# showmount -e localhost
Export list for localhost:
/home/sunos *
/home/sunos_install *
In /home/sunos, I have:
[root@robert sunos]# tree -L 2
|-- Solaris_10
| `-- Tools
|-- boot
| |-- hsfs.bootblock
| `-- sparc.miniroot
`-- lost+found
In /home/sunos_install, I have:
[root@robert sunos_install]# tree -L 2
|-- Solaris_10
| `-- Product
|-- jumpstart
| |-- jumpstart.conf
| `-- sysidcfg
`-- lost+found
[root@robert jumpstart]# cat jumpstart.conf
install_type initial_install
system_type server
partitioning explicit
filesys any 2000 /
filesys any 1500 swap
filesys any 1500 /var
filesys any 2000 /opt
geo N_America
cluster SUNWCreq
package SUNWgzip add
package SUNWless add
package SUNWman add
package SUNWbash add
package SUNWtcsh add
package SUNWzsh add
[root@robert jumpstart]# cat sysidcfg
system_locale=en_US
timezone=US/Pacific
terminal=xterms
name_service=NONE
timeserver=pool.ntp.org
security_policy=NONE
root_password=xxxx
network_interface=primary
{ hostname=js-test
ip_address=192.168.2.20
netmask=255.255.255.0
protocol_ipv6=yes}
Putty log file from console:
root server: 192.168.2.10 (192.168.2.10)
root directory: /home/sunos/Solaris_10/Tools/Boot
module /platform/sun4u/kernel/sparcv9/unix: text at [0x1000000, 0x10a096d] data at 0x1800000
module /platform/sun4u/kernel/sparcv9/genunix: text at [0x10a0970, 0x12615bf] data at 0x1867cc0
module /platform/sun4u/kernel/misc/sparcv9/platmod: text at [0x12615c0, 0x12615c7] data at 0x18bdf80
module /platform/sun4u/kernel/cpu/sparcv9/SUNW,UltraSPARC-IIi: text at [0x1261600, 0x126da07] data at 0x18be680
SunOS Release 5.10 Version Generic_139555-08 64-bit
Copyright 1983-2009 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
\|/Ethernet address = 8:0:20:c2:1b:b4
-Using default device instance data
\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/mem = 1048576K (0x40000000)
avail mem = 846602240
root nexus = Netra t1 (UltraSPARC-IIi 440MHz)
pseudo0 at root
pseudo0 is /pseudo
scsi_vhci0 at root
scsi_vhci0 is /scsi_vhci
ramdisk0 at root
ramdisk0 is /ramdisk-root
root on /ramdisk-root:a fstype ufs
pseudo-device: dld0
dld0 is /pseudo/dld@0
pcipsy0 at root: UPA 0x1f 0x0
pcipsy0 is /pci@1f,0
PCI-device: pci@1,1, simba0
simba0 is /pci@1f,0/pci@1,1
SUNW,hme0 : PCI IO 2.0 (Rev Id = c1) Found
SUNW,hme0 : Local Ethernet address = 8:0:20:c2:1b:b4
PCI-device: network@1,1, hme0
hme0 is /pci@1f,0/pci@1,1/network@1,1
SUNW,hme1 : PCI IO 2.0 (Rev Id = c1) Found
SUNW,hme1 : Local Ethernet address = 8:0:20:c2:1b:b5
PCI-device: network@3,1, hme1
hme1 is /pci@1f,0/pci@1,1/network@3,1
PCI-device: ebus@1, ebus0
ebus0 is /pci@1f,0/pci@1,1/ebus@1
su0 at ebus0: offset 14,3803f8
su0 is /pci@1f,0/pci@1,1/ebus@1/su@14,3803f8
cpu0: UltraSPARC-IIi (portid 0 impl 0x12 ver 0x91 clock 440 MHz)
iscsi0 at root
iscsi0 is /iscsi
|pseudo-device: zfs0
zfs0 is /pseudo/zfs@0
Configuring devices.
/pseudo-device: devinfo0
devinfo0 is /pseudo/devinfo@0
PCI-device: pci@1, simba1
simba1 is /pci@1f,0/pci@1
pseudo-device: pseudo1
pseudo1 is /pseudo/zconsnex@1
/pci@1f,0/pci@1,1/network@1,1 (hme0) online
/pci@1f,0/pci@1,1/scsi@2 (glm0):
Rev. 3 Symbios 53c875 found.
PCI-device: scsi@2, glm0
glm0 is /pci@1f,0/pci@1,1/scsi@2
PCI-device: pci@1, pci_pci0
pci_pci0 is /pci@1f,0/pci@1/pci@1
su1 at ebus0: offset 14,3602f8
su1 is /pci@1f,0/pci@1,1/ebus@1/su@14,3602f8
ecpp0 at ebus0: offset 14,340278
ecpp0 is /pci@1f,0/pci@1,1/ebus@1/ecpp@14,340278
pseudo-device: fssnap0
fssnap0 is /pseudo/fssnap@0
pseudo-device: ramdisk1024
ramdisk1024 is /pseudo/ramdisk@1024
sd0 at glm0: target 1 lun 0
sd0 is /pci@1f,0/pci@1,1/scsi@2/sd@1,0
pseudo-device: winlock0
winlock0 is /pseudo/winlock@0
pseudo-device: llc10
llc10 is /pseudo/llc1@0
pseudo-device: lofi0
lofi0 is /pseudo/lofi@0
pseudo-device: fcp0
fcp0 is /pseudo/fcp@0
pseudo-device: fcsm0
fcsm0 is /pseudo/fcsm@0
pseudo-device: trapstat0
trapstat0 is /pseudo/trapstat@0
pseudo-device: pool0
pool0 is /pseudo/pool@0
pseudo-device: mem_cache0
mem_cache0 is /pseudo/mem_cache@0
pseudo-device: fcode0
fcode0 is /pseudo/fcode@0
-\i2c0 at ebus0: offset 14,600000
i2c1 at ebus0: offset 14,100000
i2cadc0 at i2c0: reg=0x0:0x9E, name=bus,address="0,9e"
i2cadc0 is /pci@1f,0/pci@1,1/ebus@1/i2c@14,600000/adc@0,9e
i2cgpio0 at i2c0: reg=0x0:0x70, name=bus,address="0,70"
i2cgpio0 is /pci@1f,0/pci@1,1/ebus@1/i2c@14,600000/gpio@0,70
i2cgpio1 at i2c0: reg=0x0:0x72, name=bus,address="0,72"
i2cgpio1 is /pci@1f,0/pci@1,1/ebus@1/i2c@14,600000/gpio@0,72
|/-\|/-\|/-Using RPC Bootparams for network configuration information.
Attempting to configure interface hme1...
\|/-\|/-WARNING: hme1: fault detected in device; service degraded
WARNING: hme1: No response from Ethernet network : Link down -- cable problem?
\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-Skipped interface hme1
Attempting to configure interface hme0...
Configured interface hme0
ERROR: bpgetfile unable to access network
/sbin/install-discovery: information: not foundrmcnaught48 wrote:
Hi,
I am trying to learn Solaris as a student. I bought a SPARC (Netra T105 UltrasparcII) server on ebay which requires a network install as there is no cd-rom, or keyboard.
I only have a linux box (like I said, I'm a stingy student) to use as an install server, there is a few tutorials out there to try and do this, but none for Solaris 10. I have been hacking away at this for days, but cannot get it to install. I have the sparc server using RARP and then getting the /etc/bootparams file and downloading the boot files, but it does not get to locating the jumpstart files or the install files (I dont know if I can install from the terminal using the keyboard (without jumpstart) - I have not got that far yet).You can install using the keyboard with jumpstart. Without jumpstart you'd need local media (you can't enter the OS via the keyboard).
I always get this, like it cannot find the install directory, I was wireshark on the linux boot server and see loads of NFS traffic after the TFTP download, but cannot seem to see what part it actually at. I have a detailed log at the bottom from putty. Any help greatly appreciated.Cheers
ERROR: bpgetfile unable to access network
/sbin/install-discovery: information: not foundHmm. That looks like the image file is corrupt. Can you pull the image from media again? Can you see if there's a /sbin/install-discovery file in the image (usually under Tools/Boot/root). I recall there used to be a problem with that file.
Linux box setup:
/etc/bootparams
solaris root=192.168.2.10:/home/sunos/Solaris_10/Tools/Boot rootopts=rsize=32768 boottype=:in install=192.168.2.10:/home/sunos_install/Solaris_10/Product sysid_config=192.168.2.10:/home/sunos_install/jumpstart/sysidcfg install_config=192.168.2.10:/home/sunos_install/jumpstart/jumpstart.confIf you just want an interactive install (prompt for configuration/settings), you don't need sysid_config or install_config. Those are for automated installations.
TFTP setup from /tftpboot:
[root@robert tftpboot]# ll
total 232
lrwxrwxrwx 1 root root 8 Jun 10 13:55 C0A80214 -> inetboot
-rwxrwxrwx 1 root root 221280 Jun 10 13:47 inetboot
The Openboot can get ahold of the inetboot file and downloads and it and then loads it.
The following directories are exported through NFS
[root@robert sunos_install]# cat /etc/exports
#/home/nfs 192.168.2.0/24(ro,sync)
/home/sunos *(ro,no_root_squash)
/home/sunos_install *(ro,no_root_squash)
[root@robert tftpboot]# showmount -e localhost
Export list for localhost:
/home/sunos *
/home/sunos_install *That looks pretty good.
You do have the option of running VMware on linux, and putting a Solaris 10 image on it, then using that VM as your boot server. But the problem you're displaying doesn't appear to be related to the linux server.
Darren -
Clustering Solaris 10 (SPARC) with QFS 4.3
I have searched to no avail for a solution to my error. The error is bolded and Italics in the information below. I would appreciate any assists!!
System
- Dual Sun-Fire-280R with external dual ported SCSI-3 disk arrays.
- Solaris 10 Update 1 with the latest patch set (as of 5/2/06)
- Clustering from Java Enterpriset System 2005Q4 - SPARC
- StorEdge_QFS_4.3
The root/boot disk is not mirrored - don't want to introduce another level
of complication at this point.
I followed an example in one of the docs for "HA-NFS on Volumes Controlled by Solstice DiskSuite/Solaris Volume Manager" from setting up an HA QFS file system".
The following is additional information:#
hosts file for PREFERRED - NOTE Secondary has same entries but PREF and SEC loghosts are switched.
# Internet host table
127.0.0.1 localhost
XXX.xxx.xxx.11 PREFFERED loghost
XXX.xxx.xxx.10 SECONDARY
XXX.xxx.xxx.205 SECONDARY-test
XXX.xxx.xxx.206 PREFERRED-test
XXX.xxx.xxx.207 VIRTUAL
Please NOTE I only have one NIC port to the public net.
ifconfig results from the PREFERRED for the interconnects only
eri0: flags=1008843<UP,BROADCAST,RUNNING,MULTICAST,PRIVATE,IPv4> mtu 1500 index 3
inet 172.16.0.129 netmask ffffff80 broadcast 172.16.0.255
ether 0:3:ba:18:70:15
hme0: flags=1008843<UP,BROADCAST,RUNNING,MULTICAST,PRIVATE,IPv4> mtu 1500 index 4
inet 172.16.1.1 netmask ffffff80 broadcast 172.16.1.127
ether 8:0:20:9b:bc:f9
clprivnet0: flags=1009843<UP,BROADCAST,RUNNING,MULTICAST,MULTI_BCAST,PRIVATE,IPv4> mtu 1500 index 5
inet 172.16.193.1 netmask ffffff00 broadcast 172.16.193.255
ether 0:0:0:0:0:1
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 index 1
inet6 ::1/128
eri0: flags=2008841<UP,RUNNING,MULTICAST,PRIVATE,IPv6> mtu 1500 index 3
inet6 fe80::203:baff:fe18:7015/10
ether 0:3:ba:18:70:15
hme0: flags=2008841<UP,RUNNING,MULTICAST,PRIVATE,IPv6> mtu 1500 index 4
inet6 fe80::a00:20ff:fe9b:bcf9/10
ether 8:0:20:9b:bc:f9
PLEASE NOTE!! I did disable ipv6 during Solaris installation and I have modified the defaults to implement NFS - 3
ifconfig results from the SECONDARY for the interconnects only
eri0: flags=1008843<UP,BROADCAST,RUNNING,MULTICAST,PRIVATE,IPv4> mtu 1500 index 3
inet 172.16.0.130 netmask ffffff80 broadcast 172.16.0.255
ether 0:3:ba:18:86:fe
hme0: flags=1008843<UP,BROADCAST,RUNNING,MULTICAST,PRIVATE,IPv4> mtu 1500 index 4
inet 172.16.1.2 netmask ffffff80 broadcast 172.16.1.127
ether 8:0:20:ac:97:9f
clprivnet0: flags=1009843<UP,BROADCAST,RUNNING,MULTICAST,MULTI_BCAST,PRIVATE,IPv4> mtu 1500 index 5
inet 172.16.193.2 netmask ffffff00 broadcast 172.16.193.255
ether 0:0:0:0:0:2
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 index 1
inet6 ::1/128
eri0: flags=2008841<UP,RUNNING,MULTICAST,PRIVATE,IPv6> mtu 1500 index 3
inet6 fe80::203:baff:fe18:86fe/10
ether 0:3:ba:18:86:fe
hme0: flags=2008841<UP,RUNNING,MULTICAST,PRIVATE,IPv6> mtu 1500 index 4
inet6 fe80::a00:20ff:feac:979f/10
ether 8:0:20:ac:97:9f
Again - I disabled ipv6 and install time.
I followed all instructions and below are the final scrgadm command sequences:
scrgadm -p | egrep "SUNW.HAStoragePlus|SUNW.LogicalHostname|SUNW.nfs"
scrgadm -a -t SUNW.HAStoragePlus
scrgadm -a -t SUNW.nfs
scrgadm -a -g nfs-rg -y PathPrefix=/global/nfs
scrgadm -a -L -g nfs-rg -l VIRTUAL_HOSTNAME
scrgadm -c -g nfs-rg -h PREFERRED_HOST,SECONDARY_HOST
scrgadm -a -g nfs-rg -j qfsnfs1-res -t SUNW.HAStoragePlus -x FilesystemMountPoints=/global/qfsnfs1 -x Filesy
stemCheckCommand=/bin/true
scswitch -Z -g nfs-rg
scrgadm -a -g nfs-rg -j nfs1-res -t SUNW.nfs -y Resource_dependencies=qfsnfs1-res
PREFERRED_HOST - Some shared paths in file /global/nfs/SUNW.nfs/dfstab.nfs1-res are invalid.
VALIDATE on resource nfs1-res, resource group nfs-rg, exited with non-zero exit status.
Validation of resource nfs1-res in resource group nfs-rg on node PREFERRED_HOST failed.
Below are the contents of /global/nfs/SUNW.nfs/dfstab.nfs1-res:
share -F nfs -o rw /global/qfsnfs1
AND Finally the results of the scstat command - same for both hosts:(root)[503]# scstat
-- Cluster Nodes --
Node name Status
Cluster node: PREF Online
Cluster node: SEC Online
-- Cluster Transport Paths --
Endpoint Endpoint Status
Transport path: PREF:hme0 SEC:hme0 Path online
Transport path: PREF:eri0 SEC:eri0 Path online
-- Quorum Summary --
Quorum votes possible: 3
Quorum votes needed: 2
Quorum votes present: 3
-- Quorum Votes by Node --
Node Name Present Possible Status
Node votes: PREF 1 1 Online
Node votes: SEC 1 1 Online
-- Quorum Votes by Device --
Device Name Present Possible Status
Device votes: /dev/did/rdsk/d3s2 1 1 Online
-- Device Group Servers --
Device Group Primary Secondary
Device group servers: nfs1dg PREF SEC
Device group servers: nfsdg PREF SEC
-- Device Group Status --
Device Group Status
Device group status: nfs1dg Online
Device group status: nfsdg Online
-- Multi-owner Device Groups --
Device Group Online Status
-- Resource Groups and Resources --
Group Name Resources
Resources: nfs-rg VIRTUAL qfsnfs1-res
-- Resource Groups --
Group Name Node Name State
Group: nfs-rg PREF Online
Group: nfs-rg SEC Offline
-- Resources --
Resource Name Node Name State Status Message
Resource: VIRTUAL PREF Online Online - LogicalHo
stname online.
Resource: VIRTUAL SEC Offline Offline - LogicalH
ostname offline.
Resource: qfsnfs1-res PREF Online Online
Resource: qfsnfs1-res SEC Offline Offline
-- IPMP Groups --
Node Name Group Status Adapter Status
IPMP Group: PREF ipmp1 Online ce0 Online
IPMP Group: SEC ipmp1 Online ce0 Online
ALSO the system will not fail overGood Morning Tim:
Below are the contents of /global/nfs/SUNW.nfs/dfstab.nfs1-res:
share -F nfs -o rw /global/qfsnfs1
Below are the contents of vfstab for the Preferred host:
#device device mount FS fsck mount mount
#to mount to fsck point type pass at boot options
fd - /dev/fd fd - no -
/proc - /proc proc - no -
/dev/dsk/c1t1d0s1 - - swap - no -
/dev/dsk/c1t1d0s0 /dev/rdsk/c1t1d0s0 / ufs 1 no -
#/dev/dsk/c1t1d0s3 /dev/rdsk/c1t1d0s3 /globaldevices ufs 2 yes -
/devices - /devices devfs - no -
ctfs - /system/contract ctfs - no -
objfs - /system/object objfs - no -
swap - /tmp tmpfs - yes size=1024M
/dev/did/dsk/d2s3 /dev/did/rdsk/d2s3 /global/.devices/node@1 ufs 2 no global
qfsnfs1 - /global/qfsnfs1 samfs 2 no sync_meta=1
Below are the contents of vfstab for the Secondary host:
#device device mount FS fsck mount mount
#to mount to fsck point type pass at boot options
fd - /dev/fd fd - no -
/proc - /proc proc - no -
/dev/dsk/c1t1d0s1 - - swap - no -
/dev/dsk/c1t1d0s0 /dev/rdsk/c1t1d0s0 / ufs 1 no -
#/dev/dsk/c1t1d0s3 /dev/rdsk/c1t1d0s3 /globaldevices ufs 2 yes -
/devices - /devices devfs - no -
ctfs - /system/contract ctfs - no -
objfs - /system/object objfs - no -
swap - /tmp tmpfs - yes size=1024M
/dev/did/dsk/d20s3 /dev/did/rdsk/d20s3 /global/.devices/node@2 ufs 2 no global
qfsnfs1 - /global/qfsnfs1 samfs 2 no sync_meta=1
Below are contents of /var/adm/messages from scswitch -Z -g nfs-rg through the offending scrgadm command:
May 15 14:39:21 PREFFERED_HOST Cluster.RGM.rgmd: [ID 784560 daemon.notice] resource qfsnfs1-res status on node PREFFERED_HOST change to R_FM_ONLINE
May 15 14:39:21 PREFFERED_HOST Cluster.RGM.rgmd: [ID 922363 daemon.notice] resource qfsnfs1-res status msg on node PREFFERED_HOST change to <>
May 15 14:39:21 PREFFERED_HOST Cluster.RGM.rgmd: [ID 443746 daemon.notice] resource qfsnfs1-res state on node PREFFERED_HOST change to R_MON_STARTING
May 15 14:39:21 PREFFERED_HOST Cluster.RGM.rgmd: [ID 529407 daemon.notice] resource group nfs-rg state on node PREFFERED_HOST change to RG_PENDING_ON_STARTED
May 15 14:39:21 PREFFERED_HOST Cluster.RGM.rgmd: [ID 707948 daemon.notice] launching method <hastorageplus_monitor_start> for resource <qfsnfs1-res>, resource group <nfs-rg>, timeout <90> seconds
May 15 14:39:21 PREFFERED_HOST Cluster.RGM.rgmd: [ID 736390 daemon.notice] method <hastorageplus_monitor_start> completed successfully for resource <qfsnfs1-res>, resource group <nfs-rg>, time used: 0% of timeout <90 seconds>
May 15 14:39:21 PREFFERED_HOST Cluster.RGM.rgmd: [ID 443746 daemon.notice] resource qfsnfs1-res state on node PREFFERED_HOST change to R_ONLINE
May 15 14:39:22 PREFFERED_HOST Cluster.RGM.rgmd: [ID 736390 daemon.notice] method <hafoip_monitor_start> completed successfully for resource <merater>, resource group <nfs-rg>, time used: 0% of timeout <300 seconds>
May 15 14:39:22 PREFFERED_HOST Cluster.RGM.rgmd: [ID 443746 daemon.notice] resource merater state on node PREFFERED_HOST change to R_ONLINE
May 15 14:39:22 PREFFERED_HOST Cluster.RGM.rgmd: [ID 529407 daemon.notice] resource group nfs-rg state on node PREFFERED_HOST change to RG_ONLINE
May 15 14:42:47 PREFFERED_HOST Cluster.RGM.rgmd: [ID 707948 daemon.notice] launching method <nfs_validate> for resource <nfs1-res>, resource group <nfs-rg>, timeout <300> seconds
May 15 14:42:47 PREFFERED_HOST SC[SUNW.nfs:3.1,nfs-rg,nfs1-res,nfs_validate]: [ID 638868 daemon.error] /global/qfsnfs1 does not exist or is not mounted.
May 15 14:42:47 PREFFERED_HOST SC[SUNW.nfs:3.1,nfs-rg,nfs1-res,nfs_validate]: [ID 792295 daemon.error] Some shared paths in file /global/nfs/admin/SUNW.nfs/dfstab.nfs1-res are invalid.
May 15 14:42:47 PREFFERED_HOST Cluster.RGM.rgmd: [ID 699104 daemon.error] VALIDATE failed on resource <nfs1-res>, resource group <nfs-rg>, time used: 0% of timeout <300, seconds>
If there is anything else that might help, please let me know. I am currently considering tearing the cluseter down and rebuilding it to test with a UFS filesystem to see if the problem might be with QFS., -
Unattended Solaris 10 installation with jumpstart server issue
Hello,
I have setup a jumpstart server and am finding it difficult to get a fully unattended solaris 10 sparc 10/09 install on a t1000 client. The console connection to the client goes into interactive mode at the point in system identification when the installer asks if the system is networked or non-networked, and runs a setup of default time zone and date/time. Using esc-2 to advance through the interactive menu it asks if ithe system is on a subnet, for the netmask (which is there as default), asks if the current time is correct, then asks me to confirm that my selections are correct. When I confirm it goes on it's merry way to finish the installation unattended.
My guess is it does not like one of the values in the sysidcfg file being used, but can't seem to see where the problem is. I don't see anything in the table of sysidcfg keywords from the online docs that specify networked or not, and I am using the network_interface keyword to define hostname, ip, default router, netmask and ipv6, and thought that should take care of the networking portion of system identification, also have timezone and time server set.
Could it be that I am configuring an ethernet port that is not connected (bge0)? This computer will be deployed on a DMZ type network, and the jumpstart server is located on a different network our internal private network. The jumpstart installation via the server is done by using a temporary ethernet connection on a second interface of the client. One other note the defined time server is on the dmz so the installation program won't see it.
Any suggestions on what might be causing the interactive installer to kick in?
Here is the sysidcfg used for the client:
more sysidcfg_vlan3/sysidcfg
keyboard=US-English
terminal=vt100
security_policy=NONE
system_locale=en_US
install_locale=en_US
timeserver=service-time
timezone=US/Eastern
network_interface=bge0 {hostname=D-Wade.xxx.xxxx.xxx default_route=xx.xx.xxx.1 ip_address=xx.xx.xxx..3 netmask=255.255.255.0 protocol_ipv6=no}
name_service=NONE
nfs4_domain=dynamic
root_password=someEncryptedValue
service_profile=limited_net
Thanks,
John
Edited by: jmck407 on Aug 6, 2010 11:42 AMupdate. Fixed the problem with date/time by using abrante's suggestion of setting the time server to localhost. Don't get prompted for date/time information in the interactive installer any more.
If I setup the sysidcfg file to configure the ethernet port being used to communicate with the jumpstart server (bge1), using an ip and netmask that is on the jumpstart server network, the installation goes through fully un-attended.
Is there any way to get a second interface (in this case bge0) configured with ip/netmask values that are not part of the jumpstart server's network, using a non interactive jumpstart installation? Using these values in sysidcfg, the only things prompted for during the installation are, Is the system on a subnet, and what is the netmask. Anyone know what the sysidcfg part of the installation does to check the validity of a netmask value given in the sysidcfg file on the jumpstart server?
If need be, I guess the interface could be configured in the finish script.
more sysidcfg_vlan3/sysidcfg
keyboard=US-English
terminal=vt100
security_policy=NONE
system_locale=en_US
install_locale=en_US
timeserver=localhost
timezone=US/Eastern
network_interface=bge0 {hostname=D-Wade.xxx.xxxx.xxx default_route=xx.xx.xxx.1 ip_address=xx.xx.xxx..3 netmask=255.255.255.0 protocol_ipv6=no}
name_service=NONE
nfs4_domain=dynamic
root_password=someEncryptedValue
service_profile=limited_net -
Solaris 10/6/06 Routing
Hello,
I am trying to set up my Solaris server as a router and am having trouble. I am brand new to solaris but have had some experience with windoze.
Basically my server has two nics
sfe0 and sfe1
sfe0 is connected through a switch to my private network 192.168.1.0 and has an address of 192.168.1.107
sfe1 is connected to my DSL modem with network address 192.168.2.0 and an IP address of 192.168.2.3
My DSL modem has a private address of 192.168.2.1 and a public address assigned by DHCP from my service provider.
The problem is when I use my laptop to try connectivity to my solaris server I am able to ping both nic's but am unable to ping my DSL modem.
Details of configurations.
IFCONFIG
# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index
1
inet 127.0.0.1 netmask ff000000
sfe0: flags=1100843<UP,BROADCAST,RUNNING,MULTICAST,ROUTER,IPv4> mtu 1500 index 2
inet 192.168.1.10 netmask ffffff00 broadcast 192.168.1.255
ether 0:7:95:cc:f9:4
sfe1: flags=1100843<UP,BROADCAST,RUNNING,MULTICAST,ROUTER,IPv4> mtu 1500 index 4
inet 192.168.2.3 netmask ffffff00 broadcast 192.168.2.255
ether 0:f:b5:8d:be:a6
NETSTAT
# netstat -r
Routing Table: IPv4
Destination Gateway Flags Ref Use Interface
192.168.1.0 solarissvr U 1 5 sfe0
192.168.2.0 solarissvrpublic U 1 0 sfe1
base-address.mcast.net solarissvr U 1 0 sfe0
localhost localhost UH 4 77 lo0
ROUTEADM
# routeadm
Configuration Current Current
Option Configuration System State
IPv4 forwarding enabled enabled
IPv4 routing default (enabled) enabled
IPv6 forwarding disabled disabled
IPv6 routing disabled disabled
IPF.CONF
# ipf.conf
# IP Filter rules to be loaded during startup
# See ipf(4) manpage for more information on
# IP Filter rules syntax.
map sfe1 192.168.1.0/24 -> 0/32
PFIL.AP
# IP Filter pfil autopush setup
# See the autopush(1M) manpage for more information.
# Format of the entries in this file is:
#major minor lastminor modules
#iprb -1 0 pfil
#elxl -1 0 pfil
#e1000g -1 0 pfil
#bge -1 0 pfil
#nf -1 0 pfil
#fa -1 0 pfil
#ci -1 0 pfil
#el -1 0 pfil
#ipdptp -1 0 pfil
#lane -1 0 pfil
#dnet -1 0 pfil
#pcelx -1 0 pfil
#spwr -1 0 pfil
sfe -1 0 pfil
Can anyone see anything wrong with this setup.
Thank you in advance
JaredSorry forgot what you asked me.
Netstat -rn yeilds
Routing Table: IPv4
Destination Gateway Flags Ref Use Interface
192.168.1.0 192.168.1.10 U 1 2 sfe0
192.168.2.0 192.168.2.3 U 1 1 sfe1
224.0.0.0 192.168.1.10 U 1 0 sfe0
default 192.168.2.1 UG 1 30
127.0.0.1 127.0.0.1 UH 6 353 lo0
and ping -s yeilds
----192.168.2.1 PING Statistics----
177 packets transmitted, 177 packets received, 0% packet loss
round-trip (ms) min/avg/max/stddev = 1.01/42483./1.22e+05/4.096e+04
after 177 pings.
Thanks mate.....does this help
Maybe you are looking for
-
I need help with a VB Application
I need help with building an application and I am on a tight deadline. Below I have included the specifics for what I need the application to do as well as the code that I have completed so far. I am having trouble getting the data input into the t
-
Error message "the file "itunes library.it" cannot be read because
it was created by a newer version of itunes." I upgraded to laters version 7 of itunes. After installation, all the songs in my library were skipping. I uninstalled. I reinstalled vesion 6.0.5.20 and I am getting the error message above. Is there a w
-
I recently built a computer and was installing Windows 7 Ultimate 64 bit on it. I have a few problems going on. First of all all my browser are constantly crashing (including IE, Firefox and Google Chrome) on random reasons. I checked the conflicts o
-
How to get rid of an unwanted grey bar in preview mode
Hi, I am trying to create a mobile site for a client, but when I preview how it looks I get an unwanted grey bar (see image) I started out with the default size and got the problem, so I tried increasing the width but it hasn't worked. Thanks for any
-
Service Manager 2012R2 - Hotfix for Service Manager 2012 SP1 secondary Management server
Can the hotfix for the issue described here - http://blogs.technet.com/b/servicemanager/archive/2013/04/22/service-manager-2012-sp1-secondary-management-server-cannot-set-availability-on-a-health-service-that-doesn-t-exist.aspx , be applied to a 201