Aliases - FC, Device, Global...?
Does anybody know the difference between FC aliases, Device Aliases and Global Aliases?
The FC (aka zone?) aliases are held in the running config on the switch and also seem to be specific to a VSAN.
Global Aliases seem to be a Fabric Manager thing - does the Fabric Manager server hold a database of aliases so that they are still recognised if you plug the device into a seperate physical SAN managed by the same FM server? Presumably if you connect via a different FM server to the same switch you would get different global aliases because you are connecting to a different database?
Device aliases seem to be an extension of fc aliases (in that they are stored in the running config) that are not VSAN specific and are not restricted to being used for zoning only.
Is that about right? Which of the above are people using and how do you find it? I'm still using fcaliases, purely because I haven't tried the others, although Device Aliases looks like an interesting option...
Thanks,
Allan.
You can find a pretty good description and usage in the MDS Cookbook http://www.cisco.com/application/pdf/en/us/guest/products/ps6039/c1067/ccmigration_09186a008054084e.pdf.
Device aliases and FMS Global Device Aliases are the same thing (FMS just added the word Global).
The problem with fcaliases (that device aliases solves) is that with fcaliases I could have the same alias defined in two different vsans with a different pwwn in each pwwn. Secondly, fcaliases are only restricted to zoning. Not IVR, not QOS, not CLI output (like with 'show fcns' or 'show flogi'..)
In SANOS 3.1(2), you can make a zone member of type enhanced device alias. This means that now if you swap out the hba you only have to change the device alias database, and not modify the zones. Think of it like updating the dns server with a new IP address, you don't have to tell everyone that your new hostname is www.xyz.com b/c www.abc.com failed.
Similar Messages
-
Back to back connection on single device (global to vrf)
Dear All,
I am trying to get a topology working using GNS3 Alpha 6 IOU L2 device, but actually the same issue applies to GNS3 using 3660 16ESW. I have not tried on real device, so maybe that is my issue :( In the real world it will be a 6500 Sup720
I have a single device, and would like to make a connection between the global route table and a vrf.
So I would have 1 interface on global, and one interface on vrf.
In GNS, I create a topology like this:
router e1/0 - switch port #1
router e1/1 - switch port #2
This creates a cable from one interface to another
Then the configuration is posted below.
Ping doesn't work, I don't even see a CDP neighbor.
I wonder if GNS supports the back2back connection (router connection to itself).
Any ideas? (theoretically it should work)
I have also tried make the interfaces e1/0 & e1/1 as the routed port, same issue. (Note that this is the only way to test it using GNS3 standard as 3660 does not support mac-address set on vlan interfaces)
! CONFIG on IOU
ip vrf UNSEC-BDR
rd 10.131.148.21:65002
interface Ethernet1/0
description border router to LAN (outside)
switchport access vlan 363
interface Ethernet1/1
description LAN to border router (inside)
switchport access vlan 364
interface Vlan363
description BDR to LAN (outside) - mac hsrp only possible on IOU
ip vrf forwarding UNSEC-BDR
ip address 10.8.16.21 255.255.255.240
mac-address 0000.0363.0001
interface Vlan364
ip address 10.8.16.18 255.255.255.240
! CONFIG on GNS
ip vrf UNSEC-BDR
rd 10.131.148.21:65002
interface Ethernet1/0
description border router to LAN (outside)
no switchport
ip vrf forwarding UNSEC-BDR
ip address 10.8.16.21 255.255.255.240
interface Ethernet1/1
description LAN to border router (inside)
no switchport
ip address 10.8.16.18 255.255.255.240That doesn't do it.
I have used the page up key to skip back to the top, but why should we have to do that when most other forums I post on have a "to the top" button?
It is a little thing, but when they can't even keep the darn servers in sync, or even up at all for that matter, it seems huge. -
Anti-aliasing of device fonts in TextField is different in Flash 8 and Flash 10
We have noticed that when we display a TextField with a device font (Verdana), that the antialiasing is different (and subjectively worse) when
the app is compiled as a swf10 app than when it is compiled as a swf8 app.
Below is the TextField when compiled and run as a SWF 10 file, displayed in the 10.1 player. The font size was set to 12 point, magnified, to show that it uses grayscale antialiasing
An below is the same code but compiled to a swf8 file (and run in the 10.1 player as well)
You can see that when the file is compiled as SWF8, the device font is rendered with color pixels, I guess as an LCD font.
Can anyone tell me why this is not being done for TextField when the app is compiled/run as SWF10 ??
The code to instantiate the text field looks like
var tf:TextField = new TextField();
tf1.antiAliasType = AntiAliasType.ADVANCED;
tf1.autoSize = TextFieldAutoSize.LEFT;
tf1.sharpness = 0;
tf1.x = 100;
tf1.y = 50;
tf1.width=400;
tf1.height=50;
var fmt:TextFormat = new TextFormat();
fmt.kerning = true;
fmt.size = 12;
fmt.font = 'Verdana';
tf1.embedFonts = false;
tf1.styleSheet = null;
tf1.defaultTextFormat = fmt;
var str = "Verdana";
tf1.htmlText = str;Actually our users are complaining that the Flash 10 grayscale antialiasing on device fonts does not look as good
as the Flash 8 style antialiasing.Virtually everyone uses LCD monitors now, and it seems like the Flash 8 color
dithering produce better results on these displays.
It is demonstrated that the Flash 10 player will render device fonts with
different algorithms when it is using AVM1 or AVM2, so what I would like to know is if there is any way to have programmatic control over this
choice in my Flash 10 application, so I can get the Flash 8 style antialiasing, or control other parameters on a device font, like sharpness, etc. -
Setting up RAID-1 mirror as aliased boot device on V240
Hi Guys,
I've successfully mirrored 4 slices from the original disk
to the second one in our v240, the raid as such works,
and is consistent. I then did the following:
<div class="pre"><pre>installboot /usr/platform/`uname -i`/lib/fs/ufs/bootblk /dev/rdsk/c1t1d0s0init 0devalias disk_mirror /pci@1c,600000/scsi@2/sd@1,0:aboot disk_mirror</pre></div>
But on reboot the machine complained that it couldn't
find the kernel ...
What did I do wrong?
Cheers,
Andrej<table border="0" align="center" width="90%" cellpadding="3" cellspacing="1"><tr><td class="SmallText"><b>m-lennon wrote on Fri, 02 December 2005 07:45</b></td></tr><tr><td class="quote">
Very amusing comment Michael!
</td></tr></table>
Actually I think he just didn't believe me when I said
that I have SUCCESSFULLY mirrored 4 slices (/, /var swap
and /adv). Yes, I did use metastat to check on the
process, and yes, after a couple of hours even the
largest slice (/adv) was successfully mirrored.
<table border="0" align="center" width="90%" cellpadding="3" cellspacing="1"><tr><td class="SmallText"><b>m-lennon wrote on Fri, 02 December 2005 07:45</b></td></tr><tr><td class="quote">
One of the things that can be confusing when moving from Linux on PC to Solaris on SPARC systems is the obp, far more robust than BIOS! I have found that this puts Linux administrators off using SPARC systems, but these systems aren't that complicated if you understand how to use them ( entry level systems at least ). A good place to start is http://docs.sun.com/ and BigAdmin. As Michael suggested the man pages are an excellent source for quick information. Any time I work on a Linux system I use the man pages all the time because the GNU commands can be different. In fact during exams like the RHCE you are allowed to use the man pages to help you answer the problems/questions. Can you tell us if you have followed a procedure or guide when you set up your root mirror?
</td></tr></table>
I followed the general outline as it was given to me
in the course SA-299 ...
<table border="0" align="center" width="90%" cellpadding="3" cellspacing="1"><tr><td class="SmallText"><b>m-lennon wrote on Fri, 02 December 2005 07:45</b></td></tr><tr><td class="quote">
Have you searched the forum for any references, I have posted to a thread outlining the steps to take to configure a root mirror some time ago:
http://supportforum.sun.com/hardware/index.php?t=msg&got o=17942&rid=3131&SQ=c7d34a55da48e884a4ea26ddaf162731
I think it is difficult to try and provide this information through the forum, as you can see in this thread it was far from straight forward! If you want to outline more about your current configuration, I can try to give you some pointers.
</td></tr></table>
The mirroring wasn't the problem. I suppose I didn't quite
understand Michaels question; I assumed that he wants me
to check if the files are present on the mirror, which is what
I have no clue how to do; as in looking at it as if it were a
stand-alone HDD.
However: The mirroring wasn't the problem, the attempt to
boot (to verify that I'll have a working system if disk 1 dies)
of the secondary side of the mirror was ...
Cheers,
Andrej -
We are currently trying to port an application from a Solaris 9 server to a branded Solaris 9 zone on a T5220. The application accesses the /dev/fb devises which link to the screen card device. We cant get the zone to see the devices. Is this possible? Does anyone have any comments or suggestions?
Regards
HowardBlocking signature link in response #1.
db
Michele_Vecchiato wrote:
Hi,
I do not think is supported[1], but try this:
You configure yuor Solaris 9 Branded zone and «add device»
global-zone# zonecfg -z myWHOLEzone
zonecfg:myWHOLEzone> add device
zonecfg:myWHOLEzone:device>set match=/dev/fb
zonecfg:myWHOLEzone:device>end
zonecfg:myWHOLEzone>verify
zonecfg:myWHOLEzone>commit
global-zone#
global-zone# zoneadm -z myWHOLEzone reboot
global-zone# zlogin myWHOLEzone "ls -lart /dev/fb"
1.< [http://docs.sun.com/app/docs/doc/820-4490/gfjbk?a=view|http://docs.sun.com/app/docs/doc/820-4490/gfjbk?a=view] >
HTH
Michele -
Device Font Anti-aliasing on Windows
Hi,
I'm using a device font in a Flex 4.1 Preloader.
I'm using the following textformat ...
var percentLoadedFormat:TextFormat = new TextFormat( "_typewriter", 20, 0x333333, null, null, null, null, null, TextAlign.CENTER );
... to style a TextField using percentLoadedText.defaultTextFormat = percentLoadedFormat;
I get a nice looking monospace/typewriter front in Mac browsers, but in windows (FFox/IE7/Chrome) the text is not Antialiased and looks awful.
The text is not masked and is positioned at whole pixels.
( PC / FFox 3.6.8 at 200 % )
( Mac / FFox 3.6.8 at 200 % )Hi,
So Anti-aliasing of device fonts is not cross-platform?
Embed the font or try Courier
I can't use an embedded font as it is a preloader. I would love to use Courier, only Macs tend to have Courier while PCs have Courier New and as far as I know there is no way to declare a font stack in Flash or is there? -
Cisco Prime LMS - Device discovery
How do you configure Cisco Prime LMS Device Discovery, so that you can have two credentials sets for specific "special devices" (host based statement) and one for the of the devices (global subnet statement)?
Thanks in advance.Hi,
Here is the link to the document containing the detailed steps regarding Credential Sets.
After defining your sets then set up Credential Set Policies.
Thanks! -
Updates for Nokia X6, 5530 XM and 5800 XM
Hello Nokia,
Nokia please give us more information about the announced updates you've promised us on the 29th of June.
We don't get any information about the updates, except the notice on 29 August.
Come on Nokia, release the update soon and don't ignore your faithful users!
(http://conversations.nokia.com/2011/08/29/new-info-on-the-software-updates-for-symbian-5-0-and-3-2-d...):
New info on the software updates for Symbian 5.0 and 3.2 devices
GLOBAL – Last week we made some edits in the article published in June on the software updates for Symbian 5.0 and 3.2 devices. We have since then received questions about this topic from our readers, so we’d like to share some more information on the status of these updates. We’d like to confirm that the planned updates for Nokia X6, Nokia 5530 and Nokia 5800 are still to be released and we are currently working on getting the software ready to launch in some months.
As all three models are among our older devices, not all operators globally will test and approve the software update for these phones. This is the reason why we decided to remove the devices from the global posting. Availability of the software update for these phones will be determined at a local level.
Best regards ,
Nokia S60 5.0 usersYes, but when ?
-
How to determine network issue?
I have an older RV016 that I just upgraded to the 3.0.2.01 firmware in the hopes it would fix my issue. It did not.
I have several devices, that when plugged into the switch slow my network performance. If I disable the ports these are on, performance resumes to normal speeds.
With these device ports disabled, I get around 20Mb/s. With these devices connected, I get less than 1Mb/s, as measured by speedtest.net. The speed change is instantaneous when enabling or disabling these devices.
They are fairly common devices:
Global Cache GC-100
Phillips Pronto RFX9600
Toshiba HD XA2
Linksys PPSX1 ver. 2
All other devices I have used so far work fine. If I move ports, the issue follows the device, not the port.
How do I determine what is causing the slowdown? Is there anything I can do to correct this?
Thanks in advance, PeteHi, My name is Eric Moyers. I am a Network Support Engineer in the Cisco Small Business Support Center. Thank you for using the Cisco Community Post Forums.
When you said "plugged into the switch" what type of switch are you referring too, or do you mean the RV016? Also have you tried turning the ports on one at a time to see if one is more a culprit than another.
One thing I would definitely do is run a wireshark analysis on the network with the ports off and then run it against each port to see what type of traffic you get out of each port as it comes up.
Please feel free to call into the Small Business Support Center and speak with one of the engineers who can help you with this.
Thanks
Eric Moyers
Cisco Network Support Engineer
SBSC Wireless and Surveillance SME
CCNA, CCNA-Wireless
1-866-606-1866 -
After sccessfull instalation and reboot.
I got message "Not booting as part of a cluster"
My steps.
1) Install Solaris 10_x86 1/06 on IBM xSeries 345
2) Add line in hosts and ipnodes new host sol2
172.20.128.72 sol1
3) Install latest Putch Cluster for 04/12/06
4) Load SunCluster installation java_es_05Q4_cluster-ga-solaris-x86.zip
5) run ./java_es_05Q4_cluster-ga-solaris-x86/Solaris_x86/installer
1. Automatically update with version on installer disk (recommended)
2. Configure Later - Manually configure following installation
6) scinstall
1) Install a cluster or cluster node
2) Install just this machine as the first node of a new cluster
2) Custom
What is the name of the cluster you want to establish? mycls
Node name (Control-D to finish): sol1
Do you need to use DES authentication (yes/no) [no]? no
Is it okay to accept the default network address (yes/no) [yes]? yes
Is it okay to accept the default netmask (yes/no) [yes]? yes
Does this two-node cluster use transport junctions (yes/no) [yes]? yes
What is the name of the first junction in the cluster [switch1]? switch1
What is the name of the second junction in the cluster [switch2]? switch2
1) e1000g1
2) Other
Option: 1
What is the name of the second cluster transport adapter? rtls0
Will this be a dedicated cluster transport adapter (yes/no) [yes]? yes
The default is to use /globaldevices.
Is it okay to use this default (yes/no) [yes]? yes
Do you want to disable automatic quorum device selection (yes/no) [no]? no
scinstall -ik \
-C mycls \
-F \
-T node=sol2,node=sol1,authtype=sys \
-A trtype=dlpi,name=e1000g1 -A trtype=dlpi,name=rtls0 \
-B type=switch,name=switch1 -B type=switch,name=switch2 \
-m endpoint=:e1000g1,endpoint=switch1 \
-m endpoint=:rtls0,endpoint=switch2 \
-P task=quorum,state=INIT
Are these the options you want to use (yes/no) [yes]? yes
Checking device to use for global devices file system ... done
Initializing cluster name to "mycls" ... done
Initializing authentication options ... done
Initializing configuration for adapter "e1000g1" ... done
Initializing configuration for adapter "rtls0" ... done
Initializing configuration for junction "switch1" ... done
Initializing configuration for junction "switch2" ... done
Initializing configuration for cable ... done
Initializing configuration for cable ... done
Setting the node ID for "sol2" ... done (id=1)
Checking for global devices global file system ... done
Updating vfstab ... done
Verifying that NTP is configured ... done
Initializing NTP configuration ... done
Updating nsswitch.conf ...
done
Adding clusternode entries to /etc/inet/hosts ... done
Configuring IP Multipathing groups in "/etc/hostname.<adapter>" files
IP Multipathing already configured in "/etc/hostname.e1000g0".
Verifying that power management is NOT configured ... done
Ensure network routing is disabled ... done
Log file - /var/cluster/logs/install/scinstall.log.18914
7)And I got messages on system console after reboot
SunOS Release 5.10 Version Generic_118855-02 32-bit
Copyright 1983-2005 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
Configuring devices.
Hostname: sol2
devfsadm: minor_init failed for module
/usr/lib/devfsadm/linkmod/SUNW_scmd_link.so
Loading smf(5) service descriptions: 27/27
Not booting as part of a cluster
Note: path_to_inst was not be updated. Please 'boot -r' as needed to update.
checking ufs filesystems
/dev/rdsk/c1t0d0s6: is logging.
sol2 console login: Apr 12 14:09:30 sol2 sendmail[503]: My unqualified host name
(sol2) unk nown; sleeping for retry
Apr 12 14:09:30 sol2 sendmail[502]: My unqualified host name (sol2) unknown;
sleeping for r etry
Apr 12 14:09:33 sol2 xntpd[560]: couldn't resolve `clusternode1-priv', giving up on
it
What is wrong ?
What should be my next step ?
Thanks advance,
SergeyThank you for answer.
I have another server IBM xSeries 346
After successfull install I run scinstall.
* 1) Install a cluster or cluster node
2) Install just this machine as the first node of a new cluster
2) Custom
Do you want scinstall to install patches for you (yes/no) [yes]? no
What is the name of the cluster you want to establish? mycls
This is the complete list of nodes:
sol1
sol2
Is it correct (yes/no) [yes]? yes
Do you need to use DES authentication (yes/no) [no]? no
Is it okay to accept the default network address (yes/no) [yes]? yes
Is it okay to accept the default netmask (yes/no) [yes]? yes
Does this two-node cluster use transport junctions (yes/no) [yes]? no
What is the name of the first cluster transport adapter (help)? rtls0
Is "rtls0" an Ethernet adapter (yes/no) [no]? yes
Is "rtls0" an Infiniband adapter (yes/no) [no]?
What is the name of the second cluster transport adapter (help)? rtls1
Is it okay to use this default (yes/no) [yes]? yes
Do you want to disable automatic quorum device selection (yes/no) [no]? yes
Do you want scinstall to reboot for you (yes/no) [yes]? yes
>>> Confirmation <<<
Your responses indicate the following options to scinstall:
scinstall -ik \
-C mycls \
-F \
-T node=sol1,node=sol2,authtype=sys \
-A trtype=dlpi,name=rtls0 -A trtype=dlpi,name=rtls1 \
-B type=direct
Are these the options you want to use (yes/no) [yes]? yes
Do you want to continue with the install (yes/no) [yes]?
Checking device to use for global devices file system ... done
Initializing cluster name to "mycls" ... done
Initializing authentication options ... done
Initializing configuration for adapter "rtls0" ... done
Initializing configuration for adapter "rtls1" ... done
Setting the node ID for "sol1" ... done (id=1)
Checking for global devices global file system ... done
Updating vfstab ... done
Verifying that NTP is configured ... done
Initializing NTP configuration ... done
Updating nsswitch.conf ...
done
Adding clusternode entries to /etc/inet/hosts ... done
Configuring IP Multipathing groups in "/etc/hostname.<adapter>" files
Updating "/etc/hostname.elxl0".
Verifying that power management is NOT configured ... done
Unconfiguring power management ... done
/etc/power.conf has been renamed to /etc/power.conf.041706132745
Power management is incompatible with the HA goals of the cluster.
Please do not attempt to re-configure power management.
Ensure network routing is disabled ... done
Network routing has been disabled on this node by creating /etc/notrouter.
Having a cluster node act as a router is not supported by Sun Cluster.
Please do not re-enable network routing.
Log file - /var/cluster/logs/install/scinstall.log.20862
Rebooting ...
Apr 17 13:27:45 sol1 reboot: rebooted by root
updating /platform/i86pc/boot_archive...this may take a minute
SunOS Release 5.10 Version Generic_118844-26 64-bit
Copyright 1983-2005 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
NOTICE: Can't open /etc/cluster/nodeid
NOTICE: BOOTING IN NON CLUSTER MODE
Configuring devices.
Hostname: sol1
devfsadm: minor_init failed for module /usr/lib/devfsadm/linkmod/SUNW_scmd_link.so
Loading smf(5) service descriptions: 24/24
/usr/cluster/bin/scdidadm: Could not load DID instance list.
Cannot open /etc/cluster/ccr/did_instances.
Not booting as part of a cluster
/usr/cluster/bin/scdidadm: Could not load DID instance list.
Cannot open /etc/cluster/ccr/did_instances.
Note: path_to_inst was not be updated. Please 'boot -r' as needed to update.
checking ufs filesystems
/dev/rdsk/c0t0d0s6: is logging.
sol1 console login:
Then I did as you adviced.
# echo "etc/cluster/nodeid" >> /boot/solaris/filelist.ramdisk
# bootadm update-archive
updating /platform/i86pc/boot_archive...this may take a minute
# init 6
SunOS Release 5.10 Version Generic_118844-26 64-bit
Copyright 1983-2005 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
Hostname: sol1
/usr/cluster/bin/scdidadm: Could not load DID instance list.
Cannot open /etc/cluster/ccr/did_instances.
Booting as part of a cluster
NOTICE: CMM: Node sol1 (nodeid = 1) with votecount = 1 added.
NOTICE: CMM: Node sol1: attempting to join cluster.
NOTICE: CMM: Cluster has reached quorum.
NOTICE: CMM: Node sol1 (nodeid = 1) is up; new incarnation number = 1145266639.
NOTICE: CMM: Cluster members: sol1.
NOTICE: CMM: node reconfiguration #1 completed.
NOTICE: CMM: Node sol1: joined cluster.
WARNING: clcomm: per node IP config clprivnet0:-1 (349): 172.16.193.1 failed with 19
WARNING: clcomm: per node IP config clprivnet0:-1 (349): 172.16.193.1 failed with 19
cladm: CLCLUSTER_ENABLE: No such device
UNRECOVERABLE ERROR: Sun Cluster boot: Could not initialize cluster framework
Apr 17 13:37:21 in.mpathd[108]: missed sending 1 probes cur_time 99763 snxt_time 100636 snxt_basetime 99879
Please reboot in non cluster mode(boot -x) and Repair
syncing file systems... done
WARNING: CMM: Node being shut down.
Press any key to reboot.
Where is the problem ?
What should I check ?
Thanks advance for answer.
Sergey -
Cluster 3.1 4/04 install problems
When my major node reboots I was getting the error:
Trying to remount /global/.devices/node@2
mount: /dev/md/dsk/d50 is already mounted, /global/.devices/node@2 is busy,
or the allowable number of mount points has been exceeded
WARNING - Unable to mount one or more of the following filesystem(s):
/global/.devices/node@2
If this is not repaired, global devices will be unavalilable.
Run mount manually (mount filesystem...).
when I typed in mount this is what I got:
/global/.devices/node@1 on /dev/md/dsk/d50 read/write/setuid/intr/largefiles/logging/noquota/global/xattr/nodfratime/onerror=panic/dev=1540032 on Wed Aug 18 08:45:58 2004
So I unmounted /global/.devices/node@1 and rebooted. After the reboot it was able to mount /global/.devices/node@2 to where it wanted to, but now my other node in the cluster is complaining about:
Aug 18 09:20:03 OHBLUS0C Cluster.CCR: /usr/cluster/bin/scgdevs: Filesystem /global/.devices/node@1 is not available in /etc/mnttab.
It didn't have a problem before. I am not sure what is going on with the /global directory mounting on each node, can anyone help?
ThanksNot strictly correct.
The # in the device global/.devices/node@# does represent the nodeid of the cluster nodes, however this f/s is the local global devices database for each node, which in itself is a global device, therefore each node in the cluster should see an entry for all global/.devices/node@# for each node in the cluster in their mount table i.e. via df -k. Although it is only necessary to have the local entry in the nodes vfstab.
To cure the above problem now seen on node1, you will need to remount the global/.devices/node@1 as you unmounted it manually. I would also run an scrgdevs to ensure the db is up to date.
The original problem of the warning message at boot time, appears to be a bug, if you continue the boot sequence without performing any repairs to the missing global/.devices/node@# f/s all will mount as expected and your cluster will be sane (if everything has been configured correctly at install time).
To check the global device entries in vfstab for all nodes in the cluster use sccheck on one of the nodes.
Hope this clarifies things a little. -
TextfieldCell in Transparent Tableview, shows background app during editing
Hi,
With reference to the RoundTransparentWindow code of Apple Examples, I tried to make my tableview also transparent from the following code.
- (void)setColumnHeaderOf:(id)identifier image:(NSImage*)image title:(NSString*)title
NSTableColumn *column=[self tableColumnWithIdentifier:identifier];
[[column headerCell] setCellAttribute:NSCellHasImageOnLeftOrBottom to:NSImageBelow];
[[column headerCell] setImage:image];
NSMutableAttributedString *attributedString = [[NSMutableAttributedString alloc] initWithString:title];
NSMutableParagraphStyle * aParagraphStyle = [[[NSMutableParagraphStyle alloc] init] autorelease];
[aParagraphStyle setLineBreakMode:NSLineBreakByTruncatingTail];
[aParagraphStyle setAlignment:NSCenterTextAlignment];
CGFloat dividingFactor = 255.0f;
NSMutableDictionary * aTitleAttributes = [[[NSMutableDictionary alloc] initWithObjectsAndKeys:
[NSFontfontWithName:CPFONTNAME size:[NSFont systemFontSize]], NSFontAttributeName,
aParagraphStyle,NSParagraphStyleAttributeName,
nil] autorelease];
[aTitleAttributes setValue:[NSColor colorWithDeviceRed:(246/dividingFactor) green:(204/dividingFactor)blue:(37/dividingFactor) alpha:1.0f] forKey:NSForegroundColorAttributeName];
[attributedString addAttributes:aTitleAttributes range:NSMakeRange(0, [attributedString length])];
[[column headerCell] setAttributedStringValue:attributedString];
[attributedString release];
- (void)awakeFromNib
NSLog(@"KBCustomTableView awakeFromNib");
[[self enclosingScrollView] setDrawsBackground:NO];
NSRect frameRect = [[self headerView] frame];
[[self headerView] setFrameSize:NSMakeSize(frameRect.size.width, 30)];
[self setColumnHeaderOf:@"Column1" image:[NSImage imageNamed:@"ColHdr1"] title:@"Column1"];
[self setColumnHeaderOf:@"Column2" image:[NSImage imageNamed:@"ColHdr2"] title:@"Column2"];
[self setColumnHeaderOf:@"Column3" image:[NSImage imageNamed:@"ColHdr3"] title:@"Column3"];
- (void)drawBackgroundInClipRect:(NSRect)clipRect
NSLog(@"KBCustomTableView drawBackgroundInClipRect");
//[super drawBackgroundInClipRect:clipRect];
- (id)_highlightColorForCell:(NSCell *)cell
[self setBackgroundColor:[NSColor clearColor]];
return nil;
It works fine but with one strange behaviour of textfieldCell.
WhileEditing the textfieldCell, my background app is shown clearly. This is because in the method, _highlightColorForCell self setBackgroundColor:[NSColor clearColor]]; If I don't do this, then my table behaves very much weird with lot of colors.
Any idea how to resolve this.
Regards
symadeptHi again
You can control the anti-aliasing on a global scale via Edit > Preferences.
Slide color is controlled either at the slide level itself (examine Slide Properties) and you can also set a default color in Preferences so that if you click Insert > Blank Slide it has a defined color.
It's common for folks to use the hot pink color as a transparent color. I just figured that you were configuring that color in the bitmap image you were creating for the caption. If you haven't done this, I'm unsure where the color may be coming from. Are you using a Bitmap Image in BMP format for the Caption? If not, perhaps you are using PNG or something like that and Captivate may be interpreting a transparent color set in the PNG. Not sure.
Cheers... Rick
Helpful and Handy Links
Captivate Wish Form/Bug Reporting Form
Adobe Certified Captivate Training
SorcerStone Blog
Captivate eBooks -
Adding node back into cluster after removal...
Hi,
I removed a cluster node using "scconf -r -h <node>" (carried out all the other usual removal steps before getting this command to work).
Because this is a pair+1 cluster and the node i was trying to remove was physically attached to the quroum device (scsi), I had to create a dummy node before the removal command above would work.
I reinstalled solaris, SC3.1u4 framwork, patches etc. and then tried to run scsinstall again on the node (reintroduced the node to the cluster again first using scconf -a -T node=<node>).
However! during the scsinstall i got the following problem:
Updating file ("ntp.conf.cluster") on node n20-2-sup ... done
Updating file ("hosts") on node n20-2-sup ... done
Updating file ("ntp.conf.cluster") on node n20-3-sup ... done
Updating file ("hosts") on node n20-3-sup ... done
scrconf: RPC: Unknown host
scinstall: Failed communications with "bogusnode"
scinstall: scinstall did NOT complete successfully!
Press Enter to continue:
Was not sure what to do at this point, but since the other clusternodes could now see my 'new' node again, i removed the dummy node, rebooted the new node and said a little prayer...
Now, my node will not boot as part of the cluster:
Rebooting with command: boot
Boot device: /pci@8,600000/SUNW,qlc@4/fp@0,0/disk@w21000004cfa3e691,0:a File and args:
SunOS Release 5.10 Version Generic_127111-06 64-bit
Copyright 1983-2007 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
Hostname: n20-1-sup
/usr/cluster/bin/scdidadm: Could not load DID instance list.
Cannot open /etc/cluster/ccr/did_instances.
Booting as part of a cluster
NOTICE: CMM: Node n20-1-sup (nodeid = 1) with votecount = 0 added.
NOTICE: CMM: Node n20-2-sup (nodeid = 2) with votecount = 2 added.
NOTICE: CMM: Node n20-3-sup (nodeid = 3) with votecount = 1 added.
NOTICE: CMM: Node bogusnode (nodeid = 4) with votecount = 0 added.
NOTICE: clcomm: Adapter qfe5 constructed
NOTICE: clcomm: Path n20-1-sup:qfe5 - n20-2-sup:qfe5 being constructed
NOTICE: clcomm: Path n20-1-sup:qfe5 - n20-3-sup:qfe5 being constructed
NOTICE: clcomm: Adapter qfe1 constructed
NOTICE: clcomm: Path n20-1-sup:qfe1 - n20-2-sup:qfe1 being constructed
NOTICE: clcomm: Path n20-1-sup:qfe1 - n20-3-sup:qfe1 being constructed
NOTICE: CMM: Node n20-1-sup: attempting to join cluster.
NOTICE: clcomm: Path n20-1-sup:qfe1 - n20-2-sup:qfe1 being initiated
NOTICE: CMM: Node n20-2-sup (nodeid: 2, incarnation #: 1205318308) has become reachable.
NOTICE: clcomm: Path n20-1-sup:qfe1 - n20-2-sup:qfe1 online
NOTICE: clcomm: Path n20-1-sup:qfe5 - n20-3-sup:qfe5 being initiated
NOTICE: CMM: Node n20-3-sup (nodeid: 3, incarnation #: 1205265086) has become reachable.
NOTICE: clcomm: Path n20-1-sup:qfe5 - n20-3-sup:qfe5 online
NOTICE: clcomm: Path n20-1-sup:qfe1 - n20-3-sup:qfe1 being initiated
NOTICE: clcomm: Path n20-1-sup:qfe1 - n20-3-sup:qfe1 online
NOTICE: clcomm: Path n20-1-sup:qfe5 - n20-2-sup:qfe5 being initiated
NOTICE: clcomm: Path n20-1-sup:qfe5 - n20-2-sup:qfe5 online
NOTICE: CMM: Cluster has reached quorum.
NOTICE: CMM: Node n20-1-sup (nodeid = 1) is up; new incarnation number = 1205346037.
NOTICE: CMM: Node n20-2-sup (nodeid = 2) is up; new incarnation number = 1205318308.
NOTICE: CMM: Node n20-3-sup (nodeid = 3) is up; new incarnation number = 1205265086.
NOTICE: CMM: Cluster members: n20-1-sup n20-2-sup n20-3-sup.
NOTICE: CMM: node reconfiguration #18 completed.
NOTICE: CMM: Node n20-1-sup: joined cluster.
NOTICE: CMM: Node (nodeid = 4) with votecount = 0 removed.
NOTICE: CMM: Cluster members: n20-1-sup n20-2-sup n20-3-sup.
NOTICE: CMM: node reconfiguration #19 completed.
WARNING: clcomm: per node IP config clprivnet0:-1 (349): 172.16.193.1 failed with 19
WARNING: clcomm: per node IP config clprivnet0:-1 (349): 172.16.193.1 failed with 19
cladm: CLCLUSTER_ENABLE: No such device
UNRECOVERABLE ERROR: Sun Cluster boot: Could not initialize cluster framework
Please reboot in non cluster mode(boot -x) and Repair
syncing file systems... done
WARNING: CMM: Node being shut down.
Program terminated
{1} ok
Any ideas how i can recover this situation without having to reinstall the node again?
(have a flash with OS, sc3.1u4 framework etc... so not the end of the world but...)
Thanks a mil if you can help here!
- headwreckedHi - got sorted with this problem...
basically just removed (scinstall -r) the sc3.1u4 software from the node which was not booting, and then re-installed the software (this time the dummy node had been removed so it did not try to contact this node and the scinstall completed without any errors)
I think the only problem with the procedure i used to remove and readd the node was that i forgot to remove the dummy node before re-adding the actaul cluster node again...
If anyone can confirm this to be the case then great - if not... well its working now so this thread can be closed.
root@n20-1-sup # /usr/cluster/bin/scinstall -r
Verifying that no unexpected global mounts remain in /etc/vfstab ... done
Verifying that no device services still reference this node ... done
Archiving the following to /var/cluster/uninstall/uninstall.1036/archive:
/etc/cluster ...
/etc/path_to_inst ...
/etc/vfstab ...
/etc/nsswitch.conf ...
Updating vfstab ... done
The /etc/vfstab file was updated successfully.
The original entry for /global/.devices/node@1 has been commented out.
And, a new entry has been added for /globaldevices.
Mounting /dev/dsk/c3t0d0s6 on /globaldevices ... done
Attempting to contact the cluster ...
Trying "n20-2-sup" ... okay
Trying "n20-3-sup" ... okay
Attempting to unconfigure n20-1-sup from the cluster ... failed
Please consider the following warnings:
scrconf: Failed to remove node (n20-1-sup).
scrconf: All two-node clusters must have at least one shared quorum device.
Additional housekeeping may be required to unconfigure
n20-1-sup from the active cluster.
Removing the "cluster" switch from "hosts" in /etc/nsswitch.conf ... done
Removing the "cluster" switch from "netmasks" in /etc/nsswitch.conf ... done
** Removing Sun Cluster framework packages **
Removing SUNWkscspmu.done
Removing SUNWkscspm..done
Removing SUNWksc.....done
Removing SUNWjscspmu.done
Removing SUNWjscspm..done
Removing SUNWjscman..done
Removing SUNWjsc.....done
Removing SUNWhscspmu.done
Removing SUNWhscspm..done
Removing SUNWhsc.....done
Removing SUNWfscspmu.done
Removing SUNWfscspm..done
Removing SUNWfsc.....done
Removing SUNWescspmu.done
Removing SUNWescspm..done
Removing SUNWesc.....done
Removing SUNWdscspmu.done
Removing SUNWdscspm..done
Removing SUNWdsc.....done
Removing SUNWcscspmu.done
Removing SUNWcscspm..done
Removing SUNWcsc.....done
Removing SUNWscrsm...done
Removing SUNWscspmr..done
Removing SUNWscspmu..done
Removing SUNWscspm...done
Removing SUNWscva....done
Removing SUNWscmasau.done
Removing SUNWscmasar.done
Removing SUNWmdmu....done
Removing SUNWmdmr....done
Removing SUNWscvm....done
Removing SUNWscsam...done
Removing SUNWscsal...done
Removing SUNWscman...done
Removing SUNWscgds...done
Removing SUNWscdev...done
Removing SUNWscnmu...done
Removing SUNWscnmr...done
Removing SUNWscscku..done
Removing SUNWscsckr..done
Removing SUNWscu.....done
Removing SUNWscr.....done
Removing the following:
/etc/cluster ...
/dev/did ...
/devices/pseudo/did@0:* ...
The /etc/inet/ntp.conf file has not been updated.
You may want to remove it or update it after uninstall has completed.
The /var/cluster directory has not been removed.
Among other things, this directory contains
uninstall logs and the uninstall archive.
You may remove this directory once you are satisfied
that the logs and archive are no longer needed.
Log file - /var/cluster/uninstall/uninstall.1036/log
root@n20-1-sup #
Ran the scinstall again:
>>> Confirmation <<<
Your responses indicate the following options to scinstall:
scinstall -ik \
-C N20_Cluster \
-N n20-2-sup \
-M patchdir=/var/cluster/patches \
-A trtype=dlpi,name=qfe1 -A trtype=dlpi,name=qfe5 \
-m endpoint=:qfe1,endpoint=switch1 \
-m endpoint=:qfe5,endpoint=switch2
Are these the options you want to use (yes/no) [yes]?
Do you want to continue with the install (yes/no) [yes]?
Checking device to use for global devices file system ... done
Installing patches ... failed
scinstall: Problems detected during extraction or installation of patches.
Adding node "n20-1-sup" to the cluster configuration ... skipped
Skipped node "n20-1-sup" - already configured
Adding adapter "qfe1" to the cluster configuration ... skipped
Skipped adapter "qfe1" - already configured
Adding adapter "qfe5" to the cluster configuration ... skipped
Skipped adapter "qfe5" - already configured
Adding cable to the cluster configuration ... skipped
Skipped cable - already configured
Adding cable to the cluster configuration ... skipped
Skipped cable - already configured
Copying the config from "n20-2-sup" ... done
Copying the postconfig file from "n20-2-sup" if it exists ... done
Copying the Common Agent Container keys from "n20-2-sup" ... done
Setting the node ID for "n20-1-sup" ... done (id=1)
Verifying the major number for the "did" driver with "n20-2-sup" ... done
Checking for global devices global file system ... done
Updating vfstab ... done
Verifying that NTP is configured ... done
Initializing NTP configuration ... done
Updating nsswitch.conf ...
done
Adding clusternode entries to /etc/inet/hosts ... done
Configuring IP Multipathing groups in "/etc/hostname.<adapter>" files
IP Multipathing already configured in "/etc/hostname.qfe2".
Verifying that power management is NOT configured ... done
Ensure that the EEPROM parameter "local-mac-address?" is set to "true" ... done
Ensure network routing is disabled ... done
Updating file ("ntp.conf.cluster") on node n20-2-sup ... done
Updating file ("hosts") on node n20-2-sup ... done
Updating file ("ntp.conf.cluster") on node n20-3-sup ... done
Updating file ("hosts") on node n20-3-sup ... done
Log file - /var/cluster/logs/install/scinstall.log.938
Rebooting ...
Mar 13 13:59:13 n20-1-sup reboot: rebooted by root
Terminated
root@n20-1-sup # syncing file systems... done
rebooting...
R
LOM event: +103d+20h44m26s host reset
screen not found.
keyboard not found.
Keyboard not present. Using lom-console for input and output.
Sun Netra T4 (2 X UltraSPARC-III+) , No Keyboard
Copyright 1998-2003 Sun Microsystems, Inc. All rights reserved.
OpenBoot 4.10.1, 4096 MB memory installed, Serial #52960491.
Ethernet address 0:3:ba:28:1c:eb, Host ID: 83281ceb.
Initializing 15MB Rebooting with command: boot
Boot device: /pci@8,600000/SUNW,qlc@4/fp@0,0/disk@w21000004cfa3e691,0:a File and args:
SunOS Release 5.10 Version Generic_127111-06 64-bit
Copyright 1983-2007 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
Hostname: n20-1-sup
Configuring devices.
devfsadm: minor_init failed for module /usr/lib/devfsadm/linkmod/SUNW_scmd_link.so
Loading smf(5) service descriptions: 24/24
/usr/cluster/bin/scdidadm: Could not load DID instance list.
Cannot open /etc/cluster/ccr/did_instances.
Booting as part of a cluster
NOTICE: CMM: Node n20-1-sup (nodeid = 1) with votecount = 0 added.
NOTICE: CMM: Node n20-2-sup (nodeid = 2) with votecount = 2 added.
NOTICE: CMM: Node n20-3-sup (nodeid = 3) with votecount = 1 added.
NOTICE: clcomm: Adapter qfe5 constructed
NOTICE: clcomm: Path n20-1-sup:qfe5 - n20-2-sup:qfe5 being constructed
NOTICE: clcomm: Path n20-1-sup:qfe5 - n20-3-sup:qfe5 being constructed
NOTICE: clcomm: Adapter qfe1 constructed
NOTICE: clcomm: Path n20-1-sup:qfe1 - n20-2-sup:qfe1 being constructed
NOTICE: clcomm: Path n20-1-sup:qfe1 - n20-3-sup:qfe1 being constructed
NOTICE: CMM: Node n20-1-sup: attempting to join cluster.
NOTICE: clcomm: Path n20-1-sup:qfe1 - n20-2-sup:qfe1 being initiated
NOTICE: CMM: Node n20-2-sup (nodeid: 2, incarnation #: 1205318308) has become reachable.
NOTICE: clcomm: Path n20-1-sup:qfe1 - n20-2-sup:qfe1 online
NOTICE: clcomm: Path n20-1-sup:qfe5 - n20-3-sup:qfe5 being initiated
NOTICE: CMM: Node n20-3-sup (nodeid: 3, incarnation #: 1205265086) has become reachable.
NOTICE: clcomm: Path n20-1-sup:qfe5 - n20-3-sup:qfe5 online
NOTICE: clcomm: Path n20-1-sup:qfe5 - n20-2-sup:qfe5 being initiated
NOTICE: clcomm: Path n20-1-sup:qfe5 - n20-2-sup:qfe5 online
NOTICE: clcomm: Path n20-1-sup:qfe1 - n20-3-sup:qfe1 being initiated
NOTICE: clcomm: Path n20-1-sup:qfe1 - n20-3-sup:qfe1 online
NOTICE: CMM: Cluster has reached quorum.
NOTICE: CMM: Node n20-1-sup (nodeid = 1) is up; new incarnation number = 1205416931.
NOTICE: CMM: Node n20-2-sup (nodeid = 2) is up; new incarnation number = 1205318308.
NOTICE: CMM: Node n20-3-sup (nodeid = 3) is up; new incarnation number = 1205265086.
NOTICE: CMM: Cluster members: n20-1-sup n20-2-sup n20-3-sup.
NOTICE: CMM: node reconfiguration #23 completed.
NOTICE: CMM: Node n20-1-sup: joined cluster.
ip: joining multicasts failed (18) on clprivnet0 - will use link layer broadcasts for multicast
NOTICE: CMM: Votecount changed from 0 to 1 for node n20-1-sup.
NOTICE: CMM: Cluster members: n20-1-sup n20-2-sup n20-3-sup.
NOTICE: CMM: node reconfiguration #24 completed.
Mar 13 14:02:23 in.ndpd[351]: solicit_event: giving up on qfe1
Mar 13 14:02:23 in.ndpd[351]: solicit_event: giving up on qfe5
did subpath /dev/rdsk/c1t3d0s2 created for instance 2.
did subpath /dev/rdsk/c2t3d0s2 created for instance 12.
did subpath /dev/rdsk/c1t3d1s2 created for instance 3.
did subpath /dev/rdsk/c1t3d2s2 created for instance 6.
did subpath /dev/rdsk/c1t3d3s2 created for instance 7.
did subpath /dev/rdsk/c1t3d4s2 created for instance 8.
did subpath /dev/rdsk/c1t3d5s2 created for instance 9.
did subpath /dev/rdsk/c1t3d6s2 created for instance 10.
did subpath /dev/rdsk/c1t3d7s2 created for instance 11.
did subpath /dev/rdsk/c2t3d1s2 created for instance 13.
did subpath /dev/rdsk/c2t3d2s2 created for instance 14.
did subpath /dev/rdsk/c2t3d3s2 created for instance 15.
did subpath /dev/rdsk/c2t3d4s2 created for instance 16.
did subpath /dev/rdsk/c2t3d5s2 created for instance 17.
did subpath /dev/rdsk/c2t3d6s2 created for instance 18.
did subpath /dev/rdsk/c2t3d7s2 created for instance 19.
did instance 20 created.
did subpath n20-1-sup:/dev/rdsk/c0t6d0 created for instance 20.
did instance 21 created.
did subpath n20-1-sup:/dev/rdsk/c3t0d0 created for instance 21.
did instance 22 created.
did subpath n20-1-sup:/dev/rdsk/c3t1d0 created for instance 22.
Configuring DID devices
t_optmgmt: System error: Cannot assign requested address
obtaining access to all attached disks
n20-1-sup console login: -
How to share disks without any volume manager
Hello:
Do I have to use volume manager, either Solstice or VxVM, in order to establish disk sharing in between a two-nodes Sun Cluster?
The Sun Cluster consists of 2 1405s and shares a D1000. The scdidadm �L shows:
�
12 solarisd1k:/dev/rdsk/c5t8d0 /dev/did/rdsk/d12
12 solarisa1k:/dev/rdsk/c5t8d0 /dev/did/rdsk/d12
13 solarisd1k:/dev/rdsk/c5t9d0 /dev/did/rdsk/d13
13 solarisa1k:/dev/rdsk/c5t9d0 /dev/did/rdsk/d13
�
Without implementing any volume manager, how can I share a disk? Such as disk d13?
I created a mount point /global13 on both nodes, use command
# mount /dev/global/dsk/d13s0 /global13
to mount this device. I can see the disk from both nodes. I created a file on /global13 from node solarisa1k, then, from node solarisd1k, it shows 0 block.
Thanks in advance.
WarrenTo mount a device globally, either use # mount �g or use global flag on the /etc/vfstab file.
-
AP1231G upgrade to thin-ap & cannot find the "lwapp" or "capwap" command !!!
Dears,
I upgarde the AP1231G to thin-ap!
I want to set static lwapp ip information.
But, The AP not the command "lwapp" or "capwap"?!
Does anyone know where I can find documentation on how to fix this?I just ran into the same issue with 1230's but only when the AP was on a different vlan than the WLC. What I did was put an ip-helper address on the vlan the ap was on and pointed that to the managment interface of the wlc.
interface vlan
ip helper-address
Then on your L3 device, globally configure the following:
ip forward-protocol udp 12222
ip forward-protocol udp 12222
ip forward-protocol udp 5246
ip forward-protocol udp 5247
I don't know what version you are running and if you are running secure or not. After the AP's join and download the firmware, you can remove these.
Maybe you are looking for
-
Using an event in table maintenance view to populate a field
I have a table maintenance view, and I would like to populate one field of the table with derived data. I am trying to do this by coding a routine for one of the events, but so far no luck. I have been able to chege the data in the TOTAL table, but s
-
Adobe 9.2 "preparing document" when printing
I have a new HP laptop here at my property with Windows 7 (x32) and when she selects "print", it pops up the "preparing document for printing", but you can click past this window, but it still shows up. She tried it on our 4250 HP Laserjet, it also d
-
My Ipod touch keeps trying to turn off.
Cannot get my Ipod touch to stop trying to turn off. The slide to turn off screen keeps popping up. Have turned off, hard reboot, restored and not helping. Makes clicking sounds as if it taking a picture, but do not have picture capabilities. Any
-
Help with a simple Java program
I'm making a sort of very simple quiz program with Java. I've got everything working on the input/output side of things, and I'm looking to just fancy everything up a little bit. This program is extremely simple, and is just being run through the Win
-
is it possible to call 2 smartforms in one program wherein the 2nd smartform will always be printed as last page? how do i do this in the program?