Solaris 10 U8 DHCP
Hi,
I successfully installed S10U8 on my system when connected via ethernet to a broadband router. I then installed some application software which contains a management browser ie. browse to https://myhostname:port/mgr and this all worked my Internet connection to the outside world was also perfect.
However most of the time I will not be connected to the broadband router in this way but will be standalone so when I broke my network connection and rebooted I got
rtls0: link down
failed to configure DHCP
hostname set to myhostname
which I thought reasonable enough - however just before the JDS desktop environment starts I get a message
popup saying
myhostname not recognised gnome may not continue to work properly you may
want to edit your /etc/hosts file <continue> or <try again>
so I <continue> and login then try to do
telnet myhostname ==> fails as unrecognised
telnet 127.0.0.1 ==> works
and https://myhostname:port/mgr ==>fails as myhostname is unrecognised
but https://127.0.0.1:port/mgr ==> also fails something about being rejected
obviously I want to keep my DHCP configuration as it works and I will be using that network connection
but how do I get myhostname to be recognised in the standalone situation Ie. get
telnet myhostname to work
https://myhostname:port/mgr to work
I am new to this so i think the fix should be easy?
Well this managed to get rid of the gnome popup during login
but still cant telnet.
# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
rtls0: flags=1004802<BROADCAST,MULTICAST,DHCP,IPv4> mtu 1500 index 2
inet 192.168.1.57 netmask ffffff00 broadcast 192.168.1.255
ether 0:25:86:e5:fb:9a
# svcs | grep network/physical
online 11:35:40 svc:/network/physical:default
# telnet sagan
Trying 192.168.1.57...
telnet: Unable to connect to remote host: Network is unreachable
# ping sagan
ICMP Host Unreachable from gateway localhost (127.0.0.1)
for icmp from localhost (127.0.0.1) to sagan (192.168.1.57)
# ping localhost
localhost is alive
#cat /etc/defaultrouter
192.168.1.1 #ip address of broadband router when connecting to inet with DHCP
# cat /etc/hostname.rtls0
sagan
# cat /etc/hosts
# Internet host table
::1 localhost
127.0.0.1 localhost
192.168.1.57 sagan sagan.cosmos.com loghost
# diff /etc/hosts /etc/inet/ipnodes
# cat /etc/netmasks
192.168.1.57 255.255.255.0
# cat /etc/nsswitch.conf
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
# /etc/nsswitch.dns:
# An example file that could be copied over to /etc/nsswitch.conf; it uses
# DNS for hosts lookups, otherwise it does not use any other naming service.
# "hosts:" and "services:" in this file are used only if the
# /etc/netconfig file has a "-" for nametoaddr_libs of "inet" transports.
# 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 dns
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
Similar Messages
-
Diskless x86 solaris 10 (DHCP, PXE booting)
Has anyone gotten an x86 box to be a diskless client with Solaris 10?
I have a server setup(both jumpstart and diskless server) and booting sparc just fine, but I'd like to get an x86 machine working too (you know, for fun :)
I have my LX50 jumpstarting (standard install) just fine, but when I try to diskless boot it, it hangs with a "cannot mount filesystem" type error. I have a feeling it's because I'm using the standard netinstall nbp boot kernel in tftpboot.
So, what bootfile should I be using, what options do I need to set in my DHCP server (ISC DCHP version 3)
Thanks,
ChrisAfter the end of the kernel line in grub add "-v -m verbose" and see what gets printed during the boot before it hangs.
Darren -
I'm trying to setup internet access on Solaris 10. I followed the instructions from several posts but am still unable to get access. Here is what I've done so far.
- Added the nameserver IP's to resolv.conf
- copied nsswitch.dns to nsswitch.conf
- enabled svc:/network/dns/client (not sure if this one is required though)
I am unable to perform an nslookup. The computer does have a network IP and I can telnet onto the system. Not sure where to go next.
Thanks,
solaris newbYes, DHCP is used.
netstat -nr
Routing Table: IPv4
Destination Gateway Flags Ref Use Interface
10.10.10.0 10.10.10.3 U 1 10 hme0
224.0.0.0 10.10.10.3 U 1 0 hme0
127.0.0.1 127.0.0.1 UH 4 10523 lo0
Routing Table: IPv6
Destination/Mask Gateway Flags Ref Use If
fe80::/10 fe80::a00:20ff:fec4:5b1d U 1 0 hme0
ff00::/8 fe80::a00:20ff:fec4:5b1d U 1 0 hme0
::1 ::1 UH 1 30 lo0Thanks -
I was attempting my first provisioning a host and recieved the following error:
<p>
<br>Gathering network information..
<br> Client: 10.0.2.52 (10.0.2.0/255.255.255.0)
<br> Server: 10.0.2.3 (10.0.2.0/255.255.255.0, SunOS)
<br>Adding myportal to local /etc/hosts
<br>Merge hosts file /tmp/addhost.4939 with /etc/inet/hosts
<br>Solaris: client_prevalidate
<br>Creating Client directory for myportal
<br>Solaris: client_build
<br>WARNING: no base_config_sysidcfg_default_router specified. Using the <br>base_config_defaultrouter setting
<br>Creating sysidcfg
<br>WARNING: no base_config_sysidcfg_timeserver specified using JumpStart server
<br>Creating profile
<br>Adding base_config specifics to client configuration
<br>Adding base_config specifics to client configuration
<br>Hint for module base_config, tag MODULES already exists
<br>Solaris: Configuring JumpStart boot for myportal
<br> Starting SMF services for JumpStart
<br>Solaris: Configure DHCP build
<br> Adding install client
<br>WARNING: JS_DHCP_VENDOR is not defined in jumpstart.conf
<br>WARNING: This value a space seperated list of the uname -i
<br>WARNING: outputs of the machines you want to install.
<br>WARNING: Supporting 'SUNW.i86pc' by default.
<br> Configuring myportal macro
<br> Using local dhcp server
<br> DHCP configuration complete
<br>Running '/opt/SUNWjet/bin/check_client myportal'
<br> Client: 10.0.2.52 (10.0.2.0/255.255.255.0)
<br> Server: 10.0.2.3 (10.0.2.0/255.255.255.0, SunOS)
<br>Checking product base_config/solaris
<br>Checking product base_config/solaris
<br>Checking product spsra
<br>ERROR: SPSRA: Did not find required SPS RA product installer.
<br>--------------------------------------------------------------
<br>Check of client myportal
<br>
FAILED
<br>
<br>
<br><br>
I suspect some JET config errors [DHCP], but since it was autoprovisioned by N1, I am reluctant to go changing things manually. Any help is greatly appriciated.
<p>
pzJust like the OSP plugin, I can't find spsra (SUNWspsra?) (if such a thing exists) Anyone know where it is? (this was my post a year ago, and so I am not sure what I meant by "import" :-)
Pete. -
InDesign Server Fails to start
We are unable to get our plugin running under the Relase version of InDesign CS4 Server, under Debug on a development server all runs OK.
Running Windows Server 2003 SE SP2
.Net 2.0 SP2
.Net 3.0 SP2
.Net 3.5 SP2
The Error I am getting the following error in the windows Event log
Source: SideBySide
Description: Generate Activation Context failed for C:\Program Files\Adobe\Adobe InDesign CS4 Server\Plug-ins\OurPlugin\OurPlugin_CS4.PLN. Reference error message: The referenced assembly is not installed on your system.
I have also tried installing the rapid release patch to 6.0.5 but it has made no difference.
Any suggestions welcomed.OK, I found the problem and fixed it.
I moved my system to a different router recently. When the DHCP stuff initialized the network settings the new router gave me a new IP address. However, the Solaris 8 DHCP support did not update the /etc/hosts file with the new DHCP address, rather the old DHCP address was still there. When I removed the old DHCP address from /etc/hosts, then rebooted my system, the DHCP support updated my /etc/hosts with the new IP address, and appserver7 started without problems.
I must say, appserver7 was not at all helpful in debugging the problem. Granted the DHCP support failed to configure the /etc/hosts file properly, but appserver7 more or less just died with no useful information about the problem. Everything else in the system seemed to work OK, so it was a stroke of luck that I looked in the /etc/hosts file. -
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 -
Configure DHCP Server in Solaris 10
Hi,
I am trying to configure my Solaris 10 as an DHCP server. I managed get it configured and assigning IP address to my client machines (Windows XPs). However, I can't figure out how to get the "Default Gateway" passed into the Windows XP. Here is what I have done so far:
# /usr/sbin/dhcpconfig -D -r SUNWfiles -p /var/dhcp
# /usr/sbin/dhcpconfig -N 192.168.1.0 -t 192.168.1.1
# pntadm -A 192.168.1.51 -m dns 192.168.1.0
But on the Windows XP clients, I get the right IP address, and netmask, but the default gateway is blank. How do I specify that in my DHCP server so that the default gateway gets sent to the XP clients?
Thanks.Get the apache server from www.sunfreeware.com and install it on your server.
The url will http://hostname-of-your-server
Go to apache.org to get apache documentation. -
Solaris 10 zone configuration with sysidcfg and dhcp and hostname
Hi
Excuse me if I look like a n00b... it's probably because I'm a n00b.
I've been struggling in the dark for more than 2 days now and I'm wondering if I'm thinking about this all wrong...
I have stand-alone server where I need to run zones. I want to create zones and automagically configure them at boot (read: by running a script). So here's what I need...
A zone
starting from unconfigured state
whose hostname is not the same as the zone name
using corporate DHCP to get its IP address
with DNS config coming from the DHCP server
registering its address the DNS
with a preconfigured root password
(I don't own the corporate DHCP or DNS servers, I can't put my own DHCP or DNS servers on the network.)
I would lke to create the zone, throw some config at it, then boot the zone and walk away. I am using zones with exclusive-IP. I can construct the zones and manually configure them once they're started to have DHCP, my own name, registered IP address with DNS and everything else I have specified above. But I don't want to do it manually...
Sysidcfg seems to do some of what I want but not entirely.
In sysidcfg I can set the root_password, the primary interface using DHCP, DNS server. I can't set a hostname in sysidcfg AND use configure it for DHCP. So the hostname is not what I want it to be after the zone is started and ready to go. The DHCP server is providing the DNS configuration, Solaris does not seem to honour it, but i'll ignore that for the moment.
I have tried various combinations of using sysidcfg, /etc/nodename, /etc/hostname.+interface+ and /etc/dhcp.+interface+ but I can't find any combination that actually works.
I can write to the zonestorage/etc/nodename to set the nodename, that works. But it does not match the DHCP address, so I get prompted for a new name service because it can't find a DNS entry for the name.
I can write to the zonestorage/etc/hostname.+interface+ and /etc/dhcp.+interface+ (to get the system to register its name with the DNS server after getting its DHCP address) but then I get a system with no root password and no DNS configuration, even though they are set in the sysidcfg file.
I can write a script that gets part of the way using sysidcfg and /etc/... files, then boots the zone and then runs a bunch of voodoo via zlogin commands to fix all the stuff that couldn't be done 'properly', but that's not a 'boot and walk away' environment. I can write a script that uses sysidcfg and hacks around with other files in /etc (like nsswitch.conf, resolv.conf), but that just feels likes a dirty hack to fix something that wasn't done properly in the first place.
So where am I going wrong and how do I do it right (within the constraints defined)? Why can't I configure, boot and walk away?
ThanksThanks abrante
Thanks for your response!
I don't think the config is messed up after the installation. I think the installation is fine, it's just not what I want :-)
I'm trying to decouple the zonename from the system name and get DNS registrations working. After installation, a DHCP client can get its hostname from DNS but I'm trying to do it the other way around. I want the DHCP client specify its own hostname, get an address from the DHCP server and then register its hostname with DNS. If the system gets its name from DNS/DHCP then I have to configure those to provide the system name and I don't own the DHCP/DNS infrastructure. These zones are for a development/QA environment, so we create and reconfigure these frequently. Hence the need to specify the system name within the zone and register that name in the DNS.
I have tried fiddling with the PARAM_REQUEST_LIST but it does not seem to be working as I expect. :-$ Removing 12 did not help with setting the hostname from the system. DNS does not have a registered name for this system anyway, so even if it tried to get a name for this system, it would get nothing.
I also do want the DHCP to change the DNS server and domain name, but this does not happen even though my dhcpagent includes 6 and 15 in the PARAM_REQUEST_LIST. I still have to set them in the sysidcfg file because it is always ignored in Solaris (S10u8 with 10_Recommended 30-Jul-2010)
As stated, I know I can hack around with the system after it has booted. But I'm trying to configure the system before it starts and let it take care of itself and not have to touch it. Frankly I'm surprised that the sysidcfg does not allow you to set a hostname name when you are using DHCP, that the default DHCP configuration does not register the system name with the DNS server, and the DNS config from the DHCP response is ignored. Even a sys-unconfiged system requires DNS configuration during initial boot, when I know that the DHCP response contains DNS information.
FYI: Windows systems using DHCP work as expected in this respect by default, i.e. set system name, use DHCP --> system gets address from corporate DHCP, DNS settings are set from DHCP information, DNS registration is made for system name.
I'm working around this at the moment... I call my zone by the system name I want, I hardcode the DNS settings in the sysidcfg file and I create the hostname.+nic+ and dhcp.+nic+ files in the zone storage to get the system to register its name with DNS, them boot.
Edited by: cydonian on Aug 19, 2010 7:45 PM -
Can anyone help with a problem involving Solaris 10 on dhcp.
Whenever the system (Blade 150) is rebooted and gets a
new dhcp number from the server, it tries to
reload part of what was associated with the old number. This
causes the user accounts not to work (it fails during login and setting
up profile) and may be related to the fact that the printer doesn't
work, although all the files seem to be in the right places.
I have searched the sun site for the problem and haven't found
anything to help solve the problem. Unconfiguring the system and redoing it doesn't help.
I have attached some of the last reboot's /var/adm/messages :
dhcp-168-8587 was the prior dhcp assigned address
dhcp-170-15614 is the current address
May 20 10:47:55 dhcp-170-15614 automountd[313]: [ID 784820 daemon.error] server dhcp-168-8587 not responding
May 20 10:47:59 dhcp-170-15614 last message repeated 1 time
May 20 10:47:59 dhcp-170-15614 pcipsy: [ID 370704 kern.info] PCI-device: sound@8, audiots0
May 20 10:47:59 dhcp-170-15614 genunix: [ID 936769 kern.info] audiots0 is /pci@1f,0/sound@8
May 20 10:47:59 dhcp-170-15614 automountd[313]: [ID 784820 daemon.error] server dhcp-168-8587 not responding
May 20 10:48:05 dhcp-170-15614 last message repeated 3 times
May 20 10:48:13 dhcp-170-15614 pseudo: [ID 129642 kern.info] pseudo-device: devinfo0
May 20 10:48:13 dhcp-170-15614 genunix: [ID 936769 kern.info] devinfo0 is /pseudo/devinfo@0
May 20 10:48:13 dhcp-170-15614 ssha_pvr[824]: [ID 343166 daemon.warning] CheckPoint_load: corrupt file /etc/opt/SUNWsrshp/chkpt.001
May 20 10:48:27 dhcp-170-15614 /usr/dt/bin/ttsession[935]: [ID 848021 daemon.error] Tticeauth::make_auth_cookie(): Permission denied when try to access authority file in locking authority file '/.TTauthority'
May 20 10:49:22 dhcp-170-15614 automountd[313]: [ID 784820 daemon.error] server dhcp-168-8587 not responding
May 20 10:50:18 dhcp-170-15614 last message repeated 8 timesHello.
I have a DSL router that is also used as local name server.
I wrote the static IP address of the DSL router (192.168.178.1) into the resolv.conf file:
domain mydomain.com
nameserver 192.168.178.1Please also check the "hosts" and (for Sol 10) the "ipnodes" entries in /etc/nsswitch.conf. The entries should contain "dns":
hosts: files dns
ipnodes: files dns
...However this is the default setting for nsswitch.conf so you should normally not need to change this file.
Martin -
Hello
I am trying to create a jumpstart server to install some IBM HS20
blades (usb cdrom is not supported for the installation as I know), so
I installed Solaris 10 x86 in a vmware virtual machine and I am trying
to create the jumpstart server, starting by the DHCP server ! this is
the problem !
My configuration is really simple, I followed the SUN instructions to
create the DHCP configuration...
Any help will be appreciated , thanks in advance
Here is the output of the dhcp daemon debug mode
bash-3.00# /usr/lib/inet/in.dhcpd -d -v
4219f200: Daemon Version: 3.5
4219f200: Maximum relay hops: 4
4219f200: Run mode is: DHCP Server Mode.
4219f200: Datastore resource: SUNWfiles
4219f200: Location: /var/dhcp
4219f200: DHCP offer TTL: 10
4219f200: ICMP validation timeout: 1000 milliseconds, Attempts: 1.
4219f200: Maximum concurrent clients: 1024
4219f200: Maximum threads: 256
4219f200: Read 3 entries from DHCP macro database on Mon Feb 21
15:36:48 2005
4219f200: Monitor (0003/pcn0) started...
4219f200: Thread Id: 0003 - Monitoring Interface: pcn0 *****
4219f200: MTU: 1500 Type: SOCKET
4219f200: Broadcast: 172.30.255.255
4219f200: Netmask: 255.255.0.0
4219f200: Address: 172.30.150.117
4219f20a: Datagram received on network device: pcn0(limited
broadcast)
4219f20a: Reserved offer: 172.30.110.9
4219f20b: Sending datagram to broadcast address.
4219f20b: Updated offer: 172.30.110.9
4219f20c: Datagram received on network device: pcn0(limited
broadcast)
4219f210: Datagram received on network device: pcn0(limited
broadcast)
4219f218: Datagram received on network device: pcn0(limited
broadcast)
4219f220: Sending datagram to broadcast address.
4219f220: Updated offer: 172.30.110.9
4219f220: 0004: Refreshed (0x8088870) to (0x8089880)
4219f234: Sending datagram to broadcast address.
4219f234: Updated offer: 172.30.110.9
^C4219f24e: Signal: INT received...Exiting
4219f24e: Freeing offer: 172.30.110.9
4219f24e: Closing interface: pcn0
4219f24e: Monitor (0003/pcn0): exiting.
4219f24e: Interface statistics for: pcn0 **************
4219f24e: Pending DHCP offers: 0
4219f24e: Total Packets Transmitted: 3
4219f24e: Total Packets Received: 4
4219f24e: Total Packet Duplicates: 1
4219f24e: Total Packets Dropped: 0
4219f24e: Total Packets Processed: 3
4219f24e: Total Protocol Errors: 0
4219f24e: Daemon terminated.what's your DHCP server configuration?
type dhtadm -P and that will print the configuration of the dhcp table and all your macros.
On another note, I also have a blade server (3Up CMU-4) that has USB keyboard and mouse, even if the interface is PS/2 (converted internally to USB). Solaris will not recognize the keyboard and mouse when installing or booting, but after the kernel is loaded I can use them OK. I do get the keyboard profile error and I think it is related to the fact that there is no PS/2 k/m enabled. The only way that I found that I could use the mouse in the graphical interface was to use a USB keyboard with a hub and connect a USB mouse to the keyboard, Anybody has any explanation for this behavior?
Max -
Solaris 10 x86 u5 dhcp and jumpstart install fail
hello
I have problem in solaris 10 u5 jumpstart install.
I can use jumpstart install with dhcp and get a static ip address (assigned by dhcp server) before solaris 10 u3.
But now I can't use jumpstart install in solaris 10 u5 without setting up a static ip address in sysidcfg.
I have many x86 machines.
If I have to set up every different sysidcfg for every machine when I install a new machine.
I will get into big trouble.
here is my sysidcfg
###### sysidcfg #######
system_locale=en_US
timeserver=localhost
timezone=Asia/Taipei
terminal=sun-color
security_policy=NONE
root_password=xxxxxxxx
nfs4_domain=example.com
network_interface=primary { hostname=solaris
default_route=192.168.100.254
netmask=255.255.255.0
protocol_ipv6=no}
name_service=DNS {domain_name=example.com
name_server=192.168.100.1
search=example.com}
Edited by: cheung79 on 2008/4/19 ?? 5:29I think that you should modify the script discovery-install, so you'll be able to create the sysidcfg file dynamically. I had the same problem as you and there is a possibility to add some arguments to the boot command that you execute at the ok prompt. These arguments can be defined in the discovery-install script. It's quite easy.
Regards,
Przemek -
Solaris 10 x86 PXE and jumpstart using Linux DHCP server !!
Hi,
I am trying to get a my Solaris 10x86 jumpstart rolling.
I have created the images for the OS, but the only issue I have ahead is using a Linux box as a DHCP server for my X86 box to get the image.
Is it possible to have a linux host that serves as a dhcp server to jumstart X86 host with Sol 10 x86
or do I need to have a solaris host that runs DHCP service on it.
Any advice on this issue.
Thanks.Well, if you don't think the online Documentation helpful, then the better way is reading step-by-step instructions from a book. Get to local bookstore, i.e Barne&Nobles or Border or any big local bookstore, there should be pretty good book for Unix Administrator (Solaris version).
If you have time and think you can memorize then, read on the spot; otherwise, buy the book for future reference.
If that's not what you had in mind, then this link of free online book might help : http://www.oreilly.com/catalog/solaris8/chapter/ch04.html
Normally, oreilly online bookstore offers free books to accredited universities, colleges, and organizations. However, if that option isn't for you, it might even offer free sample chapters that might just suit your needs.
hoep it helps.
-van. -
Solaris 10 SPARC DHCP Server causing disconnects every hour
I am using Solaris 10 SPARC (Netra X1) as a router (DHCP/NAT)
I'm running the built-in dhcp-server with the following in /etc/inet/dhcpsvc.conf
DAEMON_ENABLED=TRUE
RESOURCE=SUNWfiles
RUN_MODE=server
PATH=/var/dhcp
CONVER=1
HOSTS_RESOURCE=files
ICMP_VERIFY=false
INTERFACES=dmfe1
LOGGING_FACILITY=1
VERBOSE=TRUEI have made an entry for my MAC address
# pntadm -P 192.168.1.0 | grep 192.168.1.218
010026B9B29555 00 192.168.1.218 <MY IP> Zero UNKNOWNHowever, if I rely on DHCP I get disconnected for a few seconds every hour exactly. All my SSH connections drop and I get disconnected from any IRC server I am on.
If I set my client to a static IP this issue disappears, which leads me to believe it's DHCP who is the culprit here.
Does anyone have any suggestions? From the pntadm output "Zero" should mean the lease never expires, right?
ThanksA 64 bit VM is not necessarily faster than a 32 bit one. I remember at least on suggestion that it could be slower.
Make sure you use the -server option.
As a guess IBM isn't necessarily a slouch when it comes to Java. It might simply be that their VM was faster. Could have used a different dom library as well.
Could be an environment problem of course.
Profiling the application and the machine as well might provide information. -
Solaris 10 U6 SPARC - DHCP Jumpstart Issues
Got working DHCP server until U6 image has been put in place. Not sure if some thing got changed as far as 'macros' are concerned.
Using DHCP for network configuration information.
Reading ZFS config: done.
Setting up Java. Please wait...
Serial console, reverting to text install
Beginning system identification...
Searching for configuration file(s)...
Using sysid configuration file /sysidcfg
Search complete.
Discovering additional network configuration...
Completing system identification...
Starting remote procedure call (RPC) services: done.
System identification complete.
Starting Solaris installation program...
Searching for JumpStart directory...
/sbin/dhcpinfo: primary interface requested but no primary interface is set
not found
Warning: Could not find matching rule in rules.ok <== FOR SOME REASON IT COMPLAINS
Press the return key for an interactive Solaris install program... <== GOES TO INTERACTIVE, EXPECTING TO HIT ENTER
Executing JumpStart preinstall phase...
Searching for SolStart directory...
Checking rules.ok file... ==> AND FINDS ALL GOOD IN RULES.OK
Using begin script: install_begin
Using finish script: patch_finish
/sbin/dhcpinfo: connect: Connection refused
Executing SolStart preinstall phase...
Executing begin script "install_begin"...
Begin script install_begin execution completed.
And then goes to interactive again. The same macros works seemless without any issues for U5, though.
Wondering if anyone has some answers. Thanks in advance.
-AVI did not remember of the errors, so I recreated my image for testing...and did not get any issues, otherthan the anticipated ones. Please see below.
root@jumplab:/export# pwd
/export
root@jumplab:/export# mkdir /export/mr
root@jumplab:/export# /boot/solaris/bin/root_archive unpackmedia /export/sol10u6 /export/mr
umount: /tmp/mnt22057 busy
rmdir: directory "/tmp/mnt22057": Directory is a mount point or in use
lofiadm: could not unmap file /export/sol10u6/boot/sparc.miniroot: Device busy
rmdir: directory "/tmp/mnt22057": Directory is a mount point or in use
root@jumplab:/export# df -h
Filesystem size used avail capacity Mounted on
/dev/md/dsk/d0 20G 6.1G 13G 32% /
/devices 0K 0K 0K 0% /devices
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
swap 17G 1.4M 17G 1% /etc/svc/volatile
objfs 0K 0K 0K 0% /system/object
sharefs 0K 0K 0K 0% /etc/dfs/sharetab
fd 0K 0K 0K 0% /dev/fd
/dev/md/dsk/d4 30G 18G 12G 60% /var
swap 17G 4.1M 17G 1% /tmp
swap 17G 56K 17G 1% /var/run
swap 17G 0K 17G 0% /dev/vx/dmp
swap 17G 0K 17G 0% /dev/vx/rdmp
/dev/md/dsk/d2 7.9G 4.7G 3.1G 60% /home
/dev/md/dsk/d3 2.0G 240M 1.7G 13% /jumpstart
/dev/vx/dsk/jumpexp-local/jumpexpvol
100G 79G 21G 79% /export-dev
/dev/vx/dsk/jumpexp/jumpexpvol
249G 175G 74G 71% /export
/dev/vx/dsk/testdg1/testvol
100G 19G 80G 20% /export/testdepot-dev
/dev/vx/dsk/testdg/testvol
300G 172G 120G 59% /export/testdepot
/export/tftpboot
249G 175G 74G 71% /tftpboot
/export/sol10x86/boot
249G 175G 74G 71% /tftpboot/I86PC.Solaris_10-1
/export/sol10x86/boot
249G 175G 74G 71% /tftpboot/boot
/dev/odm 0K 0K 0K 0% /dev/odm
/dev/lofi/1 167M 164M 0K 100% /tmp/mnt22057
root@jumplab:/export# cd /export/mr
root@jumplab:/export/mr# ls
a cdrom etc mnt proc system var
bin dev kernel opt reconfigure tmp
boot devices lib platform sbin usr
root@jumplab:/export/mr# cd sbin
root@jumplab:/export/mr/sbin# cp sulogin sulogin.orig
root@jumplab:/export/mr/sbin# export PKG_NONABI_SYMLINKS=true
root@jumplab:/export/mr/sbin# patchadd -C /export/mr /root/138888-03
Checking installed patches...
Verifying sufficient filesystem capacity (dry run method)...
Installing patch packages...
Patch 138888-03 has been successfully installed.
See /export/mr/var/sadm/patch/138888-03/log for details
Patch packages installed:
SUNWcakr
SUNWcakr.3
SUNWcakr.2
SUNWckr
SUNWcsd
SUNWcsl
SUNWcslr
SUNWcsr
SUNWcsu
SUNWesu
SUNWmdb
SUNWmdbr
SUNWpd
SUNWroute
SUNWssad
SUNWust1
SUNWust2
root@jumplab:/export/mr/sbin# ls /export/mr/etc/svc/
repository.db volatile
root@jumplab:/export/mr/sbin# ls -l /export/mr/etc/svc/
total 1026
-rw------- 1 root sys 515072 Oct 27 14:53 repository.db
drwxr-xr-x 2 root sys 512 Oct 27 14:39 volatile
root@jumplab:/export/mr/sbin# export SVCCFG_REPOSITORY=/export/mr/etc/svc/repository.db
root@jumplab:/export/mr/sbin# svccfg -s system/manifest-import setprop start/exec = :true
root@jumplab:/export/mr/sbin# svccfg -s system/filesystem/usr setprop start/exec = :true
root@jumplab:/export/mr/sbin# svccfg -s system/identity:node setprop start/exec = :true
root@jumplab:/export/mr/sbin# svccfg -s system/device/local setprop start/exec = :true
root@jumplab:/export/mr/sbin# svccfg -s network/loopback:default setprop start/exec = :true
root@jumplab:/export/mr/sbin# svccfg -s network/physical:default setprop start/exec = :true
root@jumplab:/export/mr/sbin# svccfg -s milestone/multi-user setprop start/exec = :true
root@jumplab:/export/mr/sbin# /Boot/boot/solaris/bin/root_archive packmedia /export/sol10u6 /export/mr
sh: /Boot/boot/solaris/bin/root_archive: not found
root@jumplab:/export/mr/sbin# /boot/solaris/bin/root_archive packmedia /export/sol10u6 /export/mr
root@jumplab:/export/mr/sbin# cd /export/sol10u6/
root@jumplab:/export/sol10u6# ls -lrt
total 960
-r--r--r-- 1 root root 460262 Jul 31 2008 JDS-THIRDPARTYLICENSEREADME
-r--r--r-- 1 root root 6557 Jul 31 2008 Copyright
-rwxr-xr-x 1 root root 257 Oct 27 14:57 installer
drwxr-xr-x 2 root bin 96 Oct 27 15:20 License
drwxr-xr-x 7 root root 8192 Oct 27 15:21 Solaris_10
drwxr-xr-x 5 root root 96 Oct 27 15:21 platform
drwxr-xr-x 2 root root 96 Apr 22 14:33 boot
root@jumplab:/export/sol10u6# cd boot
root@jumplab:/export/sol10u6/boot# ls -lrt
total 364816
-rw-r--r-- 1 root root 8192 Apr 22 14:28 hsfs.bootblock
-rw-r--r-T 1 root root 186777600 Apr 22 14:28 sparc.miniroot
root@jumplab:/export/sol10u6/boot# cd ../
root@jumplab:/export/sol10u6# cd Sol*/Tools/Boot
root@jumplab:/export/sol10u6/Solaris_10/Tools/Boot# ls -lrt
total 216960
drwxr-xr-x 5 root root 96 Oct 27 15:21 platform
-rw-r--r-- 1 root other 14 Mar 24 11:41 netmask
-rw-r--r-- 1 root root 28288762 Apr 22 14:26 pkg_db.cpio.bz2
-rw-r--r-- 1 root root 72364374 Apr 22 14:28 X.cpio.bz2
-rw-r--r-- 1 root root 287385 Apr 22 14:28 X_small.cpio.bz2
-rw-r--r-- 1 root root 10107822 Apr 22 14:28 lu.cpio.bz2
-rw-r--r-- 1 root root 1530 Apr 22 14:28 lu.platforms
root@jumplab:/export/sol10u6/Solaris_10/Tools/Boot#
I hope you followed the instructions correctly. -
TCP connection for DHCP failover frequently are broken in Solaris 10
Hi
We have two dhcp servers which are installed in Solaris 10 and set to a failover pair. Currently, we can find that tcp connection for dhcp failover protocol are frequently broken. It looks like that primary dhcp server initiatively send FIN message to secondary one but in general, this tcp connection should always keep alive. On the other hand, the tcp connection can not completely be closed right now which FIN_WAIT_2 status in Primary one and CLOSE_WAIT status in secondary would last for a long time.
Will Solaris 10 cause this fault? Is it a known bug in OS?
OS info:
-bash-3.00$ cat /etc/release
Solaris 10 5/08 s10s_u5wos_10 SPARC
Copyright 2008 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 24 March 2008
-bash-3.00$
-bash-3.00$
-bash-3.00$ uname -a
SunOS edns1 5.10 Generic_142900-03 sun4v sparc SUNW,Netra-T5220
TCP connection info:
Primary DHCP Server:
2012 08 29 03:41:43
PING 172.25.6.137: 56 data bytes 64 bytes from edns2 (172.25.6.137): icmp_seq=0. time=0.678 ms
remote refid st t when poll reach delay offset disp
==============================================================================
*idns1 195.26.151.151 3 u 45 1024 377 0.75 -0.071 0.05
+idns2 195.26.151.151 3 u 162 1024 377 0.93 0.169 0.08
clusternode1-pr 0.0.0.0 16 - - 1024 0 0.00 0.000 16000.0
+clusternode2-pr idns1 4 u 406 1024 376 0.49 -0.154 15.12
172.25.6.133.647 172.25.6.137.58107 49640 0 49640 0 ESTABLISHED
172.25.6.133.647 *.* 0 0 49152 0 LISTEN
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2012 08 29 03:41:47
PING 172.25.6.137: 56 data bytes 64 bytes from edns2 (172.25.6.137): icmp_seq=0. time=0.535 ms
remote refid st t when poll reach delay offset disp
==============================================================================
*idns1 195.26.151.151 3 u 49 1024 377 0.75 -0.071 0.05
+idns2 195.26.151.151 3 u 166 1024 377 0.93 0.169 0.08
clusternode1-pr 0.0.0.0 16 - - 1024 0 0.00 0.000 16000.0
+clusternode2-pr idns1 4 u 410 1024 376 0.49 -0.154 15.12
172.25.6.133.647 172.25.6.137.58107 49640 0 49640 0 FIN_WAIT_2
172.25.6.133.647 *.* 0 0 49152 0 LISTEN
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Secondary DHCP Server:
2012 08 29 03:41:41
PING 172.25.6.133: 56 data bytes 64 bytes from edns1 (172.25.6.133): icmp_seq=0. time=1.26 ms
remote refid st t when poll reach delay offset disp
==============================================================================
*idns1 195.26.151.151 3 u 450 1024 377 0.92 -0.067 0.06
+idns2 195.26.151.151 3 u 552 1024 377 0.96 0.237 0.08
+clusternode1-pr idns1 4 u 360 1024 377 1.85 -0.528 1.51
clusternode2-pr 0.0.0.0 16 - - 1024 0 0.00 0.000 16000.0
172.25.6.137.647 *.* 0 0 49152 0 LISTEN
172.25.6.137.58107 172.25.6.133.647 49640 0 49640 0 ESTABLISHED
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2012 08 29 03:41:45
PING 172.25.6.133: 56 data bytes 64 bytes from edns1 (172.25.6.133): icmp_seq=0. time=1.36 ms
remote refid st t when poll reach delay offset disp
==============================================================================
*idns1 195.26.151.151 3 u 454 1024 377 0.92 -0.067 0.06
+idns2 195.26.151.151 3 u 556 1024 377 0.96 0.237 0.08
+clusternode1-pr idns1 4 u 364 1024 377 1.85 -0.528 1.51
clusternode2-pr 0.0.0.0 16 - - 1024 0 0.00 0.000 16000.0
172.25.6.137.647 *.* 0 0 49152 0 LISTEN
172.25.6.137.58107 172.25.6.133.647 49640 0 49640 0 CLOSE_WAIT
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Thanks!Thanks, but had found a previous discussion with this hint and applied it.
svccfg -s sendmail listprop shows config /local_only = false
Yes, I would really love to fix the fault, but what I would really like is some hints as to how to debug ports under svc control. -
How to configure DHCP on linux jumpstart for solaris installation
I have configured jumpstart on linux and able to install solaris on SUN sparcs
using rarp and bootparams files.now im trying to use linux DHCP for solaris clients. I have the done the DHCP setup on linux using this doc http://www.sun.com/bigadmin/content/submitted/setup_dhcp.jsp.
but when im trying to boot the sun spac client with boot net:dhcp - install command it is failing with error "panic - boot: Could not mount filesystem.
Program terminated". exports file is ok and NFS service is also running.
Please help me on this issue.
Thanks in advance.
ShashiDarren,
Thanks for the response.
I tried to install client60001dev (sparc client) from server60060pxe (linux jumpstart) as follows
client60001dev is able to get the IP address from server60060pxe DHCP and then the boot file also, but after that the client is not showing any NFS queries.
{0} ok boot net:dhcp - install
Boot device: /pci@1f,4000/network@1,1:dhcp File and args: - install
Using Onboard Transceiver - Link Up.
Timeout waiting for BOOTP/DHCP reply. Retrying ...
Timeout waiting for BOOTP/DHCP reply. Retrying ...
2aa00
Server IP address: xx.xx.xx.119
Client IP address: xx.xx.xx.111
Subnet Mask : 255.255.255.0
Using Onboard Transceiver - Link Up.
panic - boot: Could not mount filesystem.
Program terminated
tcpdump on server60060pxe
03:16:12.292836 IP server60060pxe.42445 > client60001dev.20759: UDP, len
gth 516
03:16:12.303646 IP client60001dev.20759 > server60060pxe.42445: UDP, len
gth 4
03:16:12.303669 IP server60060pxe.42445 > client60001dev.20759: UDP, len
gth 516
03:16:12.314479 IP client60001dev.20759 > server60060pxe.42445: UDP, len
gth 4
03:16:12.314501 IP server60060pxe.42445 > client60001dev.20759: UDP, len
gth 516
03:16:12.325313 IP client60001dev.20759 > server60060pxe.42445: UDP, len
gth 4
03:16:12.325347 IP server60060pxe.42445 > client60001dev.20759: UDP, len
gth 516
03:16:12.336158 IP client60001dev.20759 > server60060pxe.42445: UDP, len
/var/log/messages on server60060pxe
Feb 26 03:15:35 server60060pxe dhcpd: DHCPDISCOVER from 08:00:20:fe:4a:23 via eth0.
369
Feb 26 03:15:35 server60060pxe dhcpd: DHCPOFFER on xx.xx.xx.111 to 08:00:20:fe:4
a:23 via eth0.369
Feb 26 03:16:08 server60060pxe dhcpd: Dynamic and static leases present for 139.185
.168.111.
Feb 26 03:16:08 server60060pxe dhcpd: Remove host declaration client60001dev or remove
139.185.168.111
Feb 26 03:16:08 server60060pxe dhcpd: from the dynamic address pool for xx.xx.xx
/24
Feb 26 03:16:08 server60060pxe dhcpd: DHCPREQUEST for xx.xx.xx.111 (xx.xx.xx.
119) from 08:00:20:fe:4a:23 via eth0.369
Feb 26 03:16:08 server60060pxe dhcpd: DHCPACK on xx.xx.xx.111 to 08:00:20:fe:4a:
23 via eth0.369
Feb 26 11:16:09 server60060pxe in.tftpd[10266]: RRQ from xx.xx.xx.111 filename 8
BB9A86F
Feb 26 03:22:00 server60060pxe kernel: eth0.369: dev_set_promiscuity(master, -1)
Feb 26 03:22:00 server60060pxe kernel: device eth0 left promiscuous mode
Feb 26 03:22:00 server60060pxe kernel: device eth0.369 left promiscuous mode
Shashi
Maybe you are looking for
-
How to pass a LOV variable to javascript?
Hi All, I have a drop down list (LOV) with the following entry in Element Attributes: onChange="javascript:show_value(this);" The javascript is like this: function show_value(taskid) document.getElementById('P28_TEST_ONLY').value = taskid; However wh
-
Can anyone describe how to/many/which parameter can be passed to Application Server 10g Report Server in-process server. Thanks
-
How can I get the ringtone tab to pop up under the library?
I'd like to enter the ringtone I made onto my iphone but I don't have the ringtone tab under the library to do it. How can I get it to show up?
-
I have a brand-new installation of ML and I can't use Messages. I have googled around and the tips say check the hosts file, mine is fine, because once again just installed ML about 2 weeks ago. Why apple? Why? It works on my iPhone no problem, but p
-
Workflow : WS90000005 - No approver name
Hi, SRM 5.0 Workflow WS90000005 . I have tested this workflow with custom code and it works well (technically ! ). When the approver approved the shopping cart, it doesn't show the approver name on the "approval overview" screen. It shows "approved"