Sun Management Center 3.5 사용자 설명서

토폴로지 명령의 예

다음 명령은 SunOS 5.7 소프트웨어를 실행 중인 menlo_park 도메인에서 building12 그룹에 있는 sun4u 패밀리의 모든 Sun Management Center 에이전트 호스트의 목록을 반환합니다.


> getTopoObject t=/menlo_park/building12 pollType=ahost \
arch="SunOS 5.7" family=sun4u

다음 명령은 기존 도메인 headquarters_test 아래에 building19라는 그룹을 만듭니다.


> createGroup t=/headquarters_test/building19 \
fullDesc="test headquarters domain" family=building-location

다음 명령은 도메인 test_domainbuilding12 그룹에서 myHost라는 관리 대상 엔티티를 만듭니다. 토폴로지 개체는 포트 1161에서 실행 중인 에이전트가 있는 Sun Ultra-2 호스트입니다.


> createEntity t=/test_domain/building12/myHost \
fullDesc="my test host" family=ultra-2 topoType="" \
topoCfg="" isPolled=false pollType=ahost readInfo="" \
writeInfo="" targetHost=osftserv targetIp="" agentPort=1161