Sponsored Content
Full Discussion: Solaris Update 2 to 7
Operating Systems Solaris Solaris Update 2 to 7 Post 302529001 by jim mcnamara on Wednesday 8th of June 2011 10:32:53 AM
Old 06-08-2011
smpatch analyze will figure it all out for you. If you try it yourself it will probably work, but smpatch is meant to figure it out.

[edit]
you have to register with Oracle sun now in order to get patches. This is a "new" feature.
 

10 More Discussions You Might Find Interesting

1. Solaris

How to update patches to Solaris 10?

I am seeking help to add patches to Solaris 10 on 64 bit Sparc server. This is to prepare the server for the installation of Oracle 10g. Please list command and specific directory that patches should be added to. Thanks (4 Replies)
Discussion started by: duke0001
4 Replies

2. Solaris

How update Solaris ?

I have Solaris 10 01/06 version on my server, but i wanna update her from my DVD-Disc to 08/07. How i can do it ? I has try boot from disc, but don't find Upgrade function =( Please help me anyone! (1 Reply)
Discussion started by: jess_t03
1 Replies

3. Solaris

update openshh on solaris 10

Hi All, I've downloaded and extracted openssh4.1 on solaris 10. When I run the install-sh, it replied with "./install-sh: no input file specified". The file is executable and been move to owner root or the rest of the files. Why is that? Please help. Thanks in advance, itik (4 Replies)
Discussion started by: itik
4 Replies

4. Solaris

Undo the Veritas mirroring and update from Solaris 8 to Solaris 10

Hi all I wish to undo the mirroring for root and update the Solaris version from 8 to 10. Since i am lack of knowledge and experience on this, hope you all can help me double check the step and correct me. Existing disk groups details root@leo # vxdg list NAME STATE ID... (3 Replies)
Discussion started by: SmartAntz
3 Replies

5. Solaris

Update Solaris patch

Hi All I had update the solaris version, and now wish to update the patch. but when i check my patch version, i cant find any version for that. any idea? root@leo # showrev Hostname: leo Hostid: 839b58a3 Release: 5.10 Kernel architecture: sun4u Application architecture: sparc... (8 Replies)
Discussion started by: SmartAntz
8 Replies

6. Solaris

Update Solaris from 8 to 10

Hi all, i am facing a problem. i cant update the 8 to 10. It show me the error cannot mount the root, swap, and other filesystem. when i run # format in the normal situation, it give me the below result # format 0. c1t0d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848> ... (12 Replies)
Discussion started by: SmartAntz
12 Replies

7. Solaris

Install update 6 on solaris with update 3

I want to update my solaris 10 server which is currently on update 3 stage. A new application require it to be on update 6. What is the best way to make it update 6. should i just install the patch or should i go for the liveupgrade?? thanks for you help in advance (3 Replies)
Discussion started by: uxravi
3 Replies

8. Solaris

Solaris 11 to 11.1 update help

If anyone has any solid documents on updating Solaris 11.0 to 11.1 please share. I have been spinning my wheels for day now. I got past running the pre-update step. Rebooted the system and trying to continue with update to 11.1 using IPS repo and keeps failing with message that it can't reach... (5 Replies)
Discussion started by: fly3rs
5 Replies

9. Solaris

Solaris Repo Update

Hi Folks, Just a quick question on this, I've tried to run this a couple of times now - first time it failed I increased the swap. I'm not sure that increasing the physical memory will do any good, but will try later today - has anyone seen this or anything similar? SunOS fvssphsun01 5.11... (8 Replies)
Discussion started by: gull04
8 Replies

10. Solaris

How to update Solaris 10 Update 3 to Update 11?

Hi friends, We have a Solaris machine running 10 update 3 -bash-3.2# cat /etc/release Solaris 10 11/06 s10s_u3wos_10 SPARC Copyright 2006 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms. ... (6 Replies)
Discussion started by: prvnrk
6 Replies
Net::DNS::Update(3)					User Contributed Perl Documentation				       Net::DNS::Update(3)

NAME
Net::DNS::Update - Create a DNS update packet SYNOPSIS
use Net::DNS::Update; $update = Net::DNS::Update->new; $update = Net::DNS::Update->new('example.com', 'IN'); $update->push(prerequisite => nxrrset('foo.example.com. A')); $update->push(update => rr_add('foo.example.com. 86400 A 192.168.1.2')); DESCRIPTION
"Net::DNS::Update" is a subclass of "Net::DNS::Packet", to be used for making DNS dynamic updates. Programmers should refer to RFC 2136 for the semantics of dynamic updates. METHODS
new $update = Net::DNS::Update->new; $update = Net::DNS::Update->new('example.com'); $update = Net::DNS::Update->new('example.com', 'HS'); Returns a "Net::DNS::Update" object used to perform a DNS dynamic update operation. Specifically, it creates a packet with the header opcode set to UPDATE and zone qtype to SOA (per RFC 2136, 2.3). Programs must use the "push" method to add RRs to the prerequisite, update, and additional sections before performing the update. Arguments are the zone name and the class. If the zone is omitted, the default domain will be taken from the resolver configuration. If the class is omitted, it defaults to IN. Future versions of "Net::DNS" may provide a simpler interface for making dynamic updates. EXAMPLES
The first example below shows a complete program; subsequent examples show only the creation of the update packet. Add a new host #!/usr/bin/perl -w use strict; use Net::DNS; # Create the update packet. my $update = Net::DNS::Update->new('example.com'); # Prerequisite is that no A records exist for the name. $update->push(prerequisite => nxrrset('foo.example.com. A')); # Add two A records for the name. $update->push(update => rr_add('foo.example.com. 86400 A 192.168.1.2')); $update->push(update => rr_add('foo.example.com. 86400 A 172.16.3.4')); # Send the update to the zone's primary master. my $res = Net::DNS::Resolver->new; $res->nameservers('primary-master.example.com'); my $reply = $res->send($update); # Did it work? if ($reply) { my $rcode = $reply->header->rcode; print 'Update ', $rcode eq 'NOERROR' ? "succeeded " : "failed: $rcode "; } else { print 'Update failed: ', $res->errorstring, " "; } Add an MX record for a name that already exists my $update = Net::DNS::Update->new('example.com'); $update->push(prerequisite => yxdomain('example.com')); $update->push(update => rr_add('example.com MX 10 mailhost.example.com')); Add a TXT record for a name that doesn't exist my $update = Net::DNS::Update->new('example.com'); $update->push(prerequisite => nxdomain('info.example.com')); $update->push(update => rr_add('info.example.com TXT "yabba dabba doo"')); Delete all A records for a name my $update = Net::DNS::Update->new('example.com'); $update->push(prerequisite => yxrrset('foo.example.com A')); $update->push(update => rr_del('foo.example.com A')); Delete all RRs for a name my $update = Net::DNS::Update->new('example.com'); $update->push(prerequisite => yxdomain('byebye.example.com')); $update->push(update => rr_del('byebye.example.com')); Perform a signed update my $key_name = 'tsig-key'; my $key_data = 'awwLOtRfpGE+rRKF2+DEiw=='; my $update = Net::DNS::Update->new('example.com'); $update->push(update => rr_add('foo.example.com A 10.1.2.3')); $update->push(update => rr_add('bar.example.com A 10.4.5.6')); $update->sign_tsig($key_name, $key_data); Another way to perform a signed update my $key_name = 'tsig-key'; my $key_data = 'awwLOtRfpGE+rRKF2+DEiw=='; my $update = Net::DNS::Update->new('example.com'); $update->push(update => rr_add('foo.example.com A 10.1.2.3')); $update->push(update => rr_add('bar.example.com A 10.4.5.6')); $update->push(additional => Net::DNS::RR->new("$key_name TSIG $key_data")); Perform a signed update with a customized TSIG record my $key_name = 'tsig-key'; my $key_data = 'awwLOtRfpGE+rRKF2+DEiw=='; my $tsig = Net::DNS::RR->new("$key_name TSIG $key_data"); $tsig->fudge(60); my $update = Net::DNS::Update->new('example.com'); $update->push(update => rr_add('foo.example.com A 10.1.2.3')); $update->push(update => rr_add('bar.example.com A 10.4.5.6')); $update->push(additional => $tsig); BUGS
WARNING: This code is still under development. Please use with caution on production nameservers. COPYRIGHT
Copyright (c)1997-2002 Michael Fuhr. Portions Copyright (c)2002-2004 Chris Reinhardt. All rights reserved. This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself. SEE ALSO
perl, Net::DNS, Net::DNS::Resolver, Net::DNS::Header, Net::DNS::Packet, Net::DNS::Question, Net::DNS::RR, RFC 2136, RFC 2845 perl v5.16.3 2012-12-28 Net::DNS::Update(3)
All times are GMT -4. The time now is 10:17 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy